CN116128605A - Method and device for maintaining similar commodities and electronic equipment - Google Patents

Method and device for maintaining similar commodities and electronic equipment Download PDF

Info

Publication number
CN116128605A
CN116128605A CN202310134135.6A CN202310134135A CN116128605A CN 116128605 A CN116128605 A CN 116128605A CN 202310134135 A CN202310134135 A CN 202310134135A CN 116128605 A CN116128605 A CN 116128605A
Authority
CN
China
Prior art keywords
commodity
similar
target
commodities
same
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310134135.6A
Other languages
Chinese (zh)
Inventor
高飞
程红远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Shangyue Network Technology Co ltd
Original Assignee
Beijing Shangyue Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Shangyue Network Technology Co ltd filed Critical Beijing Shangyue Network Technology Co ltd
Priority to CN202310134135.6A priority Critical patent/CN116128605A/en
Publication of CN116128605A publication Critical patent/CN116128605A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0605Supply or demand aggregation

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a method, a device and electronic equipment for maintaining similar commodities, which comprise the following steps: determining similar commodity sets corresponding to the commodities respectively according to the first condition; identifying the same commodity in the plurality of commodities by a first means; determining a target commodity and at least one same commodity identified as the target commodity; combining the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a target similar commodity set; and combining the similar commodity sets corresponding to the commodities into the target similar commodity set aiming at the commodities in the target similar commodity set. The method and the device can better identify similar commodities and update the similar commodity set with high performance, realize more accurate commodity similar set recommendation, and improve the efficiency and experience of user operation.

Description

Method and device for maintaining similar commodities and electronic equipment
Technical Field
The present invention relates to the field of image processing for commodity recommendation, and in particular, to a method, an apparatus, and an electronic device for maintaining similar commodities.
Background
At present, classification and recommendation of similar commodities are performed based on a similar commodity set corresponding to the directly calculated commodity, and the user selects the commodity which is needed or desired by the user by showing the similar commodity set of a certain commodity to the user; the existing method does not consider that a plurality of commodities are possibly the same commodity, does not need intervention of a user, and does not consider that similar commodities are the same commodity through identification of the user, so that a similar commodity set corresponding to related commodities is updated; therefore, the similar commodity recommending method which does not consider the intervention of the user cannot accurately and efficiently update the similar commodity set completely, and further more suitable commodities are recommended.
In order to solve the above problems, the present invention proposes a method for maintaining similar goods.
Disclosure of Invention
In view of this, the embodiments of the present invention provide a method, an apparatus, and an electronic device for maintaining similar commodities, which can provide a method, an apparatus, and an electronic device for updating a similar commodity set of a commodity after a user manually identifies that a certain commodity is the same as other commodities, so as to better identify similar commodities and update the similar commodity set with high performance, achieve more accurate recommendation of the similar commodity set, and improve efficiency and experience of user operation.
In a first aspect, embodiments of the present invention provide a method of maintaining similar merchandise, comprising:
determining similar commodity sets corresponding to the commodities respectively according to the first condition;
identifying the same commodity in the plurality of commodities by a first means;
determining a target commodity and at least one same commodity identified as the target commodity;
combining the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a target similar commodity set;
and combining the similar commodity sets corresponding to the commodities into the target similar commodity set aiming at the commodities in the target similar commodity set.
According to a specific implementation manner of the embodiment of the present invention, the merging the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain the target similar commodity set includes:
combining the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a first similar commodity set;
and deleting the target commodity and the at least one same commodity in the first similar commodity set to obtain the target similar commodity set.
According to a specific implementation manner of the embodiment of the present invention, the merging the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a first similar commodity set includes:
and merging all the commodities in the similar commodity set corresponding to the at least one same commodity into the last commodity in the similar commodity set corresponding to the target commodity in sequence to obtain a first similar commodity set.
According to a specific implementation manner of the embodiment of the present invention, for each commodity in the target similar commodity set, merging the similar commodity set corresponding to each commodity into the target similar commodity set includes:
traversing each commodity in the target similar commodity set, and sequentially combining the similar commodity sets corresponding to each commodity into the target similar commodity set until all commodities in the target similar commodity set are traversed;
wherein all the commodities comprise commodities which are sequentially combined into the target similar commodity set in the traversal process.
According to a specific implementation manner of the embodiment of the present invention, traversing each commodity in the target similar commodity set, and sequentially merging the similar commodity sets corresponding to each commodity into the target similar commodity set until all commodities in the target similar commodity set are traversed, including:
traversing each commodity in the target similar commodity set, combining each commodity in the similar commodity set corresponding to each commodity in sequence, and after the last commodity in the target similar commodity set until all commodities in the target similar commodity set are traversed.
According to a specific implementation of an embodiment of the present invention, the first condition includes one or more of the following:
the name of the commodity;
attributes of the commodity;
a bar code of the commodity;
pictures of the merchandise.
According to a specific implementation manner of the embodiment of the present invention, the first manner is a manner specified by a user.
In a second aspect, embodiments of the present invention provide an apparatus for maintaining similar merchandise, comprising:
the determining module is used for determining similar commodity sets corresponding to the commodities respectively according to the first condition;
the identification module is used for identifying the same commodity in the plurality of commodities in a first mode;
the merging module is used for determining a target commodity and at least one same commodity which is identified as being the same as the target commodity; combining the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a target similar commodity set;
and the traversing module is used for combining the similar commodity sets corresponding to the commodities into the target similar commodity set aiming at the commodities in the target similar commodity set.
In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of the preceding embodiments when executing the computer program.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing one or more programs executable by one or more processors to implement the method of any of the preceding embodiments.
The embodiment of the invention provides a method, a device and electronic equipment for maintaining similar commodities, which can solve the problem that the existing commodity similar set is not comprehensive and accurate enough, and update the similar commodity set of a commodity after a user manually marks that a certain commodity is the same commodity as other commodities so as to better identify the similar commodity and update the similar commodity set with high performance.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of maintaining similar merchandise in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart of a method of maintaining similar merchandise in accordance with another embodiment of the present invention;
FIG. 3 is a schematic diagram of a method of loop lookup according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an apparatus for maintaining similar merchandise in accordance with an embodiment of the invention;
fig. 5 is a schematic structural diagram of an embodiment of the electronic device of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
According to the method for maintaining similar commodities, provided by the embodiment, two similar commodities are confirmed to be the same type of commodities according to feedback of a user, and then similar sets of the two similar commodities are combined and updated, so that the same type of commodities can be identified and the similar commodities can be identified more accurately, and the operation efficiency and experience of the user are improved.
FIG. 1 is a flow chart of a method for maintaining similar merchandise according to an embodiment of the invention; as shown in fig. 1, the method of the present embodiment may include:
step 101, determining similar commodity sets corresponding to a plurality of commodities respectively according to a first condition;
102, identifying the same commodity in the plurality of commodities in a first mode;
step 103, determining a target commodity and at least one same commodity identified as being the same as the target commodity;
104, merging the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a target similar commodity set;
step 105, combining the similar commodity sets corresponding to the commodities in the target similar commodity set into the target similar commodity set.
In this embodiment, step 101, determining a similar commodity set corresponding to each of a plurality of commodities according to a first condition;
wherein each of the plurality of commodities corresponds to a set of similar commodities;
the first condition may specifically be, for example, determining a set of similar commodities corresponding to each commodity according to one or a combination of information such as a name, an attribute, a picture, a bar code and the like of each commodity;
specifically, the commodities with the same or similar names can be classified into a similar commodity set corresponding to a certain commodity; for example, to determine a similar set of items of merchandise a may be determined by determining the same or similar items as the name of merchandise a, if the name of merchandise B, X, Y is the same or similar to the name of merchandise a, then it may be determined that the similar set of items of merchandise a is [ B, X, Y ].
In the above example, only one condition of the names of the commodities is used, similarly, a plurality of conditions may be used together to determine that, for example, the two conditions of the names and the attributes may be used simultaneously to determine that the similar commodity combination of the commodity a is [ B, X, Y ], the similar commodity combination of the commodity a is determined by the names, the similar commodity combination of the commodity a is determined by the attributes to be [ C, X, Y ], and then the two similar commodity combinations respectively determined [ B, X, Y ] and [ C, X, Y ] are combined, so that the similar commodity combination of the commodity a is obtained to be [ B, X, Y, C ].
In a specific calculation process, different weight values can be given to the properties, names and the like of the commodities, so that different application scenes and the like can be adapted, and personalized requirements are realized.
It should be noted that, the above determination of the set of similar commodities corresponding to each commodity according to one or a combination of information such as the name and the attribute of each commodity is exemplary, and those skilled in the art may determine specific screening conditions according to actual application scenarios or requirements.
In this embodiment, step 102, identifying the same commodity in the plurality of commodities in a first manner;
specifically, the same commodity in the plurality of commodities is identified through the first mode, two similar commodities are confirmed to be the same commodity, and then similar sets of the two similar commodities are combined and updated, so that the same commodity can be identified and the similar commodity can be identified more accurately, and the operation efficiency and experience of a user are improved.
Illustratively, the first mode includes a user-specified mode;
specifically, the user may specify a manner in which a plurality of commodities similar to or related to a certain commodity are displayed to the user, and the user may determine at least one commodity identical to the certain commodity from the displayed plurality of commodities through interaction.
In this way, other items identical to each item can be precisely determined by obtaining user feedback, which is considered in the prior art.
In this embodiment, step 103, determining a target commodity and at least one same commodity identified as being the same as the target commodity;
specifically, according to actual demands, one commodity is selected as a target commodity, and at least one identical commodity identical to the target commodity is determined, wherein the at least one identical commodity is determined based on user interaction.
In this embodiment, step 104, merging the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a target similar commodity set;
specifically, combining the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a first similar commodity set; the target commodity and the at least one identical commodity in the first similar commodity set are repeated identical commodities, so further, the target commodity and the at least one identical commodity in the first similar commodity set can be deleted to obtain the target similar commodity set.
Illustratively, merging the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a first similar commodity set may specifically include:
sequentially combining all the commodities in the similar commodity sets corresponding to the at least one same commodity to the last commodity in the similar commodity set corresponding to the target commodity to obtain a first similar commodity set;
for example, the set of similar commodities for commodity A is [ B, X, Y ], the set of similar commodities for commodity C is [ A, M, N ], it is determined that commodity A is the same commodity as commodity B, and a first set of similar commodities is obtained after combining [ B, X, Y, A, M, N ].
In this embodiment, step 105, for each commodity in the target similar commodity set, the similar commodity set corresponding to each commodity is combined into the target similar commodity set.
Specifically, each commodity in the target similar commodity set can be traversed, and similar commodity sets corresponding to each commodity are combined to the target similar commodity set in sequence until all commodities in the target similar commodity set are traversed;
and all the commodities comprise commodities which are sequentially combined into the target similar commodity set in the traversal process.
And traversing each commodity in the target similar commodity set, combining each commodity in the similar commodity set corresponding to each commodity in turn after the last commodity in the target similar commodity set until all commodities in the target similar commodity set are traversed.
In the embodiment, the confirmation information of the same commodity is obtained through user feedback, and the two similar commodities are confirmed to be the same commodity, so that the similar sets of the two similar commodities are combined and updated, and the same commodity can be identified and the similar commodity can be identified more accurately; in addition, the influence of each commodity in the combined similar commodity set is fully considered, and similar commodity combination is expanded again, so that accuracy can be further improved, and operation efficiency and experience of a user are improved.
FIG. 2 is a flow chart of a method of maintaining similar merchandise in accordance with another embodiment of the present invention; as shown in fig. 2, the method of the present embodiment may include four steps, where each may be summarized as: generating a similar commodity set, identifying the same commodity, merging the similar commodity sets and circularly searching; the method of maintaining similar merchandise of FIG. 2 is described in detail below:
generation of a set of similar commodities:
step 201: and searching a similar commodity set of each commodity according to the name, the attribute, the picture and other information of the commodity.
Specifically, information such as names, attributes, bar codes, pictures and the like of the commodities can be comprehensively considered, different weights are given, and similar commodity sets of the commodities are calculated by combining a TF-I DF algorithm.
For example, by correlation calculations it can be determined that:
the similar commodity set for commodity a is [ B, X, Y ];
the similar commodity set for commodity B is [ A, Z, W ];
the similar commodity set for commodity X is [ M, N ];
the similar commodity set for commodity M is [ F, G ].
Identity of the same article:
step 202: when a certain commodity is displayed, the similar commodity is displayed together, and the user identifies that the commodity and another commodity in the similar commodity set are the same commodity through interaction.
Specifically, when a certain commodity is displayed to a user, other multiple commodities similar to the certain commodity are displayed to the user at the same time, and the user can identify that the certain commodity and another commodity in the similar commodity set are the same commodity, namely the same commodity through interaction.
In an exemplary embodiment, when a certain commodity is displayed on the interactive page, other similar commodities are displayed together, and the user interactive interface is provided for the user to identify that the certain commodity and another commodity in the similar commodity set are the same commodity through a certain interactive operation.
For example: a total of 3 products were shown, which we individually refer to as A, B, C. Wherein B and C form a similar commodity set of a, and at the same time, we can click the "confirm same money" button (here, confirmation can be performed by other interaction methods, for example) in the commodity introduction page corresponding to B and C to identify that B or C is the same commodity of a (i.e. is identical to a).
Merging similar commodity sets:
step 203: and merging the respective similar commodity sets of the two identical commodities identified by the user, removing the identified two identical commodities from the merged set, and obtaining a similar commodity set of which the set is the commodity.
Continuing with the example in step 201, the similar commodity set for commodity A is [ B, X, Y ], and the similar commodity set for commodity B is [ A, Z, W ]. If the user identifies that commodity A and commodity B are the same type of commodity, combining the two sets to obtain [ A, B, X, Y, Z, W ], and then removing the commodities A and B to obtain a set [ X, Y, Z, W ] serving as a similar commodity set of commodity A/B.
And (3) cyclic searching:
step 204: and continuously traversing each commodity in the obtained similar commodity sets, adding the similar commodity sets of each commodity into the sets, and traversing the newly added commodity until all the commodities in the sets are traversed in the traversing process, wherein the finally obtained commodity sets are similar commodity sets of the two identified commodities.
Also taking the above example as an example, each commodity in the similar commodity set [ X, Y, Z, W ] of A/B is traversed.
First, for X, X is found to be a similar commodity set [ M, N ], and then it is added to the set to obtain [ X, Y, Z, W, M, N ].
Then for Y, Z, W, it was found that there was no similar commodity, and no treatment was done.
Then the set of similar commodities for M, M is [ F, G ], which is then added to the set described above to yield [ X, Y, Z, W, M, N, F, G ].
Then for N, F, G, it is found that it has no similar commodity, and no treatment is performed.
All the commodities in the set are processed, so the final set [ X, Y, Z, W, M, N, F, G ] is the similar commodity set of A/B.
According to the embodiment, after a user manually identifies that a certain commodity is the same commodity as other commodities, the similar commodity set of the commodity is updated so as to better identify the similar commodity and update the similar commodity set with high performance, therefore, the two similar commodities can be confirmed to be the same type of commodity according to feedback of the user, and then the similar sets of the two similar commodities are combined and updated, so that the identification of the same type of commodity and the identification of the similar commodity can be more accurate, and the operation efficiency and experience of the user are improved.
FIG. 3 is a schematic diagram of a method of loop lookup according to an embodiment of the present invention; as shown in fig. 3, the method for completing the loop search according to the embodiment of the method shown in fig. 2 is as follows:
firstly, positioning to a position 1 in a merging set, and supposing that the merging set is H;
judging whether the position 1 exceeds the length of the merging set H, if so, ending the flow; if not, acquiring commodities with corresponding position values in the combined set H;
acquiring a similar commodity set of the commodity, and sequentially placing similar commodities into the tail part of the merging set H;
and finally, adding 1 to the position value, judging whether the position value exceeds the length of the merging set H again, and sequentially and circularly searching until the searching of the commodities in all the merging sets is completed.
FIG. 4 is a schematic diagram of an apparatus for maintaining similar merchandise in accordance with an embodiment of the invention; as shown in fig. 4, the apparatus of this embodiment may include: a determining module 11, an identifying module 12, a merging module 13 and a traversing module 14; wherein:
the determining module is used for determining similar commodity sets corresponding to the commodities respectively according to the first condition;
the identification module is used for identifying the same commodity in the plurality of commodities in a first mode;
the merging module is used for determining a target commodity and at least one same commodity which is identified as being the same as the target commodity; combining the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a target similar commodity set;
and the traversing module is used for combining the similar commodity sets corresponding to the commodities into the target similar commodity set aiming at the commodities in the target similar commodity set.
The device of the present embodiment may be used to implement the technical solution of the method embodiment shown in fig. 1 or fig. 2, and its implementation principle and technical effects are similar, and are not described herein again.
Based on the same inventive concept, the invention also discloses an electronic device corresponding to the method of any embodiment;
specifically, fig. 5 shows a schematic hardware structure of an electronic device for maintaining similar commodities according to the present embodiment, where the device may include: processor 510, memory 520, input/output interface 530, communication interface 540, and bus 550. Wherein processor 510, memory 520, input/output interface 530, and communication interface 540 enable communication connections among each other within the device via bus 550.
The processor 510 may be implemented by a general-purpose CPU (Centra l Process I ng Un it ), a microprocessor, an application specific integrated circuit (App l I cat I on Spec I f I C I ntegrated Ci rcu I t, AS ic), or one or more integrated circuits, etc., for executing relevant programs to implement the technical solutions provided by the embodiments of the present invention.
The memory 520 may be implemented in the form of ROM (Read On l y Memory ), RAM (Random Access Memory, random access memory), static storage devices, dynamic storage devices, or the like. Memory 520 may store an operating system and other application programs, and when the embodiments of the present invention are implemented in software or firmware, the associated program code is stored in memory 520 and executed by processor 510.
The input/output interface 530 is used for connecting with an input/output module to realize information input and output. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide corresponding functionality. Wherein the input devices may include a keyboard, mouse, touch screen, microphone, various types of sensors, etc., and the output devices may include a display, speaker, vibrator, indicator lights, etc.
The communication interface 540 is used to connect with a communication module (not shown in the figure) to enable communication interaction between the present device and other devices. Wherein the communication module may implement communication through wired means (e.g., USB, network cable, etc.), or may implement communication through wireless means (e.g., mobile network, WI F I, bluetooth, etc.).
Bus 550 includes a path to transfer information between elements of the device (e.g., processor 510, memory 520, input/output interface 530, and communication interface 540).
It should be noted that although the above device only shows the processor 510, the memory 520, the input/output interface 530, the communication interface 540, and the bus 550, in the implementation, the device may further include other components necessary for achieving normal operation. Furthermore, it will be understood by those skilled in the art that the above-described apparatus may include only the components necessary for implementing the embodiments of the present invention, and not all the components shown in the drawings.
The electronic device of the foregoing embodiment is configured to implement the corresponding method for maintaining similar goods in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which is not described herein.
Based on the same inventive concept, one or more embodiments of the present invention also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method of maintaining similar goods as described in any of the embodiments above, corresponding to the method of any of the embodiments above.
The computer readable media of the present embodiments, including both permanent and non-permanent, removable and non-removable media, may be used to implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device.
The storage medium of the foregoing embodiments stores computer instructions for causing the computer to perform the method for maintaining similar goods as in any of the foregoing embodiments, and has the advantages of the corresponding method embodiments, which are not described herein.
Those of ordinary skill in the art will appreciate that: the discussion of any of the embodiments above is merely exemplary and is not intended to suggest that the scope of the invention (including the claims) is limited to these examples; combinations of features of the above embodiments or in different embodiments are also possible within the spirit of the invention, steps may be implemented in any order and there are many other variations of the different aspects of one or more embodiments of the invention described above which are not provided in detail for the sake of brevity.
Additionally, well-known power/ground connections to integrated circuit (I C) chips and other components may or may not be shown within the provided figures, in order to simplify the illustration and discussion, and so as not to obscure one or more embodiments of the present invention. Furthermore, the apparatus may be shown in block diagram form in order to avoid obscuring the embodiment(s) of the present invention, and also in view of the fact that specifics with respect to implementation of such block diagram apparatus are highly dependent upon the platform on which the embodiment(s) of the present invention are to be implemented (i.e., such specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the invention, it should be apparent to one skilled in the art that one or more embodiments of the invention can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative in nature and not as restrictive.
While the invention has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of those embodiments will be apparent to those skilled in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
The present invention is intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Accordingly, any omissions, modifications, equivalents, improvements and others which are within the spirit and principle of the one or more embodiments of the invention are intended to be included within the scope of the invention.

Claims (10)

1. A method of maintaining similar merchandise, comprising:
determining similar commodity sets corresponding to the commodities respectively according to the first condition;
identifying the same commodity in the plurality of commodities by a first means;
determining a target commodity and at least one same commodity identified as the target commodity;
combining the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a target similar commodity set;
and combining the similar commodity sets corresponding to the commodities into the target similar commodity set aiming at the commodities in the target similar commodity set.
2. The method for maintaining similar items according to claim 1, wherein the merging the set of similar items corresponding to the target item with the set of similar items corresponding to the at least one identical item to obtain the set of target similar items comprises:
combining the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a first similar commodity set;
and deleting the target commodity and the at least one same commodity in the first similar commodity set to obtain the target similar commodity set.
3. The method for maintaining similar items according to claim 2, wherein the merging the set of similar items corresponding to the target item with the set of similar items corresponding to the at least one identical item to obtain a first set of similar items comprises:
and merging all the commodities in the similar commodity set corresponding to the at least one same commodity into the last commodity in the similar commodity set corresponding to the target commodity in sequence to obtain a first similar commodity set.
4. The method of maintaining similar items according to claim 1, wherein, for each item in the target similar item set, merging the similar item set corresponding to the each item into the target similar item set includes:
traversing each commodity in the target similar commodity set, and sequentially combining the similar commodity sets corresponding to each commodity into the target similar commodity set until all commodities in the target similar commodity set are traversed;
wherein all the commodities comprise commodities which are sequentially combined into the target similar commodity set in the traversal process.
5. The method of maintaining similar items according to claim 4, wherein traversing each item in the set of target similar items sequentially merges the set of similar items corresponding to each item into the set of target similar items until all items in the set of target similar items are traversed, comprising:
traversing each commodity in the target similar commodity set, combining each commodity in the similar commodity set corresponding to each commodity in sequence, and after the last commodity in the target similar commodity set until all commodities in the target similar commodity set are traversed.
6. The method of maintaining similar merchandise according to claim 1, wherein said first condition comprises one or more of:
the name of the commodity;
attributes of the commodity;
a bar code of the commodity;
pictures of the merchandise.
7. The method of maintaining similar merchandise according to claim 1, wherein said first mode comprises: a user-specified manner.
8. An apparatus for maintaining similar merchandise, comprising:
the determining module is used for determining similar commodity sets corresponding to the commodities respectively according to the first condition;
the identification module is used for identifying the same commodity in the plurality of commodities in a first mode;
the merging module is used for determining a target commodity and at least one same commodity which is identified as being the same as the target commodity; combining the similar commodity set corresponding to the target commodity with the similar commodity set corresponding to the at least one same commodity to obtain a target similar commodity set;
and the traversing module is used for combining the similar commodity sets corresponding to the commodities into the target similar commodity set aiming at the commodities in the target similar commodity set.
9. An electronic device, the electronic device comprising: memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium storing one or more programs executable by one or more processors to implement the method of any of the preceding claims 1 to 7.
CN202310134135.6A 2023-02-09 2023-02-09 Method and device for maintaining similar commodities and electronic equipment Pending CN116128605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310134135.6A CN116128605A (en) 2023-02-09 2023-02-09 Method and device for maintaining similar commodities and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310134135.6A CN116128605A (en) 2023-02-09 2023-02-09 Method and device for maintaining similar commodities and electronic equipment

Publications (1)

Publication Number Publication Date
CN116128605A true CN116128605A (en) 2023-05-16

Family

ID=86302653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310134135.6A Pending CN116128605A (en) 2023-02-09 2023-02-09 Method and device for maintaining similar commodities and electronic equipment

Country Status (1)

Country Link
CN (1) CN116128605A (en)

Similar Documents

Publication Publication Date Title
US11367044B2 (en) Method and apparatus for outputting storage position information
CN109214421B (en) Model training method and device and computer equipment
TW202036356A (en) Gradient boosting decision tree-based method and device for model training
CN110008973B (en) Model training method, method and device for determining target user based on model
CN111414166B (en) Code generation method, device, equipment and storage medium
US10394907B2 (en) Filtering data objects
CN111079944B (en) Transfer learning model interpretation realization method and device, electronic equipment and storage medium
CN108829854B (en) Method, apparatus, device and computer-readable storage medium for generating article
CN112291374A (en) Method and device for acquiring characteristics of Internet of things equipment
CN110347887B (en) Method and device for acquiring time sequence data of service scene
CN116881515B (en) Method and electronic equipment for comparing capacitance results solved by different algorithms
CN111612158B (en) Model deployment method, device, equipment and storage medium
CN113515717A (en) Navigation page updating method and device, electronic equipment and storage medium
CN111798263A (en) Transaction trend prediction method and device
CN116128605A (en) Method and device for maintaining similar commodities and electronic equipment
US10372694B2 (en) Structured information differentiation in naming
CN112419078A (en) Product recommendation method and device and electronic equipment
CN113641785A (en) Multi-dimension-based scientific and technological resource similar word retrieval method and electronic equipment
CN110110199B (en) Information output method and device
CN111784377A (en) Method and apparatus for generating information
CN110782287A (en) Entity similarity calculation method and device, article recommendation system, medium and equipment
CN115906368A (en) Temperature signal real-time load spectrum calculation method and related equipment
JP7049587B2 (en) Image processing device, image processing program, and image processing method
US20230112822A1 (en) Character recognition method, character recognition device and non-transitory computer readable medium
CN117539921A (en) Associated data mining method, system and computer equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination