Disclosure of Invention
In view of this, embodiments of the present invention provide an asset filtering method and apparatus, which can solve the problem that the acquisition of assets for sale has randomness and uniqueness.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided an asset filtering method including:
judging whether the residual filtering amount is larger than or equal to a preset amount threshold value, if so, acquiring the assets to be sold by adopting a jumping rule, and if not, acquiring the assets to be sold by adopting a sequence rule;
filtering the assets to be sold based on filtering and screening conditions to obtain the assets to be sold which accord with the filtering and screening conditions, and updating the residual filtering amount according to the asset amount corresponding to the assets to be sold which accord with the filtering and screening conditions;
and marking the assets to be sold which meet the filtering and screening conditions.
Optionally, acquiring the assets for sale by using a sequence rule includes:
according to the fact that the asset amount of the assets to be sold is from large to small, the assets to be sold are sorted in a descending order mode to obtain an ordered asset list;
acquiring the first M assets to be sold, of which the asset amount is less than or equal to the maximum asset amount, in the ordered asset list;
the maximum asset amount is the asset amount of the first asset to be sold in the ordered asset list or the minimum asset amount of the M assets to be sold acquired in the previous time, and M is a positive integer larger than zero.
Optionally, acquiring the assets for sale by using a skip rule includes:
according to the fact that the asset amount of the assets to be sold is from large to small, the assets to be sold are sorted in a descending order mode to obtain an ordered asset list;
after jumping with jumping degree S, acquiring the first N assets to be sold, wherein the asset amount of the assets in the ordered asset list is less than or equal to the maximum asset amount;
the maximum asset amount is the asset amount of the first asset to be sold in the ordered asset list or the minimum asset amount of the N assets to be sold acquired at the previous time, and S and N are positive integers larger than zero.
Optionally, filtering the assets to be sold based on the filtering and screening conditions to obtain the assets to be sold meeting the filtering and screening conditions, and updating the remaining filtering amount according to the asset amount corresponding to the assets to be sold meeting the filtering and screening conditions, including:
filtering the assets to be sold based on filtering and screening conditions aiming at each asset to be sold, and if the assets to be sold accord with the filtering and screening conditions, subtracting the asset amount of the assets to be sold from the remaining filtering amount of the current time and updating the remaining filtering amount of the assets to be sold into the remaining filtering amount of the next time;
and circularly filtering each asset for sale until the residual filtering amount is less than or equal to zero.
Optionally, marking the assets for sale meeting the filtering and screening conditions includes:
and carrying out batch marking updating on the assets to be sold which meet the filtering and screening conditions, and identifying filtering time, filtering state and protocol information.
In addition, according to another aspect of an embodiment of the present invention, there is provided an apparatus for asset filtering, including:
the acquisition module is used for judging whether the residual filtering amount is larger than or equal to a preset amount threshold value or not, if so, acquiring the assets to be sold by adopting a jumping rule, and if not, acquiring the assets to be sold by adopting a sequence rule;
the filtering module is used for filtering the assets to be sold based on the filtering and screening conditions to obtain the assets to be sold which accord with the filtering and screening conditions, and updating the residual filtering amount according to the asset amount corresponding to the assets to be sold which accord with the filtering and screening conditions;
and the marking module is used for marking the assets to be sold which accord with the filtering and screening conditions.
Optionally, acquiring the assets for sale by using a sequence rule includes:
according to the fact that the asset amount of the assets to be sold is from large to small, the assets to be sold are sorted in a descending order mode to obtain an ordered asset list;
acquiring the first M assets to be sold, of which the asset amount is less than or equal to the maximum asset amount, in the ordered asset list;
the maximum asset amount is the asset amount of the first asset to be sold in the ordered asset list or the minimum asset amount of the M assets to be sold acquired in the previous time, and M is a positive integer larger than zero.
Optionally, acquiring the assets for sale by using a skip rule includes:
according to the fact that the asset amount of the assets to be sold is from large to small, the assets to be sold are sorted in a descending order mode to obtain an ordered asset list;
after jumping with jumping degree S, acquiring the first N assets to be sold, wherein the asset amount of the assets in the ordered asset list is less than or equal to the maximum asset amount;
the maximum asset amount is the asset amount of the first asset to be sold in the ordered asset list or the minimum asset amount of the N assets to be sold acquired at the previous time, and S and N are positive integers larger than zero.
Optionally, the filtering module is configured to:
filtering the assets to be sold based on filtering and screening conditions aiming at each asset to be sold, and if the assets to be sold accord with the filtering and screening conditions, subtracting the asset amount of the assets to be sold from the remaining filtering amount of the current time and updating the remaining filtering amount of the assets to be sold into the remaining filtering amount of the next time;
and circularly filtering each asset for sale until the residual filtering amount is less than or equal to zero.
Optionally, the tagging module is to:
and carrying out batch marking updating on the assets to be sold which meet the filtering and screening conditions, and identifying filtering time, filtering state and protocol information.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any of the embodiments described above.
According to another aspect of the embodiments of the present invention, there is also provided a computer readable medium, on which a computer program is stored, which when executed by a processor implements the method of any of the above embodiments.
One embodiment of the above invention has the following advantages or benefits: the technical means that whether the residual filtering amount is larger than or equal to the preset amount threshold value or not is judged, if yes, the assets to be sold are obtained by adopting a jumping rule, and if not, the assets to be sold are obtained by adopting a sequence rule, so that the technical problems that the assets to be sold are obtained randomly and singularly are solved; the method and the system perform ordered sequencing according to the asset amount of the assets to be sold, acquire the assets to be sold in a sequence or jumping mode, and ensure the high efficiency of asset filtering and the average property of asset dispersion. Therefore, under the conditions of abundant assets and shortage of assets, different filtering modes can be effectively adopted to carry out efficient asset filtering, the assets are orderly filtered, and the proportion distribution of the assets and money is effectively adjusted. In addition, in the process of asset filtering, the progress and trend of current asset filtering can be clearly counted.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
FIG. 1 is a schematic diagram of the main flow of a method of asset filtering according to an embodiment of the invention. As shown in fig. 1, as an embodiment of the present invention, the method for asset filtering may include:
and 101, judging whether the residual filtering amount is larger than or equal to a preset amount threshold value, if so, acquiring the assets to be sold by adopting a jumping rule, and if not, acquiring the assets to be sold by adopting a sequence rule.
In this step, whether to acquire the assets for sale using the skip rule or the sequential rule may be determined by whether the remaining filtering amount is sufficient. If the remaining filter amount is sufficient, the assets for sale may be obtained using a skip rule, and if the remaining filter amount is insufficient, the assets for sale may be obtained using a sequence rule.
Specifically, an amount threshold may be preset as a basis for determining whether the remaining filtering amount is sufficient, that is, determining whether the remaining filtering amount is greater than or equal to the preset amount threshold, if so, obtaining the assets to be sold by using a skip rule, and if not, obtaining the assets to be sold by using a sequence rule.
It should be noted that, after determining the acquisition rule for acquiring the assets for sale, the system configuration of the distribution protocol may be modified to initialize the filtering parameters of the current assets, for example, whether the acquisition of the assets for sale is according to the skip rule or the sequence rule, and other system level parameters.
As another embodiment of the present invention, acquiring assets for sale using a skip rule includes: according to the fact that the asset amount of the assets to be sold is from large to small, the assets to be sold are sorted in a descending order mode to obtain an ordered asset list; after jumping with jumping degree S, acquiring the first N assets to be sold, wherein the asset amount of the assets in the ordered asset list is less than or equal to the maximum asset amount; the maximum asset amount is the asset amount of the first asset to be sold in the ordered asset list or the minimum asset amount of the N assets to be sold acquired at the previous time, and S and N are positive integers larger than zero.
For example, in this embodiment, first, using the advantage of the database sequential index, the assets to be sold are sorted in descending order according to the smaller asset amount of each asset to be sold, and an ordered list of assets to be sold is created, where 9 assets to be sold are listed in the ordered list, and the records are as follows.
Then, when the assets to be sold are obtained in the first step, the first three assets to be sold with the asset amount of 20000 or less are obtained, the result set IDs are 1201, 101 and 1211, and the corresponding asset amounts are 20000, 18510 and 18500 respectively. And 18500 is recorded as the maximum asset amount for the next acquisition of the asset for sale.
Then, when acquiring the assets for sale for the second time, after jumping with the jump degree of 3 (namely, jumping over the 4 th record to the 6 th record, wherein the IDs of the records are 1301, 456 and 86 respectively), acquiring the first 3 assets for sale with the asset sum of 18500 or less in the ordered asset list, and acquiring result set IDs of 50, 23 and 78, wherein the corresponding asset sums are 8500, 8400 and 500 respectively. And 500 is recorded as the maximum asset amount for the next acquisition of assets for sale.
Similarly, when the assets to be sold are obtained for the third time, after the jump with the jump degree of 3 is performed (i.e. 7 th to 9 th records are skipped, and the IDs of the records are 499, 400 and 385 respectively), the first 3 assets to be sold with the asset amount less than or equal to 500 in the ordered asset list are obtained, which is not described again in the embodiments of the present invention.
Note that, in the above embodiments, the details are described by taking S ═ N ═ 3 as an example, but in other embodiments of the present invention, the value of S, N may be different or the same. For example, S is 500, N is 1000; 1000 for S, 300 for N; and S ═ N ═ 800, and the like, which are not limited in this embodiment of the present invention, and are not described again in this embodiment of the present invention.
Optionally, if the result set is empty, the asset amount of the first asset for sale in the ordered asset list may be reset to the maximum asset amount, and a new round of execution of the skip filtering algorithm may be initiated again.
It should be noted that, in the above embodiments, the assets to be sold are sorted in descending order according to the smaller asset amount of the assets to be sold, and in other embodiments, the assets to be sold may also be sorted in ascending order according to the smaller asset amount of the assets to be sold. Correspondingly, in the embodiment of ascending order, the first N assets to be sold whose asset amounts in the ordered asset list are greater than or equal to the minimum asset amount are obtained, which is not described again in the embodiment of the present invention.
As another embodiment of the invention, acquiring assets for sale using a sequence rule comprises: according to the fact that the asset amount of the assets to be sold is from large to small, the assets to be sold are sorted in a descending order mode to obtain an ordered asset list; acquiring the first M assets to be sold, of which the asset amount is less than or equal to the maximum asset amount, in the ordered asset list; the maximum asset amount is the asset amount of the first asset to be sold in the ordered asset list or the minimum asset amount of the M assets to be sold acquired in the previous time, and M is a positive integer larger than zero.
For example, in this embodiment, first, using the advantage of the database sequential index, according to the asset amount of each asset to be sold from large to small, the following ordered list of assets to be sold is created, where the following records are recorded:
then, when the assets to be sold are obtained in the first step, the first three assets to be sold with the asset amount of 20000 or less are obtained, the result set IDs are 1201, 101 and 1211, and the corresponding asset amounts are 20000, 18510 and 18500 respectively. And 18500 is recorded as the maximum asset amount for the next acquisition of the asset for sale.
Then, when the to-be-sold assets are obtained for the second time, the first three to-be-sold assets with the asset sum smaller than or equal to 18500 are obtained, the result set IDs are 1301, 456 and 86, and the corresponding asset sums are 17500, 16500 and 14500 respectively. And 14500 is recorded as the maximum asset amount for the next acquisition of the asset for sale.
Similarly, when the to-be-sold assets are obtained for the third time, the first three to-be-sold assets with the asset amount less than or equal to 14500 are obtained, and the embodiment of the present invention is not described again.
It should be noted that, in the above embodiments, M ═ 3 is taken as an example for detailed description, and in other embodiments of the present invention, M ═ 500, M ═ 800, M ═ 1200, and the like, which are not limited in this embodiment of the present invention, and are not repeated again.
It should be noted that, in the above embodiments, the assets to be sold are sorted in descending order according to the smaller asset amount of the assets to be sold, and in other embodiments, the assets to be sold may also be sorted in ascending order according to the smaller asset amount of the assets to be sold. Correspondingly, in the embodiment of ascending order, the first M pieces of assets to be sold whose asset amounts are greater than or equal to the minimum asset amount in the ordered asset list are obtained, which is not described again in the embodiment of the present invention.
And 102, filtering the assets to be sold based on the filtering and screening conditions to obtain the assets to be sold which accord with the filtering and screening conditions, and updating the residual filtering amount according to the asset amount corresponding to the assets to be sold which accord with the filtering and screening conditions.
Different protocols correspond to different filtering and screening conditions, such as credit rating of a user, single amount range of the assets, total amount of the current asset filtering, remaining total amount of the current asset filtering and the like, and all the different protocols can be used as the filtering and screening conditions.
In the step, each asset is processed in a circulating mode, each asset is filtered in a screen mode according to the filtering and screening conditions, and if any filtering and screening condition is not met in the filtering process, the current asset to be sold is directly skipped, and the next asset to be sold is filtered. And only the assets for sale which meet all the filtering and screening conditions are deducted from the residual filtering amount.
Therefore, the assets to be sold which accord with the filtering and screening conditions are obtained through layer-by-layer screening, the asset amount of the assets to be sold which accord with the filtering and screening conditions and the residual filtering amount of the current time are recorded, the filtering amount of the current time (namely the asset amount of the assets to be sold) is subtracted from the residual filtering amount of the current time, the filtering amount is updated to the residual filtering amount of the next time, and the termination condition of the circular filtering is ensured.
As still another embodiment of the present invention, step 102 may comprise: filtering the assets to be sold based on filtering and screening conditions aiming at each asset to be sold, and if the assets to be sold accord with the filtering and screening conditions, subtracting the asset amount of the assets to be sold from the remaining filtering amount of the current time and updating the remaining filtering amount of the assets to be sold into the remaining filtering amount of the next time; and circularly filtering each asset for sale until the residual filtering amount is less than or equal to zero.
And 103, marking the assets to be sold which meet the filtering and screening conditions.
In this step, the assets to be sold that meet the filtering and screening conditions are subjected to batch marking and updating, and filtering time, filtering state and protocol information are identified.
It should be noted that, in step 103, the assets for sale that meet the filtering and screening condition also meet the requirement that the remaining filtering amount of the next time obtained by subtracting the asset amount of the assets for sale from the remaining filtering amount of the current time is greater than or equal to zero.
According to the various embodiments, the technical scheme that whether the residual filtering amount is larger than or equal to the preset amount threshold value or not is judged, if yes, the assets to be sold are obtained by adopting the jumping rule, and if not, the assets to be sold are obtained by adopting the sequence rule is adopted, so that the problem that the assets to be sold are obtained randomly and singularly is solved. That is, in the prior art, the acquisition of the assets for sale has randomness, so that the filtering amount is uncertain, and the problems of unstable factors and unpredictability exist for the filtering efficiency. The invention carries out ordered sequencing according to the asset amount of the assets to be sold and obtains the assets to be sold in a sequence or jump mode, thereby ensuring the high efficiency of asset filtering and the average property of asset dispersion. Therefore, under the conditions of abundant assets and shortage of assets, different filtering modes can be effectively adopted to carry out efficient asset filtering, the assets are orderly filtered, and the proportion distribution of the assets and money is effectively adjusted. In addition, in the process of asset filtering, the progress and trend of current asset filtering can be clearly counted.
Fig. 2 is a schematic diagram of a main flow of a method of asset filtering according to one referential embodiment of the present invention, which may include:
step 201, obtaining the filtering and screening conditions of the protocol issued this time according to the virtual asset protocol;
step 202, acquiring system configuration of an issuing protocol, and initializing the current filtering parameters, such as system level parameters of sequence rules or skip rules, descending order or ascending order, and the like;
step 203, judging whether the residual filtering amount of the time is larger than zero; if yes, go to step 204; if not, the assets of the protocol do not need to be filtered, and then the process is finished;
step 204, judging whether to acquire assets to be sold by adopting a jumping rule or acquire assets to be sold by adopting a sequence rule;
step 205, acquiring a plurality of assets to be sold by adopting a sequence rule;
step 206, acquiring a plurality of assets to be sold by adopting a jumping rule;
step 207, processing one of the plurality of assets for sale obtained in step 205 or step 206;
step 208, judging whether the piece of assets to be sold meets all filtering and screening conditions, if so, executing step 209, and if not, executing step 211;
step 209, subtracting the asset amount of the to-be-sold asset from the remaining filtering amount of this time, and updating the remaining filtering amount of this time (as the remaining filtering amount of the next filtering);
step 210, judging whether the updated residual filtering amount is larger than zero; if yes, go to step 207; if not, indicating that the residual filtering amount is insufficient, and ending;
step 211, circularly processing each asset for sale obtained in step 205 or step 206 until all assets for sale are processed or the residual filtering amount is less than or equal to zero;
step 212, marking the assets for sale which are obtained in the step 207-210 and meet the filtering and screening conditions in batches.
In addition, in a reference embodiment of the present invention, the detailed implementation of the method for asset filtering is described in detail above, so that the repeated description is not repeated here.
FIG. 3 is a schematic diagram of the major modules of an apparatus for asset filtering according to an embodiment of the present invention. As shown in fig. 3, the asset filtering apparatus 300 includes an obtaining module 301, a filtering module 302, and a marking module 303. The obtaining module 301 is configured to determine whether the remaining filtering amount is greater than or equal to a preset amount threshold, if so, obtain the assets to be sold by using a skip rule, and if not, obtain the assets to be sold by using a sequence rule; the filtering module 302 is configured to filter the assets to be sold based on the filtering and screening conditions to obtain the assets to be sold meeting the filtering and screening conditions, and update the remaining filtering amount according to the asset amount corresponding to the assets to be sold meeting the filtering and screening conditions; the marking module 303 is configured to mark the assets for sale that meet the filtering and screening conditions.
Optionally, acquiring the assets for sale by using a sequence rule includes:
according to the fact that the asset amount of the assets to be sold is from large to small, the assets to be sold are sorted in a descending order mode to obtain an ordered asset list;
acquiring the first M assets to be sold, of which the asset amount is less than or equal to the maximum asset amount, in the ordered asset list;
the maximum asset amount is the asset amount of the first asset to be sold in the ordered asset list or the minimum asset amount of the M assets to be sold acquired in the previous time, and M is a positive integer larger than zero.
Optionally, acquiring the assets for sale by using a skip rule includes:
according to the fact that the asset amount of the assets to be sold is from large to small, the assets to be sold are sorted in a descending order mode to obtain an ordered asset list;
after jumping with jumping degree S, acquiring the first N assets to be sold, wherein the asset amount of the assets in the ordered asset list is less than or equal to the maximum asset amount;
the maximum asset amount is the asset amount of the first asset to be sold in the ordered asset list or the minimum asset amount of the N assets to be sold acquired at the previous time, and S and N are positive integers larger than zero.
Optionally, the filtering module 302 is configured to:
filtering the assets to be sold based on filtering and screening conditions aiming at each asset to be sold, and if the assets to be sold accord with the filtering and screening conditions, subtracting the asset amount of the assets to be sold from the remaining filtering amount of the current time and updating the remaining filtering amount of the assets to be sold into the remaining filtering amount of the next time;
and circularly filtering each asset for sale until the residual filtering amount is less than or equal to zero.
Optionally, the marking module 303 is configured to:
and carrying out batch marking updating on the assets to be sold which meet the filtering and screening conditions, and identifying filtering time, filtering state and protocol information.
According to the various embodiments, the technical scheme that whether the residual filtering amount is larger than or equal to the preset amount threshold value or not is judged, if yes, the assets to be sold are obtained by adopting the jumping rule, and if not, the assets to be sold are obtained by adopting the sequence rule is adopted, so that the problem that the assets to be sold are obtained randomly and singularly is solved. That is, in the prior art, the acquisition of the assets for sale has randomness, so that the filtering amount is uncertain, and the problems of unstable factors and unpredictability exist for the filtering efficiency. The invention carries out ordered sequencing according to the asset amount of the assets to be sold and obtains the assets to be sold in a sequence or jump mode, thereby ensuring the high efficiency of asset filtering and the average property of asset dispersion. Therefore, under the conditions of abundant assets and shortage of assets, different filtering modes can be effectively adopted to carry out efficient asset filtering, the assets are orderly filtered, and the proportion distribution of the assets and money is effectively adjusted. In addition, in the process of asset filtering, the progress and trend of current asset filtering can be clearly counted.
It should be noted that, in the embodiment of the asset filtering apparatus of the present invention, the details of the above asset filtering method have been described in detail, and therefore, the repeated contents are not described again.
Fig. 4 illustrates an exemplary system architecture 400 to which the method of asset filtering or a method of asset filtering of an embodiment of the invention may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 serves as a medium for providing communication links between the terminal devices 401, 402, 403 and the server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 401, 402, 403 to interact with a server 405 over a network 404 to receive or send messages or the like. The terminal devices 401, 402, 403 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 401, 402, 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 405 may be a server providing various services, such as a background management server (for example only) providing support for shopping websites browsed by users using the terminal devices 401, 402, 403. The background management server may analyze and process the received data such as the product information query request, and feed back a processing result (for example, target push information and product information — only an example) to the terminal device.
It should be noted that the method for asset filtering provided by the embodiment of the present invention is generally executed in the server 405, and accordingly, the device for asset filtering is generally disposed in the server 405. The method for asset filtering provided by the embodiment of the present invention may also be executed in the terminal devices 401, 402, and 403, and accordingly, the apparatus for asset filtering is generally disposed on the terminal devices 401, 402, and 403.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, shown is a block diagram of a computer system 500 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes an acquisition module, a filtering module, and a labeling module, where the names of the modules do not in some cases constitute a limitation on the module itself.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: judging whether the residual filtering amount is larger than or equal to a preset amount threshold value, if so, acquiring the assets to be sold by adopting a jumping rule, and if not, acquiring the assets to be sold by adopting a sequence rule; filtering the assets to be sold based on filtering and screening conditions to obtain the assets to be sold which accord with the filtering and screening conditions, and updating the residual filtering amount according to the asset amount corresponding to the assets to be sold which accord with the filtering and screening conditions; and marking the assets to be sold which meet the filtering and screening conditions.
According to the technical scheme of the embodiment of the invention, because the technical means of judging whether the residual filtering amount is greater than or equal to the preset amount threshold is adopted, if so, the assets to be sold are obtained by adopting the jumping rule, and if not, the assets to be sold are obtained by adopting the sequence rule, the technical problems of randomness and unicity in obtaining the assets to be sold are solved; the method and the system perform ordered sequencing according to the asset amount of the assets to be sold, acquire the assets to be sold in a sequence or jumping mode, and ensure the high efficiency of asset filtering and the average property of asset dispersion. Therefore, under the conditions of abundant assets and shortage of assets, different filtering modes can be effectively adopted to carry out efficient asset filtering, the assets are orderly filtered, and the proportion distribution of the assets and money is effectively adjusted. In addition, in the process of asset filtering, the progress and trend of current asset filtering can be clearly counted.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.