CN110059279B - Method and device for generating commodity package information - Google Patents

Method and device for generating commodity package information Download PDF

Info

Publication number
CN110059279B
CN110059279B CN201910220903.3A CN201910220903A CN110059279B CN 110059279 B CN110059279 B CN 110059279B CN 201910220903 A CN201910220903 A CN 201910220903A CN 110059279 B CN110059279 B CN 110059279B
Authority
CN
China
Prior art keywords
picture
area
preset
package
item
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
CN201910220903.3A
Other languages
Chinese (zh)
Other versions
CN110059279A (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.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei 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 Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN201910220903.3A priority Critical patent/CN110059279B/en
Publication of CN110059279A publication Critical patent/CN110059279A/en
Application granted granted Critical
Publication of CN110059279B publication Critical patent/CN110059279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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/0641Shopping interfaces
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Processing Or Creating Images (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method and a device for generating commodity package information, which relate to the field of electronic information, and the method comprises the following steps: when receiving a picture identification request triggered by a single picture displayed in a candidate picture area, determining a target picture corresponding to the picture identification request; identifying single-product characteristic data associated with the target picture, and filling single-product attribute data records corresponding to the single-product characteristic data in a preset information entry area; and generating a package containing at least two single products corresponding to the at least two single product attribute data records according to the at least two single product attribute data records filled in the preset information entry area. According to the invention, the picture identification request can be triggered through the single pictures displayed in the candidate picture area, so that the single-product attribute data records corresponding to the single pictures are automatically identified and input, the defects of complicated operation and high possibility of error existing in a manual one-by-one input mode are avoided, and the package generation efficiency is improved.

Description

Method and device for generating commodity package information
Technical Field
The invention relates to the field of electronic information, in particular to a method and a device for generating commodity package information.
Background
Currently, with the great development of internet technology, more and more single products start to be sold from off-line to on-line. In the prior art, in order to facilitate a user to select a plurality of single products at a time, a plurality of single products with association relationship are usually packaged into a package, so that the disadvantage caused by one-by-one selection of the user is avoided. In the related art, when a package is generated, it is necessary to manually input, for each item included in the package, each item of attribute information corresponding to the item. Specifically, for each individual product, various information such as the name, specification, number of copies, price, and picture of the individual product needs to be manually input.
However, in the process of implementing the present invention, the inventors found that the above-mentioned manner has at least the following problems: when the number of the single products contained in the package is large, various information needs to be manually input one by one for each single product, the input process is complicated and time-consuming, and the package generation efficiency is low. Moreover, since the information items to be input are numerous, input errors due to human negligence are likely to occur.
Disclosure of Invention
In view of the above problems, the present invention has been made to provide a method and apparatus for generating package information of a product that overcomes or at least partially solves the above problems.
According to an aspect of the present invention, a method for generating package information of a commodity is provided, including:
when receiving a picture identification request triggered by a single picture displayed in a candidate picture area, determining a target picture corresponding to the picture identification request;
identifying single-product characteristic data associated with the target picture, and filling single-product attribute data records corresponding to the single-product characteristic data in a preset information entry area;
and generating a package containing at least two single products corresponding to the at least two single product attribute data records according to the at least two single product attribute data records filled in the preset information entry area.
Optionally, before the method is executed, the method further includes:
displaying a package creation page containing a candidate picture area according to a received package creation request; the candidate picture area is used for displaying each single picture stored in a preset single picture library.
Optionally, the package creation page further includes a picture identification area for triggering a picture identification request;
receiving a picture identification request triggered for a single picture displayed in the candidate picture area includes:
detecting whether the added single picture from the candidate picture area exists in the picture identification area;
and if so, determining that a picture identification request triggered by the single picture displayed in the candidate picture area is received.
Optionally, the detecting whether the added single picture from the candidate picture region exists in the picture identification region includes:
and detecting whether a single picture from the candidate picture area added by a dragging mode and/or a preset trigger action exists in the picture identification area.
Optionally, the preset item library is further used for storing item feature data associated with each item picture; identifying the singleton feature data associated with the target picture comprises:
and acquiring the single item feature data associated with the target picture from a preset single item library.
Optionally, the single item attribute data record includes a plurality of preset attribute fields, and the single item feature data includes a plurality of feature data segments respectively corresponding to the plurality of preset attribute fields;
filling the single item attribute data records corresponding to the single item feature data in the preset information entry area comprises the following steps:
and respectively aiming at each preset attribute field, extracting a characteristic data segment corresponding to the preset attribute field from the single-product characteristic data, and filling the preset attribute field according to the extracted characteristic data segment.
Optionally, determining the target picture corresponding to the picture identification request includes: determining a target picture according to the picture identification contained in the picture identification request; and/or performing image identification processing on the single picture corresponding to the picture identification request, and determining a target picture according to a processing result;
the picture identification area, the information entry area and the candidate picture area contained in the package creation page are respectively adjacent to each other.
According to another aspect of the present invention, there is provided a generation apparatus of package information of a commodity, including:
the target picture determining module is suitable for determining a target picture corresponding to a picture identification request when receiving the picture identification request triggered by a single picture displayed in a candidate picture area;
the single item attribute data record filling module is suitable for identifying the single item characteristic data associated with the target picture and filling a single item attribute data record corresponding to the single item characteristic data in a preset information input area;
and the package generation module is suitable for generating a package containing at least two single products corresponding to the at least two single product attribute data records according to the at least two single product attribute data records filled in the preset information entry area.
Optionally, the apparatus further comprises:
the package creation page display module is suitable for displaying a package creation page containing a candidate picture area according to a received package creation request; the candidate picture area is used for displaying each single picture stored in a preset single picture library.
Optionally, the package creation page further includes a picture identification area for triggering a picture identification request;
the target picture determination module is adapted to:
detecting whether the added single picture from the candidate picture area exists in the picture identification area;
and if so, determining that a picture identification request triggered by the single picture displayed in the candidate picture area is received.
Optionally, the target picture determination module is further adapted to:
and detecting whether a single picture from the candidate picture area added by a dragging mode and/or a preset trigger action exists in the picture identification area.
Optionally, the preset item library is further used for storing item feature data associated with each item picture; the singleton attribute data record populating module is adapted to:
and acquiring the single item feature data associated with the target picture from a preset single item library.
Optionally, the single item attribute data record includes a plurality of preset attribute fields, and the single item feature data includes a plurality of feature data segments respectively corresponding to the plurality of preset attribute fields;
the singleton attribute data record populating module is adapted to:
and respectively aiming at each preset attribute field, extracting a characteristic data segment corresponding to the preset attribute field from the single-product characteristic data, and filling the preset attribute field according to the extracted characteristic data segment.
Optionally, the target picture determination module is further adapted to: determining a target picture according to the picture identification contained in the picture identification request; and/or performing image identification processing on the single picture corresponding to the picture identification request, and determining a target picture according to a processing result;
the picture identification area, the information entry area and the candidate picture area contained in the package creation page are respectively adjacent to each other.
According to still another aspect of the present invention, there is provided an electronic apparatus including: the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the generation method of the commodity package information.
According to still another aspect of the present invention, a computer storage medium is provided, where at least one executable instruction is stored in the storage medium, and the executable instruction causes a processor to perform operations corresponding to the method for generating package information of commodities.
In the method and the device for generating the commodity package information, provided by the invention, the target picture corresponding to the picture identification request can be determined according to the picture identification request triggered by the single picture displayed in the candidate picture area; and then identifying the single item feature data associated with the target picture so as to fill the single item attribute data records corresponding to the single item feature data in the preset information entry area, thereby quickly generating a package according to at least two filled single item attribute data records in the preset information entry area. Therefore, the method can trigger the picture identification request through the single pictures displayed in the candidate picture area, so that the single-product attribute data records corresponding to the single pictures are automatically identified and input, the defects that the manual input method is complicated in operation and prone to error are overcome, and the package generation efficiency is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart illustrating a method for generating package information of a commodity according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for generating package information of a commodity according to a second embodiment of the present invention;
fig. 3 is a block diagram illustrating a device for generating package information according to a third embodiment of the present invention;
fig. 4 shows a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention;
FIG. 5 is a schematic diagram showing one manner of triggering a package creation request;
FIG. 6 shows a schematic diagram of a form of package creation page;
FIG. 7 is a schematic diagram illustrating a singles picture being dragged;
fig. 8 shows a schematic diagram after a single picture is dragged and added to a picture recognition area.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
Fig. 1 is a flowchart illustrating a method for generating package information of a commodity according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step S110: when a picture identification request triggered by a single picture displayed in a candidate picture area is received, a target picture corresponding to the picture identification request is determined.
And the candidate picture area is used for displaying the single-product pictures corresponding to the single products capable of creating the package. The picture identification request is used for triggering an identification operation for a specific single picture, and specifically, the picture identification request may be triggered in various triggering manners such as dragging, long-pressing, sliding, and the like, which is not limited in the present invention. The target picture corresponding to the picture identification request may be determined directly according to the picture identifier included in the picture identification request, or may be determined by an image identification algorithm.
Step S120: and identifying the single item characteristic data associated with the target picture, and filling single item attribute data records corresponding to the single item characteristic data in a preset information entry area.
The single item feature data is used for describing features of the single item corresponding to the target picture, and comprises the following steps: the invention does not limit the specific meaning of the characteristic data of the single product. The information entry area is used for inputting item attribute data records corresponding to items included in the package, and includes, for example: name, price, number of copies of the single item, and the like.
The information entry area is typically configured to enter item attribute data records for a plurality of items. In general, there is a corresponding relationship between the individual item feature data and each field in the individual item attribute data record, so that the corresponding individual item attribute data record can be determined according to the individual item feature data.
Step S130: and generating a package containing at least two single products corresponding to the at least two single product attribute data records according to the at least two single product attribute data records filled in the preset information entry area.
Each single item attribute data record corresponds to one single item, correspondingly, at least two single item attribute data records correspond to at least two single items, and a corresponding package (namely package information) can be quickly generated according to at least two single item attribute data records filled in the information entry area. Specifically, the number of the single items contained in the package information of the package matches the number of the single item attribute data records filled in the information entry area.
Therefore, in the method for generating the package information of the commodities, provided by the invention, the target picture corresponding to the picture identification request can be determined according to the picture identification request triggered by the single picture displayed in the candidate picture area; and then identifying the single item feature data associated with the target picture so as to fill the single item attribute data records corresponding to the single item feature data in the preset information entry area, thereby quickly generating a package according to at least two filled single item attribute data records in the preset information entry area. Therefore, the method can trigger the picture identification request through the single pictures displayed in the candidate picture area, so that the single-product attribute data records corresponding to the single pictures are automatically identified and input, the defects that the manual input method is complicated in operation and prone to error are overcome, and the package generation efficiency is improved.
Example two
Fig. 2 shows a flowchart of a method for generating package information according to a second embodiment of the present invention. As shown in fig. 2, the method includes:
step S200: displaying a package creation page containing a candidate picture area according to a received package creation request; the candidate picture area is used for displaying each single picture stored in a preset single picture library.
The package creation request may be triggered in various ways, for example, by a package creation entry trigger provided in an application interface of a preset application having a package creation function. Fig. 5 shows a schematic diagram of one manner of triggering of a package creation request. As shown in fig. 5, when the user selects the package creation function provided in the preset application, the application interface shown in fig. 5 is displayed, and the application interface shown in fig. 5 includes a front cover upload area, a data input area, and a submission confirmation area. The cover uploading area is used for uploading a cover map of the package commodity so as to visually display the visual characteristics of the package commodity. The data input area is used for inputting package description information of package commodities, such as commodity names, belongings (such as hot pot, fast food, Chinese meal, western meal and the like), applicable stores, the number of people having meals (such as single meal, double meal, 3-4 people meal, custom people meal and the like), commodity contents, commodity original prices, commodity selling prices and the like. It can be seen that the data input area includes a plurality of data input entries, and each item of description information corresponds to one data input entry. Wherein the data input portal further comprises: the input method comprises a first type of input entry for inputting according to user input content and a second type of input entry automatically filled according to associated input content. The commodity names, the commodity contents and the like belong to a first type of input entries which need to be input according to manual input contents, and the commodity original prices belong to a second type of input entries which can be automatically filled and input according to the associated input contents and do not need manual input of a user. The information in the second type of input entry can be directly calculated and obtained according to the associated input content, and the defects of complexity, error easiness and the like of manual input are avoided. The submit confirmation area contains a "submit" button for triggering the package creation request described above. In addition to the manner shown in fig. 5, those skilled in the art may also use various other manners to trigger the package creation request, which is not limited by the present invention.
And after the background receives the package creation request, displaying a package creation page containing the candidate picture area in an application interface. FIG. 6 shows a schematic diagram of one form of package creation page. The bottom of the package creation page is provided with a candidate picture area, and the candidate picture area can display the single picture of each single product for creating the package. Optionally, the single-product pictures displayed in the candidate picture area may be all single-product pictures stored in a preset single-product library. The preset single product library is used for pre-storing single product pictures of all single products and single product characteristic data related to all the single product pictures. In specific implementation, the single-item pictures in the preset single-item library and the single-item feature data associated with the single-item pictures can be generated in various ways, for example, the single-item pictures can be generated in a manual input way, or the single-item feature data associated with the single-item pictures can be automatically extracted after the single-item pictures are subjected to picture recognition analysis through a preset algorithm.
In addition, considering that the display space of the candidate picture area is limited, and in order to facilitate the user to quickly select the single item associated with the package, it is necessary to sort the single item pictures in the preset single item library, and extract a preset number of single item pictures according to a sorting result, so as to facilitate the user to select. In specific implementation, the sorting can be performed through the following strategies: and sequencing according to the correlation between each single picture in the preset single library and the package creation request. For example, the correlation between the item feature data associated with each item picture in the preset item library and the package description information included in the package creation request is calculated through various correlation algorithms, and the higher the correlation is, the higher the ranking is. Wherein the package description information includes: name of the product, category of the product, applicable store, number of people having a meal, etc. The single article characteristic data comprises: commodity name, commodity price, category, applicable store, number of people having a meal, and the like. Accordingly, if the product name included in the package description information is similar to the product name included in the item feature data, the category to which the package description information belongs is the same as the category to which the package feature data includes, and/or the applicable store included in the package description information matches the applicable store included in the item feature data, it is indicated that the correlation between the corresponding item picture and the package creation request is large. And according to the correlation calculation result between each single picture and the package creation request, sequencing the single pictures in the preset single library in a descending order according to the sequence of the correlation scores from high to low. Correspondingly, a preset number of single pictures which are ranked in the front are extracted according to the number of pictures which can be displayed in a single time in the candidate picture area, so that a user can select the pictures quickly.
In addition, the single picture displayed in the candidate picture area can be changed according to the received interactive touch operation such as the sliding operation. In specific implementation, the single pictures in the preset single library are sorted according to the relevancy scores and then placed into a preset display queue, assuming that 30 pictures are stored in the preset display queue, the first 6 pictures shown in fig. 6 are displayed in the candidate picture area for the first time, and after the sliding operation is received, the pictures are switched to be displayed in 7 th to 12 th, and so on, so that the user can browse more single pictures to generate a package.
In addition, the popularity scores of the single products corresponding to the single product pictures in the preset single product library can be further combined for sorting. The popularity score may be determined based on the number of times an item is added to a package, the frequency, and/or the number of times an item is purchased by a user.
Step S210: when a picture identification request triggered by a single picture displayed in a candidate picture area is received, a target picture corresponding to the picture identification request is determined.
The image identification request is used for triggering an identification operation for a specific single image, and specifically, the image identification request may be triggered in various triggering manners such as dragging, long-pressing, sliding, and the like, which is not limited in the present invention. In this embodiment, the package creation page further includes a picture identification area for triggering a picture identification request. For example, the area in fig. 6 where "the dish picture is dragged to this area to be filled with information quickly" is the picture identification area. The picture identification area can be realized by a component or a control with an identification function.
Correspondingly, in the step, whether the added single picture from the candidate picture area exists in the picture identification area is detected; and if so, determining that a picture identification request triggered by the single picture displayed in the candidate picture area is received. When detecting whether the added single-item picture from the candidate picture area exists in the picture identification area, whether the single-item picture from the candidate picture area added by a dragging mode and/or a preset trigger action exists in the picture identification area can be detected.
For example, in an implementation manner, a selected single-product picture may be directly dragged to a picture identification region in a dragging manner, accordingly, when a dragging operation is detected, a real-time position of the dragged single-product picture is continuously acquired, and when an intersection exists between the real-time position and the picture identification region, the dragged single-product picture is added to the picture identification region, so as to trigger the picture identification request. Fig. 7 shows a schematic diagram of a single picture when the single picture is dragged, and fig. 8 shows a schematic diagram of the single picture after the single picture is dragged and added to a picture recognition area. For another example, in another implementation manner, the selected single-item picture may be dragged to the picture identification area through a preset trigger action, where the preset trigger action may be various interactive trigger actions such as a single-click action, a double-click action, and a long-press action. In summary, the present invention does not limit the specific implementation manner of adding the selected singles picture to the picture identification area.
In addition, the target picture corresponding to the picture identification request refers to a picture selected by the user from the candidate picture area, and specifically, the target picture may be determined according to a picture identifier included in the picture identification request. The picture identifier may be various identifiers such as a picture ID and a picture number, specifically, a preset single product library sets a corresponding picture identifier for each single product picture, and the picture identifier and the corresponding single product picture are loaded into the candidate picture area in an associated manner. Correspondingly, when a user triggers a picture identification request for a single picture in the candidate picture area, the picture identification request carries a picture identifier of the corresponding single picture, so that a picture selected by the user is determined according to the picture identifier. In addition, image recognition processing may be performed on the single picture corresponding to the picture recognition request, and the target picture may be determined according to the processing result. For example, the picture content of the single picture corresponding to the picture identification request is determined according to the image identification processing, and the target picture matched with the content is determined according to the picture content.
Step S220: and identifying the single item characteristic data associated with the target picture, and filling single item attribute data records corresponding to the single item characteristic data in a preset information entry area.
The single item feature data is used for describing features of the single item corresponding to the target picture, and comprises the following steps: the invention does not limit the specific meaning of the characteristic data of the single product. In this embodiment, the single item feature data and the single item picture are stored in a preset single item library in an associated manner, and accordingly, in this step, the single item feature data associated with the target picture is obtained from the preset single item library. Specifically, according to the picture identifier of the target picture, the single item feature data corresponding to the single item picture matched with the picture identifier can be inquired from a preset single item library.
In addition, the preset information entry area is used for inputting the item attribute data record corresponding to the item contained in the package. For example, in fig. 6 to 8, the information entry area is located at the top of the package creation page, and the picture recognition area is located in the middle, that is: the picture identification area contained in the package creation page is adjacent to the information entry area and the candidate picture area respectively. The picture identification area is arranged in the middle in the setting mode, so that a user can conveniently drag a single picture to the picture identification area.
Specifically, the single item attribute data record in the information entry area comprises a plurality of preset attribute fields, and the single item feature data comprises a plurality of feature data segments corresponding to the plurality of preset attribute fields respectively; correspondingly, when single item attribute data records corresponding to the single item feature data are filled in the preset information entry area, respectively aiming at each preset attribute field, extracting a feature data segment corresponding to the preset attribute field from the single item feature data, and filling the preset attribute field according to the extracted feature data segment. As shown in fig. 8, each item attribute data record corresponds to an item, and specifically includes four preset attribute fields, which are a dish name field, a specification field, a unit field, and a price field. The specific numerical value of each preset attribute field is determined according to the characteristic data segment contained in the corresponding single item characteristic data and corresponding to each preset attribute field. For example, the item feature data includes a name feature data field, a specification feature data field, a price feature data field, and the like.
In specific implementation, each time a target picture is added in the picture identification area, the picture identification request is triggered to identify the single item feature data corresponding to the target picture, and then a corresponding single item attribute data record is automatically generated according to the identification result. Correspondingly, after the user drags a plurality of target pictures to the picture identification area, a plurality of single item attribute data records respectively corresponding to the target pictures can be automatically recorded in the information recording area.
Step S230: and generating a package containing at least two single products corresponding to the at least two single product attribute data records according to the at least two single product attribute data records filled in the preset information entry area.
Each single item attribute data record corresponds to one single item, correspondingly, at least two single item attribute data records correspond to at least two single items, and a corresponding package (namely commodity package information) can be quickly generated according to at least two single item attribute data records filled in the information entry area. Specifically, the number of singlets contained in the package matches the number of singlets attribute data records populated within the information entry area. For example, in the example shown in fig. 8, three item attribute data records are filled in the information entry area, and accordingly, a package containing three items is generated. In addition, the price of each single item belongs to the content related to the commodity original price input entry in the figure 5, and the commodity original price in the figure 5 can be automatically determined according to the sum of the prices of the three single items, so that the trouble of manual input by a user is avoided.
For ease of understanding, a specific example is given below: firstly, storing single-item pictures (namely a dish picture library) in a preset single-item library of the system in advance, wherein the back of each dish picture is associated with corresponding single-item characteristic data such as dish name, price, specification (major share, standard share and minor share), quantity, method and the like. In addition, the information entry area is realized by a preset form component (or form control), and the form component is used for displaying and inputting single item attribute data records comprising preset attribute fields of dish names, prices, specifications (large shares, standard shares, small shares), quantities, practices and the like. In addition, the picture identification area can be realized through a preset translation component, the translation component can identify the picture and can identify information such as single item feature data associated with the picture, and therefore the information input area can be automatically filled according to an identification result. The translation component can correspond the recognized single item feature data to the form interfaces contained in the form component one by one, and therefore the dish information is filled in automatically. Wherein, each preset attribute field is realized through a form interface.
In the above embodiments, the single product is taken as an example for explanation, in actual cases, the single product may be other kinds of commodities, and the present invention is not limited to this.
In summary, in the embodiment, the picture identification request can be triggered through the single pictures displayed in the candidate picture area, so that the single attribute data records corresponding to the single pictures are automatically identified and entered, the defects of complex operation and easy error caused by manual entering of the modes one by one are overcome, and the package generation efficiency is improved. In addition, the method can intuitively and quickly create packages in a picture dragging mode, and can automatically fill each preset attribute field in the single item attribute data record.
EXAMPLE III
Fig. 3 is a schematic structural diagram illustrating an apparatus for generating package information of a commodity according to a third embodiment of the present invention, where the apparatus includes:
the target picture determining module 31 is adapted to determine a target picture corresponding to a picture identification request when receiving the picture identification request triggered by a single picture displayed in a candidate picture area;
the single-product attribute data record filling module 32 is suitable for identifying the single-product characteristic data associated with the target picture and filling a single-product attribute data record corresponding to the single-product characteristic data in a preset information entry area;
the package generating module 33 is adapted to generate a package including at least two single products corresponding to the at least two single product attribute data records according to the at least two single product attribute data records filled in the preset information entry area.
Optionally, the apparatus further comprises:
a package creation page presentation module 30 adapted to present a package creation page including a candidate picture region according to a received package creation request; the candidate picture area is used for displaying each single picture stored in a preset single picture library.
Optionally, the package creation page further includes a picture identification area for triggering a picture identification request;
the target picture determination module 31 is adapted to:
detecting whether the added single picture from the candidate picture area exists in the picture identification area;
and if so, determining that a picture identification request triggered by the single picture displayed in the candidate picture area is received.
Optionally, the target picture determination module 31 is further adapted to:
and detecting whether a single picture from the candidate picture area added by a dragging mode and/or a preset trigger action exists in the picture identification area.
Optionally, the preset item library is further used for storing item feature data associated with each item picture; the singleton attribute data record populating module 32 is adapted to:
and acquiring the single item feature data associated with the target picture from a preset single item library.
Optionally, the single item attribute data record includes a plurality of preset attribute fields, and the single item feature data includes a plurality of feature data segments respectively corresponding to the plurality of preset attribute fields;
the singleton attribute data record populating module 32 is adapted to:
and respectively aiming at each preset attribute field, extracting a characteristic data segment corresponding to the preset attribute field from the single-product characteristic data, and filling the preset attribute field according to the extracted characteristic data segment.
Optionally, the target picture determination module 31 is further adapted to: determining a target picture according to the picture identification contained in the picture identification request; and/or performing image identification processing on the single picture corresponding to the picture identification request, and determining a target picture according to a processing result;
the picture identification area, the information entry area and the candidate picture area contained in the package creation page are respectively adjacent to each other.
The specific structure and operation principle of each module described above may refer to the description of the corresponding part in the method embodiment, and are not described herein again.
Example four
An embodiment of the present application provides a non-volatile computer storage medium, where the computer storage medium stores at least one executable instruction, and the computer executable instruction may execute the method for generating package information of a commodity in any method embodiment. The executable instructions may be specifically configured to cause a processor to perform respective operations corresponding to the above-described method embodiments.
EXAMPLE five
Fig. 4 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the electronic device.
As shown in fig. 4, the electronic device may include: a processor (processor)402, a Communications Interface 406, a memory 404, and a Communications bus 408.
Wherein:
the processor 402, communication interface 406, and memory 404 communicate with each other via a communication bus 408.
A communication interface 406 for communicating with network elements of other devices, such as clients or other servers.
The processor 402 is configured to execute the program 410, and may specifically execute relevant steps in the above embodiment of the method for generating package information of a product.
In particular, program 410 may include program code comprising computer operating instructions.
The processor 402 may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The electronic device comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may be different types of processors such as one or more CPUs and one or more ASICs.
And a memory 404 for storing a program 410. The memory 404 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 410 may specifically be configured to enable the processor 402 to perform the respective operations in the above-described method embodiments.
And a memory 404 for storing a program 410. The memory 404 may comprise high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 410 may specifically be configured to enable the processor 402 to perform the respective operations in the above-described method embodiments.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a voice input information based lottery system according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (14)

1. A method for generating package information of commodities comprises the following steps:
displaying a package creation page including a candidate picture area according to a received package creation request, wherein the candidate picture area is used for displaying each single picture stored in a preset single library; calculating the correlation between the single feature data associated with each single picture in the preset single library and package description information contained in the package creation request, wherein the single picture with the higher correlation is ranked in the candidate picture area more ahead;
when receiving a picture identification request triggered by a single picture displayed in a candidate picture area, determining a target picture corresponding to the picture identification request;
identifying single item feature data associated with the target picture, and filling single item attribute data records corresponding to the single item feature data in a preset information entry area;
and generating a package containing at least two single products corresponding to the at least two single product attribute data records according to the at least two single product attribute data records filled in the preset information entry area.
2. The method of claim 1, wherein the package creation page further includes a picture identification area for triggering the picture identification request;
the receiving of the picture identification request triggered by the single picture displayed in the candidate picture area includes:
detecting whether the added single picture from the candidate picture area exists in the picture identification area;
and if so, determining that a picture identification request triggered by the single picture displayed in the candidate picture area is received.
3. The method of claim 2, wherein the detecting whether there is an added singleton picture from the candidate picture region within the picture identification region comprises:
and detecting whether the single picture from the candidate picture area added by a dragging mode and/or a preset trigger action exists in the picture identification area.
4. The method of any of claims 1-3, wherein the pre-defined singles library is further configured to store singles feature data associated with each singles picture; said identifying the singleton feature data associated with the target picture comprises:
and acquiring the single item feature data associated with the target picture from the preset single item library.
5. The method of claim 1, wherein the item attribute data record includes a plurality of preset attribute fields, and the item feature data includes a plurality of feature data segments corresponding to the plurality of preset attribute fields, respectively;
filling the single item attribute data records corresponding to the single item feature data in the preset information entry area comprises:
and respectively aiming at each preset attribute field, extracting a characteristic data segment corresponding to the preset attribute field from the single-product characteristic data, and filling the preset attribute field according to the extracted characteristic data segment.
6. The method of claim 1, wherein the determining a target picture corresponding to the picture identification request comprises: determining the target picture according to the picture identification contained in the picture identification request; and/or performing image identification processing on the single picture corresponding to the picture identification request, and determining the target picture according to a processing result;
the picture identification area contained in the package creation page is adjacent to the information entry area and the candidate picture area respectively.
7. An apparatus for generating package information, comprising:
the target picture determining module is suitable for determining a target picture corresponding to a picture identification request when receiving the picture identification request triggered by a single picture displayed in a candidate picture area;
the single item attribute data record filling module is suitable for identifying the single item characteristic data associated with the target picture and filling a single item attribute data record corresponding to the single item characteristic data in a preset information input area;
the package generation module is suitable for generating a package containing at least two single products corresponding to the at least two single product attribute data records according to the at least two single product attribute data records filled in the preset information entry area;
wherein the apparatus further comprises:
the package creation page display module is suitable for displaying a package creation page containing the candidate picture area according to a received package creation request; the candidate picture area is used for displaying each single picture stored in a preset single product library; and calculating the correlation between the single feature data associated with each single picture in the preset single library and package description information contained in the package creation request, wherein the single picture with higher correlation is ranked in the candidate picture area more ahead.
8. The apparatus of claim 7, wherein the package creation page further includes a picture identification area for triggering the picture identification request;
the target picture determination module is adapted to:
detecting whether the added single picture from the candidate picture area exists in the picture identification area;
and if so, determining that a picture identification request triggered by the single picture displayed in the candidate picture area is received.
9. The apparatus of claim 8, wherein the target picture determination module is further adapted to:
and detecting whether the single picture from the candidate picture area added by a dragging mode and/or a preset trigger action exists in the picture identification area.
10. The apparatus of any of claims 7-9, wherein the predetermined singleton library is further configured to store singleton characteristic data associated with each singleton picture; the singleton attribute data record populating module is adapted to:
and acquiring the single item feature data associated with the target picture from the preset single item library.
11. The apparatus of claim 7, wherein the item attribute data record includes a plurality of preset attribute fields, and the item feature data includes a plurality of feature data segments corresponding to the plurality of preset attribute fields, respectively;
the singleton attribute data record populating module is adapted to:
and respectively aiming at each preset attribute field, extracting a characteristic data segment corresponding to the preset attribute field from the single-product characteristic data, and filling the preset attribute field according to the extracted characteristic data segment.
12. The apparatus of claim 7, wherein the target picture determination module is further adapted to: determining the target picture according to the picture identification contained in the picture identification request; and/or performing image identification processing on the single picture corresponding to the picture identification request, and determining the target picture according to a processing result;
the picture identification area contained in the package creation page is adjacent to the information entry area and the candidate picture area respectively.
13. An electronic device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the operation corresponding to the generation method of the commodity package information as set forth in any one of claims 1-6.
14. A computer storage medium having at least one executable instruction stored therein, the executable instruction causing a processor to perform operations corresponding to the method for generating package information of merchandise according to any one of claims 1-6.
CN201910220903.3A 2019-03-22 2019-03-22 Method and device for generating commodity package information Active CN110059279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910220903.3A CN110059279B (en) 2019-03-22 2019-03-22 Method and device for generating commodity package information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910220903.3A CN110059279B (en) 2019-03-22 2019-03-22 Method and device for generating commodity package information

Publications (2)

Publication Number Publication Date
CN110059279A CN110059279A (en) 2019-07-26
CN110059279B true CN110059279B (en) 2021-02-02

Family

ID=67317276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910220903.3A Active CN110059279B (en) 2019-03-22 2019-03-22 Method and device for generating commodity package information

Country Status (1)

Country Link
CN (1) CN110059279B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025613A (en) * 2017-04-18 2017-08-08 腾讯科技(上海)有限公司 A kind of automatic method of ordering and terminal
CN107464269A (en) * 2016-06-02 2017-12-12 阿里巴巴集团控股有限公司 Arranging effect map generalization method, apparatus and system
CN107705066A (en) * 2017-09-15 2018-02-16 广州唯品会研究院有限公司 Information input method and electronic equipment during a kind of commodity storage
CN109284712A (en) * 2018-09-20 2019-01-29 浙江口碑网络技术有限公司 The configuration method and device of merchandise news
CN109447749A (en) * 2018-10-24 2019-03-08 口碑(上海)信息技术有限公司 Merchandise news input method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107464269A (en) * 2016-06-02 2017-12-12 阿里巴巴集团控股有限公司 Arranging effect map generalization method, apparatus and system
CN107025613A (en) * 2017-04-18 2017-08-08 腾讯科技(上海)有限公司 A kind of automatic method of ordering and terminal
CN107705066A (en) * 2017-09-15 2018-02-16 广州唯品会研究院有限公司 Information input method and electronic equipment during a kind of commodity storage
CN109284712A (en) * 2018-09-20 2019-01-29 浙江口碑网络技术有限公司 The configuration method and device of merchandise news
CN109447749A (en) * 2018-10-24 2019-03-08 口碑(上海)信息技术有限公司 Merchandise news input method and device

Also Published As

Publication number Publication date
CN110059279A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN109635198B (en) Method, device, medium and electronic equipment for presenting user search results on commodity display platform
US10163146B2 (en) Method and system for displaying location based dining recommendation labels in a reduced image area of an interface
JP2021515297A (en) Automatic sales methods and equipment, as well as computer-readable storage media
JP7104948B2 (en) Inventory control server, inventory control system, inventory control program and inventory control method
US11720954B2 (en) Image-based listing using image of multiple items
CN109284712B (en) Configuration method and device of commodity information
CN111506849A (en) Page generation method and device
CN110858378B (en) Evaluation information display method, order creation method, purchasing method and device
US20230237511A1 (en) Alcohol information management system and management method
CN112948521B (en) Object handling method and device
CN111626823B (en) Display method and device
CN116305977A (en) Virtual shelf construction method, device, equipment and storage medium
CN110111186A (en) Information processing method, device, electronic equipment and computer readable storage medium
JP6945518B2 (en) Information processing equipment, information processing methods and information processing programs
JP2013025386A (en) Merchandise information provision device, merchandise information provision method and program
CN111292153A (en) Information recommendation method, device, system and storage medium
CN110059279B (en) Method and device for generating commodity package information
JP6583043B2 (en) Image display device, display control method, and display control program
CN113191834A (en) Commodity object publishing and identifying method and device, electronic equipment and storage medium
WO2023280124A1 (en) Weighing processing method and apparatus, and weighing devices
CN114219589B (en) Virtual entity object generation and page display method and device and electronic equipment
TW201631540A (en) Electronic trading terminal, electronic trading method, recording medium, and program
JP6586904B2 (en) Image display device, display control method, and display control program
CN113065929A (en) Display processing method and device for list page
CN112364265A (en) Search result display method, electronic device, and computer storage medium

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