Disclosure of Invention
In view of this, an embodiment of the present invention provides an article screening apparatus and method, where the apparatus includes a screening condition generating module and a target article determining module, and the screening condition generating module and the target article determining module are not coupled: the screening condition generation module is used for receiving the target screening index and the corresponding first operation logic thereof, and further generating article screening conditions; the object article determining module is used for receiving article screening conditions and determining whether the article to be screened meets the article screening conditions or not according to each article to be screened so as to determine whether the article to be screened is an object article or a non-object article. Because the screening condition generation process and the target article determination process are mutually separated, the article screening process can be completed by using one set of codes, repeated development is not needed, and the workload of developers is reduced.
To achieve the above object, according to one aspect of the embodiments of the present invention, there is provided an article screening apparatus.
The article screening device comprises a screening condition generating module and a target article determining module, wherein the screening condition generating module is not coupled with the target article determining module; wherein:
The screening condition generation module is used for receiving at least one target screening index selected from a plurality of screening indexes and first operation logic corresponding to each target screening index; generating article screening conditions according to the target screening index and the first arithmetic logic, and sending the article screening conditions to the target article determining module;
the target article determining module is used for receiving article screening conditions; acquiring information of a plurality of articles to be screened, and respectively executing the following steps for each article to be screened: determining an index value of at least one target screening index from information of the articles to be screened; and determining whether the object to be screened meets the object screening condition according to at least one index value so as to determine whether the object to be screened is a target object or a non-target object.
Alternatively, the process may be carried out in a single-stage,
the first operation logic comprises a required value and an operator corresponding to the target screening index;
in the case that the target screening index is a plurality of, the screening condition generation module is further configured to: receiving a second arithmetic logic between a plurality of target screening indexes; and generating article screening conditions according to the target screening index, the second operation logic, the required value and the operator.
Alternatively, the process may be carried out in a single-stage,
the article screening conditions include: one or more item screening sub-conditions;
the screening condition generation module is further configured to: receiving operation identifiers corresponding to each article screening sub-condition, wherein the operation identifiers comprise retention identifiers or rejection identifiers; generating an article screening sub-condition according to the target screening index, the second operation logic, the required value, the operator and the operation identifier; item screening conditions are generated based on the one or more item screening sub-conditions.
Alternatively, the process may be carried out in a single-stage,
the target item determination module is further to: judging whether the index value corresponding to each target screening index meets the requirement value and the operator corresponding to the target screening index or not according to at least one target screening index, and obtaining at least one judging result; under the condition that the judging result is one, determining whether the object to be screened meets the object screening sub-condition according to the judging result; and under the condition that the judging results are multiple, determining whether the articles to be screened meet the article screening sub-conditions according to the judging results and the second operation logic.
Alternatively, the process may be carried out in a single-stage,
the target item determination module is further to: under the condition that the to-be-screened object meets the object screening sub-condition, determining an operation identifier corresponding to the object screening sub-condition; and determining the object to be screened as a target object or a non-target object according to the operation identification.
Alternatively, the process may be carried out in a single-stage,
in the case where the item screening condition includes a plurality of item screening sub-conditions, the target item determination module includes: an operation identification determination unit, a first article determination unit, a second article determination unit, and a third article determination unit; wherein:
an operation identifier determining unit, configured to determine operation identifiers corresponding to the plurality of article screening sub-conditions;
the first article determining unit is used for determining articles to be screened meeting the article screening sub-conditions as target articles under the condition that operation identifiers corresponding to the article screening sub-conditions are all retention identifiers;
the second article determining unit is used for determining that the article to be screened meeting the plurality of article screening sub-conditions is a non-target article under the condition that the operation identifiers corresponding to the plurality of article screening sub-conditions are all rejection identifiers;
and the third article determining unit is used for determining the article to be screened which meets one or more article screening sub-conditions corresponding to the reserved marks and does not meet one or more article screening sub-conditions corresponding to the rejecting marks as a target article under the condition that the reserved marks and the rejecting marks exist in the operation marks corresponding to the article screening sub-conditions.
Alternatively, the process may be carried out in a single-stage,
the screening condition generation module is further configured to: receiving a code corresponding to the newly added screening index; determining whether the codes accord with preset coding rules or not; if yes, the newly added screening index is written into the existing screening index.
Alternatively, the process may be carried out in a single-stage,
in the case that the item to be screened is determined to be the target item, the target item determining module is further configured to: and displaying the information of the target object on the front page.
In order to achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided an article screening method.
The article screening method of the embodiment of the invention comprises the following steps:
receiving at least one target screening index selected from a plurality of screening indexes, and a required value and an operator corresponding to each target screening index;
generating article screening conditions according to the target screening index, the required value and the operator;
acquiring information of a plurality of articles to be screened, and respectively executing the following steps for each article to be screened:
extracting at least one index value corresponding to at least one target screening index one by one from the information of the articles to be screened;
and determining whether the object to be screened meets the object screening condition according to at least one index value so as to determine whether the object to be screened is a target object or a non-target object.
To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided an article screening electronic device.
An article screening electronic device of an embodiment of the present invention includes: one or more processors; and the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the article screening method according to the embodiment of the invention.
To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided a computer-readable storage medium.
A computer-readable storage medium of an embodiment of the present invention has stored thereon a computer program which, when executed by a processor, implements an item screening method of an embodiment of the present invention.
One embodiment of the above invention has the following advantages or benefits: because the screening condition generation process and the target article determination process are mutually separated, the article screening process can be completed by using one set of codes, repeated development is not needed, and the workload of developers is reduced.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered 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.
It should be noted that the embodiments of the present invention and the technical features in the embodiments may be combined with each other without collision.
Fig. 1 is a schematic diagram of main modules of an article screening device according to an embodiment of the present invention.
As shown in fig. 1, an article screening apparatus 100 according to an embodiment of the present invention includes a screening condition generation module 101 and a target article determination module 102, the screening condition generation module 101 and the target article determination module 102 being uncoupled; wherein:
a screening condition generating module 101, configured to receive at least one target screening indicator selected from a plurality of screening indicators, and first arithmetic logic corresponding to each target screening indicator; generating article screening conditions according to the target screening index and the first arithmetic logic, and sending the article screening conditions to the target article determining module;
a target item determination module 102 for receiving item screening conditions; acquiring information of a plurality of articles to be screened, and respectively executing the following steps for each article to be screened: determining an index value of at least one target screening index from information of the articles to be screened; and determining whether the object to be screened meets the object screening condition according to at least one index value so as to determine whether the object to be screened is a target object or a non-target object.
In the embodiment of the invention, the target screening index is selected from a plurality of screening indexes, each screening index is formulated according to a preset coding rule, different screening indexes indicate different concerns of information of the articles to be screened, for example, a good score indicates concerns of quality of the articles to be screened, a near 30-day achievement traffic indicates concerns of sales heat of the articles to be screened, and the like. Therefore, different target screening indexes can be selected from different screening indexes, different article screening conditions are generated, and different target articles are screened out, so that different article screening requirements are better met.
Specifically, as shown in fig. 2, the preset encoding rule for the screening index includes a tag theme, a tag type and an index code, where the tag theme includes a theme of a USER, a commodity and a corresponding field thereof (for example, a field corresponding to the USER is a USER, a field corresponding to the commodity is an ITM), the tag type includes a statistical type, a rule type, an algorithm type and a field corresponding to the algorithm type (01, 02, 03 respectively), and the index code is used for uniquely identifying the screening index and includes a commonly used receiving address, a purchasing power and the like and a field corresponding to the purchasing power (for example, a field corresponding to the commonly used receiving address is 0001, and a field corresponding to the purchasing power is 0002). According to the preset coding rule in fig. 2, a plurality of screening indexes as shown in fig. 3 can be generated, wherein the first column is the index name of the screening index, the second column is the index code of the screening index, the third column is the field description of the screening index, and the fourth column is the reservoir name or table name to which the screening index belongs. For example, the screening index of "good score" is coded as "comm_01_0004", which indicates that the screening index belongs to the subject of "commodity comment", and is a statistical label, and the corresponding information source is the commodity itself. Fig. 4 is a schematic diagram of a filtering index metadata table, where the filtering index metadata table is used to store fields related to each column in fig. 3 and related information thereof, for example, the first column in fig. 3 is "index name" in fig. 4, the corresponding field is a quota_name, and the type of the field is string type.
In the embodiment of the invention, a plurality of screening indexes can be expanded according to the new article screening requirement so as to meet the new article screening requirement. At this time, the screening condition generation module 101 is further configured to: receiving a code corresponding to the newly added screening index; determining whether the codes accord with preset coding rules or not; if yes, the newly added screening index is written into the existing screening index.
For example, if there is a new item screening requirement that involves an index "number of bids" that is not shown in fig. 3, the developer may take the index as a new screening index and encode the new screening index on the front page, and then click the "save" button to save the new screening index "number of bids" to the screening index shown in fig. 3. At this time, the front end may send the code corresponding to the newly added screening index to the back end, and the back end determines whether the code meets the preset coding rule in fig. 2: if so, the newly added screening index 'bid amount' and the codes thereof are written into the existing screening index (i.e. figure 3), if not, the writing can be refused and the prompt about the code error can be displayed on the front page.
In the embodiment of the invention, the first operation logic comprises a required value and an operator corresponding to the target screening index, the required value and the operator are configured by a user, and in the case that the target screening index is a plurality of target screening indexes, the user also needs to configure a second operation logic among the plurality of target screening indexes. At this time, the screening condition generation module 101 is further configured to: receiving a second arithmetic logic between a plurality of target screening indexes; and generating article screening conditions according to the target screening index, the second operation logic, the required value and the operator.
Specifically, the multiple screening indexes in fig. 3 may be displayed on the front-end page, the user selects the target screening index from the multiple screening indexes in fig. 3 according to the article screening requirement, and if the target screening index is multiple, the user needs to configure second operation logic between the multiple target screening indexes on the front-end page, where the second operation logic includes and operation and/or operation. The user also needs to configure a corresponding operator and a required value for each target screening index on the front-end page, wherein the operators comprise greater than, less than or equal to each other. The user completes configuration of the front-end page and sends the configuration result to the back-end, and the back-end generates article screening conditions according to the received configuration result (namely, the target screening indexes, second operation logic among a plurality of target screening indexes, operators and requirement values corresponding to each target screening index configuration).
As can be seen from the above description, since the target screening index is selected by the user and the requirement value and the operator corresponding to the target screening index are configured by the user, if the condition of the selected item changes, the item screening condition corresponding to the changed condition of the selected item can be generated by changing the selected target screening index or by changing the configured requirement value and/or operator, so that the code in the script does not need to be modified by a developer as in the prior art, and the risk of error in script operation caused by modification of the script is reduced.
In an embodiment of the present invention, the item screening conditions may further include: one or more item screening sub-conditions, wherein each item screening sub-condition corresponds to an operation identifier (including a retention identifier or a rejection identifier), and the operation identifier is also configured on a front-end page by a user. At this time, the configuration result that the user completes the configuration of the front-end page and sends the configuration result to the back-end further includes an operation identifier, and the filtering condition generating module 101 is further configured to: receiving operation identifiers corresponding to each article screening sub-condition, wherein the operation identifiers comprise retention identifiers or rejection identifiers; generating an article screening sub-condition according to the target screening index, the second operation logic, the required value, the operator and the operation identifier; item screening conditions are generated based on the one or more item screening sub-conditions.
In the embodiment of the invention, the configuration result of the user is split by the back end according to the preset rule list and the index rule detail list. As shown in fig. 5, the preset rule table is used for recording a field, a field name, a field type, and a value caliber (the value caliber is a value range), for example, the field name of the rule_type field includes 1 retention rule (i.e., a rule whose operation identifier is a retention identifier), 2 rejection rule (i.e., a rule whose operation identifier is a rejection identifier), and 3 other rules (other rules need to be determined for the option method, and are rarely used), the field type is of the int type, and the value caliber is not preset. Fig. 6 is a schematic diagram of a preset index rule list, where the index rule list is used to record the rule ID in fig. 5 and the index codes, index requirement values, index operators, index logic (and logic, or logic) of the corresponding screening indexes. By means of separation of the preset rule list and the index rule detail list, operation identifiers configured by a user can be separated from other contents (required values, operators, second operation logic and the like) configured by the user, so that the contents are not affected, and functional isolation is achieved.
In this embodiment of the present invention, when generating the article screening condition, the screening condition generating module 101 may integrate the configuration result of the user (the operation identifier configured by the user in this case) with the rule table shown in fig. 5 as a main table according to the target screening index, the second operation logic, the required value, the operator, and the operation identifier, and the target screening index, and the code, etc. obtained according to fig. 3 and 4, the required value, the operator, and the second operation logic, etc. obtained according to fig. 6, and write the target screening index, the code, etc. into the main table, so as to generate the article screening condition table shown in fig. 7 (the table is limited in space, fig. 7 is only a part of the content in the example of the article screening condition table), where each row of the article screening condition table is one article screening sub-condition. And the rule integration broad table corresponding to the item screening condition table is shown in fig. 8.
For example, as shown in fig. 7, the rule_id (rule ID as known from fig. 8) of the item screening sub-condition of the first line of fig. 7 is 1; rule_desc (i.e., description of the item screening sub-conditions as seen in fig. 8) is "affordable good target user screening rules-retention rules"; rule_biz_type (known as service type from fig. 8) is 1, which indicates that the service type is crowd; rule_type (operation identifier as known from fig. 8) is 1, which indicates that the operation identifier corresponding to the item screening sub-condition is a retention identifier, and the item screening sub-condition is a retention rule; rule_method (rule method as understood from fig. 8) is 1, illustrating that the item screening sub-condition is crowd-target user defined; exe_cycle (i.e., calculation period as seen in fig. 8) is m, which indicates the calculation period of the item screening sub-condition in months; rule_method_flag (as can be seen from fig. 8, i.e., marking type) is 1, indicating that the item screening sub-condition acts on the screening index; the quota_id (i.e., the index code of the screening index as seen in fig. 8) is u_01_0001, and the screening index in the item screening sub-condition is "user common receiving ground level" as seen in fig. 3 and 4.
In an embodiment of the present invention, the target item determination module 102 is further configured to: judging whether the index value corresponding to each target screening index meets the requirement value and the operator corresponding to the target screening index or not according to at least one target screening index, and obtaining at least one judging result; under the condition that the judging result is one, determining whether the object to be screened meets the object screening sub-condition according to the judging result; and under the condition that the judging results are multiple, determining whether the articles to be screened meet the article screening sub-conditions according to the judging results and the second operation logic.
In the embodiment of the present invention, the target article determining module 102 may obtain the information of the plurality of articles to be screened according to the preset merchandise tag width table as shown in fig. 9. The information of the articles to be screened obtained at this time is the information corresponding to the preset commodity label in fig. 9.
In an embodiment of the present invention, the target item determination module 102 is further configured to: for each article to be screened, determining an index value of at least one target screening index from information of the article to be screened. Specifically, after the information of the plurality of articles to be screened is obtained, the index VALUEs can be matched in a KEY-VALUE format aiming at the target screening index in the article screening condition, wherein KEY is the target screening index, and VALUE is the index VALUE corresponding to the target screening index.
In the embodiment of the present invention, after determining, for each item to be screened, the target item determining module 102 determines the index value of at least one target screening index from the information of the item to be screened, a table "item to be screened+target screening index+index value" including a plurality of items to be screened, where each item to be screened corresponds to at least one target screening index, and each target screening index corresponding to each item to be screened has an index value is obtained. In a preferred embodiment of the present invention, the target item determination module 102 may be further configured to: performing row-by-row operation on the table of the to-be-screened object, the target screening index and the index value by using the following statement:
LATERAL VIEW EXPLODE(SPLIT(KEY-VALUE,’,’))
in an embodiment of the present invention, the target item determination module 102 is further configured to: the item screening condition table shown in fig. 7 is associated with the "item to be screened+target screening index+index value" table using the following index codes:
T1.QUOTA_ID=T3.DATA_QUOTA_ID
in an embodiment of the present invention, after associating the item screening condition table with the "item to be screened+target screening index+index value" table, the target item determination module 102 may be further configured to: dividing the article screening sub-conditions in the article screening condition table into two branches according to second operation logic (AND logic or OR logic), then determining whether the index value in the table of 'article to be screened + target screening index + index value' meets the first operation logic (namely the operator and the requirement value) corresponding to the corresponding target screening index in the article screening condition table, and marking. If the article screening sub-condition is AND logic, marking as 0 when the index value meets the first operation logic, and if the article screening sub-condition is OR logic, marking as 1 when the index value meets the first operation logic, thereby obtaining an identifier (0 or 1) corresponding to each target screening index corresponding to the article to be screened.
After the identifier corresponding to each target screening index corresponding to each article to be screened is obtained, whether the article to be screened meets the article screening sub-condition or not can be determined according to the identifier corresponding to each target screening index corresponding to each article to be screened. Specifically, if the item screening sub-condition is AND logic, the summary value of the identifiers is equal to 0, which indicates that the item screening sub-condition is met, and is greater than 0, which indicates that the item screening sub-condition is not met; if the item screening sub-condition is OR logic, the identified aggregate value equal to 0 indicates that the item screening sub-condition is not satisfied, and a value greater than 0 indicates that the item screening sub-condition is satisfied.
In an embodiment of the present invention, the target item determination module 102 is further configured to: under the condition that the to-be-screened object meets the object screening sub-condition, determining an operation identifier corresponding to the object screening sub-condition; and determining the object to be screened as a target object or a non-target object according to the operation identification.
In the embodiment of the present invention, in the case where the item screening condition includes a plurality of item screening sub-conditions, another item screening apparatus is shown in fig. 10, wherein the target item determining module 102 further includes: an operation identification determination unit 1021, a first article determination unit 1022, a second article determination unit 1023, and a third article determination unit 1024; wherein:
An operation identifier determining unit 1021 for determining operation identifiers corresponding to the plurality of item screening sub-conditions;
a first article determining unit 1022, configured to determine, when operation identifiers corresponding to the plurality of article screening sub-conditions are all retention identifiers, an article to be screened that meets the plurality of article screening sub-conditions as a target article;
a second article determining unit 1023, configured to determine that an article to be screened that satisfies the plurality of article screening sub-conditions is a non-target article, if operation identifiers corresponding to the plurality of article screening sub-conditions are all rejection identifiers;
and a third article determining unit 1024, configured to determine, when there are both the retention identifier and the rejection identifier in the operation identifiers corresponding to the plurality of article screening sub-conditions, that the article to be screened that satisfies one or more article screening sub-conditions corresponding to the retention identifier and does not satisfy one or more article screening sub-conditions corresponding to the rejection identifier is the target article.
In the embodiment of the present invention, in the case that the item to be screened is determined to be the target item, the target item determining module 102 is further configured to: and displaying the information of the target object on the front page.
According to the article screening device, the device comprises a screening condition generating module and a target article determining module, wherein the screening condition generating module and the target article determining module are not coupled: the screening condition generation module is used for receiving the target screening index and the corresponding first operation logic thereof, and further generating article screening conditions; the object article determining module is used for receiving article screening conditions and determining whether the article to be screened meets the article screening conditions or not according to each article to be screened so as to determine whether the article to be screened is an object article or a non-object article. Because the screening condition generation process and the target article determination process are mutually separated, the article screening process can be completed by using one set of codes, repeated development is not needed, and the workload of developers is reduced.
Fig. 11 is a schematic diagram of main steps of an item screening method according to an embodiment of the present invention.
As shown in fig. 11, the method for screening articles according to the embodiment of the present invention mainly includes the following steps:
step S1101: receiving at least one target screening index selected from a plurality of screening indexes, and a required value and an operator corresponding to each target screening index;
step S1102: generating article screening conditions according to the target screening index, the required value and the operator;
step S1103: acquiring information of a plurality of articles to be screened, and executing steps 1104-1105 for each article to be screened respectively;
step S1104: extracting at least one index value corresponding to at least one target screening index one by one from the information of the articles to be screened;
step S1105: and determining whether the object to be screened meets the object screening condition according to at least one index value so as to determine whether the object to be screened is a target object or a non-target object.
In the embodiment of the invention, the first operation logic comprises a required value and an operator corresponding to the target screening index; in the case where the target screening index is plural, step S1102 further includes: receiving a second arithmetic logic between a plurality of target screening indexes; and generating article screening conditions according to the target screening index, the second operation logic, the required value and the operator.
In an embodiment of the present invention, the item screening conditions include: one or more item screening sub-conditions; step S1102 further includes: receiving operation identifiers corresponding to each article screening sub-condition, wherein the operation identifiers comprise retention identifiers or rejection identifiers; generating an article screening sub-condition according to the target screening index, the second operation logic, the required value, the operator and the operation identifier; item screening conditions are generated based on the one or more item screening sub-conditions.
In an embodiment of the present invention, step S1105 further includes: judging whether the index value corresponding to each target screening index meets the requirement value and the operator corresponding to the target screening index or not according to at least one target screening index, and obtaining at least one judging result; under the condition that the judging result is one, determining whether the object to be screened meets the object screening sub-condition according to the judging result; and under the condition that the judging results are multiple, determining whether the articles to be screened meet the article screening sub-conditions according to the judging results and the second operation logic.
In an embodiment of the present invention, step S1105 further includes: under the condition that the to-be-screened object meets the object screening sub-condition, determining an operation identifier corresponding to the object screening sub-condition; and determining the object to be screened as a target object or a non-target object according to the operation identification.
In the embodiment of the present invention, in the case where the item screening condition includes a plurality of item screening sub-conditions, the specific implementation process of step S1105 is as shown in fig. 12, and mainly includes the following steps:
step S1201: determining operation identifiers corresponding to a plurality of article screening sub-conditions;
step S1202: under the condition that operation identifiers corresponding to the article screening sub-conditions are all retention identifiers, determining the articles to be screened meeting the article screening sub-conditions as target articles;
step S1203: under the condition that operation identifiers corresponding to the article screening sub-conditions are eliminating identifiers, determining the articles to be screened meeting the article screening sub-conditions to be non-target articles;
step S1204: under the condition that operation identifiers corresponding to the article screening sub-conditions have both retention identifiers and rejection identifiers, determining articles to be screened which meet one or more article screening sub-conditions corresponding to the retention identifiers and do not meet one or more article screening sub-conditions corresponding to the rejection identifiers as target articles.
In an embodiment of the present invention, before step S1101, the method may further include: receiving a code corresponding to the newly added screening index; determining whether the codes accord with preset coding rules or not; if yes, the newly added screening index is written into the existing screening index.
In the embodiment of the present invention, in the case that it is determined that the to-be-screened item is the target item, after step S1105, the method may further include: and displaying the information of the target object on the front page.
According to the article screening method provided by the embodiment of the invention, the screening condition generation process and the target article determination process are mutually separated, so that the article screening process can be completed by using one set of codes, repeated development is not needed, and the workload of developers is reduced.
Fig. 13 illustrates an exemplary system architecture 1300 to which an item screening method or an item screening method of embodiments of the present invention may be applied.
As shown in fig. 13, system architecture 1300 may include terminal devices 1301, 1302, 1303, a network 1304, and an electronic device 1305. The network 1304 is used as a medium to provide communication links between the terminal devices 1301, 1302, 1303 and the electronic device 1305. The network 1304 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, among others.
A user may interact with the electronic device 1305 through the network 1304 using the terminal devices 1301, 1302, 1303 to receive or send messages, etc. Various communication client applications, such as item screening platform software, shopping applications, etc., may be installed on the terminal devices 1301, 1302, 1303.
The terminal devices 1301, 1302, 1303 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The electronic device 1305 may be a server providing various services, such as a background management server providing support for item screening platform software browsed by the user using the terminal devices 1301, 1302, 1303. The background management server may analyze and process the received data such as the item screening condition, and feed back the processing result (for example, information of the target item) to the terminal device.
It should be noted that, in the embodiment of the present invention, an article screening method is generally executed by the electronic device 1305, and accordingly, an article screening apparatus is generally disposed in the electronic device 1305.
It should be understood that the number of terminal devices, networks and electronic devices in fig. 13 is merely illustrative. There may be any number of terminal devices, networks, and electronic devices, as desired for implementation.
Referring now to FIG. 14, there is illustrated a schematic diagram of a computer system 1400 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 14 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 14, the computer system 1400 includes a Central Processing Unit (CPU) 1401, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1402 or a program loaded from a storage section 1408 into a Random Access Memory (RAM) 1403. In the RAM 1403, various programs and data required for the operation of the system 1400 are also stored. The CPU 1401, ROM 1402, and RAM 1403 are connected to each other through a bus 1404. An input/output (I/O) interface 1405 is also connected to the bus 1404.
The following components are connected to the I/O interface 1405: an input section 1406 including a keyboard, a mouse, and the like; an output portion 1407 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 1408 including a hard disk or the like; and a communication section 1409 including a network interface card such as a LAN card, a modem, and the like. The communication section 1409 performs communication processing via a network such as the internet. The drive 1410 is also connected to the I/O interface 1405 as needed. Removable media 1411, such as magnetic disks, optical disks, magneto-optical disks, semiconductor memory, and the like, is installed as needed on drive 1410 so that a computer program read therefrom is installed as needed into storage portion 1408.
In particular, according to embodiments of the present disclosure, the processes described above with reference to 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 shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication portion 1409 and/or installed from the removable medium 1411. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 1401.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 context of this document, 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, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 flowcharts 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 involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: a processor includes a screening condition generation module and a target item determination module. The names of these modules do not constitute limitations on the module itself in some cases, and for example, the screening condition generation module may also be described as "a module that generates item screening conditions".
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 present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include: receiving at least one target screening index selected from a plurality of screening indexes, and a required value and an operator corresponding to each target screening index; generating article screening conditions according to the target screening index, the required value and the operator; acquiring information of a plurality of articles to be screened, and respectively executing the following steps for each article to be screened: extracting at least one index value corresponding to at least one target screening index one by one from the information of the articles to be screened; and determining whether the object to be screened meets the object screening condition according to at least one index value so as to determine whether the object to be screened is a target object or a non-target object.
According to the technical scheme provided by the embodiment of the invention, the screening condition generation process and the target object determination process are mutually separated, so that the object screening process can be completed by using one set of codes, repeated development is not needed, and the workload of developers is reduced.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.