[go: up one dir, main page]

CN110298528B - Method and device for grouping articles - Google Patents

Method and device for grouping articles Download PDF

Info

Publication number
CN110298528B
CN110298528B CN201810246523.2A CN201810246523A CN110298528B CN 110298528 B CN110298528 B CN 110298528B CN 201810246523 A CN201810246523 A CN 201810246523A CN 110298528 B CN110298528 B CN 110298528B
Authority
CN
China
Prior art keywords
articles
dimension
initial
group
gift
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.)
Active
Application number
CN201810246523.2A
Other languages
Chinese (zh)
Other versions
CN110298528A (en
Inventor
赵光伟
宋德伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201810246523.2A priority Critical patent/CN110298528B/en
Publication of CN110298528A publication Critical patent/CN110298528A/en
Application granted granted Critical
Publication of CN110298528B publication Critical patent/CN110298528B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for grouping articles, and relates to the technical field of computers. One embodiment of the method comprises the following steps: determining the mapping relation of the articles among the initial groups according to the initial groups of the articles and the data information of the articles; determining the dimension of each article according to the mapping relation of the articles among each initial group; the items of the same dimension are divided into a group according to the dimension of each item. The embodiment overcomes the defect that the prior art cannot process complex and unfixed logic relations, overcomes the defects of high article coupling degree and high system complexity when processing complex problems, so that the relation among articles is clearer, the logic relations among the articles are weakened, the articles are less influenced by the complex logic relations when being grouped, the logic complexity of the system is reduced, the details and the coupling degree among the articles are weakened, and the relation among the articles is favorably combed.

Description

Method and device for grouping articles
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for grouping articles.
Background
In actual production, the items may be grouped according to different standards, functions, etc. Wherein, it is easy to group according to the attribute of the articles or certain standard, and it is complicated to group according to the potential logic relationship between articles.
The inventors have found that there are at least the following problems in the prior art when grouped according to potentially complex logic:
1. When the prior art groups articles according to the logic relationship, different processing logics are required to be determined according to different logic structures, so that only simpler and fixed logic relationship can be processed.
2. When the articles with complex and non-fixed logic relations are grouped, the logic structure needs to be continuously adjusted and updated, and judgment logic needs to be continuously increased subsequently, so that the defects of too high coupling degree, increased complexity of the system and increased overall maintenance difficulty are caused.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method and an apparatus for grouping articles, which can overcome the technical problem that the prior art cannot process complex and non-fixed logic relationships, so as to achieve the technical effect of making the relationships between articles clearer; the technical problems of high coupling degree, high system complexity and increased overall maintenance difficulty in the prior art when complex problems are processed are solved, and the technical effects of weakening the logic relationship among articles and causing the articles to be less influenced by the complex logic relationship when being grouped are achieved; the technical problem of the defect of increasing the complexity of the system in the prior art is overcome, and the beneficial effects of reducing the logic complexity of the system, weakening details and coupling degree among articles and combing relations among articles are achieved.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of grouping items, including:
Step S101, determining the mapping relation of the articles among the initial groups according to the initial groups of the articles and the data information of the articles;
step S102, determining the dimension of each article according to the mapping relation of the articles among each initial group;
step S103, according to the dimension of each article, the articles with the same dimension are divided into a group.
Preferably, the initial packet includes: the system comprises a gift group and a main product group, wherein the main product group comprises a goods main product and a stock-out main product.
Preferably, the determining the mapping relation of the items between each initial group includes:
A mapping of each gift in the gift group to each master in the master group and a mapping of each off-the-shelf master in the master group to each gift in the gift group is determined.
Preferably, determining the dimension of each item according to the mapping relationship of items between each initial group includes:
A. selecting a starting article from the initial group, and determining the dimension of the starting article;
B. Setting all the other initial grouping items with mapping relation with the initial item to be the same dimension as the initial item;
C. Setting other initial grouped articles with mapping relation with the initial articles as new initial articles, and repeating the step B until the new initial articles have no articles with mapping relation, wherein the articles with determined dimensions do not need to repeatedly determine the dimensions;
D. And judging whether all the articles are completed with the determined dimension, if the articles with the undetermined dimension exist, selecting one article in the articles with the undetermined dimension, setting the dimension of the article as a new dimension, and repeating the step B, C until all the articles are provided with the dimension.
Preferably, setting the dimension includes setting the dimension using a serial number string.
According to still another aspect of an embodiment of the present invention, there is provided an apparatus for grouping articles, including:
the article relation determining module is used for determining the mapping relation of the articles among the initial groups according to the initial groups of the articles and the data information of the articles;
the dimension determining module is used for determining the dimension of each article according to the mapping relation of the articles among each initial group;
And the grouping module is used for dividing the articles with the same dimension into a group according to the dimension of each article.
Preferably, the initial packet includes: the system comprises a gift group and a main product group, wherein the main product group comprises a goods main product and a stock-out main product.
Preferably, the determining the mapping relation of the items between each initial group includes:
A mapping of each gift in the gift group to each master in the master group and a mapping of each off-the-shelf master in the master group to each gift in the gift group is determined.
Preferably, determining the dimension of each item according to the mapping relationship of items between each initial group includes:
A. selecting a starting article from the initial group, and determining the dimension of the starting article;
B. Setting all the other initial grouping items with mapping relation with the initial item to be the same dimension as the initial item;
C. Setting other initial grouped articles with mapping relation with the initial articles as new initial articles, and repeating the step B until the new initial articles have no articles with mapping relation, wherein the articles with determined dimensions do not need to repeatedly determine the dimensions;
D. And judging whether all the articles are completed with the determined dimension, if the articles with the undetermined dimension exist, selecting one article in the articles with the undetermined dimension, setting the dimension of the article as a new dimension, and repeating the step B, C until all the articles are provided with the dimension.
Preferably, setting the dimension includes setting the dimension using a serial number string.
According to another aspect of an embodiment of the present invention, there is provided an electronic device for grouping items, including:
One or more processors;
Storage means for storing one or more programs,
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement a method of grouping items of the present invention.
According to yet another aspect of an embodiment of the present invention, there is provided a computer readable medium having stored thereon a computer program which when executed by a processor implements a method of grouping items of the present invention.
One embodiment of the above invention has the following advantages or benefits:
Because the technical means of determining the relation of the articles among the initial groups is adopted, the technical problem that the prior art cannot process complex and unfixed logic relations is solved, and the technical effect of enabling the relation among the articles to be clearer is achieved;
Because the dimension is set for the articles and the technical means of grouping is adopted according to the dimension, the technical problems of high coupling degree and high system complexity in the prior art are overcome when the complex problems are processed, and the technical effects of weakening the logic relationship among the articles and causing the articles to be less influenced by the complex logic relationship when being grouped are achieved;
Because the technical means of determining the mapping relation between each article in one initial group and the articles in other initial groups is adopted, the technical problem of the defect that the complexity of the system is increased when the logic relation among the articles is determined in the prior art is solved, and the advantages of reducing the logic complexity of the system, weakening the details and the coupling degree among the articles and combing the relation among the articles are achieved.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic illustration of the main flow of a method of grouping items according to an embodiment of the invention;
FIG. 2 is a schematic diagram of the logical relationship of items of a particular embodiment of a method of grouping items according to an embodiment of the invention;
FIG. 3 is a schematic diagram of the major modules of an apparatus for grouping items according to an embodiment of the invention;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
fig. 5 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
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.
Fig. 1 is a schematic diagram of the main flow of a method of grouping items according to an embodiment of the invention, as shown in fig. 1,
Step S101, determining the mapping relation of the articles among the initial groups according to the initial groups of the articles and the data information of the articles;
step S102, determining the dimension of each article according to the mapping relation of the articles among each initial group;
step S103, according to the dimension of each article, the articles with the same dimension are divided into a group.
The initial group is a group of items that can be distinguished according to a certain indicator and/or a group of items of a different group that has been determined. For example, the items are initially grouped into larger items and smaller items by size of the volume.
The data information of the items is information mainly used for reflecting the logical relationship among the items, so that the mapping relationship of the items among each initial group can be conveniently determined. In some embodiments, the items do not have an initial grouping, and the data information of the items may also be used to assist in determining the initial grouping of the items. Optionally, the data information of the item may also include, for example, but not limited to: weight characteristics of the article, size characteristics of the article, attribute characteristics of the article.
The method of the embodiment has little influence on the logic of the articles when the articles are grouped, so the method can be suitable for the condition that the logic relationship of the articles is complex. The prior art can lead to code redundancy when processing complex logic relationships, and the invention adopts the grouping technical means to weaken the complex logic relationships, thereby effectively solving the defect of code redundancy. By adopting the technical means of determining the article relationship between each initial group, the logic relationship between the complex and non-fixed articles is converted into the clear and utilizable logic relationship between each article and the articles in other initial groups, thereby overcoming the technical defect that the complex and non-fixed logic relationship cannot be processed in the prior art.
In some embodiments, by determining the mapping relationship of each item in one initial group to items in other initial groups, the logical complexity of the system can be reduced, the details and coupling between items can be weakened, and the relationships between items can be combed. At the same time, determining the mapping between different initial groupings can also help query whether items are interrelated. Wherein the mapping relationship includes a mapping of each item in one initial group to some or all of the items in the other initial groups.
The dimension represents a parameter added to the item. The dimensions may or may not be the same for different items. The parameter dimension is referenced to assist in grouping items. Since the purpose of grouping is to group the items having a logical relationship into a group, the dimension is set for the items in a global manner in the present embodiment, and the purpose of grouping the items is achieved according to the technical means of dimension grouping. Setting the dimensions in a global manner means that the dimensions of an item are valid in a global scope after the dimensions are confirmed. By setting the dimension in the global scope, the technical problems of high coupling degree and high system complexity are solved, and the technical effects of weakening the logic relationship among the articles and enabling the articles to be less influenced by the complex logic relationship during grouping are achieved. By dividing the articles with the same dimension into a group, the related articles can be grouped.
When the method is applied to the fields of commodity grouping, commodity shipment and the like, preferably, the initial grouping includes: the system comprises a gift group and a main product group, wherein the main product group comprises a goods main product and a stock-out main product.
In some embodiments of the invention, the initial grouping may be provided as a gift group and a master group, wherein the master group may also be divided into two groups, a good master and a bad master. In these embodiments, a relationship of the items between the initial groupings is established, that is, a correspondence between each gift of the gift set and each master in the master set is established, achieving the technical effect of facilitating subsequent item groupings.
Preferably, the determining the mapping relation of the items between each initial group includes:
A mapping of each gift in the gift group to each master in the master group and a mapping of each off-the-shelf master in the master group to each gift in the gift group is determined.
When the initial grouping is a gift group and a master group, the grouping of items may be aided according to a mapping relationship of each gift in the gift group to a master in the master group. In establishing the mapping relationship, unnecessary mapping may be omitted in order to save the cost of grouping. For example, when determining the mapping of the master in the master group to the gifts in the gift group, the master need only lack the master to achieve the subsequent dimension determination without determining the mapping of the shipper to the gifts, thereby saving the cost of mapping the shipper to each gifts.
Preferably, determining the dimension of each item according to the mapping relationship of items between each initial group includes:
A. selecting a starting article from the initial group, and determining the dimension of the starting article;
B. Setting all the other initial grouping items with mapping relation with the initial item to be the same dimension as the initial item;
C. Setting other initial grouped articles with mapping relation with the initial articles as new initial articles, and repeating the step B until the new initial articles have no articles with mapping relation, wherein the articles with determined dimensions do not need to repeatedly determine the dimensions;
D. And judging whether all the articles are completed with the determined dimension, if the articles with the undetermined dimension exist, selecting one article in the articles with the undetermined dimension, setting the dimension of the article as a new dimension, and repeating the step B, C until all the articles are provided with the dimension.
In some embodiments, the associated items are set to the same dimension, thereby facilitating grouping of items. Wherein the associated articles refer to articles with direct mapping relationships and/or articles with two or more levels of mapping relationships. Selecting an item in the initial group may include: the items are selected in the key initial groupings or in other groupings. Wherein the selection includes an arbitrary selection. For example, when the embodiment includes a gift group and a master group, the dimension is determined from the perspective of the master, and the dimension of the gift is the dimension of the multiplexed master, so the master setting dimension in the master group is selected first. Furthermore, it is also feasible to determine the dimension from the perspective of the gift.
Preferably, setting the dimension includes setting the dimension using a serial number string.
In some embodiments, a Serial Number (SN) string may be constructed for setting dimensions based on some characteristics of the item. If the serial number strings are identical, the serial number strings are grouped so that the associated articles are grouped into one group, thereby achieving the effect of grouping the articles.
The method is described in detail below with respect to a specific example of merchant shipping.
In the same order, there may be a large number of goods including a cargo owner, a backorder owner, a gift suitable for various situations, and the like. In order for customers to get purchased items as early as possible, merchants tend to take a stock-first approach. In the promotion process, there are often cases where multiple master items are mixed with multiple gift items, there is a complex logical relationship between master items and gift items, and there is an absence of a master item in the master items. To avoid malicious act of taking the gift, the gift and the non-corresponding master cannot be placed into a group for shipping. Because the lack of the gift does not raise the risk of taking the gift out, the lack of the gift need not be considered.
A detailed description of embodiments of this scheme will be given below using all the methods of grouping items to be shipped.
First, all gifts and masters are parsed in extensible markup language (xml) from the customer order. Wherein, the main products can be divided into two groups of a stock-out main product (Q) and a stock-in main product (F).
And secondly, determining the mapping relation between each gift and all the main products according to the data information of the gift and the main products obtained by analysis. When analyzing the main product corresponding to the gift, it is necessary to determine whether the gift corresponds to a unique main product or to a plurality of main products according to the data information of the gift. If the gift corresponds to only one main product, the analysis of whether the gift corresponds to other main products is not needed; if the gift corresponds to a plurality of main products, all the corresponding main products need to be found. In this embodiment, the relationship between the gift and the master is shown in the following table:
TABLE 1 mapping relationship table of gift and Main product
Gift (G) Main product (Q; F)
G1 {Q1,F1}
G2 {Q1,Q2,F1,F2,F3}
G3 {Q2,Q3,Q4,Q5}
G4 {Q4}
G5 {Q6}
G6 {F4}
And (3) partially transferring the table 1, and determining the mapping relation between the inventory lacking main product and the gift, namely determining the mapping relation between each inventory lacking main product and the corresponding gift. For example, both gifts G1, G2 have a mapping relationship with the stock-out master Q1, so the mapping relationship of the stock-out master Q1 to the gifts G1, G2 is listed in the table. The specific practice is to put the gifts corresponding to each main product in a set respectively, as shown in table 2:
TABLE 2 mapping relationship table of unoccupied main products and gift
Main product of goods lack (Q) Gift (G)
Q1 {G1,G2}
Q2 {G2,G3}
Q3 {G3}
Q4 {G3,G4}
Q5 {G3}
Q6 {G5}
To facilitate understanding of the logical relationship between the gift and all the masters in this embodiment, a relationship diagram shown in fig. 2 may be generated. Wherein, the circle represents gift (G), the square frame represents main product, the lack of goods main product is Q, and the goods main product is F. As can be seen clearly in fig. 2: there is a direct or indirect connection between G1, G2, G3, G4, Q1, Q2, Q3, Q4, Q5, F1, F2, F3; there is a link between Q6 and G5, and the combination of Q6 and G5 is independent of other items; there is a link between F4 and G6, and the combination of F4 and G6 is independent of other items. In actual operation, related main products and gifts can be divided into a group by traversing and dimension setting technical means, so that the problem of incomplete grouping is avoided.
Then, table 1 and table 2 are traversed to determine the dimensions of all gifts and masters.
In this embodiment, a group that cannot be shipped is first determined, so that an out-of-stock master (Q1 is taken as an example in this embodiment) is first selected, and the dimension of the out-of-stock master is registered and determined in a registry by using the serial number String (SN) dimension, and is denoted as < Q1, SN Q1 >. The out-of-stock master Q1 finds all corresponding gift sets according to table 2: { G1, G2}. Multiplexing all the corresponding bonus dimensions to the dimension, namely: < G1, SN Q1>,<G2,SNQ1 >. Therefore, dimension registration of Q1 is completed, and to avoid repeated registration of dimensions, Q1 is put into the discard bin: DONE { Q1}. Then, according to table 1, determining the main product { Q1, F1} corresponding to G1 and all main products { Q1, F1, Q2, F3} corresponding to G2, and performing dimension registration, wherein the dimensions are SN Q1.
For a commodity owner, the dimension is not required to be set by traversing the corresponding gift. According to the fact that the main product corresponding to G2 also comprises the missing main product Q2, the gift corresponding to Q2 is traversed, and the dimension of the gift corresponding to Q2 is registered as SN Q1. The gift G2 corresponding to Q2 has already registered dimensions, so that G2 multiplexes the dimensions that were originally registered, and the master corresponding to G2 does not need to repeatedly register dimensions, but only repeatedly registers dimensions for the backorder master G3 of the unregistered dimensions. By means of iteration, the dimensional iteration of Q3, Q4 and Q5 can be completed.
For the missing product Q6, there is no mapping relationship with Q1, Q2, Q3, Q4, Q5 and the gift traversed, so a new dimension SN Q6 is used for registration. The dimension of gift G5 of the Q6 map is also registered as SN Q6. Similarly, for unregistered shipments F4 and corresponding gifts G6, dimension SN F4 is used to register, resulting in Table 3:
Table 3 register dimension statistics
The main product is as follows: registration dimension Gifts (gift): registering dimensions;
Q1:<Q1,SNQ1> G1:<G1,SNQ1>;G2:<G2,SNQ1>;
F1:<F1,SNQ1>
F2:<F2,SNQ1>
F3:<F3,SNQ1>
Q2:<Q2,SNQ1> Multiplexing original G2; and G3: < G3, SN Q1 >;
Q3:<Q3,SNQ1> Multiplexing original G3;
Q4:<Q4,SNQ1> Multiplexing original G3; and G4: < G4, SN Q1 >;
Q5:<Q5,SNQ1> Multiplexing original G3;
Q6:<G6,SNQ6> G5:<G5,SNQ6>;
F4:<F4,SNF4> G6:<G6,SNF4>
Finally, all the main products and the gifts which finish dimension registration are grouped according to the dimension. For this specific embodiment, the following dimensions and the item set corresponding to each dimension may be reached:
SNQ1:<Q1,G1,G2,F1,F2,F3,Q2,G3,Q3,Q4,G4,Q5>;
SNQ6:<Q6,G5>;
SNF4:<F4,G6>;
Since each invoice is set per dimension, there is an order master in the invoice for dimension SN Q1 and SN Q6, the order will suspend the shipment. An order with dimension SN F4 has no stock master, so a stock-first scheme is executed to bind F4 with G6 for first delivery.
FIG. 3 is a schematic diagram of the major modules of an apparatus for grouping items according to an embodiment of the invention;
as shown in fig. 3, an apparatus 300 for grouping articles according to an embodiment of the present invention includes:
The article relation determining module 301 determines a mapping relation of articles between each initial group according to the initial group of articles and the data information of the articles;
the dimension determining module 302 determines the dimension of each item according to the mapping relation of the items between each initial group;
the grouping module 303 groups the items of the same dimension into a group according to the dimension of each item.
Preferably, the initial packet includes: the system comprises a gift group and a main product group, wherein the main product group comprises a goods main product and a stock-out main product.
Preferably, the determining the mapping relation of the items between each initial group includes:
A mapping of each gift in the gift group to each master in the master group and a mapping of each off-the-shelf master in the master group to each gift in the gift group is determined.
Preferably, determining the dimension of each item according to the mapping relationship of items between each initial group includes:
A. selecting a starting article from the initial group, and determining the dimension of the starting article;
B. Setting all the other initial grouping items with mapping relation with the initial item to be the same dimension as the initial item;
C. Setting other initial grouped articles with mapping relation with the initial articles as new initial articles, and repeating the step B until the new initial articles have no articles with mapping relation, wherein the articles with determined dimensions do not need to repeatedly determine the dimensions;
D. And judging whether all the articles are completed with the determined dimension, if the articles with the undetermined dimension exist, selecting one article in the articles with the undetermined dimension, setting the dimension of the article as a new dimension, and repeating the step B, C until all the articles are provided with the dimension.
Preferably, setting the dimension includes setting the dimension using a serial number string.
Fig. 4 illustrates an exemplary system architecture 400 of a method of grouping items or an apparatus of grouping items to which embodiments 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 is used as a medium to provide communication links between the terminal devices 401, 402, 403 and the server 405. The network 404 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 405 via the network 404 using the terminal devices 401, 402, 403 to receive or send messages or the like. Various communication client applications, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only) may be installed on the terminal devices 401, 402, 403.
The terminal devices 401, 402, 403 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 server 405 may be a server providing various services, such as a background management server (by way of example only) providing support for shopping-type 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 feedback the processing result (e.g., the target push information, the product information—only an example) to the terminal device.
It should be noted that, the method for grouping items provided in the embodiment of the present invention is generally performed by the server 405, and accordingly, the device for grouping items is generally disposed in the server 405.
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, there is illustrated a schematic diagram of a computer system 500 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 5 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. 5, the computer system 500 includes a Central Processing Unit (CPU) 501, which 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 required for the operation of the system 500 are also stored. The CPU501, ROM 502, and RAM 503 are connected to each other through 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 section 506 including a keyboard, a mouse, and the like; an output portion 507 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; 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 drive 510 is also connected to the I/O interface 505 as needed. 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 needed so that a computer program read therefrom is mounted into the storage section 508 as needed.
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 may be downloaded and installed from a network via the communication portion 509, and/or installed from the removable media 511. 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) 501.
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 transmitting module, an acquiring unit, a determining module, and a first processing module. The names of these modules do not in some cases limit the module itself, and for example, the transmitting module may also be described as "a module that transmits a picture acquisition request to a connected server".
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:
determining the relation of the articles among each initial group according to the initial groups of the articles and the data information of the articles;
determining the dimension of each item according to the relation of the items between each initial group;
The items of the same dimension are divided into a group according to the dimension of each item.
According to the technical scheme provided by the embodiment of the invention, the following beneficial effects are achieved:
1. Because the technical means of determining the relation of the articles among the initial groups is adopted, the technical problem that the prior art cannot process complex and unfixed logic relations is solved, and the technical effect of enabling the relation among the articles to be clearer is achieved;
2. Because the dimension is set for the articles and the technical means of grouping is adopted according to the dimension, the technical problems of high coupling degree and high system complexity in the prior art are overcome when the complex problems are processed, and the technical effects of weakening the logic relationship among the articles and causing the articles to be less influenced by the complex logic relationship when being grouped are achieved;
3. Because the technical means of determining the mapping relation between each article in one initial group and the articles in other initial groups is adopted, the technical problem of the defect that the complexity of the system is increased when the logic relation among the articles is determined in the prior art is solved, and the advantages of reducing the logic complexity of the system, weakening the details and the coupling degree among the articles and combing the relation among the articles are achieved.
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.

Claims (10)

1. A method of grouping items, comprising:
Determining the mapping relation of the articles among the initial groups according to the initial groups of the articles and the data information of the articles;
Determining the dimension of each article according to the mapping relation of the articles among each initial group;
Dividing the articles with the same dimension into a group according to the dimension of each article;
Determining the dimension of each item according to the mapping relation of the items between each initial group, wherein the method comprises the following steps:
A. selecting a starting article from the initial group, and determining the dimension of the starting article;
B. Setting all the other initial grouping items with mapping relation with the initial item to be the same dimension as the initial item;
C. Setting other initial grouped articles with mapping relation with the initial articles as new initial articles, and repeating the step B until the new initial articles have no articles with mapping relation, wherein the articles with determined dimensions do not need to repeatedly determine the dimensions;
D. And judging whether all the articles are completed with the determined dimension, if the articles with the undetermined dimension exist, selecting one article in the articles with the undetermined dimension, setting the dimension of the article as a new dimension, and repeating the step B, C until all the articles are provided with the dimension.
2. The method of claim 1, wherein the initial grouping comprises: the system comprises a gift group and a main product group, wherein the main product group comprises a goods main product and a stock-out main product.
3. The method of claim 1, wherein the determining the mapping of items between each initial group comprises:
A mapping of each gift in the gift group to each master in the master group and a mapping of each off-the-shelf master in the master group to each gift in the gift group is determined.
4. A method according to any of claims 1-3, wherein setting the dimension comprises setting the dimension using a serial number string.
5. An apparatus for grouping articles, comprising:
the article relation determining module is used for determining the mapping relation of the articles among the initial groups according to the initial groups of the articles and the data information of the articles;
the dimension determining module is used for determining the dimension of each article according to the mapping relation of the articles among each initial group;
the grouping module is used for dividing the articles with the same dimension into a group according to the dimension of each article;
Determining the dimension of each item according to the mapping relation of the items between each initial group, wherein the method comprises the following steps:
A. selecting a starting article from the initial group, and determining the dimension of the starting article;
B. Setting all the other initial grouping items with mapping relation with the initial item to be the same dimension as the initial item;
C. Setting other initial grouped articles with mapping relation with the initial articles as new initial articles, and repeating the step B until the new initial articles have no articles with mapping relation, wherein the articles with determined dimensions do not need to repeatedly determine the dimensions;
D. And judging whether all the articles are completed with the determined dimension, if the articles with the undetermined dimension exist, selecting one article in the articles with the undetermined dimension, setting the dimension of the article as a new dimension, and repeating the step B, C until all the articles are provided with the dimension.
6. The apparatus of claim 5, wherein the initial packet comprises: the system comprises a gift group and a main product group, wherein the main product group comprises a goods main product and a stock-out main product.
7. The apparatus of claim 5, wherein the determining the mapping of items between each initial group comprises:
A mapping of each gift in the gift group to each master in the master group and a mapping of each off-the-shelf master in the master group to each gift in the gift group is determined.
8. The apparatus of any of claims 5-7, wherein setting the dimension comprises setting the dimension using a serial number string.
9. An article grouping electronic device, comprising:
One or more processors;
Storage means for storing one or more programs,
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-4.
10. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-4.
CN201810246523.2A 2018-03-23 2018-03-23 Method and device for grouping articles Active CN110298528B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810246523.2A CN110298528B (en) 2018-03-23 2018-03-23 Method and device for grouping articles

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810246523.2A CN110298528B (en) 2018-03-23 2018-03-23 Method and device for grouping articles

Publications (2)

Publication Number Publication Date
CN110298528A CN110298528A (en) 2019-10-01
CN110298528B true CN110298528B (en) 2024-06-18

Family

ID=68026063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810246523.2A Active CN110298528B (en) 2018-03-23 2018-03-23 Method and device for grouping articles

Country Status (1)

Country Link
CN (1) CN110298528B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113128801B (en) * 2019-12-30 2024-07-26 中国移动通信集团山西有限公司 Vehicle resource management method and device, terminal equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102906686A (en) * 2010-01-11 2013-01-30 潘吉瓦公司 Evaluating public records of supply transactions for financial investment decisions
CN103279552A (en) * 2013-06-06 2013-09-04 浙江大学 Collaborative filtering recommendation method based on user interest groups

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070179959A1 (en) * 2006-01-30 2007-08-02 Microsoft Corporation Automatic discovery of data relationships
KR102225941B1 (en) * 2013-02-28 2021-03-10 엘지전자 주식회사 Apparatus and method for processing a multimedia commerce service
CN103927633B (en) * 2014-05-05 2018-03-02 中国科学院计算机网络信息中心 A kind of Item Information traceability system perceived with relevance and method
CN107730346A (en) * 2017-09-25 2018-02-23 北京京东尚科信息技术有限公司 The method and apparatus of article cluster

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102906686A (en) * 2010-01-11 2013-01-30 潘吉瓦公司 Evaluating public records of supply transactions for financial investment decisions
CN103279552A (en) * 2013-06-06 2013-09-04 浙江大学 Collaborative filtering recommendation method based on user interest groups

Also Published As

Publication number Publication date
CN110298528A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
CN110866709B (en) Method and device for merging orders
CN110019330B (en) Information output method and device
CN110880084A (en) Method and device for warehouse replenishment
CN110472207A (en) List generation method and device
WO2021073477A1 (en) Method and apparatus for supporting modification of consignee information
CN110020876B (en) A method and device for generating information
CN111523977A (en) Wave order set creating method and device, computing equipment and medium
CN110309142B (en) Method and device for rule management
CN110648089A (en) Method and device for determining delivery timeliness of articles
CN110222860A (en) A kind of method and apparatus for the dispatching storehouse list generating order
CN113706064A (en) Order processing method and device
WO2022148237A1 (en) Inventory information processing method and device
CN110298528B (en) Method and device for grouping articles
CN109255563B (en) Method and device for determining storage area of article
CN110956417A (en) Store commodity processing method and device
CN110956478B (en) Method and device for determining the quantity of goods purchased
CN112348427A (en) Order processing method, apparatus, computer system and readable storage medium
CN110807610B (en) Distribution method and device
CN110895777B (en) Method and device for processing overtime service list
CN107679096B (en) Method and device for sharing indexes among data marts
CN113379476A (en) Order processing method and device
CN111861293B (en) Method and device for transmitting information
CN111833085A (en) A method and apparatus for calculating the price of an item
CN113762023B (en) Object identification method and device based on article association relation
JP7456667B2 (en) Method, device, electronic device and computer readable medium for setting article conveyance speed

Legal Events

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