WO2018161908A1 - Product object processing method and device, storage medium and electronic device - Google Patents
Product object processing method and device, storage medium and electronic device Download PDFInfo
- Publication number
- WO2018161908A1 WO2018161908A1 PCT/CN2018/078228 CN2018078228W WO2018161908A1 WO 2018161908 A1 WO2018161908 A1 WO 2018161908A1 CN 2018078228 W CN2018078228 W CN 2018078228W WO 2018161908 A1 WO2018161908 A1 WO 2018161908A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target product
- product object
- attribute value
- copies
- unit attribute
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Definitions
- the present invention relates to the field of computers, and in particular to a method and apparatus for processing a product object, a storage medium, and an electronic device.
- the processing result of the product object is usually determined and notified to the user after the processing operation is performed, which may cause the user to perform an error on the processing operation of the product object, and execute the product object.
- the result of the wrong processing operation is not the result expected by the user, which may result in the user needing to perform multiple processing operations, which not only increases the cost of processing the product object, but also seriously reduces the processing efficiency of the user object.
- Embodiments of the present invention provide a method and apparatus for processing a product object, a storage medium, and an electronic device, to at least solve the processing result of the product object in the related art, which can be determined after the processing operation is executed, and causes the processing operation performed on the product object. There is a technical problem with the error.
- a method for processing a product object comprising: an electronic device receiving a processing request for a target product object, wherein the processing request is for requesting processing of a target product object; and the electronic device is responsive to The processing request acquires a historical unit attribute value of the target product object, wherein the historical unit attribute value is used to indicate an attribute value of each target product object before the current time; the electronic device sets the historical unit attribute value and the current unit attribute of the target product object The values are compared to obtain a comparison result, wherein the current unit attribute value is used to indicate the attribute value of each target product object at the current time; the electronic device outputs the prompt information according to the comparison result, wherein the prompt information is used to prompt the target product object
- the expected results of the treatment are processed, and the comparison results correspond to the expected results.
- a processing apparatus for a product object comprising one or more processors, and one or more memories storing program units, wherein the program units are by the processor Execution, the program unit includes: a receiving unit configured to receive a processing request for a target product object, wherein the processing request is for requesting processing of the target product object; and the first obtaining unit is configured to acquire in response to the processing request
- the historical unit attribute value of the target product object wherein the historical unit attribute value is used to indicate the attribute value of each target product object before the current time
- the comparison unit is set to the historical unit attribute value and the current unit of the target product object
- the attribute values are compared to obtain a comparison result, wherein the current unit attribute value is used to indicate an attribute value of each target product object at the current time
- the first output unit is set to output prompt information according to the comparison result, wherein the prompt information Used to prompt the expected results of processing the target product object, The results compared with results obtained with the corresponding expected.
- a storage medium is further provided, wherein a computer program is stored in the storage medium, and the computer program is configured to execute any one of the product objects in the embodiment of the present invention at runtime Processing method.
- an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being configured to perform the implementation of the present invention by the computer program The processing method of any one of the product objects in the example.
- the processing result of the target product object is pre-prompted, and the processing result of the product object in the related art can be determined after the execution of the processing operation, resulting in a technical problem that the processing operation performed on the product object is erroneous, thereby realizing The technical effect of improving the accuracy of the processing operations performed on the product object is improved.
- FIG. 1 is a schematic diagram of a hardware environment of a method of processing a product object according to an embodiment of the present invention
- FIG. 2 is a flow chart of an alternative method of processing a product object in accordance with an embodiment of the present invention
- FIG. 3 is a schematic diagram of a process flow of buying or withdrawing an index fund according to an alternative embodiment of the present invention.
- FIG. 4 is a schematic diagram of a loss reminding interface when performing a buy-out operation according to an alternative embodiment of the present invention
- FIG. 5 is a schematic diagram of a process flow of an index fund fixed investment without risk according to an alternative embodiment of the present invention.
- FIG. 6 is a schematic diagram of a processing flow of an index fund fixed investment according to an alternative embodiment of the present invention.
- FIG. 7a is a schematic diagram of a fixed investment loss warning prompt interface according to an alternative embodiment of the present invention.
- FIG. 7b is a schematic diagram of an automatic buy trigger timing setting interface according to an alternative embodiment of the present invention.
- FIG. 8 is a schematic diagram of a process flow of automatic redemption according to an alternative embodiment of the present invention.
- FIG. 9 is a schematic diagram of a setting interface of trigger conditions for automatic redemption according to an alternative embodiment of the present invention.
- FIG. 10 is a schematic diagram of a processing flow of a prompt fee according to an alternative embodiment of the present invention.
- Figure 11 is a schematic illustration of an alternative processing device for a product object in accordance with an embodiment of the present invention.
- FIG. 12 is a structural block diagram of an electronic device according to an embodiment of the invention.
- a method embodiment of a method of processing a product object is provided.
- the processing method of the product object described above may be applied to a hardware environment composed of the server 102 and the terminal 104 as shown in FIG. 1.
- the server 102 is connected to the terminal 104 through a network.
- the network includes but is not limited to a wide area network, a metropolitan area network, or a local area network.
- the terminal 104 is not limited to a PC, a mobile phone, a tablet, or the like.
- the processing method of the product object in the embodiment of the present invention may be performed by the server 102, may be performed by the terminal 104, or may be performed by the server 102 and the terminal 104 in common.
- the processing method of the product object in which the terminal 104 executes the embodiment of the present invention may also be performed by a client installed thereon.
- the processing method of the product object in the embodiment of the present invention may be performed by an electronic device, where the electronic device may include the server 102 and the terminal 104.
- the electronic device may be a terminal device such as a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.) or a tablet computer.
- the electronic device may further include more components (such as a network interface, a display device, etc.), and the structure of the electronic device is not specifically limited herein.
- the processing method of the product object is described in detail below by taking the processing method of the product object by the electronic device as an example.
- FIG. 2 is a flowchart of a method for processing an optional product object according to an embodiment of the present invention. As shown in FIG. 2, the method may include the following steps:
- Step S202 the electronic device receives a processing request for the target product object, where the processing request is used to request processing of the target product object;
- Step S204 the electronic device acquires a historical unit attribute value of the target product object in response to the processing request, wherein the historical unit attribute value is used to indicate an attribute value of each target product object before the current time;
- Step S206 the electronic device compares the historical unit attribute value with the current unit attribute value of the target product object to obtain a comparison result, wherein the current unit attribute value is used to indicate the attribute value of each target product object at the current time;
- Step S208 the electronic device outputs prompt information according to the comparison result, wherein the prompt information is used to prompt the expected result of processing the target product object, and the comparison result corresponds to the expected result.
- the historical unit attribute value of the acquired target product object is compared with the current unit attribute value, and the prompt information is output according to the comparison result.
- the purpose of processing the result of the target product object is pre-prompted, and the processing result of the product object in the related art can be determined after the execution of the processing operation, resulting in a technical problem that the processing operation performed on the product object is erroneous, thereby realizing The technical effect of improving the accuracy of the processing operations performed on the product object is improved.
- the target product object in the embodiment of the present invention may be a floating profit and loss product similar to an index fund, a gold ETF, etc.
- the resource quantity of the target product object may be a variable, and the variable may be increased or decreased.
- the processing operation performed by the user on the target product object held may include at least one of: increasing the number of copies of the target product object; reducing the number of copies of the target product object; and increasing the predetermined number of target product objects every predetermined period; The target product object of the predetermined number of copies is reduced at the predetermined time. It should be noted that the predetermined period, the predetermined number of copies, and the predetermined time may be set by the user according to actual needs, and are not specifically limited herein.
- the user may trigger a processing request for generating a target product object by performing any of the processing operations listed above on the target product object, where the processing request for the target product object may carry the following information: Information such as identification information of the product object, type of processing operation performed on the target product object, and content.
- Information such as identification information of the product object, type of processing operation performed on the target product object, and content.
- the processing request triggered by the processing operation may carry: identification information of the target product object, and execution on the target product object. Increase the number of copies, the number of copies required for the target product object, and so on.
- the information carried in the processing request of the target product object can be set by the user according to actual needs after selecting the target product object.
- the embodiment of the present invention may respond to the processing request, which may include: parsing the processing request, obtaining the execution of the target product object. Process the type and content of the operation; get the historical unit attribute value of the target product object.
- the historical unit attribute value can be used to indicate the attribute value of each target product object before the current time.
- the unit attribute value of the target product object can change with time, and the historical unit of the target product object.
- the attribute value is determined according to the processing record of the target product object before the current time. For the method for obtaining the target product object, refer to the following optional embodiments:
- the step S204, the acquiring, by the electronic device, the historical unit attribute value of the target product object in response to the processing request may include:
- Step S2042 the electronic device acquires a ratio of the total amount of resources of the target product object to the total number of copies of the target product object, wherein the ratio is a historical unit attribute value; wherein, the total resource amount of the target product object is the target product object held by the target product object The amount of resources minus the product of the target product object reduced by the number of copies of the target product object and the current unit attribute value of the target product object, the amount of resources held by the target product object is divided by the amount of resources held The sum of the ratio of the number of shares of the target product object to the decrease of the number of copies of the target product object; wherein the total number of copies of the target product object is the difference between the number of copies of the target product object held and the number of copies of the target product object.
- the number of copies of a target product object is the current unit attribute value of the target product object when the amount of resources of the target product object held is divided by the number of copies of the target product object.
- A is the historical unit attribute value of the target product object
- M is the total amount of resources of the target product object
- N is the total number of copies of the target product object
- L is the amount of resources held by the user
- a is the target product of the target product.
- the ratio of the number of resources reduced b1 is the current unit attribute value of the target product object when the number of copies of the target product object is reduced
- b2 is the current unit attribute value of the target product object when the number of copies of the target product object is increased
- T is the target product object reduction
- the number of copies, H is the dividend, the dividend will affect the value of the historical unit attribute of the target product object.
- the historical unit attribute value of the target product object is the cost unit net value of the index fund
- the embodiment of the present invention may store it to estimate the processing result of the target product object according to the comparison result between the historical unit attribute value and the current unit attribute value of the target product object. .
- the current unit attribute value of the target product object may be used to indicate the attribute value of each target product object at the current time, and the current unit attribute value may be determined according to actual conditions, for example, the current unit of the index fund.
- the net value can be determined according to the stock market situation of Shanghai and Shenzhen stocks.
- the embodiment of the present invention may compare the two, and the comparison result may include the following three cases: the historical unit attribute value is greater than the current unit attribute value; history The unit attribute value is less than the current unit attribute value; the historical unit attribute value is equal to the current unit attribute value.
- the embodiment of the present invention further determines the historical unit attribute value and the current unit attribute value.
- the difference between the difference and the ratio of the difference to the current unit attribute value enables the result of the comparison of the target unit object to be more accurately estimated based on the comparison result between the history unit attribute value and the current unit attribute value.
- the embodiment of the present invention may output prompt information according to the comparison result, wherein the prompt information may be used for prompting
- the expected result of processing the target product object wherein the comparison result between the historical unit attribute value and the current unit attribute value may correspond to the expected result indicated by the prompt information.
- the output prompt information may occur before the processing operation requested in the processing request of the target product object, so that the user can be prompted to The user can estimate the processing result of the processing operation, thereby achieving the purpose of determining whether the processing operation performed is correct.
- step S208 outputting the prompt information according to the comparison result may include:
- Step S2081 The electronic device outputs first prompt information when the historical unit attribute value exceeds a predetermined ratio of the current unit attribute value, wherein the first prompt information is used to prompt to reduce the number of copies of the target product object, thereby causing resources of the target product object. The total amount is reduced.
- Step S2082 The electronic device outputs second prompt information when the historical unit attribute value is lower than a predetermined ratio of the current unit attribute value, wherein the second prompt information is used to prompt to increase the number of copies of the target product object to cause the target product object. The total amount of resources is reduced.
- Step S2083 The electronic device outputs third prompt information, where the absolute value of the difference between the historical unit attribute value and the current unit attribute value is less than a predetermined ratio of the current unit attribute value, wherein the third prompt information is used to prompt the increase. Or reducing the number of copies of the target product object will result in a reduction in the total amount of resources of the target product object.
- the comparison result may indicate the following three cases: the historical unit attribute value exceeds the current unit attribute value by a predetermined ratio; the historical unit attribute value is lower than the current unit attribute value by a predetermined ratio; between the historical unit attribute value and the current unit attribute value The absolute value of the difference is less than the predetermined ratio of the current unit attribute value.
- the predetermined ratio may be set according to actual needs, and is not specifically limited herein.
- the prompt information outputted according to the comparison result may correspond to the comparison result.
- the first prompt information may be output, prompting the user to reduce the target at this time.
- the number of copies of the product object will reduce the total amount of resources of the target product object; if the comparison result indicates that the historical unit attribute value is lower than the predetermined ratio of the current unit attribute value, the second prompt information may be output, prompting the user to increase the target at this time.
- the number of copies of the product object may cause the total amount of resources of the target product object to decrease; if the absolute value of the difference between the historical unit attribute value and the current unit attribute value is smaller than the predetermined ratio of the current unit attribute value, the comparison result may be output.
- the third prompt message prompts the user to increase or decrease the number of copies of the target product object at this time, which causes the total amount of resources of the target product object to decrease.
- the embodiment prompts the user whether performing a certain processing operation according to the comparison result to reduce the total amount of resources of the target product object, so as to achieve the purpose of prompting the user to advance the processing result corresponding to the estimated processing operation.
- the user can pre-determine whether the processing operation performed on the target product object is correct, and achieve the effect of improving the accuracy of the processing operation performed on the target product object.
- the electronic device in the case that the received processing request is used to request to increase the target product object by a predetermined number of copies of the target product object every predetermined period, the electronic device outputs a prompt according to the comparison result.
- Information can include:
- step S2084 the electronic device allows a predetermined number of target product objects to be added if the historical unit attribute value exceeds the current unit attribute value by a predetermined ratio every predetermined period.
- Step S2085 The electronic device outputs prompt information if the historical unit attribute value does not exceed the current unit attribute value by a predetermined ratio every reservation period, wherein the prompt information is used to prompt the increase of the predetermined number of target product objects to cause the total resource of the target product object. The amount is reduced.
- the embodiment may target the target product every predetermined period.
- the historical unit attribute value of the object is compared with the current unit attribute value, and the corresponding prompt information is output according to the comparison result.
- the embodiment may directly output the prompting information without directly outputting the target product object to the target product object; if every predetermined period If it is determined that the historical unit attribute value does not exceed the predetermined ratio of the current unit attribute value, the embodiment may output prompt information to prompt the user to increase the predetermined number of target product objects at this time, which may cause the total resource amount of the target product object to decrease.
- the predetermined ratio, the predetermined number of copies, and the predetermined period in this embodiment may be set by the user according to actual needs, and are not specifically limited herein.
- the embodiment may prompt the user to set the processing while suspending the processing operation of adding the predetermined number of copies to the target product object.
- the processing condition of the target product object of the predetermined number of copies is automatically increased in accordance with the predetermined period at a time, so that the processing operation of increasing the predetermined number of copies of the target product object according to the predetermined period can be automatically performed in the case where it is judged that the trigger condition is subsequently satisfied.
- This embodiment is directed to a processing request for increasing a predetermined number of copies every predetermined period for a target product object, and determining whether to allow the target product object according to a comparison result of the historical unit attribute value of the target product object and the current unit attribute value for each predetermined period. Executing a processing operation of increasing a predetermined number of copies every predetermined period, and outputting prompt information for the user when it is judged that the processing operation is not allowed to be performed, thereby preventing the total amount of resources of the target product object from being reduced due to the user's unpredictable processing result, and further The effect of improving the accuracy of the processing operations performed on the target product object is achieved.
- the user may preset a unit attribute value. And determining whether to perform a processing operation of reducing a predetermined number of copies of the target product object at a predetermined time according to a comparison result of the set unit attribute value and the current unit attribute value of the target product object.
- the unit attribute value for the preset may be used as the historical unit attribute value, and correspondingly, the electronic device compares the historical unit attribute value with the current unit attribute value of the target product object to obtain a comparison.
- the result may include: in step S2062, the electronic device compares the preset unit attribute value with the current unit attribute value of the target product object.
- Step S208: The outputting the prompt information by the electronic device according to the comparison result may include: Step S2086, the electronic device is allowed to reduce the target of the predetermined number of copies at a predetermined time if the current unit attribute value of the target product object is higher than a preset unit attribute value.
- step S2087 the electronic device outputs prompt information when the current unit attribute value of the target product object is not higher than a preset unit attribute value, wherein the prompt information is used to prompt to reduce the predetermined number of target product objects This will result in a reduction in the total amount of resources for the target product object.
- the embodiment may set the user's preset unit in a predetermined period.
- the attribute value is compared with the current unit attribute value of the target product object, and if the comparison result indicates that the current unit attribute value of the target product object is higher than a preset unit attribute value, the prompt information is not output, and the target product object is directly allowed.
- the predetermined ratio, the predetermined number of copies, and the predetermined time in the embodiment may be set by the user according to actual needs, and are not specifically limited herein.
- the embodiment may prompt the user while suspending the processing operation of reducing the predetermined number of copies on the target product object.
- the trigger condition for the next predetermined automatic reduction of the target product object of the predetermined number of copies is set so that the processing operation of reducing the predetermined number of copies of the target product object can be automatically performed in the case where it is subsequently determined that the trigger condition is satisfied.
- the embodiment is directed to a processing request for automatically reducing a predetermined number of copies at a predetermined time for the target product object, and determining whether to allow the target product according to a comparison result between the current unit attribute value of the target product object and the unit attribute value for the preset unit attribute.
- the object performs a processing operation of automatically reducing the predetermined number of copies, and outputs a prompt message to the user when it is judged that the processing operation is not allowed to be performed, thereby avoiding a reduction in the total amount of resources of the target product object due to the user's unpredictable processing result, thereby achieving Improve the accuracy of the processing operations performed on the target product object.
- the amount of resources reduced by the target product object can be obtained by the following formula:
- the calculation method of the buying fee of the index fund is as follows: assuming that the trading day is 10,000 yuan before 15 o'clock, the second trading day confirms the share, and the net value of the unit on the trading day is 1 yuan.
- the electronic device when the processing operation of reducing the number of copies is performed on the target product object, the electronic device outputs the prompt information according to the comparison result in step S208, and performs a processing operation of reducing the number of copies of the target product object.
- the embodiment may further include:
- step S209 the electronic device acquires the amount of resources reduced by reducing the number of copies of the target product object to the target product object.
- the reduced amount of resources for reducing the target product object by the number of copies of the target product object can be obtained by the following steps:
- Step S2092 The electronic device acquires a product of a target product object reduced number of copies of the target product object, a current unit attribute value of the target product object, and a resource reduction ratio of the target product object number in each time period;
- step S2094 the electronic device sums the products of the target product object in each time period to obtain a product with a reduced amount of resources.
- the embodiment may first obtain the reduced resource amount corresponding to each time segment, and then add the resources reduced by all the time segments to obtain a reduction in the number of copies of the target product object to reduce the target product object. Resources.
- Step S210 the electronic device outputs fourth prompt information according to the reduced resource amount, wherein the fourth prompt information is used to prompt a processing operation, and the processing operation is used to increase the processing operation of the reduced resource amount.
- the embodiment may further output the fourth prompt information according to the reduced amount of resources, It is suggested that the user can increase the amount of resources reduced by performing some processing operation, thereby achieving the purpose of ensuring that the total amount of resources of the target product object is not reduced.
- the amount of resources reduced by the target product object is acquired, and the user is prompted to increase the amount of the reduced resource according to the reduced amount of resources.
- the operation can achieve the purpose of ensuring that the total amount of resources of the target product object is not reduced.
- the present invention also provides an alternative embodiment, which provides a scheme for buying and selling a stop-loss gain of an equity fund, in which an index fund is taken as an example, wherein the index fund belongs to a high For risk products, there is a possibility of loss.
- the index fund is a fund product operated by a fund company and is tracked by a certain index. Generally, the index rises and the fund falls, and the index falls.
- an application APP can be designed, and the APP can implement the following functions:
- the user's net cost unit, the amount of the recent purchase (share), and the share (amount) after the transaction can be displayed, so that the user can know the time point of the current purchase. Corresponding to whether the past is high or low, thus helping users make decision-making judgments.
- the user sets the index fund to vote, it can provide users with a risk warning for loss. For example, when the index fund goes down, the continuous fixed investment can lower the total cost of buying, but when the index fund continues to rise, it is necessary to compare the amount and share of the upload and purchase. When it is judged that the current purchase may increase the overall cost of the index fund, The user will be sent a message, the user can temporarily cancel the purchase according to the actual situation, or set a target to buy the unit net value, when the unit fund value of the index fund falls to the set unit net value, you can continue to buy automatically. .
- the user can set the automatic redemption when the unit net value of the index fund is at a high point, but there will be a risk warning when encountering holidays.
- the program mainly consists of three parts, the first part is the early judgment and early warning, the second part is the fee reminder, and the third part is the user setting the automatic trading trigger timing, optionally:
- the early judgment and early warning mainly mean that when the user buys, withdraws, makes a fixed investment or automatically redeems the index fund, the scheme can automatically make a loss judgment and early warning.
- the loss judgment and warning are mainly based on the difference between the current unit net value of the index fund and the net value of the cost unit purchased in the past. In order to describe in detail the process of loss judgment and early warning, the calculation method of the net value of the cost unit is first introduced here:
- the handling fee is 0.5% within one year; the handling fee is 0.25% in 1-2 years; the handling fee is more than 2 years.
- the holding time is within 1 year, 100 copies are taken before 15:00 on the trading day, and the withdrawal amount is confirmed on the second trading day.
- the unit value of the unit on the trading day is 1, then the net value of the unit is calculated at 1 yuan.
- Net cost unit in the plan holding amount / holding share
- the net value of the cost unit held by the user to the index fund is obtained, and the net value of the cost unit can be compared with the current unit net value of the index fund to realize the loss judgment and early warning, optionally:
- the processing flow of the program when the user performs the purchase or withdrawal of the index fund can be as shown in FIG. 3.
- the mobile terminal may be an application APP designed by using the solution of the alternative embodiment, and the server may be a background server serving the APP.
- the server When the user performs the buying and selling operation on the index fund in the APP, the server first judges whether there is a risk.
- the specific criterion can be the difference between the current unit net value of the index fund and the net value of the cost unit. See the above algorithm for details. As shown in FIG.
- the process flow may include the following steps S31 to S37: step S31, the server determines whether there is a risk; and in step S32, the server returns the copy corresponding to the judgment result to the mobile terminal and displays it on the mobile terminal, which may include There are risks and can also include no risks.
- step S33 may be performed, the user may initiate a buying and selling operation on the mobile terminal; in step S34, after detecting the buying and selling operation, the server may transmit the user order corresponding to the buying and selling operation to the fund company; step S35
- the fund company may update the user account amount after receiving the user order transmitted by the server; in step S36, the fund company returns the updated user account amount to the server; in step S37, the server returns the user account amount to the mobile terminal, and The updated user account amount is displayed on the mobile terminal.
- the APP determines the possibility of the user's cost unit net value loss for the current unit net value, and prompts in the APP, as shown in FIG.
- the program will automatically judge the difference between the current unit net value and the net cost unit of the past purchase success.
- the past purchase success includes the successful completion of the index fund and the successful purchase of the user, if it is included multiple times. Buy, then add the total and then average, so as to obtain the net value of the cost unit).
- the purchase continues by default; when the net value of the cost unit is lower than the current unit net value of 10%, an early warning is issued; when the net value of the cost unit differs from the current unit net value by less than 10%, the default is After deducting 10% from the initial unit net value of the day, an early warning suggestion of possible losses is proposed.
- the process of determining that the index fund has no risk in the fixed investment may be as shown in FIG. 5.
- the process flow may include the following steps S51 to S58: step S51, when the user initiates a fixed investment plan for the index fund in the APP; step S52 The server saves the fixed investment plan; in step S53, it is determined whether the fixed investment plan has a risk.
- the specific judgment standard may be a difference between the current unit net value of the index fund and the net value of the cost unit, and the above algorithm is not described here. Assuming that the server determines that there is a risk, the result of the determination is that there is no risk.
- step S54 the mobile terminal initiates a periodic purchase.
- step S55 after the server detects the periodic purchase operation, the user can place the user order corresponding to the periodic purchase operation. Transmitted to the fund company; in step S56, the fund company may update the user account amount after receiving the user order transmitted by the server; in step S57, return the updated user account amount to the server; in step S58, the server returns the user account amount to Mobile, and display the updated user account amount on the mobile.
- the process of determining the risk of the index fund fixed investment may be as shown in FIG. 6.
- the process flow may include the following steps S61 to S, 9: Step S61, the server determines that the periodic purchase plan has a risk; and step S62, Sending the risk warning information to the mobile terminal; in step S63, the user may suspend the regular purchase plan on the mobile terminal and set the timing of the next purchase; in step S64, the server may save after receiving the reset purchase opportunity; S65, triggering the buying opportunity; step S66, automatically purchasing a designated share index fund for the user, and transmitting the order to the fund company; step S67 the fund company may update the user account amount after receiving the user order transmitted by the server; Step S68, returning the updated user account amount to the server; in step S69, the server returns the user account amount to the mobile terminal, and displays the updated user account amount on the mobile terminal.
- the default plan is to open the scheduled reminder.
- the APP can judge whether there is a loss in the continued purchase. If there is a loss, it will issue an early warning prompt.
- the prompt can exist in the form of a short message or an APP prompt message, as shown in Fig. 7a.
- the user can stop the buying operation according to the prompt message, and set the trigger timing of the next automatic purchase in the APP, and the setting interface is as shown in FIG. 7b.
- the user can set the automatic redemption timing prompt.
- the redemption will be automatically prompted, but when the current unit net value differs from the set unit net value by less than 10%. Will prompt for a loss.
- the processing flow of the scheme automatic redemption may be as shown in FIG. 8.
- the processing flow may include step S81 to step S85: step S81, when the user initiates an automatic redemption plan for the index fund in the APP, the server receives the automatic After the redemption plan, it is judged whether the trigger condition is reached; in step S82, if it is determined that the trigger condition has been reached, the server will automatically initiate the withdrawal request to the fund company for the user; in step S83, the fund company receives the withdrawal request from the server transmission.
- the user account amount may be updated; in step S84, the updated user account amount is returned to the server; in step S85, the server returns the user account amount to the mobile terminal, and displays the updated user account amount on the mobile terminal.
- the user can set an automatic redemption plan in the APP, which may include setting a trigger condition for automatic redemption, and a setting interface of the trigger condition for automatic redemption is as shown in FIG.
- the user can set the trigger time for automatic trading. For users who have invested in the index fund, in the case of a loss warning, they can suspend the fixed investment plan and set the timing of the next automatic purchase. When the unit net value of the index fund meets the conditions set by the user, The automatic buy mechanism is triggered again. The user can also set an automatic retrieval mechanism. When the unit net value of the index fund meets the conditions set by the user, the user will automatically take out the specified share.
- the user will charge a handling fee when buying or withdrawing the index fund.
- the calculation method of the buying fee and the withdrawal fee has been introduced in the above embodiment.
- the handling fee is different in different time periods. According to the holding time, the handling fee for one year is 0.5%, and the handling fee for one to two years is 0.25%.
- the fee is 0.
- the program can adopt a first-in, first-out, priority to take out a long-term index fund. Since the current share record is stored in the fund company's server, the underlying APP is not stored, which will result in the existing APP not being able to predict the withdrawal fee.
- the solution has two solutions: one is to let the fund company pass the corresponding data to the APP, the method is more convenient; the second is that the APP builds a table in the database for recording the share held by the user and the purchase of the share.
- the user updates the number of shares when the share is taken out, in order to calculate the user's withdrawal fee.
- the scheme can use the intelligent calculation method to determine how much the current withdrawal amount and the final amount may generate, and prompt the user to deposit the money fund or insurance wealth to obtain the proceeds according to the fee. Make up the handling fee.
- the process of prompting the fee in the solution may be as shown in FIG. 10, and the process flow may include steps S101 to S107: step S101, the user initiates a redemption process on the mobile terminal; and in step S102, the server may transmit the redemption order.
- step S103 the fund company may update the user account amount after receiving the redemption order transmitted by the server; in step S104, return the updated user account amount to the server; in step S105, the server returns the user account amount to
- the mobile terminal displays the updated user account amount on the mobile terminal; in step S106, the server predicts the commission amount; in step S107, the predicted commission is returned to the user, and the user is prompted to store the money fund to earn the profit offset procedure. fee.
- the data and the application scenario described in the optional embodiment are an optional embodiment of the solution, and do not constitute a specific limitation of the solution in the alternative embodiment.
- the program can bring real benefits to users, financial platforms and fund companies. For users, they can better understand their own income situation and avoid the risk of losing money. For the financial platform, it can increase the stickiness of the financial platform to users and win a good reputation. For fund companies, The side of the financial platform continues to gain the user's stickiness.
- the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
- the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
- the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
- a processing apparatus for a product object for implementing the above-described processing method of a product object.
- the processing device of the product object may be an electronic device or a part of the electronic device.
- FIG. 11 is a schematic diagram of an optional processing apparatus for a product object, as shown in FIG. 11, the apparatus may include one or more processors, and one or more memories storing program units, in accordance with an embodiment of the present invention.
- the program unit is executed by the processor, and the program unit may include:
- the receiving unit 22 is configured to receive a processing request for the target product object, wherein the processing request is for requesting processing of the target product object; the first obtaining unit 24 is configured to acquire the historical unit of the target product object in response to the processing request An attribute value, wherein the historical unit attribute value is used to indicate an attribute value of each target product object before the current time; the comparing unit 26 is configured to compare the historical unit attribute value with a current unit attribute value of the target product object, Obtaining a comparison result, wherein the current unit attribute value is used to indicate an attribute value of each target product object at the current time; the first output unit 28 is configured to output prompt information according to the comparison result, wherein the prompt information is used to prompt the pair The expected product object is processed to predict the results, and the comparison results correspond to the expected results.
- the receiving unit 22 in this embodiment may be used to perform step S202 in the embodiment of the present application.
- the first obtaining unit 24 in this embodiment may be used to perform step S204 in the embodiment of the present application.
- the comparison unit 26 in the embodiment may be used to perform step S206 in the embodiment of the present application, and the first output unit 28 in the embodiment may be used to perform step S208 in the embodiment of the present application.
- the foregoing unit modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the foregoing embodiments. It should be noted that the foregoing modules may be implemented in a hardware environment as shown in FIG. 1 as part of the device, and may be implemented by software or by hardware.
- the first output unit 28 may include: a first output module, configured to output the first prompt information if the historical unit attribute value exceeds a predetermined ratio of the current unit attribute value, where A prompt message is used to prompt that reducing the number of copies of the target product object causes the total amount of resources of the target product object to decrease; and the second output module is set to output when the historical unit attribute value is lower than a predetermined ratio of the current unit attribute value.
- the second prompt information wherein the second prompt information is used to prompt that increasing the number of copies of the target product object causes the total amount of resources of the target product object to decrease; and the third output module is set to the historical unit attribute value and the current unit attribute value.
- the third prompt information is output, wherein the third prompt information is used to prompt to increase or decrease the number of copies of the target product object, which may cause resources of the target product object. The total amount is reduced.
- the processing request is for requesting at least one of the following processing of the target product object: increasing the number of copies of the target product object; reducing the number of copies of the target product object; increasing the predetermined portion every predetermined period The target product object of the number; the target product object that reduces the predetermined number of copies at a predetermined time.
- the first output unit 28 may include: an adding module, being set For each reservation period, if the historical unit attribute value exceeds the current unit attribute value by a predetermined ratio, the target product object of the predetermined number of copies is allowed to be added; the fourth output module is set to every reservation period if the historical unit attribute value does not exceed the current unit attribute The value is a predetermined ratio, and the prompt information is output, wherein the prompt information is used to prompt that increasing the predetermined number of copies of the target product object causes the total amount of resources of the target product object to decrease.
- the historical unit attribute value is a preset unit attribute value
- the comparison unit 26 may include a comparison module configured to compare the preset unit attribute value with a current unit attribute value of the target product object
- the first output unit 28 may include: a reduction module configured to be in the target product If the current unit attribute value of the object is higher than the preset unit attribute value, the target product object of the predetermined number of copies is allowed to be reduced at the predetermined time; the fifth output module is set to the current unit attribute value of the target product object.
- the prompt information is output, wherein the prompt information is used to prompt the reduction of the predetermined number of target product objects, which causes the total amount of resources of the target product object to decrease.
- the processing request is used to request to reduce the number of copies of the target product object
- the embodiment may further include: a second obtaining unit configured to acquire the pair after outputting the prompt information according to the comparison result
- the target product object performs a reduction of the amount of resources reduced by the number of copies of the target product object;
- the second output unit is configured to output the fourth prompt information according to the reduced amount of resources, wherein the fourth prompt information is used to prompt the processing operation, and the processing A processing operation that is used to increase the amount of reduced resources.
- the second obtaining unit may include: a first acquiring module, configured to obtain a reduced number of copies of the target product object of the target product object in each time period, and a current unit attribute of the target product object.
- the value, the product of the resource reduction ratio of the number of copies of the target product object; the second acquisition module is configured to sum the products of the target product object in each time period to obtain a reduced amount of resources.
- the first obtaining unit 24 may include: a third obtaining module, configured to obtain a ratio of a total amount of resources of the target product object to a total number of copies of the target product object, where the ratio is a historical unit.
- the attribute value wherein, the total amount of resources of the target product object is the amount of resources of the target product object held minus the number of copies of the target product object minus the number of copies of the target product object, and the current unit attribute value of the target product object
- the amount of resources of the target product object held is the sum of the amount of resources held by 1 and the resource reduction ratio of the number of copies of the target product object; wherein the total number of copies of the target product object is held
- the difference between the number of copies of the target product object and the number of copies of the target product object, and the number of copies of the target product object held is the amount of the target product object held by the amount of the target product object divided by the number of copies of the target product object
- the foregoing modules are the same as the examples and application scenarios implemented by the corresponding steps in the embodiment, but are not limited to the contents disclosed in the foregoing embodiments. It should be noted that the foregoing module may be implemented in a hardware environment as shown in FIG. 1 as part of the device, and may be implemented by software or by hardware.
- the purpose of pre-prompting the processing result of the target product object is achieved, thereby solving the problem that the processing result of the product object in the related art can be determined after the execution of the processing operation, resulting in an error in the processing operation performed on the product object.
- the technical problem thereby achieving the technical effect of improving the accuracy of the processing operations performed on the product object.
- an electronic device for implementing the processing method of the above product object is also provided.
- FIG. 12 is a structural block diagram of an electronic device according to an embodiment of the present invention.
- the electronic device may include: one or more (only one shown) processor 201 and memory 203, wherein A computer program may be stored in the memory 203, and the processor 201 may be configured to execute the computer program to perform the processing method of the product object of the embodiment of the present invention.
- the memory 203 can be used to store the computer program and the module, such as the processing method of the product object and the program instruction/module corresponding to the device in the embodiment of the present invention.
- the processor 201 runs the software program and the module stored in the memory 203, thereby Execution of various functional applications and data processing, that is, the processing method of the above product object is realized.
- Memory 203 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
- memory 203 can further include memory remotely located relative to processor 201, which can be connected to the terminal 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.
- the electronic device may further include: a transmission device 205 and an input and output device 207.
- the transmission device 205 is configured to receive or transmit data via a network.
- Specific examples of the above network may include a wired network and a wireless network.
- transmission device 205 includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network.
- NIC Network Interface Controller
- the transmission device 205 is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
- RF Radio Frequency
- FIG. 12 is merely illustrative, and the electronic device can be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a mobile Internet device (MID). Terminal equipment such as PAD.
- FIG. 12 does not limit the structure of the above electronic device.
- the electronic device may also include more or fewer components (such as a network interface, display device, etc.) than shown in FIG. 12, or have a different configuration than that shown in FIG.
- the memory 203 is optionally used to store a computer program.
- the processor 201 can be configured to execute a computer program to perform the steps of: receiving a processing request of a target product object, wherein the processing request is for requesting processing of the target product object; and obtaining a historical unit of the target product object in response to the processing request An attribute value, wherein the historical unit attribute value is used to indicate an attribute value of each target product object before the current time; the historical unit attribute value is compared with a current unit attribute value of the target product object, and a comparison result is obtained, wherein, the current The unit attribute value is used to indicate the attribute value of each target product object at the current time; the prompt information is output according to the comparison result, wherein the prompt information is used to prompt the expected result of processing the target product object, and the comparison result and the expected result are obtained.
- the results correspond.
- the processor 201 is further configured to: when the historical unit attribute value exceeds a predetermined ratio of the current unit attribute value, output the first prompt information, where the first prompt information is used to prompt to reduce the number of copies of the target product object The total amount of resources of the target product object is reduced; when the historical unit attribute value is lower than the predetermined ratio of the current unit attribute value, the second prompt information is output, wherein the second prompt information is used to prompt to increase the number of copies of the target product object.
- the total amount of resources of the target product object is reduced; if the absolute value of the difference between the historical unit attribute value and the current unit attribute value is less than a predetermined ratio of the current unit attribute value, the third prompt information is output, wherein the third prompt The information is used to indicate that increasing or decreasing the number of copies of the target product object results in a reduction in the total amount of resources of the target product object.
- the processor 201 is further configured to perform the step of: if the processing request is for requesting to increase the target product object processing by adding a predetermined number of copies to the target product object every predetermined period, if the historical unit attribute value exceeds the current every reservation period
- the unit attribute value is a predetermined ratio, and the target product object of the predetermined number of copies is allowed to be increased; if the historical unit attribute value does not exceed the predetermined ratio of the current unit attribute value every predetermined period, the prompt information is output, wherein the prompt information is used to prompt to increase the predetermined number of copies.
- the target product object will result in a reduction in the total amount of resources of the target product object.
- the processor 201 is further configured to perform the step of: setting a predetermined unit attribute value and a target product object in a case where the processing request is for requesting the target product object to reduce the predetermined number of copies of the target product object processing at a predetermined time.
- the current unit attribute value is compared; if the current unit attribute value of the target product object is higher than a preset unit attribute value, the target product object of the predetermined number of copies is allowed to be reduced at a predetermined time; the current unit of the target product object
- the prompt information is output, wherein the prompt information is used to prompt the reduction of the predetermined number of target product objects, which causes the total amount of resources of the target product object to decrease.
- the processor 201 is further configured to: after outputting the prompt information according to the comparison result, acquiring a reduced amount of resources for reducing the number of copies of the target product object by the target product object; and outputting the fourth prompt information according to the reduced resource amount Wherein the fourth prompt information is used to prompt a processing operation, and the processing operation is used to increase a processing operation of the reduced amount of resources.
- the processor 201 is further configured to: obtain a reduced number of copies of the target product object of the target product object in each time period, a current unit attribute value of the target product object, and a resource reduction ratio of the target product object number of the target product object.
- the product of the product; the product of the target product object in each time period is summed to obtain the product of the reduced resource.
- the processor 201 is further configured to: obtain a ratio of a total amount of resources of the target product object to a total number of copies of the target product object, where the ratio is a historical unit attribute value; wherein, the total amount of resources of the target product object is The amount of resources of the target product object held minus the product of the reduced number of copies of the target product object and the current unit attribute value of the target product object when the number of copies of the target product object is reduced, and the resource amount of the target product object held is The amount of resources held divided by the sum of the ratio of 1 and the number of resources for increasing the number of target product objects; wherein, the total number of copies of the target product object is the number of copies of the target product object held and the number of copies of the target product object The difference, the number of copies of the target product object held is the amount of resources of the target product object held divided by the current unit attribute value of the target product object when the number of copies of the target product object is increased.
- a solution for processing a product object After receiving the processing request for the target product object, the solution compares the historical unit attribute value of the acquired target product object with the current unit attribute value, and outputs the prompt information according to the comparison result, and the target product object is processed.
- the processing result of the product object in the related art can be determined after the processing operation is executed, and the processing operation performed on the product object has a wrong technical problem, thereby realizing the improvement of the product.
- the technical effect of the accuracy of the processing operations performed by the object is provided.
- Embodiments of the present invention also provide a storage medium.
- a computer program is stored in the storage medium, wherein the computer program is configured to execute a processing method of a product object at runtime.
- the foregoing storage medium may be located on at least one of the plurality of network devices in the network shown in the foregoing embodiment.
- the storage medium is arranged to store program code for performing the following steps:
- S1. Receive a processing request of a target product object, where the processing request is used to request processing of the target product object;
- the storage medium is further configured to store program code for performing the following steps: in a case where the historical unit attribute value exceeds a predetermined ratio of the current unit attribute value, the first prompt information is output, wherein the first prompt information is used for The prompting to reduce the number of copies of the target product object causes the total amount of resources of the target product object to decrease; if the historical unit attribute value is lower than the predetermined ratio of the current unit attribute value, the second prompt information is output, wherein the second prompt information is used.
- Prompting to increase the number of copies of the target product object will result in a decrease in the total amount of resources of the target product object; in the case where the absolute value of the difference between the historical unit attribute value and the current unit attribute value is less than a predetermined ratio of the current unit attribute value, the output is The three prompt information, wherein the third prompt information is used to indicate that increasing or decreasing the number of copies of the target product object causes a decrease in the total amount of resources of the target product object.
- the storage medium is further configured to store program code for performing the following steps: in the case that the processing request is for requesting to increase the target product object processing by the predetermined number of copies every predetermined period of the target product object, Booking period If the historical unit attribute value exceeds the current unit attribute value by a predetermined ratio, it is allowed to increase the target product object of the predetermined number of copies; if the historical unit attribute value does not exceed the predetermined ratio of the current unit attribute value every predetermined period, the prompt information is output, wherein the prompt message is displayed. The information is used to indicate that increasing the predetermined number of copies of the target product object results in a reduction in the total amount of resources of the target product object.
- the storage medium is further configured to store program code for performing the following steps: in the case that the processing request is for requesting the target product object to be processed by the target product object by reducing the predetermined number of copies at a predetermined time, The determined unit attribute value is compared with the current unit attribute value of the target product object; if the current unit attribute value of the target product object is higher than a preset unit attribute value, the target product of the predetermined number of copies is allowed to be reduced at the predetermined time.
- the storage medium is further configured to store program code for performing the following steps: after outputting the prompt information according to the comparison result, acquiring a reduced amount of resources for reducing the number of copies of the target product object by the target product object;
- the reduced amount of resources outputs fourth prompt information, wherein the fourth prompt information is used to prompt a processing operation, and the processing operation is used to increase the processing operation of the reduced amount of resources.
- the storage medium is further configured to store program code for performing the steps of: obtaining the number of copies of the target product object of the target product object in each time period, the current unit attribute value of the target product object, and reducing the target The product of the resource reduction ratio of the number of product objects; the product of the target product object in each time period is summed to obtain the product of the reduced amount.
- the storage medium is further configured to store program code for: obtaining a ratio of a total amount of resources of the target product object to a total number of copies of the target product object, wherein the ratio is a historical unit attribute value; wherein The total amount of resources of the target product object is the product of the amount of resources of the target product object held minus the number of copies of the target product object minus the current unit attribute value of the target product object when the number of copies of the target product object is reduced.
- the resource quantity of the target product object is the sum of the amount of resources held divided by 1 and the resource reduction ratio of the number of copies of the target product object; wherein, the total number of copies of the target product object is the share of the target product object held The difference between the number and the number of copies of the target product object.
- the number of copies of the target product object held is the amount of the target product object held by the amount of the target product object divided by the number of copies of the target product object.
- the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
- ROM Read-Only Memory
- RAM Random Access Memory
- a mobile hard disk e.g., a hard disk
- magnetic memory e.g., a hard disk
- the integrated unit in the above embodiment if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium.
- the technical solution of the present invention may be embodied in the form of a software product in the form of a software product, or the whole or part of the technical solution, which is stored in a storage medium, including
- the instructions are used to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
- the disclosed client may be implemented in other manners.
- the device embodiments described above are merely illustrative.
- the division of the unit is only a logical function division.
- multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
- the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
- the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
- each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
- the above integrated unit can be implemented either in the form of hardware or in the form of a software functional unit.
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Technology Law (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
Disclosed in the embodiments of the present invention are a product object processing method and device, a storage medium and an electronic device. The method comprises: an electronic device receiving a processing request for a target product object, the processing request being used for requesting for the processing of the target product object; acquiring a historical unit attribute value of the target product object, the historical unit attribute value being used for indicating the attribute value of each target product object before the current time; comparing the historical unit attribute value with the current unit attribute value of the target product object to obtain a comparison result, the current unit attribute value being used for indicating the attribute value of each target product object at the current time; outputting, according to the comparison result, prompt information, so as to inform a user of an expected result of processing the target product object. The embodiments of the present invention solve the technical problem in the related art that the processing result of a product object can be determined only after the processing operation is performed, resulting in errors in the processing operation performed on the product object.
Description
本申请要求于2017年03月09日提交中国专利局、申请号为201710144486.X、发明名称“产品对象的处理方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, filed on March 9, 2017, the Chinese Patent Application No. PCT Application No. in.
本发明涉及计算机领域,具体而言,涉及一种产品对象的处理方法和装置、存储介质以及电子装置。The present invention relates to the field of computers, and in particular to a method and apparatus for processing a product object, a storage medium, and an electronic device.
目前,用户对产品对象进行处理时,产品对象的处理结果通常是在处理操作执行之后才能确定并通知给用户,这样可能会导致用户对产品对象所执行的处理操作存在错误,而对产品对象执行错误的处理操作所得到的结果并不是用户预期的结果,这样可能导致用户需要执行多次处理操作,不仅增加了用户对产品对象进行处理的成本,而且也严重降低了用户对产品对象的处理效率。Currently, when a user processes a product object, the processing result of the product object is usually determined and notified to the user after the processing operation is performed, which may cause the user to perform an error on the processing operation of the product object, and execute the product object. The result of the wrong processing operation is not the result expected by the user, which may result in the user needing to perform multiple processing operations, which not only increases the cost of processing the product object, but also seriously reduces the processing efficiency of the user object. .
针对上述的问题,目前尚未提出有效的解决方案。In response to the above problems, no effective solution has been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种产品对象的处理方法和装置、存储介质以及电子装置,以至少解决相关技术中产品对象的处理结果在处理操作执行之后才能确定,导致对产品对象所执行的处理操作存在错误的技术问题。Embodiments of the present invention provide a method and apparatus for processing a product object, a storage medium, and an electronic device, to at least solve the processing result of the product object in the related art, which can be determined after the processing operation is executed, and causes the processing operation performed on the product object. There is a technical problem with the error.
根据本发明实施例的一个方面,提供了一种产品对象的处理方法,包括:电子装置接收对目标产品对象的处理请求,其中,处理请求用于请求对目标产品对象进行处理;电子装置响应于处理请求获取目标产品对象的历史单位属性值,其中,历史单位属性值用于指示当前时间之前的每一份 目标产品对象的属性值;电子装置将历史单位属性值与目标产品对象的当前单位属性值进行比较,得到比较结果,其中,当前单位属性值用于指示当前时间的每一份目标产品对象的属性值;电子装置根据比较结果输出提示信息,其中,提示信息用于提示对目标产品对象进行处理预计得到的结果,比较结果与预计得到的结果相对应。According to an aspect of an embodiment of the present invention, a method for processing a product object is provided, comprising: an electronic device receiving a processing request for a target product object, wherein the processing request is for requesting processing of a target product object; and the electronic device is responsive to The processing request acquires a historical unit attribute value of the target product object, wherein the historical unit attribute value is used to indicate an attribute value of each target product object before the current time; the electronic device sets the historical unit attribute value and the current unit attribute of the target product object The values are compared to obtain a comparison result, wherein the current unit attribute value is used to indicate the attribute value of each target product object at the current time; the electronic device outputs the prompt information according to the comparison result, wherein the prompt information is used to prompt the target product object The expected results of the treatment are processed, and the comparison results correspond to the expected results.
根据本发明实施例的一方面,还提供了一种产品对象的处理装置,包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,所述程序单元由所述处理器执行,所述程序单元包括:接收单元,被设置为接收对目标产品对象的处理请求,其中,处理请求用于请求对目标产品对象进行处理;第一获取单元,被设置为响应于处理请求获取目标产品对象的历史单位属性值,其中,历史单位属性值用于指示当前时间之前的每一份目标产品对象的属性值;比较单元,被设置为将历史单位属性值与目标产品对象的当前单位属性值进行比较,得到比较结果,其中,当前单位属性值用于指示当前时间的每一份目标产品对象的属性值;第一输出单元,被设置为根据比较结果输出提示信息,其中,提示信息用于提示对目标产品对象进行处理预计得到的结果,比较结果与预计得到的结果相对应。According to an aspect of an embodiment of the present invention, there is also provided a processing apparatus for a product object, comprising one or more processors, and one or more memories storing program units, wherein the program units are by the processor Execution, the program unit includes: a receiving unit configured to receive a processing request for a target product object, wherein the processing request is for requesting processing of the target product object; and the first obtaining unit is configured to acquire in response to the processing request The historical unit attribute value of the target product object, wherein the historical unit attribute value is used to indicate the attribute value of each target product object before the current time; the comparison unit is set to the historical unit attribute value and the current unit of the target product object The attribute values are compared to obtain a comparison result, wherein the current unit attribute value is used to indicate an attribute value of each target product object at the current time; the first output unit is set to output prompt information according to the comparison result, wherein the prompt information Used to prompt the expected results of processing the target product object, The results compared with results obtained with the corresponding expected.
根据本发明实施例的一方面,还提供了一种存储介质,其中,所述存储介质中存储有计算机程序,所述计算机程序被设置为运行时执行本发明实施例中的任意一种产品对象的处理方法。According to an aspect of an embodiment of the present invention, a storage medium is further provided, wherein a computer program is stored in the storage medium, and the computer program is configured to execute any one of the product objects in the embodiment of the present invention at runtime Processing method.
根据本发明实施例的一方面,还提供了一种电子装置,包括存储器和处理器,其中,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行本发明实施例中的任意一种产品对象的处理方法。According to an aspect of an embodiment of the present invention, there is also provided an electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being configured to perform the implementation of the present invention by the computer program The processing method of any one of the product objects in the example.
在本发明实施例中,通过在接收到对目标产品对象的处理请求之后,将所获取到的目标产品对象的历史单位属性值与当前单位属性值进行比较,根据比较结果输出提示信息,达到了在处理目标产品对象之前预先提示其处理结果的目的,进而解决了相关技术中产品对象的处理结果在处理操作执行之后才能确定,导致对产品对象所执行的处理操作存在错误的技 术问题,从而实现了提高了对产品对象所执行的处理操作的准确度的技术效果。In the embodiment of the present invention, after receiving the processing request for the target product object, comparing the historical unit attribute value of the acquired target product object with the current unit attribute value, and outputting the prompt information according to the comparison result, The purpose of processing the result of the target product object is pre-prompted, and the processing result of the product object in the related art can be determined after the execution of the processing operation, resulting in a technical problem that the processing operation performed on the product object is erroneous, thereby realizing The technical effect of improving the accuracy of the processing operations performed on the product object is improved.
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的产品对象的处理方法的硬件环境的示意图;1 is a schematic diagram of a hardware environment of a method of processing a product object according to an embodiment of the present invention;
图2是根据本发明实施例的一种可选的产品对象的处理方法的流程图;2 is a flow chart of an alternative method of processing a product object in accordance with an embodiment of the present invention;
图3是根据本发明可选实施例的买入或者取出指数基金的处理流程的示意图;3 is a schematic diagram of a process flow of buying or withdrawing an index fund according to an alternative embodiment of the present invention;
图4是根据本发明可选实施例的执行买入取出操作时的亏损提醒界面的示意图;4 is a schematic diagram of a loss reminding interface when performing a buy-out operation according to an alternative embodiment of the present invention;
图5是根据本发明可选实施例的指数基金定投不存在风险的处理流程的示意图;5 is a schematic diagram of a process flow of an index fund fixed investment without risk according to an alternative embodiment of the present invention;
图6是根据本发明可选实施例的指数基金定投存在风险的处理流程的示意图;6 is a schematic diagram of a processing flow of an index fund fixed investment according to an alternative embodiment of the present invention;
图7a是根据本发明可选实施例的定投亏损预警提示界面的示意图;7a is a schematic diagram of a fixed investment loss warning prompt interface according to an alternative embodiment of the present invention;
图7b是根据本发明可选实施例的自动买入触发时机设置界面的示意图;7b is a schematic diagram of an automatic buy trigger timing setting interface according to an alternative embodiment of the present invention;
图8是根据本发明可选实施例的自动赎回的处理流程的示意图;8 is a schematic diagram of a process flow of automatic redemption according to an alternative embodiment of the present invention;
图9是根据本发明可选实施例的自动赎回的触发条件的设置界面的示意图;9 is a schematic diagram of a setting interface of trigger conditions for automatic redemption according to an alternative embodiment of the present invention;
图10是根据本发明可选实施例的提示手续费的处理流程的示意图;10 is a schematic diagram of a processing flow of a prompt fee according to an alternative embodiment of the present invention;
图11是根据本发明实施例的一种可选的产品对象的处理装置的示意 图;以及Figure 11 is a schematic illustration of an alternative processing device for a product object in accordance with an embodiment of the present invention;
图12是根据本发明实施例的一种电子装置的结构框图。FIG. 12 is a structural block diagram of an electronic device according to an embodiment of the invention.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It is to be understood that the data so used may be interchanged where appropriate, so that the embodiments of the invention described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
根据本发明实施例,提供了一种产品对象的处理方法的方法实施例。According to an embodiment of the invention, a method embodiment of a method of processing a product object is provided.
可选地,在本实施例中,上述产品对象的处理方法可以应用于如图1所示的由服务器102和终端104所构成的硬件环境中。如图1所示,服务器102通过网络与终端104进行连接,上述网络包括但不限于:广域网、城域网或局域网,终端104并不限定于PC、手机、平板电脑等。本发明实施例的产品对象的处理方法可以由服务器102来执行,也可以由终端104来执行,还可以是由服务器102和终端104共同执行。其中,终端104执行本发明实施例的产品对象的处理方法也可以是由安装在其上的客户端来执行。Optionally, in the embodiment, the processing method of the product object described above may be applied to a hardware environment composed of the server 102 and the terminal 104 as shown in FIG. 1. As shown in FIG. 1, the server 102 is connected to the terminal 104 through a network. The network includes but is not limited to a wide area network, a metropolitan area network, or a local area network. The terminal 104 is not limited to a PC, a mobile phone, a tablet, or the like. The processing method of the product object in the embodiment of the present invention may be performed by the server 102, may be performed by the terminal 104, or may be performed by the server 102 and the terminal 104 in common. The processing method of the product object in which the terminal 104 executes the embodiment of the present invention may also be performed by a client installed thereon.
可选地,本发明实施例的产品对象的处理方法可以由电子装置执行, 其中,电子装置可以包括上述服务器102以及终端104。电子装置可以是智能手机(如Android手机、iOS手机等)、平板电脑等终端设备。电子装置还可包括更多组件(例如网络接口、显示装置等),此处对电子装置的结构不做具体限定。Optionally, the processing method of the product object in the embodiment of the present invention may be performed by an electronic device, where the electronic device may include the server 102 and the terminal 104. The electronic device may be a terminal device such as a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.) or a tablet computer. The electronic device may further include more components (such as a network interface, a display device, etc.), and the structure of the electronic device is not specifically limited herein.
下面以电子装置执行产品对象的处理方法为例对该产品对象的处理方法进行详细说明。The processing method of the product object is described in detail below by taking the processing method of the product object by the electronic device as an example.
图2是根据本发明实施例的一种可选的产品对象的处理方法的流程图,如图2所示,该方法可以包括以下步骤:FIG. 2 is a flowchart of a method for processing an optional product object according to an embodiment of the present invention. As shown in FIG. 2, the method may include the following steps:
步骤S202,电子装置接收对目标产品对象的处理请求,其中,处理请求用于请求对目标产品对象进行处理;Step S202, the electronic device receives a processing request for the target product object, where the processing request is used to request processing of the target product object;
步骤S204,电子装置响应于处理请求获取目标产品对象的历史单位属性值,其中,历史单位属性值用于指示当前时间之前的每一份目标产品对象的属性值;Step S204, the electronic device acquires a historical unit attribute value of the target product object in response to the processing request, wherein the historical unit attribute value is used to indicate an attribute value of each target product object before the current time;
步骤S206,电子装置将历史单位属性值与目标产品对象的当前单位属性值进行比较,得到比较结果,其中,当前单位属性值用于指示当前时间的每一份目标产品对象的属性值;Step S206, the electronic device compares the historical unit attribute value with the current unit attribute value of the target product object to obtain a comparison result, wherein the current unit attribute value is used to indicate the attribute value of each target product object at the current time;
步骤S208,电子装置根据比较结果输出提示信息,其中,提示信息用于提示对目标产品对象进行处理预计得到的结果,比较结果与预计得到的结果相对应。Step S208, the electronic device outputs prompt information according to the comparison result, wherein the prompt information is used to prompt the expected result of processing the target product object, and the comparison result corresponds to the expected result.
通过上述步骤S202至步骤S208,在接收到对目标产品对象的处理请求之后,将所获取到的目标产品对象的历史单位属性值与当前单位属性值进行比较,根据比较结果输出提示信息,达到了在处理目标产品对象之前预先提示其处理结果的目的,进而解决了相关技术中产品对象的处理结果在处理操作执行之后才能确定,导致对产品对象所执行的处理操作存在错误的技术问题,从而实现了提高了对产品对象所执行的处理操作的准确度的技术效果。After receiving the processing request for the target product object, the historical unit attribute value of the acquired target product object is compared with the current unit attribute value, and the prompt information is output according to the comparison result. The purpose of processing the result of the target product object is pre-prompted, and the processing result of the product object in the related art can be determined after the execution of the processing operation, resulting in a technical problem that the processing operation performed on the product object is erroneous, thereby realizing The technical effect of improving the accuracy of the processing operations performed on the product object is improved.
在步骤S202提供的技术方案中,本发明实施例中的目标产品对象可以为类似于指数基金、黄金ETF等浮动盈亏产品,目标产品对象的资源量可以为变量,该变量可以增加,也可以减少。用户对所持有的目标产品对象所执行的处理操作可以包括以下至少之一:增加目标产品对象的份数;减少目标产品对象的份数;每隔预定周期增加预定份数的目标产品对象;在预定时间减少预定份数的目标产品对象。此处需要说明的是,预定周期、预定份数以及预定时间可以根据实际需求由用户设置,此处不做具体限定。In the technical solution provided in step S202, the target product object in the embodiment of the present invention may be a floating profit and loss product similar to an index fund, a gold ETF, etc., and the resource quantity of the target product object may be a variable, and the variable may be increased or decreased. . The processing operation performed by the user on the target product object held may include at least one of: increasing the number of copies of the target product object; reducing the number of copies of the target product object; and increasing the predetermined number of target product objects every predetermined period; The target product object of the predetermined number of copies is reduced at the predetermined time. It should be noted that the predetermined period, the predetermined number of copies, and the predetermined time may be set by the user according to actual needs, and are not specifically limited herein.
在实际应用场景中,用户可以通过对目标产品对象执行上述所列举的任意一种处理操作来触发生成目标产品对象的处理请求,其中,对目标产品对象的处理请求中可以携带有以下信息:目标产品对象的标识信息、对目标产品对象所执行的处理操作的类型以及内容等信息。例如,假设用户对目标产品对象所执行的处理操作为增加目标产品对象的份数,则该处理操作所触发生成的处理请求中可以携带有:该目标产品对象的标识信息、对目标产品对象执行增加份数操作、目标产品对象所需要增加的份数等。需要说明的是,目标产品对象的处理请求中所携带的信息均可以由用户在选中目标产品对象之后根据实际需求进行设置。In an actual application scenario, the user may trigger a processing request for generating a target product object by performing any of the processing operations listed above on the target product object, where the processing request for the target product object may carry the following information: Information such as identification information of the product object, type of processing operation performed on the target product object, and content. For example, if the processing operation performed by the user on the target product object is to increase the number of copies of the target product object, the processing request triggered by the processing operation may carry: identification information of the target product object, and execution on the target product object. Increase the number of copies, the number of copies required for the target product object, and so on. It should be noted that the information carried in the processing request of the target product object can be set by the user according to actual needs after selecting the target product object.
在步骤S204提供的技术方案中,本发明实施例在接收到目标产品对象的处理请求之后,可以对其进行响应,具体可以包括:对该处理请求进行解析从中获取到对目标产品对象所执行的处理操作的类型和内容;获取该目标产品对象的历史单位属性值。其中,历史单位属性值可以用于指示当前时间之前的每一份目标产品对象的属性值,此处需要说明的是,目标产品对象的单位属性值可以随着时间变化,目标产品对象的历史单位属性值是根据当前时间之前的对该目标产品对象的处理记录确定得到的,目标产品对象的获取方法具体参见以下可选实施例:In the technical solution provided in step S204, after receiving the processing request of the target product object, the embodiment of the present invention may respond to the processing request, which may include: parsing the processing request, obtaining the execution of the target product object. Process the type and content of the operation; get the historical unit attribute value of the target product object. The historical unit attribute value can be used to indicate the attribute value of each target product object before the current time. Here, it should be noted that the unit attribute value of the target product object can change with time, and the historical unit of the target product object. The attribute value is determined according to the processing record of the target product object before the current time. For the method for obtaining the target product object, refer to the following optional embodiments:
作为一种可选的实施例,步骤S204电子装置响应于处理请求获取目标产品对象的历史单位属性值可以包括:As an optional embodiment, the step S204, the acquiring, by the electronic device, the historical unit attribute value of the target product object in response to the processing request may include:
步骤S2042,电子装置获取目标产品对象的资源总量与目标产品对象 的总份数的比值,其中,比值为历史单位属性值;其中,目标产品对象的资源总量为所持有的目标产品对象的资源量减去目标产品对象减少的份数与减少目标产品对象的份数时目标产品对象的当前单位属性值的乘积,所持有的目标产品对象的资源量为所持有的资源量除以1与增加目标产品对象份数的资源减少比例的和;其中,目标产品对象的总份数为所持有的目标产品对象的份数与目标产品对象减少的份数的差值,所持有的目标产品对象的份数为所持有的目标产品对象的资源量除以增加目标产品对象的份数时目标产品对象的当前单位属性值。Step S2042, the electronic device acquires a ratio of the total amount of resources of the target product object to the total number of copies of the target product object, wherein the ratio is a historical unit attribute value; wherein, the total resource amount of the target product object is the target product object held by the target product object The amount of resources minus the product of the target product object reduced by the number of copies of the target product object and the current unit attribute value of the target product object, the amount of resources held by the target product object is divided by the amount of resources held The sum of the ratio of the number of shares of the target product object to the decrease of the number of copies of the target product object; wherein the total number of copies of the target product object is the difference between the number of copies of the target product object held and the number of copies of the target product object. The number of copies of a target product object is the current unit attribute value of the target product object when the amount of resources of the target product object held is divided by the number of copies of the target product object.
需要说明的是,上述目标产品对象的历史单位属性值的获取方法可以由以下公式表示:It should be noted that the method for obtaining the historical unit attribute value of the above target product object may be represented by the following formula:
其中,A为目标产品对象的历史单位属性值,M为目标产品对象的资源总量,N为目标产品对象的总份数,L为用户所持有的资源量,a为增加目标产品对象份数的资源减少比例,b1为减少目标产品对象的份数时目标产品对象的当前单位属性值,b2为增加目标产品对象的份数时目标产品对象的当前单位属性值,T为目标产品对象减少的份数,H为分红,分红会影响目标产品对象的历史单位属性值。Where A is the historical unit attribute value of the target product object, M is the total amount of resources of the target product object, N is the total number of copies of the target product object, L is the amount of resources held by the user, and a is the target product of the target product. The ratio of the number of resources reduced, b1 is the current unit attribute value of the target product object when the number of copies of the target product object is reduced, b2 is the current unit attribute value of the target product object when the number of copies of the target product object is increased, and T is the target product object reduction The number of copies, H is the dividend, the dividend will affect the value of the historical unit attribute of the target product object.
以指数基金为目标产品对象为例,则目标产品对象的历史单位属性值即为指数基金的成本单位净值,则成本单位净值=持有金额/持有份额,其中,持有金额=买入金额/(1+申购费率)-取出份额*取出单位净值;持有份额=[买入金额/(1+申购费率)]/买入单位净值-取出份额+分红,其中,分红为一变量,对成本单位净值有影响。Taking the index product as the target product object, the historical unit attribute value of the target product object is the cost unit net value of the index fund, then the cost unit net value=holding amount/holding share, wherein the holding amount=the buying amount / (1 + subscription rate) - take out the share * take out the unit net value; hold the share = [buy amount / (1 + subscription rate)] / buy unit net value - take the share + dividend, where dividends are a variable , has an impact on the net value of the cost unit.
在获取目标产品对象的历史单位属性值之后,本发明实施例可以对其进行存储,以便于根据该历史单位属性值与目标产品对象的当前单位属性 值的比较结果预估目标产品对象的处理结果。After obtaining the historical unit attribute value of the target product object, the embodiment of the present invention may store it to estimate the processing result of the target product object according to the comparison result between the historical unit attribute value and the current unit attribute value of the target product object. .
在步骤S206提供的技术方案中,目标产品对象的当前单位属性值可以用于指示当前时间的每一份目标产品对象的属性值,当前单位属性值可以根据实际情况确定,例如指数基金的当前单位净值可以根据沪深指股市行情确定。在获取到目标产品对象的历史单位属性值和当前单位属性值之后,本发明实施例可以将两者进行比较,其比较结果可以包括以下三种情况:历史单位属性值大于当前单位属性值;历史单位属性值小于当前单位属性值;历史单位属性值和当前单位属性值相等。此处需要说明的是,如果历史单位属性值和当前单位属性值的比较结果为历史单位属性值与当前单位属性值不相等,本发明实施例还会进一步确定历史单位属性值与当前单位属性值之间的差值以及该差值占当前单位属性值的比例,这样能够使得根据历史单位属性值与当前单位属性值之间的比较结果更加准确地预估目标产品对象的处理结果。In the technical solution provided in step S206, the current unit attribute value of the target product object may be used to indicate the attribute value of each target product object at the current time, and the current unit attribute value may be determined according to actual conditions, for example, the current unit of the index fund. The net value can be determined according to the stock market situation of Shanghai and Shenzhen stocks. After obtaining the historical unit attribute value and the current unit attribute value of the target product object, the embodiment of the present invention may compare the two, and the comparison result may include the following three cases: the historical unit attribute value is greater than the current unit attribute value; history The unit attribute value is less than the current unit attribute value; the historical unit attribute value is equal to the current unit attribute value. It should be noted that, if the comparison result between the historical unit attribute value and the current unit attribute value is that the historical unit attribute value is not equal to the current unit attribute value, the embodiment of the present invention further determines the historical unit attribute value and the current unit attribute value. The difference between the difference and the ratio of the difference to the current unit attribute value enables the result of the comparison of the target unit object to be more accurately estimated based on the comparison result between the history unit attribute value and the current unit attribute value.
在步骤S208提供的技术方案中,在得到目标产品对象的历史单位属性值与当前单位属性值的比较结果之后,本发明实施例可以根据比较结果输出提示信息,其中,该提示信息可以用于提示对目标产品对象进行处理预计得到的结果,其中,历史单位属性值与当前单位属性值的比较结果可以与该提示信息所提示的预计得到的结果相对应。此处需要说明的是,根据历史单位属性值与当前单位属性值的比较结果输出提示信息可以发生在对目标产品对象执行处理请求中所请求的处理操作之前,这样能够实现对用户进行提示,以便于用户可以预估该处理操作的处理结果,进而达到判断所执行的处理操作是否正确的目的。In the technical solution provided in step S208, after obtaining the comparison result between the historical unit attribute value of the target product object and the current unit attribute value, the embodiment of the present invention may output prompt information according to the comparison result, wherein the prompt information may be used for prompting The expected result of processing the target product object, wherein the comparison result between the historical unit attribute value and the current unit attribute value may correspond to the expected result indicated by the prompt information. It should be noted that, according to the comparison result of the historical unit attribute value and the current unit attribute value, the output prompt information may occur before the processing operation requested in the processing request of the target product object, so that the user can be prompted to The user can estimate the processing result of the processing operation, thereby achieving the purpose of determining whether the processing operation performed is correct.
作为一种可选的实施例,步骤S208根据比较结果输出提示信息可以包括:As an optional embodiment, the step S208 outputting the prompt information according to the comparison result may include:
步骤S2081,电子装置在历史单位属性值超过当前单位属性值预定比例的情况下,输出第一提示信息,其中,第一提示信息用于提示减少目标产品对象的份数会造成目标产品对象的资源总量减少。Step S2081: The electronic device outputs first prompt information when the historical unit attribute value exceeds a predetermined ratio of the current unit attribute value, wherein the first prompt information is used to prompt to reduce the number of copies of the target product object, thereby causing resources of the target product object. The total amount is reduced.
步骤S2082,电子装置在历史单位属性值低于当前单位属性值预定比例的情况下,输出第二提示信息,其中,第二提示信息用于提示增加目标产品对象的份数会造成目标产品对象的资源总量减少。Step S2082: The electronic device outputs second prompt information when the historical unit attribute value is lower than a predetermined ratio of the current unit attribute value, wherein the second prompt information is used to prompt to increase the number of copies of the target product object to cause the target product object. The total amount of resources is reduced.
步骤S2083,电子装置在历史单位属性值与当前单位属性值之间的差值的绝对值小于当前单位属性值预定比例的情况下,输出第三提示信息,其中,第三提示信息用于提示增加或减少目标产品对象的份数会造成目标产品对象的资源总量减少。Step S2083: The electronic device outputs third prompt information, where the absolute value of the difference between the historical unit attribute value and the current unit attribute value is less than a predetermined ratio of the current unit attribute value, wherein the third prompt information is used to prompt the increase. Or reducing the number of copies of the target product object will result in a reduction in the total amount of resources of the target product object.
在上述步骤中,比较结果可以指示以下三种情况:历史单位属性值超过当前单位属性值预定比例;历史单位属性值低于当前单位属性值预定比例;历史单位属性值与当前单位属性值之间的差值的绝对值小于当前单位属性值预定比例。其中,预定比例可以根据实际需求设定,此处不做具体限定。根据比较结果输出的提示信息可以与比较结果相对应,可选地:在比较结果指示历史单位属性值超过当前单位属性值预定比例的情况下,可以输出第一提示信息,提示用户此时减少目标产品对象的份数将会造成目标产品对象的资源总量减少;在比较结果指示历史单位属性值低于当前单位属性值预定比例的情况下,可以输出第二提示信息,提示用户此时增加目标产品对象的份数会造成目标产品对象的资源总量减少;在比较结果指示历史单位属性值与当前单位属性值之间的差值的绝对值小于当前单位属性值预定比例的情况下,可以输出第三提示信息,提示用户此时增加或减少目标产品对象的份数均会造成目标产品对象的资源总量减少。In the above steps, the comparison result may indicate the following three cases: the historical unit attribute value exceeds the current unit attribute value by a predetermined ratio; the historical unit attribute value is lower than the current unit attribute value by a predetermined ratio; between the historical unit attribute value and the current unit attribute value The absolute value of the difference is less than the predetermined ratio of the current unit attribute value. The predetermined ratio may be set according to actual needs, and is not specifically limited herein. The prompt information outputted according to the comparison result may correspond to the comparison result. Optionally, if the comparison result indicates that the historical unit attribute value exceeds a predetermined ratio of the current unit attribute value, the first prompt information may be output, prompting the user to reduce the target at this time. The number of copies of the product object will reduce the total amount of resources of the target product object; if the comparison result indicates that the historical unit attribute value is lower than the predetermined ratio of the current unit attribute value, the second prompt information may be output, prompting the user to increase the target at this time. The number of copies of the product object may cause the total amount of resources of the target product object to decrease; if the absolute value of the difference between the historical unit attribute value and the current unit attribute value is smaller than the predetermined ratio of the current unit attribute value, the comparison result may be output. The third prompt message prompts the user to increase or decrease the number of copies of the target product object at this time, which causes the total amount of resources of the target product object to decrease.
该实施例通过根据比较结果输出相对应的提示信息提示用户执行某种处理操作是否会减少目标产品对象的资源总量,这样能够达到预先为用户提示预估的处理操作对应的处理结果的目的,进而使得用户可以预先判断对目标产品对象所执行的处理操作是否正确,达到了提高对目标产品对象所执行的处理操作的准确度的效果。The embodiment prompts the user whether performing a certain processing operation according to the comparison result to reduce the total amount of resources of the target product object, so as to achieve the purpose of prompting the user to advance the processing result corresponding to the estimated processing operation. In turn, the user can pre-determine whether the processing operation performed on the target product object is correct, and achieve the effect of improving the accuracy of the processing operation performed on the target product object.
作为一种可选的实施例,在所接收到的处理请求用于请求对目标产品对象进行每隔预定周期增加预定份数的目标产品对象处理的情况下,步骤 S208电子装置根据比较结果输出提示信息可以包括:As an optional embodiment, in the case that the received processing request is used to request to increase the target product object by a predetermined number of copies of the target product object every predetermined period, the electronic device outputs a prompt according to the comparison result. Information can include:
步骤S2084,电子装置每隔预订周期如果历史单位属性值超过当前单位属性值预定比例,允许增加预定份数的目标产品对象。In step S2084, the electronic device allows a predetermined number of target product objects to be added if the historical unit attribute value exceeds the current unit attribute value by a predetermined ratio every predetermined period.
步骤S2085,电子装置每隔预订周期如果历史单位属性值未超过当前单位属性值预定比例,输出提示信息,其中,提示信息用于提示增加预定份数的目标产品对象会造成目标产品对象的资源总量减少。Step S2085: The electronic device outputs prompt information if the historical unit attribute value does not exceed the current unit attribute value by a predetermined ratio every reservation period, wherein the prompt information is used to prompt the increase of the predetermined number of target product objects to cause the total resource of the target product object. The amount is reduced.
在上述步骤中,在所接收到的处理请求用于请求对目标产品对象进行每隔预定周期增加预定份数的目标产品对象处理的情况下,该实施例可以每隔预定周期便会对目标产品对象的历史单位属性值和当前单位属性值进行比较,并根据比较结果输出相对应的提示信息。如果每隔预定周期判断出历史单位属性值超过当前单位属性值预定比例,则该实施例可以不输出提示信息,直接允许对目标产品对象执行增加预定份数的目标产品对象;如果每隔预定周期判断出历史单位属性值未超过当前单位属性值预定比例,则该实施例可以输出提示信息,以提示用户此时增加预定份数的目标产品对象会造成目标产品对象的资源总量减少。此处需要说明的是,该实施例中的预定比例、预定份数以及预定周期可以根据实际需求由用户设定,此处不做具体限定。In the above steps, in the case where the received processing request is for requesting a target product object to be processed by a predetermined number of copies of the target product object every predetermined period, the embodiment may target the target product every predetermined period. The historical unit attribute value of the object is compared with the current unit attribute value, and the corresponding prompt information is output according to the comparison result. If it is determined that the historical unit attribute value exceeds the current unit attribute value by a predetermined ratio every predetermined period, the embodiment may directly output the prompting information without directly outputting the target product object to the target product object; if every predetermined period If it is determined that the historical unit attribute value does not exceed the predetermined ratio of the current unit attribute value, the embodiment may output prompt information to prompt the user to increase the predetermined number of target product objects at this time, which may cause the total resource amount of the target product object to decrease. It should be noted that the predetermined ratio, the predetermined number of copies, and the predetermined period in this embodiment may be set by the user according to actual needs, and are not specifically limited herein.
可选地,如果每隔预定周期判断出历史单位属性值未超过当前单位属性值预定比例,该实施例在暂停对目标产品对象执行增加预定份数的处理操作的同时,还可以提示用户设置下一次自动按照预定周期增加预定份数的目标产品对象的触发条件,以便于后续判断出满足该触发条件的情况下,可以自动执行按照预定周期增加预定份数的目标产品对象的处理操作。Optionally, if it is determined that the historical unit attribute value does not exceed the current unit attribute value by a predetermined ratio every predetermined period, the embodiment may prompt the user to set the processing while suspending the processing operation of adding the predetermined number of copies to the target product object. The processing condition of the target product object of the predetermined number of copies is automatically increased in accordance with the predetermined period at a time, so that the processing operation of increasing the predetermined number of copies of the target product object according to the predetermined period can be automatically performed in the case where it is judged that the trigger condition is subsequently satisfied.
该实施例针对对目标产品对象进行每隔预定周期增加预定份数的处理请求,可以每个预定周期根据目标产品对象的历史单位属性值与当前单位属性值的比较结果决定是否允许对目标产品对象执行每隔预定周期增加预定份数的处理操作,并在判断出不允许执行该处理操作时为用户输出提示信息,这样能够避免因用户无法预知处理结果造成目标产品对象的资 源总量减少,进而达到了提高对目标产品对象所执行的处理操作的准确度的效果。This embodiment is directed to a processing request for increasing a predetermined number of copies every predetermined period for a target product object, and determining whether to allow the target product object according to a comparison result of the historical unit attribute value of the target product object and the current unit attribute value for each predetermined period. Executing a processing operation of increasing a predetermined number of copies every predetermined period, and outputting prompt information for the user when it is judged that the processing operation is not allowed to be performed, thereby preventing the total amount of resources of the target product object from being reduced due to the user's unpredictable processing result, and further The effect of improving the accuracy of the processing operations performed on the target product object is achieved.
作为一种可选的实施例,在所接收到的处理请求用于请求对目标产品对象进行在预定时间减少预定份数的目标产品对象处理的情况下,用户可以预先设定一单位属性值,并根据该设定的单位属性值与目标产品对象的当前单位属性值的比较结果确定是否允许执行在预定时间减少预定份数的目标产品对象的处理操作。As an optional embodiment, in a case where the received processing request is used to request the target product object to be processed by the target product object by reducing the predetermined number of copies at a predetermined time, the user may preset a unit attribute value. And determining whether to perform a processing operation of reducing a predetermined number of copies of the target product object at a predetermined time according to a comparison result of the set unit attribute value and the current unit attribute value of the target product object.
在该实施例中,可以将用于预先设定的单位属性值作为历史单位属性值,则相应地,步骤S206电子装置将历史单位属性值与目标产品对象的当前单位属性值进行比较,得到比较结果可以包括:步骤S2062,电子装置将预先设定的单位属性值与目标产品对象的当前单位属性值进行比较。步骤S208电子装置根据比较结果输出提示信息可以包括:步骤S2086,电子装置在目标产品对象的当前单位属性值高于预先设定的单位属性值的情况下,允许在预定时间减少预定份数的目标产品对象;步骤S2087,电子装置在目标产品对象的当前单位属性值不高于预先设定的单位属性值的情况下,输出提示信息,其中,提示信息用于提示减少预定份数的目标产品对象会造成目标产品对象的资源总量减少。In this embodiment, the unit attribute value for the preset may be used as the historical unit attribute value, and correspondingly, the electronic device compares the historical unit attribute value with the current unit attribute value of the target product object to obtain a comparison. The result may include: in step S2062, the electronic device compares the preset unit attribute value with the current unit attribute value of the target product object. Step S208: The outputting the prompt information by the electronic device according to the comparison result may include: Step S2086, the electronic device is allowed to reduce the target of the predetermined number of copies at a predetermined time if the current unit attribute value of the target product object is higher than a preset unit attribute value. Product object; step S2087, the electronic device outputs prompt information when the current unit attribute value of the target product object is not higher than a preset unit attribute value, wherein the prompt information is used to prompt to reduce the predetermined number of target product objects This will result in a reduction in the total amount of resources for the target product object.
需要说明的是,在所接收到的处理请求用于请求对目标产品对象进行在预定时间减少预定份数的目标产品对象处理的情况下,该实施例可以在预定周期将用户预先设定的单位属性值与目标产品对象当前单位属性值进行比较,并在比较结果指示目标产品对象的当前单位属性值高于预先设定的单位属性值的情况下,不输出提示信息,直接允许对目标产品对象执行减少预定份数的处理操作;在比较结果指示目标产品对象的当前单位属性值不高于预先设定的单位属性值的情况下,输出提示信息,以提示用户此时减少预定份数的目标产品对象会造成目标产品对象的资源总量减少。此处需要说明的是,该实施例中的预定比例、预定份数以及预定时间可以根据实际需求由用户设定,此处不做具体限定。It should be noted that, in the case that the received processing request is used to request the target product object to reduce the predetermined number of copies of the target product object processing for a predetermined time, the embodiment may set the user's preset unit in a predetermined period. The attribute value is compared with the current unit attribute value of the target product object, and if the comparison result indicates that the current unit attribute value of the target product object is higher than a preset unit attribute value, the prompt information is not output, and the target product object is directly allowed. Performing a processing operation for reducing the predetermined number of copies; if the comparison result indicates that the current unit attribute value of the target product object is not higher than a preset unit attribute value, outputting the prompt information to prompt the user to reduce the target number of copies at this time Product objects cause a reduction in the total amount of resources for the target product object. It should be noted that the predetermined ratio, the predetermined number of copies, and the predetermined time in the embodiment may be set by the user according to actual needs, and are not specifically limited herein.
可选地,在目标产品对象的当前单位属性值不高于预先设定的单位属性值情况下,该实施例在暂停对目标产品对象执行减少预定份数的处理操作的同时,还可以提示用户设置下一次自动减少预定份数的目标产品对象的触发条件,以便于后续判断出满足该触发条件的情况下,可以自动执行减少预定份数的目标产品对象的处理操作。Optionally, in a case that the current unit attribute value of the target product object is not higher than a preset unit attribute value, the embodiment may prompt the user while suspending the processing operation of reducing the predetermined number of copies on the target product object. The trigger condition for the next predetermined automatic reduction of the target product object of the predetermined number of copies is set so that the processing operation of reducing the predetermined number of copies of the target product object can be automatically performed in the case where it is subsequently determined that the trigger condition is satisfied.
该实施例针对对目标产品对象进行在预定时间自动减少预定份数的处理请求,可以根据目标产品对象的当前单位属性值与用于预先设定的单位属性值的比较结果决定是否允许对目标产品对象执行自动减少预定份数的处理操作,并在判断出不允许执行该处理操作时为用户输出提示信息,这样能够避免因用户无法预知处理结果造成目标产品对象的资源总量减少,进而达到了提高对目标产品对象所执行的处理操作的准确度的效果。The embodiment is directed to a processing request for automatically reducing a predetermined number of copies at a predetermined time for the target product object, and determining whether to allow the target product according to a comparison result between the current unit attribute value of the target product object and the unit attribute value for the preset unit attribute. The object performs a processing operation of automatically reducing the predetermined number of copies, and outputs a prompt message to the user when it is judged that the processing operation is not allowed to be performed, thereby avoiding a reduction in the total amount of resources of the target product object due to the user's unpredictable processing result, thereby achieving Improve the accuracy of the processing operations performed on the target product object.
由于在对目标产品对象执行增加份数或减少份数的处理操作时,将会造成目标产品对象减少资源量,为了准确预估对目标产品对象执行增加份数或减少份数的处理结果,需要准确获取对目标产品对象执行增加份数或减少份数的处理操作时目标产品对象所减少的资源量。Since the processing of increasing the number of copies or reducing the number of copies of the target product object will result in a reduction in the amount of resources of the target product object, in order to accurately estimate the processing result of increasing the number of copies or reducing the number of copies of the target product object, Accurately obtain the amount of resources reduced by the target product object when performing processing operations that increase the number of copies or reduce the number of copies of the target product object.
作为一种可选的实施例,对目标产品对象执行增加份数的处理操作时,目标产品对象所减少的资源量可以通过以下公式获取得到:As an optional embodiment, when the processing operation of increasing the number of copies is performed on the target product object, the amount of resources reduced by the target product object can be obtained by the following formula:
以指数基金为例,指数基金的买入手续费的计算方法为:假设交易日15点前买入1万元,第二个交易日确认份额,交易日当天的单位净值为1元,则本次买入按照1元净值计算,即确认金额=买入金额/(1+申购费率)=10000/(1+0.6%)=9940.4元;买入手续费=买入金额-确认金额=10000-9940.4=59.6元。Taking the index fund as an example, the calculation method of the buying fee of the index fund is as follows: assuming that the trading day is 10,000 yuan before 15 o'clock, the second trading day confirms the share, and the net value of the unit on the trading day is 1 yuan. The second purchase is calculated according to the net value of 1 yuan, that is, the confirmed amount = the purchase amount / (1 + subscription rate) = 10000 / (1 + 0.6%) = 9940.4 yuan; the purchase fee = the purchase amount - the confirmed amount = 10000 -9940.4 = 59.6 yuan.
作为一种可选的实施例,对目标产品对象执行减少份数的处理操作的情况下,在步骤S208电子装置根据比较结果输出提示信息,并对该目标 产品对象执行减少份数的处理操作之后,该实施例还可以包括:In an optional embodiment, when the processing operation of reducing the number of copies is performed on the target product object, the electronic device outputs the prompt information according to the comparison result in step S208, and performs a processing operation of reducing the number of copies of the target product object. The embodiment may further include:
步骤S209,电子装置获取对目标产品对象进行减少目标产品对象的份数处理所减少的资源量。In step S209, the electronic device acquires the amount of resources reduced by reducing the number of copies of the target product object to the target product object.
在步骤S209提供的技术方案中,对目标产品对象进行减少目标产品对象的份数处理所减少的资源量可以通过以下步骤获取:In the technical solution provided in step S209, the reduced amount of resources for reducing the target product object by the number of copies of the target product object can be obtained by the following steps:
步骤S2092,电子装置获取目标产品对象在每个时间段内的目标产品对象减少的份数、目标产品对象的当前单位属性值、减少目标产品对象份数的资源减少比例之间的乘积;Step S2092: The electronic device acquires a product of a target product object reduced number of copies of the target product object, a current unit attribute value of the target product object, and a resource reduction ratio of the target product object number in each time period;
步骤S2094,电子装置将目标产品对象在每个时间段内的乘积求和得到乘积为减少的资源量。In step S2094, the electronic device sums the products of the target product object in each time period to obtain a product with a reduced amount of resources.
需要说明的是,在上述步骤S2092至步骤S2094中,考虑到用户所持有的目标产品对象的份数可能处于不同时间段,且每个时间段对应的减少目标产品对象份数的资源减少比例不同,故该实施例可以首先获取每个时间段对应的减少的资源量,然后再将所有时间段所减少的资源量相加得到对目标产品对象进行减少目标产品对象的份数处理所减少的资源量。It should be noted that, in the above steps S2092 to S2094, it is considered that the number of copies of the target product object held by the user may be in different time periods, and the resource reduction ratio of the target product object number corresponding to each time segment is reduced. Differently, the embodiment may first obtain the reduced resource amount corresponding to each time segment, and then add the resources reduced by all the time segments to obtain a reduction in the number of copies of the target product object to reduce the target product object. Resources.
以指数基金为例,假设取出的份额包括:一年内的份额、一到两年的份额、两年以上份额,且一年以内的手续费是0.5%,一年至两年的手续费是0.25%,两年以上手续费是0,则取出手续费=(一年内份额*0.5%+一到两年份额*0.25%)*取出单位净值。Take the index fund as an example. Assume that the share taken includes: the share in one year, the share in one to two years, the share in two years, and the handling fee is 0.5% within one year, and the handling fee is 0.25 in one to two years. %, if the handling fee is more than two years, the handling fee = (the share in a year * 0.5% + one to two years share * 0.25%) * Take out the unit net value.
步骤S210,电子装置根据减少的资源量输出第四提示信息,其中,第四提示信息用于提示处理操作,处理操作用于增加减少的资源量的处理操作。Step S210, the electronic device outputs fourth prompt information according to the reduced resource amount, wherein the fourth prompt information is used to prompt a processing operation, and the processing operation is used to increase the processing operation of the reduced resource amount.
在步骤S210提供的技术方案中,在获取到对目标产品对象进行减少目标产品对象的份数处理所减少的资源量之后,该实施例还可以根据所减少的资源量输出第四提示信息,以提示用户可以通过执行某种处理操作来增加所减少的资源量,进而达到保证目标产品对象的资源总量不会减少的 目的。In the technical solution provided in step S210, after obtaining the reduced amount of resources for reducing the number of copies of the target product object to the target product object, the embodiment may further output the fourth prompt information according to the reduced amount of resources, It is suggested that the user can increase the amount of resources reduced by performing some processing operation, thereby achieving the purpose of ensuring that the total amount of resources of the target product object is not reduced.
该实施例在对目标产品对象执行减少目标产品对象的份数处理操作时,通过获取目标产品对象所减少的资源量,并根据所减少的资源量提示用户能够增加该所减少的资源量的处理操作,能够实现保证目标产品对象的资源总量不会减少的目的。In this embodiment, when the number of parts processing operations for reducing the target product object is performed on the target product object, the amount of resources reduced by the target product object is acquired, and the user is prompted to increase the amount of the reduced resource according to the reduced amount of resources. The operation can achieve the purpose of ensuring that the total amount of resources of the target product object is not reduced.
本发明还提供了一种可选实施例,该可选实施例提供了一种买卖权益类基金的止损增益的方案,在该方案中以指数基金为例进行说明,其中,指数基金属于高风险产品,投足存在亏损可能性,指数基金是由基金公司运作,以特定某个指数为跟踪对象的基金产品,通常指数涨基金涨,指数跌基金跌。根据该可选实施例中的买卖权益类基金的止损增益的方案可以设计得到一应用程序APP,该APP可以实现以下功能:The present invention also provides an alternative embodiment, which provides a scheme for buying and selling a stop-loss gain of an equity fund, in which an index fund is taken as an example, wherein the index fund belongs to a high For risk products, there is a possibility of loss. The index fund is a fund product operated by a fund company and is tracked by a certain index. Generally, the index rises and the fund falls, and the index falls. According to the scheme of the stop-loss gain of the equity-selling fund in the alternative embodiment, an application APP can be designed, and the APP can implement the following functions:
1、在用户购买权益类产品的买入取出页面中可以显示用户的成本单位净值、最近买入取出的金额(份额)以及成交后的份额(金额),这样用户可以知道现在买入的时间点对应过往是高位还是低位,从而帮助用户进行决策判断。1. In the buy-out page of the user's purchase of the equity product, the user's net cost unit, the amount of the recent purchase (share), and the share (amount) after the transaction can be displayed, so that the user can know the time point of the current purchase. Corresponding to whether the past is high or low, thus helping users make decision-making judgments.
2、在用户买入或者取出权益类产品时进行亏损预警,当亏损超过10%时,进行提示;亏损未达到10%的,如果遇到周末则可以根据大数据(例如沪深股市行情、金价)进行预测判断。如果预期下周一买入或者取出时的净值或者金价过低可能导致亏损超过10%,则同样进行提示。需要说明的是,每天15点之前可以根据当天最大跌幅的可能性进行预测,15点之后则根据两天最大跌幅的可能性预测,该方案主要是按照最保守稳健的方式来预估用户的盈亏。2. When the user buys or withdraws the equity products, he will make a loss warning. When the loss exceeds 10%, he will give a hint; if the loss does not reach 10%, if he encounters the weekend, he can use big data (such as the Shanghai and Shenzhen stock market prices, gold price). ) Conduct predictive judgments. If you expect that the net value at the time of buying or withdrawing next Monday or the low price of gold may result in a loss of more than 10%, the same prompt is given. It should be noted that before 15 o'clock every day, the forecast can be based on the possibility of the biggest drop in the day. After 15 o'clock, it is predicted according to the possibility of the biggest drop in two days. The plan is mainly to estimate the user's profit and loss according to the most conservative and stable way. .
3、将提示手续费,并给予用户平衡手续费的方案。由于指数基金等产品要T+2到账,而且当持有时间在1年内取出手续费为0.5%,两年为0.25%,超过两年无手续费,由于用户可能持有不同时间段的份额,故具体手续费为多少只能等基金公司返回。该方案在判定到用户取出需要收取手续费时,可以提示用户在取出户买入一部分货币基金,等待3天左右可 以获得收益以弥补手续费。3, will prompt the handling fee, and give the user a plan to balance the handling fee. Since products such as index funds are subject to T+2, and the holding fee is 0.5% in one year and 0.25% in two years, there is no handling fee for more than two years, because users may hold different time periods. Therefore, the specific handling fee can only be returned by the fund company. When the scheme determines that the user needs to collect the handling fee, the user may be prompted to buy a part of the money fund in the household, and wait for about 3 days to obtain the income to make up the handling fee.
4、当用户设置了指数基金定投时,可以为用户提供亏损风险预警。例如,当指数基金走低时,持续定投可以压低买入的总体成本,但当指数基金持续走高时,需要对比上传买入的金额与份额,当判断到当前买入可能提高指数基金的总体成本,将会给用户发消息,用户可以根据实际情况暂时取消本次买入,或者设定一个目标买入的单位净值,当指数基金的单位净值下降到设定的单位净值时即可以继续自动买入。4. When the user sets the index fund to vote, it can provide users with a risk warning for loss. For example, when the index fund goes down, the continuous fixed investment can lower the total cost of buying, but when the index fund continues to rise, it is necessary to compare the amount and share of the upload and purchase. When it is judged that the current purchase may increase the overall cost of the index fund, The user will be sent a message, the user can temporarily cancel the purchase according to the actual situation, or set a target to buy the unit net value, when the unit fund value of the index fund falls to the set unit net value, you can continue to buy automatically. .
5、用户可以设置当指数基金的单位净值处于一个高点时,自动赎回,但当遇到节假日将会有风险预警。5. The user can set the automatic redemption when the unit net value of the index fund is at a high point, but there will be a risk warning when encountering holidays.
下面将以指数基金为例对该可选实施例中的方案进行详细描述:The scheme in the alternative embodiment will be described in detail below by taking an index fund as an example:
该方案主要包括三个部分,第一部分为前期判断和预警,第二部分为手续费提示,第三部分为用户设置自动买卖触发时机,可选地:The program mainly consists of three parts, the first part is the early judgment and early warning, the second part is the fee reminder, and the third part is the user setting the automatic trading trigger timing, optionally:
前期判断和预警主要是指当用户对指数基金进行买入、取出、定投或者自动赎回时,该方案可以自动进行亏损判断和预警。亏损判断和预警主要基于指数基金的当前单位净值与过去买入成功的成本单位净值的差额。为了详细描述亏损判断和预警的流程此处首先介绍成本单位净值的计算方法:The early judgment and early warning mainly mean that when the user buys, withdraws, makes a fixed investment or automatically redeems the index fund, the scheme can automatically make a loss judgment and early warning. The loss judgment and warning are mainly based on the difference between the current unit net value of the index fund and the net value of the cost unit purchased in the past. In order to describe in detail the process of loss judgment and early warning, the calculation method of the net value of the cost unit is first introduced here:
指数基金买入手续费的计算方法:The calculation method of the index fund buying fee:
假设申购费率0.6%Assume that the subscription rate is 0.6%.
确认金额=买入金额/(1+申购费率)Confirmed amount = purchase amount / (1 + subscription rate)
申购费用=确认金额*申购费率Subscription fee = confirmed amount * subscription rate
举例:Example:
交易日15点前买入1万元,第二个交易日确认份额,交易日当天的单位净值为1元,则本次买入按照1元净值计算,即确认金额=买入金额/(1+申购费率)=10000/(1+0.6%)=9940.4元。Buy 10,000 yuan before 15:00, the second trading day to confirm the share, the unit value of the day of the trading day is 1 yuan, then the purchase is calculated according to the net value of 1 yuan, that is, the confirmed amount = the purchase amount / (1 + subscription rate) = 10000 / (1 + 0.6%) = 9940.4 yuan.
买入手续费=买入金额-确认金额=10000-9940.4=59.6元Buying fee = purchase amount - confirmation amount = 10000-9940.4 = 59.6 yuan
买入份额=确认金额/单位净值=9940.4/1=9940.4份Buying share = confirmed amount / unit net value = 9940.4 / 1 = 9940.4 parts
指数基金的取出手续费计算方法:The calculation method for the withdrawal fee of the index fund:
根据持有时间计算,一年以内手续费0.5%;1-2年手续费0.25%;2年以上手续费为0。According to the holding time, the handling fee is 0.5% within one year; the handling fee is 0.25% in 1-2 years; the handling fee is more than 2 years.
举例:如果持有时间在1年以内,交易日15点前取出100份,第二个交易日确认取出金额,交易日当天的单位净值为1,则本次取出单位净值按照1元计算。For example: If the holding time is within 1 year, 100 copies are taken before 15:00 on the trading day, and the withdrawal amount is confirmed on the second trading day. The unit value of the unit on the trading day is 1, then the net value of the unit is calculated at 1 yuan.
取出金额=取出份额*单位净值=100*1=100元Withdrawal amount = withdrawal share * unit net value = 100 * 1 = 100 yuan
取出手续费=取出金额*0.5%=100*0.5%=0.5元Take out the fee = take the amount *0.5% = 100 * 0.5% = 0.5 yuan
取出确认金额=取出金额-取出手续费=100-0.5=99.5元Take out confirmation amount = take out amount - take out handling fee = 100-0.5 = 99.5 yuan
该方案中的成本单位净值=持有金额/持有份额Net cost unit in the plan = holding amount / holding share
其中,持有金额=买入金额/(1+申购费率)-取出份额*取出单位净值;持有份额=[买入金额/(1+申购费率)]/买入单位净值-取出份额+分红,其中,分红为一变量,对成本单位净值有影响。Among them, the holding amount = the purchase amount / (1 + subscription rate) - take the share * take out the unit net value; hold the share = [buy amount / (1 + subscription rate)] / buy unit net value - take the share + Dividend, where dividends are a variable that has an impact on the net value of the cost unit.
通过以上算法得出用户持有该指数基金的成本单位净值,利用该成本单位净值可以和该指数基金的当前单位净值进行比较,从而实现亏损判断和预警,可选地:Through the above algorithm, the net value of the cost unit held by the user to the index fund is obtained, and the net value of the cost unit can be compared with the current unit net value of the index fund to realize the loss judgment and early warning, optionally:
如果成本单位净值>当前单位净值(1+10%),继续买入能减少损失,应该建议持续买入(对于此时卖出的用户,提示会产生损失);If the cost unit net value > current unit net value (1 + 10%), continue to buy can reduce losses, it should be recommended to continue to buy (for the user sold at this time, the prompt will cause losses);
如果成本单位净值<当前单位净值(1-10%),继续买入将另收益减少,应该建议适当卖出(对除了非首次买入的用户,在此时买入提示会产生亏损);If the cost unit net value < current unit net value (1-10%), continue to buy will reduce the other income, it should be recommended to sell properly (for users other than the first time to buy, at this time the buy prompt will generate a loss);
如果当前单位净值(1-10%)≤成本单位净值≤当前单位净值(1+10%), 触发预警机制,在买入卖出时提示可能产生亏损,并且对于定期买入的用户发出预警提示。If the current unit net value (1-10%) ≤ cost unit net value ≤ current unit net value (1 + 10%), triggers the early warning mechanism, prompts a loss when buying and selling, and alerts the user who buys regularly .
下面将基于以上算法分别对用户执行买入、取出、定投、自动赎回操作的处理流程进行详细说明:The following describes the processing flow for the user to perform the buy, take, fixed, and automatic redemption operations based on the above algorithm:
用户在执行买入或者取出指数基金时该方案的处理流程可以如图3所示。在图3中,移动端可以为利用该可选实施例的方案所设计得到的应用程序APP,服务器可以为服务于该APP的后台服务器。当用户在APP中对指数基金执行买卖操作时,服务器首先会判断是否存在风险,具体判断标准可以为判断指数基金的当前单位净值和成本单位净值的差额,参见上述算法此处不再赘述。如图3所示,该处理流程可以包括以下步骤S31至步骤S37:步骤S31,服务器判断是否存在风险;步骤S32,服务器将判断结果对应的文案返回给移动端并在移动端进行展示,可以包括有风险,也可以包括没有风险。假设判断结果为没有风险,则可以执行步骤S33,用户可以在移动端发起买卖操作;步骤S34,服务器检测到该买卖操作之后,可以将该买卖操作所对应的用户订单传输给基金公司;步骤S35,基金公司接收到服务器传输的用户订单后可以更新该用户账户数额;步骤S36,基金公司向服务器返回更新后的用户账户数额;步骤S37,服务器会将该用户账户数额返回给移动端,并在移动端上展示更新后的用户账户数额。用户在使用APP买入取出指数基金时可以在APP中查看指数基金的成本单位净值以及过去交易记录。用户在执行买入取出操作之后,APP会判断用户的成本单位净值对于当前单位净值的亏损可能性,并在APP中进行提示,如图4所示。The processing flow of the program when the user performs the purchase or withdrawal of the index fund can be as shown in FIG. 3. In FIG. 3, the mobile terminal may be an application APP designed by using the solution of the alternative embodiment, and the server may be a background server serving the APP. When the user performs the buying and selling operation on the index fund in the APP, the server first judges whether there is a risk. The specific criterion can be the difference between the current unit net value of the index fund and the net value of the cost unit. See the above algorithm for details. As shown in FIG. 3, the process flow may include the following steps S31 to S37: step S31, the server determines whether there is a risk; and in step S32, the server returns the copy corresponding to the judgment result to the mobile terminal and displays it on the mobile terminal, which may include There are risks and can also include no risks. If the result of the determination is that there is no risk, step S33 may be performed, the user may initiate a buying and selling operation on the mobile terminal; in step S34, after detecting the buying and selling operation, the server may transmit the user order corresponding to the buying and selling operation to the fund company; step S35 The fund company may update the user account amount after receiving the user order transmitted by the server; in step S36, the fund company returns the updated user account amount to the server; in step S37, the server returns the user account amount to the mobile terminal, and The updated user account amount is displayed on the mobile terminal. When using the APP to buy out the index fund, the user can view the net cost unit value of the index fund and the past transaction record in the APP. After the user performs the buy-out operation, the APP determines the possibility of the user's cost unit net value loss for the current unit net value, and prompts in the APP, as shown in FIG.
当用户设定指数基金定投时,该方案会定期自动判断当前单位净值对应过去买入成功的成本单位净值的差额(过去买入成功包括指数基金定投成功和用户主动买入成功,如果包含多次买入,则加总后求平均值,从而获得成本单位净值)。当成本单位净值高于当前单位净值超过10%,则默认继续买入;当成本单位净值低于当前单位净值10%,则发出预警;当成 本单位净值与当前单位净值相差不足10%时,默认根据当天初始单位净值减去10%后,提出可能亏损的预警提示。该方案在判断出指数基金定投不存在风险的处理流程可以如图5所示,该处理流程可以包括以下步骤S51至步骤S58:步骤S51,当用户在APP中对指数基金发起定投计划;步骤S52,服务器保存该定投计划;步骤S53,判断该定投计划是否存在风险,具体判断标准可以为判断指数基金的当前单位净值和成本单位净值的差额,参见上述算法此处不再赘述。假设服务器在判断是否存在风险之后,判断结果为没有风险,步骤S54,移动端发起定期买入;步骤S55,服务器检测到该定期买入操作之后,可以将该定期买入操作所对应的用户订单传输给基金公司;步骤S56,基金公司接收到服务器传输的用户订单后可以更新该用户账户数额;步骤S57,向服务器返回更新后的用户账户数额;步骤S58,服务器会将该用户账户数额返回给移动端,并在移动端上展示更新后的用户账户数额。该方案在判断出指数基金定投存在风险的处理流程可以如图6所示,该处理流程可以包括以下步骤S61至步骤S,9:步骤S61,服务器判断出定期买入计划存在风险;步骤S62,向移动端发出风险预警信息;步骤S63,用户可以在移动端暂停定期买入计划,并设定下次买入的时机;步骤S64,服务器接收到重新设置的买入时机后可以进行保存;步骤S65,,触发该买入时机;步骤S66,自动为用户买入指定份额的指数基金,并将订单传输给基金公司;步骤S67基金公司接收到服务器传输的用户订单后可以更新该用户账户数额;步骤S68,向服务器返回更新后的用户账户数额;步骤S69,服务器会将该用户账户数额返回给移动端,并在移动端上展示更新后的用户账户数额。When the user sets the index fund to vote, the program will automatically judge the difference between the current unit net value and the net cost unit of the past purchase success. (The past purchase success includes the successful completion of the index fund and the successful purchase of the user, if it is included multiple times. Buy, then add the total and then average, so as to obtain the net value of the cost unit). When the net value of the cost unit is higher than the current unit net value by more than 10%, the purchase continues by default; when the net value of the cost unit is lower than the current unit net value of 10%, an early warning is issued; when the net value of the cost unit differs from the current unit net value by less than 10%, the default is After deducting 10% from the initial unit net value of the day, an early warning suggestion of possible losses is proposed. The process of determining that the index fund has no risk in the fixed investment may be as shown in FIG. 5. The process flow may include the following steps S51 to S58: step S51, when the user initiates a fixed investment plan for the index fund in the APP; step S52 The server saves the fixed investment plan; in step S53, it is determined whether the fixed investment plan has a risk. The specific judgment standard may be a difference between the current unit net value of the index fund and the net value of the cost unit, and the above algorithm is not described here. Assuming that the server determines that there is a risk, the result of the determination is that there is no risk. In step S54, the mobile terminal initiates a periodic purchase. In step S55, after the server detects the periodic purchase operation, the user can place the user order corresponding to the periodic purchase operation. Transmitted to the fund company; in step S56, the fund company may update the user account amount after receiving the user order transmitted by the server; in step S57, return the updated user account amount to the server; in step S58, the server returns the user account amount to Mobile, and display the updated user account amount on the mobile. The process of determining the risk of the index fund fixed investment may be as shown in FIG. 6. The process flow may include the following steps S61 to S, 9: Step S61, the server determines that the periodic purchase plan has a risk; and step S62, Sending the risk warning information to the mobile terminal; in step S63, the user may suspend the regular purchase plan on the mobile terminal and set the timing of the next purchase; in step S64, the server may save after receiving the reset purchase opportunity; S65, triggering the buying opportunity; step S66, automatically purchasing a designated share index fund for the user, and transmitting the order to the fund company; step S67 the fund company may update the user account amount after receiving the user order transmitted by the server; Step S68, returning the updated user account amount to the server; in step S69, the server returns the user account amount to the mobile terminal, and displays the updated user account amount on the mobile terminal.
用户在使用APP设定指数基金定投时,默认该定投计划开启预定提醒。在定投计划买入的前两个交易日早晨APP可以判断继续买入是否存在亏损,如果有亏损则会发出预警提示,该提示可以以短信、APP提示消息等形式存在,如图7a所示。用户可以根据该提示消息停止买入操作,并在APP中设定下次自动买入的触发时机,其设置界面如图7b所示。When the user uses the APP to set the index fund to vote, the default plan is to open the scheduled reminder. In the morning of the first two trading days of the fixed investment plan, the APP can judge whether there is a loss in the continued purchase. If there is a loss, it will issue an early warning prompt. The prompt can exist in the form of a short message or an APP prompt message, as shown in Fig. 7a. The user can stop the buying operation according to the prompt message, and set the trigger timing of the next automatic purchase in the APP, and the setting interface is as shown in FIG. 7b.
用户可以设定自动赎回时机提示,当指数基金的当前单位净值处于用 户设定的单位净值之上时,将自动提示赎回,但是当当前单位净值与设定的单位净值相差不足10%时,将提示可能亏损。该方案自动赎回的处理流程可以如图8所示,该处理流程可以包括步骤S81至步骤S85:步骤S81,当用户在APP中对指数基金发起自动赎回计划时,服务器在接收到该自动赎回计划以后会判断是否达到其触发条件;步骤S82,假设判断出已经达到其触发条件,服务器将会自动为用户向基金公司发起取出申请;步骤S83,基金公司接收到服务器传输的取出申请后可以更新该用户账户数额;步骤S84,向服务器返回更新后的用户账户数额;步骤S85,服务器会将该用户账户数额返回给移动端,并在移动端上展示更新后的用户账户数额。用户可以在APP中设定自动赎回计划,可以包括设定自动赎回的触发条件,自动赎回的触发条件的设置界面如图9所示。The user can set the automatic redemption timing prompt. When the current unit net value of the index fund is above the unit net value set by the user, the redemption will be automatically prompted, but when the current unit net value differs from the set unit net value by less than 10%. Will prompt for a loss. The processing flow of the scheme automatic redemption may be as shown in FIG. 8. The processing flow may include step S81 to step S85: step S81, when the user initiates an automatic redemption plan for the index fund in the APP, the server receives the automatic After the redemption plan, it is judged whether the trigger condition is reached; in step S82, if it is determined that the trigger condition has been reached, the server will automatically initiate the withdrawal request to the fund company for the user; in step S83, the fund company receives the withdrawal request from the server transmission. The user account amount may be updated; in step S84, the updated user account amount is returned to the server; in step S85, the server returns the user account amount to the mobile terminal, and displays the updated user account amount on the mobile terminal. The user can set an automatic redemption plan in the APP, which may include setting a trigger condition for automatic redemption, and a setting interface of the trigger condition for automatic redemption is as shown in FIG.
用户可以设置自动买卖触发时机,对于指数基金定投的用户,在亏损预警的情况下,可以暂停定投计划并设置下一次自动买入的时机,等到指数基金的单位净值满足用户设定的条件时,再次触发自动买入机制。用户还可以设置自动取出机制,当指数基金的单位净值满足用户设定的条件时,将会自动为用户取出其指定的份额。The user can set the trigger time for automatic trading. For users who have invested in the index fund, in the case of a loss warning, they can suspend the fixed investment plan and set the timing of the next automatic purchase. When the unit net value of the index fund meets the conditions set by the user, The automatic buy mechanism is triggered again. The user can also set an automatic retrieval mechanism. When the unit net value of the index fund meets the conditions set by the user, the user will automatically take out the specified share.
用户在买入或者取出指数基金时将会收取手续费,买入手续费和取出手续费的计算方法已经在上述实施例中进行介绍。对于取出手续费,在不同时间段内的手续费是不一样的,根据持有时间计算,一年以内的手续费是0.5%,一年至两年的手续费是0.25%,两年以上手续费是0,在计算取出手续费时该方案可选地采取先进先出,优先取出时间长的指数基金。由于当前份额记录保存于基金公司的服务器,APP底层并未存储,这将会导致现有的APP无法预测取出手续费。该方案有两种解决方法:一是让基金公司将对应的数据传给APP,该方法比较便捷;二是APP在数据库中建一张表用于记录用户所持有的份额和该份额的买入时间,用户取出份额时更新该份额的数量,以便于计算出用户的取出手续费。假设取出的份额包括:一年内的份额、一到两年的份额、两年以上份额,则取出手续费=(一年内份额*0.5%+一到两年份额*0.25%)*取出单位净值。The user will charge a handling fee when buying or withdrawing the index fund. The calculation method of the buying fee and the withdrawal fee has been introduced in the above embodiment. For the removal of the handling fee, the handling fee is different in different time periods. According to the holding time, the handling fee for one year is 0.5%, and the handling fee for one to two years is 0.25%. The fee is 0. When calculating the withdrawal fee, the program can adopt a first-in, first-out, priority to take out a long-term index fund. Since the current share record is stored in the fund company's server, the underlying APP is not stored, which will result in the existing APP not being able to predict the withdrawal fee. The solution has two solutions: one is to let the fund company pass the corresponding data to the APP, the method is more convenient; the second is that the APP builds a table in the database for recording the share held by the user and the purchase of the share. In the time of entry, the user updates the number of shares when the share is taken out, in order to calculate the user's withdrawal fee. Assume that the share taken includes: the share in one year, the share in one to two years, and the share in two years, then the handling fee = (the share in one year * 0.5% + one to two years share * 0.25%) * Take out the unit net value.
该方案可以使用智能计算方法判断出当前取出的份额与最终的金额可能会产生多少的手续费,并根据手续费的多少在取出申请成功提交后提示用户可以存入货币基金或者保险理财获取收益以弥补手续费。The scheme can use the intelligent calculation method to determine how much the current withdrawal amount and the final amount may generate, and prompt the user to deposit the money fund or insurance wealth to obtain the proceeds according to the fee. Make up the handling fee.
该方案中提示手续费的处理流程可以如图10所示,该处理流程可以包括步骤S101至步骤S107:步骤S101,用户在移动端发起赎回流程;步骤S102,服务器可以将该赎回订单传输给基金公司;步骤S103,基金公司接收到服务器传输的赎回订单后可以更新该用户账户数额;步骤S104,向服务器返回更新后的用户账户数额;步骤S105,服务器会将该用户账户数额返回给移动端,并在移动端上展示更新后的用户账户数额;步骤S106,服务器会预测手续费金额;步骤S107,将该预测的手续费返回给用户,并提示用户存储货币基金赚取收益抵消手续费。The process of prompting the fee in the solution may be as shown in FIG. 10, and the process flow may include steps S101 to S107: step S101, the user initiates a redemption process on the mobile terminal; and in step S102, the server may transmit the redemption order. To the fund company; step S103, the fund company may update the user account amount after receiving the redemption order transmitted by the server; in step S104, return the updated user account amount to the server; in step S105, the server returns the user account amount to The mobile terminal displays the updated user account amount on the mobile terminal; in step S106, the server predicts the commission amount; in step S107, the predicted commission is returned to the user, and the user is prompted to store the money fund to earn the profit offset procedure. fee.
需要说明的是,该可选实施例中所述的数据以及应用场景均是该方案的一种可选实施例,并不构成对该可选实施例中的方案的具体限定。该方案对于用户、理财平台、基金公司都能带来实在利益。对于用户而言,能够更清楚自己的收益情况,并避免不少亏损的风险;对于理财平台而言,可以增加理财平台对于用户的黏性,能够赢得好口碑;对于基金公司而言,能够从理财平台侧不断获得用户的黏性。It should be noted that the data and the application scenario described in the optional embodiment are an optional embodiment of the solution, and do not constitute a specific limitation of the solution in the alternative embodiment. The program can bring real benefits to users, financial platforms and fund companies. For users, they can better understand their own income situation and avoid the risk of losing money. For the financial platform, it can increase the stickiness of the financial platform to users and win a good reputation. For fund companies, The side of the financial platform continues to gain the user's stickiness.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为依据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present invention. Secondly, those skilled in the art should also understand that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily required by the present invention.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如 ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present invention in essence or the contribution to the related art can be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present invention.
根据本发明实施例,还提供了一种用于实施上述产品对象的处理方法的产品对象的处理装置。需要说明的是,该产品对象的处理装置可以为电子装置,也可以为电子装置的一部分。According to an embodiment of the present invention, there is also provided a processing apparatus for a product object for implementing the above-described processing method of a product object. It should be noted that the processing device of the product object may be an electronic device or a part of the electronic device.
图11是根据本发明实施例的一种可选的产品对象的处理装置的示意图,如图11所示,该装置可以包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,程序单元由所述处理器执行,程序单元可以包括:11 is a schematic diagram of an optional processing apparatus for a product object, as shown in FIG. 11, the apparatus may include one or more processors, and one or more memories storing program units, in accordance with an embodiment of the present invention. Wherein, the program unit is executed by the processor, and the program unit may include:
接收单元22,被设置为接收对目标产品对象的处理请求,其中,处理请求用于请求对目标产品对象进行处理;第一获取单元24,被设置为响应于处理请求获取目标产品对象的历史单位属性值,其中,历史单位属性值用于指示当前时间之前的每一份目标产品对象的属性值;比较单元26,被设置为将历史单位属性值与目标产品对象的当前单位属性值进行比较,得到比较结果,其中,当前单位属性值用于指示当前时间的每一份目标产品对象的属性值;第一输出单元28,被设置为根据比较结果输出提示信息,其中,提示信息用于提示对目标产品对象进行处理预计得到的结果,比较结果与预计得到的结果相对应。The receiving unit 22 is configured to receive a processing request for the target product object, wherein the processing request is for requesting processing of the target product object; the first obtaining unit 24 is configured to acquire the historical unit of the target product object in response to the processing request An attribute value, wherein the historical unit attribute value is used to indicate an attribute value of each target product object before the current time; the comparing unit 26 is configured to compare the historical unit attribute value with a current unit attribute value of the target product object, Obtaining a comparison result, wherein the current unit attribute value is used to indicate an attribute value of each target product object at the current time; the first output unit 28 is configured to output prompt information according to the comparison result, wherein the prompt information is used to prompt the pair The expected product object is processed to predict the results, and the comparison results correspond to the expected results.
需要说明的是,该实施例中的接收单元22可以用于执行本申请实施例中的步骤S202,该实施例中的第一获取单元24可以用于执行本申请实施例中的步骤S204,该实施例中的比较单元26可以用于执行本申请实施例中的步骤S206,该实施例中的第一输出单元28可以用于执行本申请实施例中的步骤S208。It should be noted that the receiving unit 22 in this embodiment may be used to perform step S202 in the embodiment of the present application. The first obtaining unit 24 in this embodiment may be used to perform step S204 in the embodiment of the present application. The comparison unit 26 in the embodiment may be used to perform step S206 in the embodiment of the present application, and the first output unit 28 in the embodiment may be used to perform step S208 in the embodiment of the present application.
此处需要说明的是,上述单元模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例所公开的内容。需要说明的是,上述模块作为装置的一部分可以运行在如图1所示的硬件环境中,可以通过软件实 现,也可以通过硬件实现。It should be noted that the foregoing unit modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the contents disclosed in the foregoing embodiments. It should be noted that the foregoing modules may be implemented in a hardware environment as shown in FIG. 1 as part of the device, and may be implemented by software or by hardware.
作为一种可选的实施例,第一输出单元28可以包括:第一输出模块,被设置为在历史单位属性值超过当前单位属性值预定比例的情况下,输出第一提示信息,其中,第一提示信息用于提示减少目标产品对象的份数会造成目标产品对象的资源总量减少;第二输出模块,被设置为在历史单位属性值低于当前单位属性值预定比例的情况下,输出第二提示信息,其中,第二提示信息用于提示增加目标产品对象的份数会造成目标产品对象的资源总量减少;第三输出模块,被设置为在历史单位属性值与当前单位属性值之间的差值的绝对值小于当前单位属性值预定比例的情况下,输出第三提示信息,其中,第三提示信息用于提示增加或减少目标产品对象的份数会造成目标产品对象的资源总量减少。As an optional embodiment, the first output unit 28 may include: a first output module, configured to output the first prompt information if the historical unit attribute value exceeds a predetermined ratio of the current unit attribute value, where A prompt message is used to prompt that reducing the number of copies of the target product object causes the total amount of resources of the target product object to decrease; and the second output module is set to output when the historical unit attribute value is lower than a predetermined ratio of the current unit attribute value. The second prompt information, wherein the second prompt information is used to prompt that increasing the number of copies of the target product object causes the total amount of resources of the target product object to decrease; and the third output module is set to the historical unit attribute value and the current unit attribute value. If the absolute value of the difference between the values is smaller than the predetermined ratio of the current unit attribute value, the third prompt information is output, wherein the third prompt information is used to prompt to increase or decrease the number of copies of the target product object, which may cause resources of the target product object. The total amount is reduced.
作为一种可选的实施例,处理请求用于请求对目标产品对象进行以下处理中的至少之一:增加目标产品对象的份数;减少目标产品对象的份数;每隔预定周期增加预定份数的目标产品对象;在预定时间减少预定份数的目标产品对象。As an optional embodiment, the processing request is for requesting at least one of the following processing of the target product object: increasing the number of copies of the target product object; reducing the number of copies of the target product object; increasing the predetermined portion every predetermined period The target product object of the number; the target product object that reduces the predetermined number of copies at a predetermined time.
作为一种可选的实施例,在处理请求用于请求对目标产品对象进行每隔预定周期增加预定份数的目标产品对象处理的情况下,第一输出单元28可以包括:增加模块,被设置为每隔预订周期如果历史单位属性值超过当前单位属性值预定比例,允许增加预定份数的目标产品对象;第四输出模块,被设置为每隔预订周期如果历史单位属性值未超过当前单位属性值预定比例,输出提示信息,其中,提示信息用于提示增加预定份数的目标产品对象会造成目标产品对象的资源总量减少。As an optional embodiment, in a case where the processing request is for requesting to increase the target product object by a predetermined number of copies of the target product object every predetermined period, the first output unit 28 may include: an adding module, being set For each reservation period, if the historical unit attribute value exceeds the current unit attribute value by a predetermined ratio, the target product object of the predetermined number of copies is allowed to be added; the fourth output module is set to every reservation period if the historical unit attribute value does not exceed the current unit attribute The value is a predetermined ratio, and the prompt information is output, wherein the prompt information is used to prompt that increasing the predetermined number of copies of the target product object causes the total amount of resources of the target product object to decrease.
作为一种可选的实施例,在处理请求用于请求对目标产品对象进行在预定时间减少预定份数的目标产品对象处理的情况下,历史单位属性值为预先设定的单位属性值,其中:比较单元26可以包括:比较模块,被设置为将预先设定的单位属性值与目标产品对象的当前单位属性值进行比较;第一输出单元28可以包括:减少模块,被设置为在目标产品对象的 当前单位属性值高于预先设定的单位属性值的情况下,允许在预定时间减少预定份数的目标产品对象;第五输出模块,被设置为在目标产品对象的当前单位属性值不高于预先设定的单位属性值的情况下,输出提示信息,其中,提示信息用于提示减少预定份数的目标产品对象会造成目标产品对象的资源总量减少。As an optional embodiment, in the case that the processing request is for requesting the target product object to perform the target product object processing of reducing the predetermined number of copies at a predetermined time, the historical unit attribute value is a preset unit attribute value, wherein The comparison unit 26 may include a comparison module configured to compare the preset unit attribute value with a current unit attribute value of the target product object; the first output unit 28 may include: a reduction module configured to be in the target product If the current unit attribute value of the object is higher than the preset unit attribute value, the target product object of the predetermined number of copies is allowed to be reduced at the predetermined time; the fifth output module is set to the current unit attribute value of the target product object. When the value is higher than the preset unit attribute value, the prompt information is output, wherein the prompt information is used to prompt the reduction of the predetermined number of target product objects, which causes the total amount of resources of the target product object to decrease.
作为一种可选的实施例,处理请求用于请求减少目标产品对象的份数,其中,该实施例还可以包括:第二获取单元,被设置为在根据比较结果输出提示信息之后,获取对目标产品对象进行减少目标产品对象的份数处理所减少的资源量;第二输出单元,被设置为根据减少的资源量输出第四提示信息,其中,第四提示信息用于提示处理操作,处理操作用于增加减少的资源量的处理操作。As an optional embodiment, the processing request is used to request to reduce the number of copies of the target product object, wherein the embodiment may further include: a second obtaining unit configured to acquire the pair after outputting the prompt information according to the comparison result The target product object performs a reduction of the amount of resources reduced by the number of copies of the target product object; the second output unit is configured to output the fourth prompt information according to the reduced amount of resources, wherein the fourth prompt information is used to prompt the processing operation, and the processing A processing operation that is used to increase the amount of reduced resources.
作为一种可选的实施例,第二获取单元可以包括:第一获取模块,被设置为获取目标产品对象在每个时间段内的目标产品对象减少的份数、目标产品对象的当前单位属性值、减少目标产品对象份数的资源减少比例之间的乘积;第二获取模块,被设置为将目标产品对象在每个时间段内的乘积求和得到乘积为减少的资源量。As an optional embodiment, the second obtaining unit may include: a first acquiring module, configured to obtain a reduced number of copies of the target product object of the target product object in each time period, and a current unit attribute of the target product object. The value, the product of the resource reduction ratio of the number of copies of the target product object; the second acquisition module is configured to sum the products of the target product object in each time period to obtain a reduced amount of resources.
作为一种可选的实施例,第一获取单元24可以包括:第三获取模块,被设置为获取目标产品对象的资源总量与目标产品对象的总份数的比值,其中,比值为历史单位属性值;其中,目标产品对象的资源总量为所持有的目标产品对象的资源量减去目标产品对象减少的份数与减少目标产品对象的份数时目标产品对象的当前单位属性值的乘积,所持有的目标产品对象的资源量为所持有的资源量除以1与增加目标产品对象份数的资源减少比例的和;其中,目标产品对象的总份数为所持有的目标产品对象的份数与目标产品对象减少的份数的差值,所持有的目标产品对象的份数为所持有的目标产品对象的资源量除以增加目标产品对象的份数时目标产品对象的当前单位属性值。As an optional embodiment, the first obtaining unit 24 may include: a third obtaining module, configured to obtain a ratio of a total amount of resources of the target product object to a total number of copies of the target product object, where the ratio is a historical unit. The attribute value; wherein, the total amount of resources of the target product object is the amount of resources of the target product object held minus the number of copies of the target product object minus the number of copies of the target product object, and the current unit attribute value of the target product object Product, the amount of resources of the target product object held is the sum of the amount of resources held by 1 and the resource reduction ratio of the number of copies of the target product object; wherein the total number of copies of the target product object is held The difference between the number of copies of the target product object and the number of copies of the target product object, and the number of copies of the target product object held is the amount of the target product object held by the amount of the target product object divided by the number of copies of the target product object The current unit attribute value of the product object.
需要说明的是,上述模块与实施例中对应的步骤所实现的示例和应用 场景相同,但不限于上述实施例所公开的内容。需要说明的是,上述模块作为装置的一部分可以运行在如图1所示的硬件环境中,可以通过软件实现,也可以通过硬件实现。It should be noted that the foregoing modules are the same as the examples and application scenarios implemented by the corresponding steps in the embodiment, but are not limited to the contents disclosed in the foregoing embodiments. It should be noted that the foregoing module may be implemented in a hardware environment as shown in FIG. 1 as part of the device, and may be implemented by software or by hardware.
通过上述模块,达到了在处理目标产品对象之前预先提示其处理结果的目的,进而解决了相关技术中产品对象的处理结果在处理操作执行之后才能确定,导致对产品对象所执行的处理操作存在错误的技术问题,从而实现了提高了对产品对象所执行的处理操作的准确度的技术效果。Through the above modules, the purpose of pre-prompting the processing result of the target product object is achieved, thereby solving the problem that the processing result of the product object in the related art can be determined after the execution of the processing operation, resulting in an error in the processing operation performed on the product object. The technical problem, thereby achieving the technical effect of improving the accuracy of the processing operations performed on the product object.
根据本发明实施例,还提供了一种用于实施上述产品对象的处理方法的电子装置。According to an embodiment of the present invention, an electronic device for implementing the processing method of the above product object is also provided.
图12是根据本发明实施例的一种电子装置的结构框图,如图12所示,该电子装置可以包括:一个或多个(图中仅示出一个)处理器201、存储器203,其中,存储器203中可以存储有计算机程序,处理器201可以被设置为运行所述计算机程序以执行本发明实施例的产品对象的处理方法。FIG. 12 is a structural block diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 12, the electronic device may include: one or more (only one shown) processor 201 and memory 203, wherein A computer program may be stored in the memory 203, and the processor 201 may be configured to execute the computer program to perform the processing method of the product object of the embodiment of the present invention.
其中,存储器203可用于存储计算机程序以及模块,如本发明实施例中的产品对象的处理方法和装置对应的程序指令/模块,处理器201通过运行存储在存储器203内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的产品对象的处理方法。存储器203可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器203可进一步包括相对于处理器201远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 203 can be used to store the computer program and the module, such as the processing method of the product object and the program instruction/module corresponding to the device in the embodiment of the present invention. The processor 201 runs the software program and the module stored in the memory 203, thereby Execution of various functional applications and data processing, that is, the processing method of the above product object is realized. Memory 203 can include high speed random access memory, and can 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, memory 203 can further include memory remotely located relative to processor 201, which can be connected to the terminal 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.
可选地,如图12所示,该电子装置还可以包括:传输装置205以及输入输出设备207。其中,传输装置205用于经由一个网络接收或者发送数据。上述的网络具体实例可包括有线网络及无线网络。在一个实例中,传输装置205包括一个网络适配器(Network Interface Controller,NIC),其可通过网线与其他网络设备与路由器相连从而可与互联网或局域网进 行通讯。在一个实例中,传输装置205为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。Optionally, as shown in FIG. 12, the electronic device may further include: a transmission device 205 and an input and output device 207. The transmission device 205 is configured to receive or transmit data via a network. Specific examples of the above network may include a wired network and a wireless network. In one example, transmission device 205 includes a Network Interface Controller (NIC) that can be connected to other network devices and routers via a network cable to communicate with the Internet or a local area network. In one example, the transmission device 205 is a Radio Frequency (RF) module for communicating with the Internet wirelessly.
本领域普通技术人员可以理解,图12所示的结构仅为示意,电子装置可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图12其并不对上述电子装置的结构造成限定。例如,电子装置还可包括比图12中所示更多或者更少的组件(如网络接口、显示装置等),或者具有与图12所示不同的配置。A person skilled in the art can understand that the structure shown in FIG. 12 is merely illustrative, and the electronic device can be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a mobile Internet device (MID). Terminal equipment such as PAD. FIG. 12 does not limit the structure of the above electronic device. For example, the electronic device may also include more or fewer components (such as a network interface, display device, etc.) than shown in FIG. 12, or have a different configuration than that shown in FIG.
其中,可选地,存储器203用于存储计算机程序。Wherein, the memory 203 is optionally used to store a computer program.
处理器201可以被设置为运行计算机程序,以执行下述步骤:接收目标产品对象的处理请求,其中,处理请求用于请求对目标产品对象进行处理;响应于处理请求获取目标产品对象的历史单位属性值,其中,历史单位属性值用于指示当前时间之前的每一份目标产品对象的属性值;将历史单位属性值与目标产品对象的当前单位属性值进行比较,得到比较结果,其中,当前单位属性值用于指示当前时间的每一份目标产品对象的属性值;根据比较结果输出提示信息,其中,提示信息用于提示对目标产品对象进行处理预计得到的结果,比较结果与预计得到的结果相对应。The processor 201 can be configured to execute a computer program to perform the steps of: receiving a processing request of a target product object, wherein the processing request is for requesting processing of the target product object; and obtaining a historical unit of the target product object in response to the processing request An attribute value, wherein the historical unit attribute value is used to indicate an attribute value of each target product object before the current time; the historical unit attribute value is compared with a current unit attribute value of the target product object, and a comparison result is obtained, wherein, the current The unit attribute value is used to indicate the attribute value of each target product object at the current time; the prompt information is output according to the comparison result, wherein the prompt information is used to prompt the expected result of processing the target product object, and the comparison result and the expected result are obtained. The results correspond.
处理器201还用于执行下述步骤:在历史单位属性值超过当前单位属性值预定比例的情况下,输出第一提示信息,其中,第一提示信息用于提示减少目标产品对象的份数会造成目标产品对象的资源总量减少;在历史单位属性值低于当前单位属性值预定比例的情况下,输出第二提示信息,其中,第二提示信息用于提示增加目标产品对象的份数会造成目标产品对象的资源总量减少;在历史单位属性值与当前单位属性值之间的差值的绝对值小于当前单位属性值预定比例的情况下,输出第三提示信息,其中,第三提示信息用于提示增加或减少目标产品对象的份数会造成目标产品对象的资源总量减少。The processor 201 is further configured to: when the historical unit attribute value exceeds a predetermined ratio of the current unit attribute value, output the first prompt information, where the first prompt information is used to prompt to reduce the number of copies of the target product object The total amount of resources of the target product object is reduced; when the historical unit attribute value is lower than the predetermined ratio of the current unit attribute value, the second prompt information is output, wherein the second prompt information is used to prompt to increase the number of copies of the target product object. The total amount of resources of the target product object is reduced; if the absolute value of the difference between the historical unit attribute value and the current unit attribute value is less than a predetermined ratio of the current unit attribute value, the third prompt information is output, wherein the third prompt The information is used to indicate that increasing or decreasing the number of copies of the target product object results in a reduction in the total amount of resources of the target product object.
处理器201还用于执行下述步骤:在处理请求用于请求对目标产品对 象进行每隔预定周期增加预定份数的目标产品对象处理的情况下,每隔预订周期如果历史单位属性值超过当前单位属性值预定比例,允许增加预定份数的目标产品对象;每隔预订周期如果历史单位属性值未超过当前单位属性值预定比例,输出提示信息,其中,提示信息用于提示增加预定份数的目标产品对象会造成目标产品对象的资源总量减少。The processor 201 is further configured to perform the step of: if the processing request is for requesting to increase the target product object processing by adding a predetermined number of copies to the target product object every predetermined period, if the historical unit attribute value exceeds the current every reservation period The unit attribute value is a predetermined ratio, and the target product object of the predetermined number of copies is allowed to be increased; if the historical unit attribute value does not exceed the predetermined ratio of the current unit attribute value every predetermined period, the prompt information is output, wherein the prompt information is used to prompt to increase the predetermined number of copies. The target product object will result in a reduction in the total amount of resources of the target product object.
处理器201还用于执行下述步骤:在处理请求用于请求对目标产品对象进行在预定时间减少预定份数的目标产品对象处理的情况下,将预先设定的单位属性值与目标产品对象的当前单位属性值进行比较;在目标产品对象的当前单位属性值高于预先设定的单位属性值的情况下,允许在预定时间减少预定份数的目标产品对象;在目标产品对象的当前单位属性值不高于预先设定的单位属性值的情况下,输出提示信息,其中,提示信息用于提示减少预定份数的目标产品对象会造成目标产品对象的资源总量减少。The processor 201 is further configured to perform the step of: setting a predetermined unit attribute value and a target product object in a case where the processing request is for requesting the target product object to reduce the predetermined number of copies of the target product object processing at a predetermined time. The current unit attribute value is compared; if the current unit attribute value of the target product object is higher than a preset unit attribute value, the target product object of the predetermined number of copies is allowed to be reduced at a predetermined time; the current unit of the target product object When the attribute value is not higher than the preset unit attribute value, the prompt information is output, wherein the prompt information is used to prompt the reduction of the predetermined number of target product objects, which causes the total amount of resources of the target product object to decrease.
处理器201还用于执行下述步骤:在根据比较结果输出提示信息之后,获取对目标产品对象进行减少目标产品对象的份数处理所减少的资源量;根据减少的资源量输出第四提示信息,其中,第四提示信息用于提示处理操作,处理操作用于增加减少的资源量的处理操作。The processor 201 is further configured to: after outputting the prompt information according to the comparison result, acquiring a reduced amount of resources for reducing the number of copies of the target product object by the target product object; and outputting the fourth prompt information according to the reduced resource amount Wherein the fourth prompt information is used to prompt a processing operation, and the processing operation is used to increase a processing operation of the reduced amount of resources.
处理器201还用于执行下述步骤:获取目标产品对象在每个时间段内的目标产品对象减少的份数、目标产品对象的当前单位属性值、减少目标产品对象份数的资源减少比例之间的乘积;将目标产品对象在每个时间段内的乘积求和得到乘积为减少的资源量。The processor 201 is further configured to: obtain a reduced number of copies of the target product object of the target product object in each time period, a current unit attribute value of the target product object, and a resource reduction ratio of the target product object number of the target product object. The product of the product; the product of the target product object in each time period is summed to obtain the product of the reduced resource.
处理器201还用于执行下述步骤:获取目标产品对象的资源总量与目标产品对象的总份数的比值,其中,比值为历史单位属性值;其中,目标产品对象的资源总量为所持有的目标产品对象的资源量减去目标产品对象减少的份数与减少目标产品对象的份数时目标产品对象的当前单位属性值的乘积,所持有的目标产品对象的资源量为所持有的资源量除以1与增加目标产品对象份数的资源减少比例的和;其中,目标产品对象的总份 数为所持有的目标产品对象的份数与目标产品对象减少的份数的差值,所持有的目标产品对象的份数为所持有的目标产品对象的资源量除以增加目标产品对象的份数时目标产品对象的当前单位属性值。The processor 201 is further configured to: obtain a ratio of a total amount of resources of the target product object to a total number of copies of the target product object, where the ratio is a historical unit attribute value; wherein, the total amount of resources of the target product object is The amount of resources of the target product object held minus the product of the reduced number of copies of the target product object and the current unit attribute value of the target product object when the number of copies of the target product object is reduced, and the resource amount of the target product object held is The amount of resources held divided by the sum of the ratio of 1 and the number of resources for increasing the number of target product objects; wherein, the total number of copies of the target product object is the number of copies of the target product object held and the number of copies of the target product object The difference, the number of copies of the target product object held is the amount of resources of the target product object held divided by the current unit attribute value of the target product object when the number of copies of the target product object is increased.
采用本发明实施例,提供了一种产品对象的处理的方案。该方案通过在接收到对目标产品对象的处理请求之后,将所获取到的目标产品对象的历史单位属性值与当前单位属性值进行比较,根据比较结果输出提示信息,达到了在处理目标产品对象之前预先提示其处理结果的目的,进而解决了相关技术中产品对象的处理结果在处理操作执行之后才能确定,导致对产品对象所执行的处理操作存在错误的技术问题,从而实现了提高了对产品对象所执行的处理操作的准确度的技术效果。With the embodiment of the present invention, a solution for processing a product object is provided. After receiving the processing request for the target product object, the solution compares the historical unit attribute value of the acquired target product object with the current unit attribute value, and outputs the prompt information according to the comparison result, and the target product object is processed. Before the purpose of prompting the processing result, the processing result of the product object in the related art can be determined after the processing operation is executed, and the processing operation performed on the product object has a wrong technical problem, thereby realizing the improvement of the product. The technical effect of the accuracy of the processing operations performed by the object.
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments, and details are not described herein again.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令终端设备相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random Access Memory,RAM)、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps of the foregoing embodiments may be completed by a program to instruct terminal device related hardware, and the program may be stored in a computer readable storage medium, and the storage medium may be Including: flash disk, read-only memory (ROM), random access memory (RAM), disk or optical disk.
本发明的实施例还提供了一种存储介质。可选地,在本实施例中,上述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行产品对象的处理方法。Embodiments of the present invention also provide a storage medium. Optionally, in this embodiment, a computer program is stored in the storage medium, wherein the computer program is configured to execute a processing method of a product object at runtime.
可选地,在本实施例中,上述存储介质可以位于上述实施例所示的网络中的多个网络设备中的至少一个网络设备上。Optionally, in this embodiment, the foregoing storage medium may be located on at least one of the plurality of network devices in the network shown in the foregoing embodiment.
可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:Optionally, in the present embodiment, the storage medium is arranged to store program code for performing the following steps:
S1,接收目标产品对象的处理请求,其中,处理请求用于请求对目标产品对象进行处理;S1. Receive a processing request of a target product object, where the processing request is used to request processing of the target product object;
S2,响应于处理请求获取目标产品对象的历史单位属性值,其中,历史单位属性值用于指示当前时间之前的每一份目标产品对象的属性值;S2. Acquire a historical unit attribute value of the target product object in response to the processing request, where the historical unit attribute value is used to indicate an attribute value of each target product object before the current time;
S3,将历史单位属性值与目标产品对象的当前单位属性值进行比较,得到比较结果,其中,当前单位属性值用于指示当前时间的每一份目标产品对象的属性值;S3, comparing the historical unit attribute value with the current unit attribute value of the target product object, to obtain a comparison result, wherein the current unit attribute value is used to indicate an attribute value of each target product object at the current time;
S4,根据比较结果输出提示信息,其中,提示信息用于提示对目标产品对象进行处理预计得到的结果,比较结果与预计得到的结果相对应。S4, outputting prompt information according to the comparison result, wherein the prompt information is used to prompt the expected result of processing the target product object, and the comparison result corresponds to the expected result.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在历史单位属性值超过当前单位属性值预定比例的情况下,输出第一提示信息,其中,第一提示信息用于提示减少目标产品对象的份数会造成目标产品对象的资源总量减少;在历史单位属性值低于当前单位属性值预定比例的情况下,输出第二提示信息,其中,第二提示信息用于提示增加目标产品对象的份数会造成目标产品对象的资源总量减少;在历史单位属性值与当前单位属性值之间的差值的绝对值小于当前单位属性值预定比例的情况下,输出第三提示信息,其中,第三提示信息用于提示增加或减少目标产品对象的份数会造成目标产品对象的资源总量减少。Optionally, the storage medium is further configured to store program code for performing the following steps: in a case where the historical unit attribute value exceeds a predetermined ratio of the current unit attribute value, the first prompt information is output, wherein the first prompt information is used for The prompting to reduce the number of copies of the target product object causes the total amount of resources of the target product object to decrease; if the historical unit attribute value is lower than the predetermined ratio of the current unit attribute value, the second prompt information is output, wherein the second prompt information is used. Prompting to increase the number of copies of the target product object will result in a decrease in the total amount of resources of the target product object; in the case where the absolute value of the difference between the historical unit attribute value and the current unit attribute value is less than a predetermined ratio of the current unit attribute value, the output is The three prompt information, wherein the third prompt information is used to indicate that increasing or decreasing the number of copies of the target product object causes a decrease in the total amount of resources of the target product object.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在处理请求用于请求对目标产品对象进行每隔预定周期增加预定份数的目标产品对象处理的情况下,每隔预订周期如果历史单位属性值超过当前单位属性值预定比例,允许增加预定份数的目标产品对象;每隔预订周期如果历史单位属性值未超过当前单位属性值预定比例,输出提示信息,其中,提示信息用于提示增加预定份数的目标产品对象会造成目标产品对象的资源总量减少。Optionally, the storage medium is further configured to store program code for performing the following steps: in the case that the processing request is for requesting to increase the target product object processing by the predetermined number of copies every predetermined period of the target product object, Booking period If the historical unit attribute value exceeds the current unit attribute value by a predetermined ratio, it is allowed to increase the target product object of the predetermined number of copies; if the historical unit attribute value does not exceed the predetermined ratio of the current unit attribute value every predetermined period, the prompt information is output, wherein the prompt message is displayed. The information is used to indicate that increasing the predetermined number of copies of the target product object results in a reduction in the total amount of resources of the target product object.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在处理请求用于请求对目标产品对象进行在预定时间减少预定份数的目标产品对象处理的情况下,将预先设定的单位属性值与目标产品对象的当前单位属性值进行比较;在目标产品对象的当前单位属性值高于预先设定的 单位属性值的情况下,允许在预定时间减少预定份数的目标产品对象;在目标产品对象的当前单位属性值不高于预先设定的单位属性值的情况下,输出提示信息,其中,提示信息用于提示减少预定份数的目标产品对象会造成目标产品对象的资源总量减少。Optionally, the storage medium is further configured to store program code for performing the following steps: in the case that the processing request is for requesting the target product object to be processed by the target product object by reducing the predetermined number of copies at a predetermined time, The determined unit attribute value is compared with the current unit attribute value of the target product object; if the current unit attribute value of the target product object is higher than a preset unit attribute value, the target product of the predetermined number of copies is allowed to be reduced at the predetermined time. An object; in a case where the current unit attribute value of the target product object is not higher than a preset unit attribute value, the prompt information is output, wherein the prompt information is used to prompt the reduction of the predetermined number of target product objects to cause the target product object The total amount of resources is reduced.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:在根据比较结果输出提示信息之后,获取对目标产品对象进行减少目标产品对象的份数处理所减少的资源量;根据减少的资源量输出第四提示信息,其中,第四提示信息用于提示处理操作,处理操作用于增加减少的资源量的处理操作。Optionally, the storage medium is further configured to store program code for performing the following steps: after outputting the prompt information according to the comparison result, acquiring a reduced amount of resources for reducing the number of copies of the target product object by the target product object; The reduced amount of resources outputs fourth prompt information, wherein the fourth prompt information is used to prompt a processing operation, and the processing operation is used to increase the processing operation of the reduced amount of resources.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:获取目标产品对象在每个时间段内的目标产品对象减少的份数、目标产品对象的当前单位属性值、减少目标产品对象份数的资源减少比例之间的乘积;将目标产品对象在每个时间段内的乘积求和得到乘积为减少的资源量。Optionally, the storage medium is further configured to store program code for performing the steps of: obtaining the number of copies of the target product object of the target product object in each time period, the current unit attribute value of the target product object, and reducing the target The product of the resource reduction ratio of the number of product objects; the product of the target product object in each time period is summed to obtain the product of the reduced amount.
可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:获取目标产品对象的资源总量与目标产品对象的总份数的比值,其中,比值为历史单位属性值;其中,目标产品对象的资源总量为所持有的目标产品对象的资源量减去目标产品对象减少的份数与减少目标产品对象的份数时目标产品对象的当前单位属性值的乘积,所持有的目标产品对象的资源量为所持有的资源量除以1与增加目标产品对象份数的资源减少比例的和;其中,目标产品对象的总份数为所持有的目标产品对象的份数与目标产品对象减少的份数的差值,所持有的目标产品对象的份数为所持有的目标产品对象的资源量除以增加目标产品对象的份数时目标产品对象的当前单位属性值。Optionally, the storage medium is further configured to store program code for: obtaining a ratio of a total amount of resources of the target product object to a total number of copies of the target product object, wherein the ratio is a historical unit attribute value; wherein The total amount of resources of the target product object is the product of the amount of resources of the target product object held minus the number of copies of the target product object minus the current unit attribute value of the target product object when the number of copies of the target product object is reduced. The resource quantity of the target product object is the sum of the amount of resources held divided by 1 and the resource reduction ratio of the number of copies of the target product object; wherein, the total number of copies of the target product object is the share of the target product object held The difference between the number and the number of copies of the target product object. The number of copies of the target product object held is the amount of the target product object held by the amount of the target product object divided by the number of copies of the target product object. Property value.
可选地,本实施例中的具体示例可以参考上述实施例中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in the foregoing embodiments, and details are not described herein again.
可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本发明的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。The integrated unit in the above embodiment, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product in the form of a software product, or the whole or part of the technical solution, which is stored in a storage medium, including The instructions are used to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed client may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软 件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented either in the form of hardware or in the form of a software functional unit.
以上所述仅是本发明的可选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only an alternative embodiment of the present invention, and it should be noted that those skilled in the art can make several improvements and retouchings without departing from the principles of the present invention. It should also be considered as the scope of protection of the present invention.
Claims (18)
- 一种产品对象的处理方法,包括:A method of processing a product object, including:电子装置接收目标产品对象的处理请求,其中,所述处理请求用于请求对所述目标产品对象进行处理;Receiving, by the electronic device, a processing request of the target product object, wherein the processing request is for requesting processing of the target product object;所述电子装置响应于所述处理请求获取目标产品对象的历史单位属性值,其中,所述历史单位属性值用于指示当前时间之前的每一份所述目标产品对象的属性值;The electronic device acquires a historical unit attribute value of the target product object in response to the processing request, wherein the historical unit attribute value is used to indicate an attribute value of each of the target product objects before the current time;所述电子装置将所述历史单位属性值与所述目标产品对象的当前单位属性值进行比较,得到比较结果,其中,所述当前单位属性值用于指示当前时间的每一份所述目标产品对象的属性值;The electronic device compares the historical unit attribute value with a current unit attribute value of the target product object to obtain a comparison result, wherein the current unit attribute value is used to indicate each of the target products at the current time The attribute value of the object;所述电子装置根据比较结果输出提示信息,其中,所述提示信息用于提示对所述目标产品对象进行处理预计得到的结果,所述比较结果与所述预计得到的结果相对应。The electronic device outputs prompt information according to the comparison result, wherein the prompt information is used to prompt a result obtained by processing the target product object, and the comparison result corresponds to the predicted result.
- 根据权利要求1所述的方法,其中,所述电子装置根据比较结果输出提示信息包括:The method according to claim 1, wherein the outputting the prompt information by the electronic device according to the comparison result comprises:所述电子装置在所述历史单位属性值超过所述当前单位属性值预定比例的情况下,输出第一提示信息,其中,所述第一提示信息用于提示减少所述目标产品对象的份数会造成所述目标产品对象的资源总量减少;The electronic device outputs first prompt information when the historical unit attribute value exceeds a predetermined ratio of the current unit attribute value, wherein the first prompt information is used to prompt to reduce the number of copies of the target product object. A reduction in the total amount of resources of the target product object;所述电子装置在所述历史单位属性值低于所述当前单位属性值预定比例的情况下,输出第二提示信息,其中,所述第二提示信息用于提示增加所述目标产品对象的份数会造成所述目标产品对象的资源总量减少;The electronic device outputs second prompt information when the historical unit attribute value is lower than the current unit attribute value by a predetermined ratio, wherein the second prompt information is used to prompt to increase the share of the target product object. The number will result in a decrease in the total amount of resources of the target product object;所述电子装置在所述历史单位属性值与所述当前单位属性值之间的差值的绝对值小于所述当前单位属性值预定比例的情况下,输出第三提示信息,其中,所述第三提示信息用于提示增加或减少所述目标产品对象的份数会造成所述目标产品对象的资源总量减少。The electronic device outputs third prompt information when the absolute value of the difference between the historical unit attribute value and the current unit attribute value is less than a predetermined ratio of the current unit attribute value, wherein the The three-cue information is used to indicate that increasing or decreasing the number of copies of the target product object causes a decrease in the total amount of resources of the target product object.
- 根据权利要求1或2所述的方法,其中,所述处理请求用于请求对所述目标产品对象进行以下处理中的至少之一:The method of claim 1 or 2, wherein the processing request is for requesting at least one of the following processing of the target product object:增加所述目标产品对象的份数;Increasing the number of copies of the target product object;减少所述目标产品对象的份数;Reducing the number of copies of the target product object;每隔预定周期增加预定份数的所述目标产品对象;Adding a predetermined number of copies of the target product object every predetermined period;在预定时间减少预定份数的所述目标产品对象。The predetermined number of copies of the target product object is reduced at a predetermined time.
- 根据权利要求3所述的方法,其中,在所述处理请求用于请求对所述目标产品对象进行每隔预定周期增加预定份数的所述目标产品对象处理的情况下,所述电子装置根据比较结果输出提示信息包括:The method according to claim 3, wherein, in the case where the processing request is for requesting the destination product object to increase the predetermined number of copies of the target product object processing every predetermined period, the electronic device is The comparison result output prompt information includes:所述电子装置每隔预订周期如果所述历史单位属性值超过所述当前单位属性值预定比例,允许增加预定份数的所述目标产品对象;The electronic device allows to increase the predetermined number of copies of the target product object every predetermined period if the historical unit attribute value exceeds the current unit attribute value by a predetermined ratio;所述电子装置每隔预订周期如果所述历史单位属性值未超过所述当前单位属性值预定比例,输出所述提示信息,其中,所述提示信息用于提示增加预定份数的所述目标产品对象会造成所述目标产品对象的资源总量减少。The electronic device outputs the prompt information if the historical unit attribute value does not exceed the predetermined value of the current unit attribute value every predetermined period, wherein the prompt information is used to prompt to increase the predetermined number of copies of the target product. The object causes a reduction in the total amount of resources of the target product object.
- 根据权利要求3所述的方法,其中,在所述处理请求用于请求对所述目标产品对象进行在预定时间减少预定份数的所述目标产品对象处理的情况下,所述历史单位属性值为预先设定的单位属性值,其中:The method according to claim 3, wherein said history unit attribute value is provided in the case where said processing request is for requesting said target product object to decrease said predetermined number of copies of said target product object processing for a predetermined time Is a preset unit attribute value, where:所述电子装置将所述历史单位属性值与所述目标产品对象的当前单位属性值进行比较,得到比较结果包括:所述电子装置将所述预先设定的单位属性值与所述目标产品对象的当前单位属性值进行比较;The electronic device compares the historical unit attribute value with a current unit attribute value of the target product object, and the comparison result includes: the electronic device, the preset unit attribute value and the target product object The current unit attribute values are compared;所述电子装置根据比较结果输出提示信息包括:所述电子装置在所述目标产品对象的当前单位属性值高于所述预先设定的单位属性值的情况下,允许在预定时间减少预定份数的所述目标产品对象;所述电子装置在所述目标产品对象的当前单位属性值不高于所述预先设定的单位属性值的情况下,输出所述提示信息,其中,所述提示信 息用于提示减少预定份数的所述目标产品对象会造成所述目标产品对象的资源总量减少。The outputting the prompt information by the electronic device according to the comparison result includes: the electronic device is allowed to decrease the predetermined number of copies at a predetermined time if the current unit attribute value of the target product object is higher than the preset unit attribute value The target product object; the electronic device outputs the prompt information if the current unit attribute value of the target product object is not higher than the preset unit attribute value, wherein the prompt information The target product object for prompting to reduce the predetermined number of copies causes a reduction in the total amount of resources of the target product object.
- 根据权利要求1所述的方法,其中,所述处理请求用于请求减少所述目标产品对象的份数,其中,在所述电子装置根据比较结果输出提示信息之后,所述方法还包括:The method of claim 1, wherein the processing request is for requesting to reduce the number of copies of the target product object, wherein after the electronic device outputs the prompt information according to the comparison result, the method further comprises:所述电子装置获取对所述目标产品对象进行减少所述目标产品对象的份数处理所减少的资源量;Obtaining, by the electronic device, a reduced amount of resources for reducing the number of copies of the target product object by the target product object;所述电子装置根据所述减少的资源量输出第四提示信息,其中,所述第四提示信息用于提示处理操作,所述处理操作用于增加所述减少的资源量的处理操作。The electronic device outputs fourth prompt information according to the reduced resource amount, wherein the fourth prompt information is used to prompt a processing operation, and the processing operation is used to increase the processing operation of the reduced resource amount.
- 根据权利要求6所述的方法,其中,所述电子装置获取对所述目标产品对象进行减少所述目标产品对象的份数处理所减少的资源量包括:The method according to claim 6, wherein the electronic device obtains a reduced amount of resources for reducing the number of copies of the target product object to the target product object, including:所述电子装置获取所述目标产品对象在每个时间段内的所述目标产品对象减少的份数、所述目标产品对象的当前单位属性值、减少所述目标产品对象份数的资源减少比例之间的乘积;Obtaining, by the electronic device, the number of copies of the target product object in the target product object in each time period, the current unit attribute value of the target product object, and the resource reduction ratio of reducing the target product object number Product between所述电子装置将所述目标产品对象在每个时间段内的所述乘积求和得到所述乘积为所述减少的资源量。The electronic device sums the products of the target product object in each time period to obtain the product as the reduced resource amount.
- 根据权利要求1所述的方法,其中,所述电子装置响应于所述处理请求获取目标产品对象的历史单位属性值包括:The method of claim 1, wherein the acquiring, by the electronic device, the historical unit attribute value of the target product object in response to the processing request comprises:所述电子装置获取所述目标产品对象的资源总量与所述目标产品对象的总份数的比值,其中,所述比值为所述历史单位属性值;Obtaining, by the electronic device, a ratio of a total amount of resources of the target product object to a total number of copies of the target product object, wherein the ratio is the historical unit attribute value;其中,所述目标产品对象的资源总量为所持有的所述目标产品对象的资源量减去所述目标产品对象减少的份数与减少所述目标产品对象的份数时所述目标产品对象的当前单位属性值的乘积,所述所持有的所述目标产品对象的资源量为所持有的资源量除以1与增加所述目标产品对象份数的资源减少比例的和;The total amount of resources of the target product object is the amount of resources of the target product object held minus the number of copies of the target product object and the number of copies of the target product object. a product of a current unit attribute value of the object, wherein the amount of resources of the target product object held is a sum of a resource amount divided by 1 and a resource reduction ratio of the number of copies of the target product object;其中,所述目标产品对象的总份数为所持有的所述目标产品对象 的份数与所述目标产品对象减少的份数的差值,所述所持有的所述目标产品对象的份数为所述所持有的所述目标产品对象的资源量除以增加所述目标产品对象的份数时所述目标产品对象的当前单位属性值。Wherein the total number of copies of the target product object is a difference between the number of copies of the target product object held and the number of copies of the target product object, and the held target product object The number of copies is the current unit attribute value of the target product object when the amount of resources of the target product object held by the share is divided by the number of copies of the target product object.
- 一种产品对象的处理装置,包括一个或多个处理器,以及一个或多个存储程序单元的存储器,其中,所述程序单元由所述处理器执行,所述程序单元包括:A processing device for a product object, comprising one or more processors, and one or more memories storing program units, wherein the program units are executed by the processor, the program units comprising:接收单元,被设置为接收目标产品对象的处理请求,其中,所述处理请求用于请求对所述目标产品对象进行处理;a receiving unit, configured to receive a processing request of a target product object, wherein the processing request is used to request processing of the target product object;第一获取单元,被设置为响应于所述处理请求获取目标产品对象的历史单位属性值,其中,所述历史单位属性值用于指示当前时间之前的每一份所述目标产品对象的属性值;a first obtaining unit, configured to acquire a historical unit attribute value of the target product object in response to the processing request, wherein the historical unit attribute value is used to indicate an attribute value of each of the target product objects before the current time ;比较单元,被设置为将所述历史单位属性值与所述目标产品对象的当前单位属性值进行比较,得到比较结果,其中,所述当前单位属性值用于指示当前时间的每一份所述目标产品对象的属性值;a comparison unit configured to compare the historical unit attribute value with a current unit attribute value of the target product object to obtain a comparison result, wherein the current unit attribute value is used to indicate each of the current time The attribute value of the target product object;第一输出单元,被设置为根据比较结果输出提示信息,其中,所述提示信息用于提示对所述目标产品对象进行处理预计得到的结果,所述比较结果与所述预计得到的结果相对应。a first output unit, configured to output prompt information according to the comparison result, wherein the prompt information is used to prompt a result obtained by processing the target product object, and the comparison result corresponds to the predicted result .
- 根据权利要求9所述的装置,其中,所述第一输出单元包括:The apparatus of claim 9, wherein the first output unit comprises:第一输出模块,被设置为在所述历史单位属性值超过所述当前单位属性值预定比例的情况下,输出第一提示信息,其中,所述第一提示信息用于提示减少所述目标产品对象的份数会造成所述目标产品对象的资源总量减少;a first output module, configured to output first prompt information if the historical unit attribute value exceeds a predetermined ratio of the current unit attribute value, wherein the first prompt information is used to prompt to reduce the target product The number of copies of the object causes a decrease in the total amount of resources of the target product object;第二输出模块,被设置为在所述历史单位属性值低于所述当前单位属性值预定比例的情况下,输出第二提示信息,其中,所述第二提示信息用于提示增加所述目标产品对象的份数会造成所述目标产品对象的资源总量减少;a second output module, configured to output second prompt information if the historical unit attribute value is lower than the current unit attribute value by a predetermined ratio, wherein the second prompt information is used to prompt to increase the target The number of copies of the product object causes a reduction in the total amount of resources of the target product object;第三输出模块,被设置为在所述历史单位属性值与所述当前单位属性值之间的差值的绝对值小于所述当前单位属性值预定比例的情况下,输出第三提示信息,其中,所述第三提示信息用于提示增加或减少所述目标产品对象的份数会造成所述目标产品对象的资源总量减少。a third output module, configured to output a third prompt information if an absolute value of a difference between the historical unit attribute value and the current unit attribute value is less than a predetermined ratio of the current unit attribute value, wherein The third prompt information is used to prompt that increasing or decreasing the number of copies of the target product object causes a decrease in the total amount of resources of the target product object.
- 根据权利要求9或10所述的装置,其中,所述处理请求用于请求对所述目标产品对象进行以下处理中的至少之一:The apparatus of claim 9 or 10, wherein the processing request is for requesting at least one of the following processing of the target product object:增加所述目标产品对象的份数;Increasing the number of copies of the target product object;减少所述目标产品对象的份数;Reducing the number of copies of the target product object;每隔预定周期增加预定份数的所述目标产品对象;Adding a predetermined number of copies of the target product object every predetermined period;在预定时间减少预定份数的所述目标产品对象。The predetermined number of copies of the target product object is reduced at a predetermined time.
- 根据权利要求11所述的装置,其中,在所述处理请求用于请求对所述目标产品对象进行每隔预定周期增加预定份数的所述目标产品对象处理的情况下,所述第一输出单元包括:The apparatus according to claim 11, wherein said first output is in the case where said processing request is for requesting said target product object to increase said predetermined number of copies of said target product object processing every predetermined period The unit includes:增加模块,被设置为每隔预订周期如果所述历史单位属性值超过所述当前单位属性值预定比例,允许增加预定份数的所述目标产品对象;An adding module, configured to allow a predetermined number of copies of the target product object to be increased if the historical unit attribute value exceeds the current unit attribute value by a predetermined ratio every predetermined period;第四输出模块,被设置为每隔预订周期如果所述历史单位属性值未超过所述当前单位属性值预定比例,输出所述提示信息,其中,所述提示信息用于提示增加预定份数的所述目标产品对象会造成所述目标产品对象的资源总量减少。a fourth output module, configured to output the prompt information if the historical unit attribute value does not exceed a predetermined ratio of the current unit attribute value every reservation period, wherein the prompt information is used to prompt to increase a predetermined number of copies The target product object may cause a reduction in the total amount of resources of the target product object.
- 根据权利要求11所述的装置,其中,在所述处理请求用于请求对所述目标产品对象进行在预定时间减少预定份数的所述目标产品对象处理的情况下,所述历史单位属性值为预先设定的单位属性值,其中:The apparatus according to claim 11, wherein, in the case where the processing request is for requesting the target product object to be reduced by the predetermined number of copies of the target product object processing for a predetermined time, the historical unit attribute value Is a preset unit attribute value, where:所述比较单元包括:比较模块,被设置为将所述预先设定的单位属性值与所述目标产品对象的当前单位属性值进行比较;The comparing unit includes: a comparing module configured to compare the preset unit attribute value with a current unit attribute value of the target product object;所述第一输出单元包括:减少模块,被设置为在所述目标产品对 象的当前单位属性值高于所述预先设定的单位属性值的情况下,允许在预定时间减少预定份数的所述目标产品对象;第五输出模块,被设置为在所述目标产品对象的当前单位属性值不高于所述预先设定的单位属性值的情况下,输出所述提示信息,其中,所述提示信息用于提示减少预定份数的所述目标产品对象会造成所述目标产品对象的资源总量减少。The first output unit includes: a reduction module configured to allow a predetermined number of copies to be reduced at a predetermined time if a current unit attribute value of the target product object is higher than the preset unit attribute value a target product object, wherein the fifth output module is configured to output the prompt information if the current unit attribute value of the target product object is not higher than the preset unit attribute value, wherein the The prompt information is used to prompt that reducing the predetermined number of copies of the target product object causes a reduction in the total amount of resources of the target product object.
- 根据权利要求9所述的装置,其中,所述处理请求用于请求减少所述目标产品对象的份数,其中,所述装置还包括:The apparatus of claim 9, wherein the processing request is for requesting to reduce the number of copies of the target product object, wherein the apparatus further comprises:第二获取单元,被设置为在所述根据比较结果输出提示信息之后,获取对所述目标产品对象进行减少所述目标产品对象的份数处理所减少的资源量;a second obtaining unit, configured to acquire, after the outputting the prompt information according to the comparison result, a resource amount reduced by reducing the number of copies of the target product object by the target product object;第二输出单元,被设置为根据所述减少的资源量输出第四提示信息,其中,所述第四提示信息用于提示处理操作,所述处理操作用于增加所述减少的资源量的处理操作。a second output unit configured to output fourth prompt information according to the reduced resource amount, wherein the fourth prompt information is used to prompt a processing operation, and the processing operation is used to increase the reduced resource amount operating.
- 根据权利要求14所述的装置,其中,所述第二获取单元包括:The apparatus of claim 14, wherein the second obtaining unit comprises:第一获取模块,被设置为获取所述目标产品对象在每个时间段内的所述目标产品对象减少的份数、所述目标产品对象的当前单位属性值、减少所述目标产品对象份数的资源减少比例之间的乘积;a first obtaining module, configured to acquire a reduced number of copies of the target product object of the target product object in each time period, a current unit attribute value of the target product object, and reduce the number of copies of the target product object The product of the reduction in the ratio of resources;第二获取模块,被设置为将所述目标产品对象在每个时间段内的所述乘积求和得到所述乘积为所述减少的资源量。A second acquisition module is configured to sum the products of the target product object in each time period to obtain the product as the reduced amount of resources.
- 根据权利要求9所述的装置,其中,所述第一获取单元包括:The apparatus of claim 9, wherein the first obtaining unit comprises:第三获取模块,被设置为获取所述目标产品对象的资源总量与所述目标产品对象的总份数的比值,其中,所述比值为所述历史单位属性值;a third obtaining module, configured to obtain a ratio of a total amount of resources of the target product object to a total number of copies of the target product object, where the ratio is the historical unit attribute value;其中,所述目标产品对象的资源总量为所持有的所述目标产品对象的资源量减去所述目标产品对象减少的份数与减少所述目标产品对象的份数时所述目标产品对象的当前单位属性值的乘积,所述所持 有的所述目标产品对象的资源量为所持有的资源量除以1与增加所述目标产品对象份数的资源减少比例的和;The total amount of resources of the target product object is the amount of resources of the target product object held minus the number of copies of the target product object and the number of copies of the target product object. a product of a current unit attribute value of the object, wherein the amount of resources of the target product object held is a sum of a resource amount divided by 1 and a resource reduction ratio of the number of copies of the target product object;其中,所述目标产品对象的总份数为所持有的所述目标产品对象的份数与所述目标产品对象减少的份数的差值,所述所持有的所述目标产品对象的份数为所述所持有的所述目标产品对象的资源量除以增加所述目标产品对象的份数时所述目标产品对象的当前单位属性值。Wherein the total number of copies of the target product object is a difference between the number of copies of the target product object held and the number of copies of the target product object, and the held target product object The number of copies is the current unit attribute value of the target product object when the amount of resources of the target product object held by the share is divided by the number of copies of the target product object.
- 一种存储介质,其中,所述存储介质中存储有计算机程序,所述计算机程序被设置为运行时执行权利要求1至8中任意一项所述的方法。A storage medium, wherein a computer program is stored in the storage medium, the computer program being arranged to perform the method of any one of claims 1 to 8 when executed.
- 一种电子装置,包括存储器和处理器,其中,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行权利要求1至8中任意一项所述的方法。An electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to perform the method of any one of claims 1 to 8 by the computer program.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710144486.XA CN107093141B (en) | 2017-03-09 | 2017-03-09 | Product object processing method and device |
CN201710144486.X | 2017-03-09 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018161908A1 true WO2018161908A1 (en) | 2018-09-13 |
Family
ID=59648881
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/078228 WO2018161908A1 (en) | 2017-03-09 | 2018-03-07 | Product object processing method and device, storage medium and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107093141B (en) |
WO (1) | WO2018161908A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110135861A (en) * | 2019-04-24 | 2019-08-16 | 平安科技(深圳)有限公司 | Information notice method, device, computer equipment and storage medium |
CN110473112A (en) * | 2019-07-05 | 2019-11-19 | 中国平安人寿保险股份有限公司 | A kind of resource data acquisition methods, device, readable storage medium storing program for executing and terminal device |
CN111080148A (en) * | 2019-12-20 | 2020-04-28 | Oppo(重庆)智能科技有限公司 | Net value calculation method and device of ERP system, electronic equipment and storage medium |
CN111311095A (en) * | 2020-02-14 | 2020-06-19 | 浙江大华技术股份有限公司 | Method, device, storage medium and electronic device for executing prompt processing |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106657058B (en) * | 2016-12-20 | 2019-12-06 | 腾讯科技(深圳)有限公司 | Event resource allocation method and device |
CN107093141B (en) * | 2017-03-09 | 2022-04-26 | 腾讯科技(深圳)有限公司 | Product object processing method and device |
CN110275769A (en) * | 2018-03-15 | 2019-09-24 | 财付通支付科技有限公司 | Business data processing method and its equipment, storage medium, application server |
CN110020944A (en) * | 2018-10-25 | 2019-07-16 | 阿里巴巴集团控股有限公司 | Calculation and object method, apparatus, electronic equipment and computer readable storage medium |
CN109360102A (en) * | 2018-12-19 | 2019-02-19 | 平安科技(深圳)有限公司 | Stock exchange data processing method, device, computer equipment and storage medium |
CN110083765A (en) * | 2019-04-12 | 2019-08-02 | 平安信托有限责任公司 | Financing information-pushing method, device, computer equipment and storage medium |
CN112632097A (en) * | 2021-03-10 | 2021-04-09 | 北京口袋财富信息科技有限公司 | Data processing method and device, readable storage medium and computing equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002056190A (en) * | 2000-08-07 | 2002-02-20 | Ibj-Dl Financial Technology Co Ltd | System and method for managing financial article, and recording medium with recorded financial article managing program |
JP2002304520A (en) * | 2001-04-04 | 2002-10-18 | Mizuho Corporate Bank Ltd | Device for calculating portfolio value and method for the same and its program and recording medium with its program recorded |
CN102855588A (en) * | 2011-06-29 | 2013-01-02 | 北京神州绿盟信息安全科技股份有限公司 | Server, device and method for detection of transaction data |
CN105654384A (en) * | 2016-01-07 | 2016-06-08 | 慈溪市创盈软件科技有限公司 | Foreign exchange (FX) automatic transaction system |
CN105787582A (en) * | 2015-12-24 | 2016-07-20 | 清华大学 | Stock risk prediction method and apparatus |
CN107093141A (en) * | 2017-03-09 | 2017-08-25 | 腾讯科技(深圳)有限公司 | The treating method and apparatus of product object |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101794430A (en) * | 2010-02-11 | 2010-08-04 | 帅亿 | Fully-automatic stock operation server |
US10181126B2 (en) * | 2012-03-13 | 2019-01-15 | American Express Travel Related Services Company, Inc. | Systems and methods for tailoring marketing |
CN103955858A (en) * | 2014-05-07 | 2014-07-30 | 周军民 | Securities trading monitoring method |
CN105260935A (en) * | 2015-09-08 | 2016-01-20 | 上海银天下科技有限公司 | Information prompting method and system |
CN105844523A (en) * | 2016-04-11 | 2016-08-10 | 海南世嘉亮科技有限公司 | Method, apparatus and calculation equipment for simulated stock trading by using securities back traced data |
-
2017
- 2017-03-09 CN CN201710144486.XA patent/CN107093141B/en active Active
-
2018
- 2018-03-07 WO PCT/CN2018/078228 patent/WO2018161908A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002056190A (en) * | 2000-08-07 | 2002-02-20 | Ibj-Dl Financial Technology Co Ltd | System and method for managing financial article, and recording medium with recorded financial article managing program |
JP2002304520A (en) * | 2001-04-04 | 2002-10-18 | Mizuho Corporate Bank Ltd | Device for calculating portfolio value and method for the same and its program and recording medium with its program recorded |
CN102855588A (en) * | 2011-06-29 | 2013-01-02 | 北京神州绿盟信息安全科技股份有限公司 | Server, device and method for detection of transaction data |
CN105787582A (en) * | 2015-12-24 | 2016-07-20 | 清华大学 | Stock risk prediction method and apparatus |
CN105654384A (en) * | 2016-01-07 | 2016-06-08 | 慈溪市创盈软件科技有限公司 | Foreign exchange (FX) automatic transaction system |
CN107093141A (en) * | 2017-03-09 | 2017-08-25 | 腾讯科技(深圳)有限公司 | The treating method and apparatus of product object |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110135861A (en) * | 2019-04-24 | 2019-08-16 | 平安科技(深圳)有限公司 | Information notice method, device, computer equipment and storage medium |
CN110135861B (en) * | 2019-04-24 | 2024-03-05 | 平安科技(深圳)有限公司 | Information notification method, device, computer equipment and storage medium |
CN110473112A (en) * | 2019-07-05 | 2019-11-19 | 中国平安人寿保险股份有限公司 | A kind of resource data acquisition methods, device, readable storage medium storing program for executing and terminal device |
CN110473112B (en) * | 2019-07-05 | 2024-04-02 | 中国平安人寿保险股份有限公司 | Resource data acquisition method and device, readable storage medium and terminal equipment |
CN111080148A (en) * | 2019-12-20 | 2020-04-28 | Oppo(重庆)智能科技有限公司 | Net value calculation method and device of ERP system, electronic equipment and storage medium |
CN111311095A (en) * | 2020-02-14 | 2020-06-19 | 浙江大华技术股份有限公司 | Method, device, storage medium and electronic device for executing prompt processing |
CN111311095B (en) * | 2020-02-14 | 2023-09-01 | 浙江大华技术股份有限公司 | Method and device for executing prompt processing, storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN107093141A (en) | 2017-08-25 |
CN107093141B (en) | 2022-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018161908A1 (en) | Product object processing method and device, storage medium and electronic device | |
John et al. | Economic implications of scaling blockchains: Why the consensus protocol matters | |
US11423479B2 (en) | Dynamic peg orders in an electronic trading system | |
KR20200066138A (en) | A stock trading system that performs automatic trading techniques based on searching stock item | |
CN109308538B (en) | Method and device for predicting transaction conversion rate | |
CN110874797B (en) | Resource allocation method and resource allocation device | |
CN110930245A (en) | Data processing method and device, electronic equipment and storage medium | |
CN106878236A (en) | A kind of user's request processing method and equipment | |
JP2019160196A (en) | Point investment system and investment point management method | |
US20110307415A1 (en) | System, Method and Computer Program Product for Measuring Risk Levels in a Stock Market by Providing a Volatility, Skewness and Kurtosis Index | |
CN111054078A (en) | Object information acquisition method and device | |
CN110956500A (en) | Method and system for reducing advertisement request time consumption in advertisement real-time bidding system | |
US20160078552A1 (en) | System and method for forecasting payments of healthcare claims | |
CN113222720A (en) | Reputation-based privacy protection incentive mechanism method, device and storage medium | |
CN109410084A (en) | The mobile payment control method and agricultural trade system of agricultural trade system based on e-commerce | |
US20230306507A1 (en) | Computer-Implemented Method for Visualising a Performance of at least One Trader | |
CN112288559B (en) | Stock right-based financial data accounting method, device, equipment and storage medium | |
CN115907207A (en) | Method, system, terminal and medium for predicting quotation interval in bidding process | |
CN111583010A (en) | Data processing method, device, equipment and storage medium | |
JP5405239B2 (en) | Order processing system and program | |
KR20220119919A (en) | Server for providing simple tax payment service, system, and computer program | |
US20190362276A1 (en) | System and method for managing resources | |
CN111681027A (en) | Risk management method and device in information popularization, electronic equipment and storage medium | |
CN109409993A (en) | Quotation acquisition methods, device, computer installation and the storage medium of computer resource | |
JP2006227852A (en) | Use plan value calculation method and computer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18763848 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18763848 Country of ref document: EP Kind code of ref document: A1 |