Product code generation method and device, equipment and storage medium
By generating product encodings containing multi-dimensional fine-grained information, the problem of single product encoding information in the prior art is solved, and the convenience of different users obtaining product information according to their needs is achieved, which is suitable for the management needs of assembled products.
Patent Information
- Application Number
- CN202411901121.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-23
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2044-12-23
AI Technical Summary
The existing product encoding information is single, which cannot meet the diversified needs of different users for product information, especially in assembled product management, which increases the difficulty of product management.
By obtaining a variety of product information of the target product, including component information, component connection information and logistics tracking information, a product encoding containing multi-dimensional fine-grained information is generated. This encoding can be used by different users to obtain clear and clear information according to their needs, improving the convenience of product management.
It realizes the provision of clear and clear information to different users through product encoding, improves the convenience of product management, and is suitable for the diversified management needs of assembled products.
Smart Images

Figure CN119849435A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a product code generation method, device, equipment and storage medium. Background Art
[0002] With the advent of the digital age, in order to better manage various products, each product is generally coded to generate a product code for identifying the product. The product code contains various attributes and information of the product, such as product name, model, batch, production date, manufacturer, etc. This information is very important for enterprises because it can help enterprises better trace the source, batch, quality and other information of the product, so as to better manage product and service users.
[0003] However, the information contained in the current product codes is relatively simple, and different users (for example, manufacturers, logistics providers, designers, installers, etc.) have different requirements for the level of detail of product information, especially for some assembled products (for example, assembled house frames, assembled steel structures, etc.). This results in different users having to use other methods to obtain the information they want when managing products, which increases the difficulty of product management. Summary of the invention
[0004] The present application provides a product code generation method, device, equipment and storage medium to improve the convenience of product management.
[0005] In a first aspect, a product coding method is provided, comprising:
[0006] Acquire at least one kind of product information of a target product; wherein different kinds of product information are used to represent information under different attributes of the target product;
[0007] A first product code of the target product is generated according to the at least one product information.
[0008] In an embodiment of the present application, at least one type of product information of a target product is obtained; wherein, different types of product information are used to characterize information under different attributes of the target product; based on at least one type of product information, a first product code of the target product is generated. Since the first product code contains multi-dimensional and fine-grained product information of the entire target product, clear and concise information can be provided to different users in a timely manner based on the product code according to the needs of different users, thereby improving the convenience of product management.
[0009] Optionally, the at least one product information includes at least:
[0010] Component information of the target product;
[0011] Component connection information between components in the target product;
[0012] Logistics tracking information of the target product.
[0013] Optionally, the component information includes component name, component type, component material, component size, and component quantity of each component in the target product;
[0014] The component connection information includes the location information of each component, the component name of the adjacent component to which each component is connected, and the fixing device information used by each component to connect the adjacent component;
[0015] The logistics tracking information includes the current geographic information, usage scenario, and appearance information of each of the components.
[0016] Optionally, generating a first product code of the target product according to the at least one product information includes:
[0017] A code generator is used to generate a first product code for the target product according to the component information, the component connection information, and the logistics tracking information; wherein the first product code is a two-dimensional code, and the two-dimensional code is provided with an expiration date.
[0018] Optionally, after generating the first product code of the target product according to the at least one product information, the method further includes:
[0019] receiving a component change request for the target product; wherein the component change request includes a component name of a target component to be changed in the target product and component change information of the target component;
[0020] According to the component name of the target component, acquiring target product information associated with the target component from the first product code;
[0021] The target product information is updated to the component change information, and a second product code of the target product is generated.
[0022] Optionally, after generating the first product code of the target product according to the at least one product information, the method further includes:
[0023] Receive a component addition request for the target product; wherein the component addition request includes a component name of the new component and component addition information of the new component;
[0024] Acquire at least one product information of the target product from the first product code;
[0025] The component name of the new component and the component additional information are added to the at least one product information, and a third product code of the target product is generated.
[0026] Optionally, after generating the first product code of the target product according to the at least one product information, the method further includes:
[0027] Receiving a component query request for the target product; wherein the component query request carries the component name of the component to be searched;
[0028] According to the component name of the component to be checked, a query result list associated with the component to be checked is queried from the first product code, and a query request response carrying the query result list is output.
[0029] In a second aspect, a product coding device is provided, comprising:
[0030] An acquisition module, used to acquire at least one type of product information of a target product; wherein different types of product information are used to represent information under different attributes of the target product;
[0031] A generating module is used to generate a first product code of the target product according to the at least one product information.
[0032] Optionally, the at least one product information includes at least:
[0033] Component information of the target product;
[0034] Component connection information between components in the target product;
[0035] Logistics tracking information of the target product.
[0036] Optionally, the component information includes component name, component type, component material, component size, and component quantity of each component in the target product;
[0037] The component connection information includes the location information of each component, the component name of the adjacent component to which each component is connected, and the fixing device information used by each component to connect the adjacent component;
[0038] The logistics tracking information includes the current geographic information, usage scenario, and appearance information of each of the components.
[0039] Optionally, generating a first product code of the target product according to the at least one product information includes:
[0040] A code generator is used to generate a first product code for the target product according to the component information, the component connection information, and the logistics tracking information; wherein the first product code is a two-dimensional code, and the two-dimensional code is provided with an expiration date.
[0041] Optionally, after generating the first product code of the target product according to the at least one product information, the method further includes:
[0042] receiving a component change request for the target product; wherein the component change request includes a component name of a target component to be changed in the target product and component change information of the target component;
[0043] According to the component name of the target component, acquiring target product information associated with the target component from the first product code;
[0044] The target product information is updated to the component change information, and a second product code of the target product is generated.
[0045] Optionally, after generating the first product code of the target product according to the at least one product information, the method further includes:
[0046] Receive a component addition request for the target product; wherein the component addition request includes a component name of the new component and component addition information of the new component;
[0047] Acquire at least one product information of the target product from the first product code;
[0048] The component name of the new component and the component additional information are added to the at least one product information, and a third product code of the target product is generated.
[0049] Optionally, after generating the first product code of the target product according to the at least one product information, the method further includes:
[0050] Receiving a component query request for the target product; wherein the component query request carries the component name of the component to be searched;
[0051] According to the component name of the component to be checked, a query result list associated with the component to be checked is queried from the first product code, and a query request response carrying the query result list is output.
[0052] According to a third aspect, an electronic device is provided, including:
[0053] A memory for storing a computer program; a processor for implementing any one of the method steps in the first aspect when executing the computer program stored in the memory.
[0054] According to a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method steps described in any one of the first aspects are implemented.
[0055] For each aspect from the second to the fourth aspect and the technical effects that may be achieved by each aspect, please refer to the above description of the technical effects that can be achieved by the first aspect or various possible schemes in the first aspect, and no further details will be given here. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 A schematic diagram of an application scenario applicable to the embodiments of the present application;
[0057] Figure 2 A flowchart of a method for generating a product code provided in an embodiment of the present application;
[0058] Figure 3 A schematic diagram of a connection plane of a component provided in an embodiment of the present application;
[0059] Figure 4 A schematic diagram of the structure of a device for generating a product code provided in an embodiment of the present application;
[0060] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0061] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The specific operating methods in the method embodiments can also be applied to device embodiments or system embodiments. It should be noted that in the description of the present application, "multiple" is understood as "at least two". "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. A is connected to B, which can represent: A is directly connected to B and A is connected to B through C. In addition, in the description of the present application, words such as "first" and "second" are only used to distinguish the purpose of description, and cannot be understood as indicating or implying relative importance, nor can they be understood as indicating or implying order.
[0062] The following is a brief introduction to the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limited. In specific implementation, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.
[0063] Figure 1 Schematic diagram of an application scenario applicable to the embodiment of the present application. As shown in the figure, the application scenario mainly includes: a terminal 10 and a server 11. Among them, information exchange can be performed between the terminal 10 and the server 11 through a communication network, and the communication mode adopted by the communication network may include: a wireless communication mode and a wired communication mode.
[0064] Exemplarily, the terminal 10 can access the network and communicate with the server 11 through cellular mobile communication technology, and the cellular mobile communication technology may include fifth generation mobile communication (5th Generation Mobile Networks, 5G) technology.
[0065] Exemplarily, the terminal 10 may access the network and communicate with the server 11 via a short-range wireless communication method, and the short-range wireless communication method may include Wireless Fidelity (Wi-Fi) technology.
[0066] The present application embodiment does not impose any restriction on the number of the above-mentioned devices. Figure 1 As shown, only the terminal 10 and the server 11 are described as examples, and the above-mentioned devices and their respective functions are briefly introduced below.
[0067] The terminal 10 is a device that can provide voice and / or data connectivity to the user, including: a handheld terminal device with a wireless connection function, a vehicle-mounted terminal device, etc.
[0068] Exemplarily, terminal 10 includes, but is not limited to: mobile phones, tablet computers, laptop computers, PDAs, mobile Internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminal devices in industrial control, wireless terminal devices in unmanned driving, wireless terminal devices in smart grids, wireless terminal devices in transportation safety, wireless terminal devices in smart cities, or wireless terminal devices in smart homes, etc.
[0069] In addition, a client related to product code processing may be installed on the terminal 10, and the client may be software (e.g., APP, browser, etc.), or a web page, applet, etc. In the embodiment of the present application, the terminal 10 may use the client related to product code management, and may interact with the server 11 to generate, manage, analyze, and use product codes of products.
[0070] Furthermore, server 11 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), as well as big data and artificial intelligence platforms.
[0071] Furthermore, in an embodiment of the present application, the server 11 may be equipped with a product code generating device corresponding to the client, and the product code generating device is used to generate a product code for the product based on various product information of the product obtained, and then upload the product code in the form of data to an online end (which may include an internal network, a similar product information platform, or a shopping platform, etc.), thereby providing convenient services with different needs for various users subsequently related to the product.
[0072] For example, for installers, when obtaining the various components of the product, they can obtain the product information related to assembly based on the product code, so that the installers can accurately restore the overall structure of the product; for warehouse managers, all product information of the product can be obtained based on the product code, so that the warehouse managers can accurately classify and store it; for lessors or sellers, all product information of the product can be obtained based on the product code, so that the lessors or sellers can prepare for the leasing or sale of the product in advance; for future users of the product, all product information of the product can be obtained based on the product code, so as to achieve no-waiting docking, reduce costs, and improve user experience.
[0073] To further illustrate the technical solution provided by the embodiment of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiment of the present application provides the method operation steps as shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided by the embodiment of the present application. The method may be executed or executed in parallel in the actual processing process or when the device is executed in accordance with the method sequence shown in the embodiment or drawings.
[0074] Figure 2 The flowchart of a method for generating a product code provided in an embodiment of the present application is shown in FIG. The flowchart can be executed by a product coding device, which can be implemented by software and / or hardware. Figure 2 As shown, the process includes the following steps:
[0075] 201: Obtain at least one type of product information of a target product; wherein different types of product information are used to represent information under different attributes of the target product.
[0076] Optionally, the at least one product information includes at least the following:
[0077] The first one is the component information of the target product.
[0078] Furthermore, the component information may specifically include the component name, component material, component size, component quantity, etc. of each component in the target product.
[0079] Taking the column as an example, the information may include: column 120 is a square tube profile, with a length of 2100mm, a top and bottom steel plate of t12mm thickness, a length and width of 240x240mm, a total of 2 pieces of this component, and a total of 6 columns.
[0080] The second type is the component connection information between components in the target product.
[0081] Furthermore, the component connection information includes location information of each component, component names of adjacent components to which each component is connected, and information of fixing devices used by each component to connect to adjacent components.
[0082] by Figure 3 For example, the position of a certain component is at the position X1Y1. The component has four directions ABCD (for example, the starting point A is in the south-north direction), and there are diagonal braces for connecting adjacent components ("X") on the three sides of ABC. The components are connected and fixed with bolts and nuts (for example, model M12 with a length of 40mm) and iron expansion bolts (for example, model M12 with a length of 120mm).
[0083] The third type is the logistics tracking information of each component in the target product.
[0084] Furthermore, the logistics tracking information may include the current geographic information, usage scenario, appearance information, etc. of each component, and may also include the weight information of the target product, etc.
[0085] For example, a component of the target product was rented in a certain city from January 2021 to June 2021, weighs 30 kilograms, is white, and has a color number of 7035.
[0086] Optionally, to obtain at least one product information of the target product, an image acquisition device may be used for identification, a scanning device may be used for scanning, or other acquisition techniques may be used for acquisition, which is not limited in the embodiments of the present application.
[0087] 202: Generate a first product code of the target product according to the at least one product information.
[0088] Optionally, the first product code of the target product is generated, specifically by: using a code generator, and generating the first product code of the target product according to the above-mentioned component information, component connection information, and logistics tracking information; wherein, the first product code may be a QR code, and the QR code is provided with an expiration date.
[0089] In some embodiments, the first product code may also be a barcode or other forms of code. The embodiments of the present application do not impose any specific restrictions on the presentation form of the code.
[0090] Taking the three types of product information mentioned above as an example, a code (which may be letters, numbers, symbols, etc.) is assigned to the information contained in each type of product information for identification.
[0091] For the first type mentioned above, letters can be used to represent the component names (for example, column: L, diagonal brace: X, main beam: H, secondary beam: h, floor: D, wall panel: Q); numbers, as well as a combination of numbers and letters, can be used to represent the component types (for example, 120: square tube, 120R: 120mm diameter round tube, 200H: 200H steel, 100I: No. 100 I-beam); the size of the component is represented by specific numbers, and the length of the component is represented by l; pcs represents the number of components / total number; plt represents the thickness and size of the steel plate.
[0092] Based on the above, if the column 120 is a square tube profile with a length of 2100mm, a top and bottom steel plate of t12mm thickness, a length and width of 240x240mm, and there are 2 pieces of this component, and the total number of columns is 6 pieces, the corresponding code is L120l2100plt12-240x240pcs2 / 6;
[0093] For the second type mentioned above, the position of a certain component is at the position X1Y1, the component has four directions ABCD (for example, the starting point A is in the south-north direction), and there are diagonal braces connecting adjacent components ("X") on the three sides of ABC. The components are connected and fixed with bolts and nuts (for example, model M12 with a length of 40mm) and iron expansion bolts (for example, model M12 with a length of 120mm). The corresponding code can be X1Y1ABCX-BNM12-40SSM12-120, where BN represents bolts and nuts, and SS represents iron expansion bolts.
[0094] For the third type mentioned above, different letters can be used to represent different usage scenarios (for example, R stands for rental, ST stands for warehousing, T stands for trial or display, S stands for sale, RE stands for sold but with an agreed repurchase time, etc.); the appearance information can be represented by capitalized abbreviations and specific color numbers, multiple letters can be used to represent a city, and specific time can be represented in digital form.
[0095] Taking the above example, a certain component was rented in a certain city from January 2021 to June 2021. It weighs 30 kg, is white, and has a color number of 7035. The corresponding code is SZFH2101-2106R30kgW7035.
[0096] Finally, the above three codes are combined to obtain the code of the component: L120l2100plt12-240x240pcs2 / 6-X1Y1ABCX-BNM12-40SSM12-120-SZFH2101-2106R30kgW7035.
[0097] Similarly, other components of the target product are also encoded in the above manner until all components are encoded to obtain the product code of the target product. For example, the code for the floor is DDit4-1510x570pcs5 / 10-X1Y1-X2Y1-BN0000-SZFH2101-2106R19kgW7035; wherein D represents floor, Di represents diamond, Wo represents wood, St represents stainsteel, StDi represents stainless steel diamond, and Al represents aluminum alloy. The meaning of the product code is: first, the material type of the floor is diamond with a thickness of 4mm, a component size of 1510*570mm, 5 components, and 10 floors in total. No fixing devices are used to fix the component during installation (so 0000 is added after BN). Secondly, according to the plane position of X1Y1-X2Y1, the Y direction value has not changed, so it is known that the component is installed in a "0-X" horizontal laying. If the plane position of the other 5 planks is X2Y1-X1Y1, and they are laid in the opposite direction of "X-0", it can be judged that the other 5 planks are symmetrical with it; finally, the floor was rented at a location called "SZFH" from January 2021 to June 2021, weighing 19kg, white in color, and color number Ral7035.
[0098] Finally, assume that the target product is an assembled loft light steel platform with a length and width of 3Mx3M, a height of 2.1 meters, and white (color number Ral7035). It is rented out as a light cargo storage layer in the city SZFH in January for a period of six months, expiring at the end of June. The codes of the components of this product are as follows:
[0099] L120l2100plt12-240x240pcs4 / 4-X1Y1ABX-BNM12-40SSM12-120-SZFH2101-2106R30kgW7035 (characterizing the code of the column);
[0100] X10Cl660plt8-150x50pcs4 / 8-X1Y1BC-BNM10-30-SZFH2101-2106R8kgW7035 (code representing 660mm diagonal brace);
[0101] X10Cl700plt8-150x50pcs4 / 8-X1Y1BC-BNM10-30-SZFH2101-2106R8.5kgW7035 (code representing 700mm diagonal brace);
[0102] H12Cl3000plt12-240x240pcs2 / 2-X1Y1-X2Y1-BNM12-40-SZFH2101-2106R25kgW7035 (code representing sorghum);
[0103] h10Cl2800pl0000pcs6 / 6-X1Y1-X1Y2-BNM10-35-SZFH2101-2106R17kgW7035 (code characterizing trabeculae);
[0104] DDit4-1510x570pcs5 / 10-X1Y1-X2Y1-BN0000-SZFH2101-2106R19kgW7035; (characterizing the code of the patterned plate floor at position 1);
[0105] DDit4-1510x570pcs5 / 10-X2Y1-X1Y1-BN0000-SZFH2101-2106R19kgW7035; (the code representing the patterned plate floor in position 2).
[0106] Optionally, after the first product code of the target product is generated according to at least one product information, during the circulation process, corresponding convenient services may be provided according to different requests of users, including the following implementations:
[0107] Implementation 1, receiving a component change request for a target product; wherein the component change request includes a component name of a target component to be changed in the target product, and component change information of the target component; obtaining target product information associated with the target component from a first product code according to the component name of the target component; updating the target product information to the component change information, and generating a second product code for the target product.
[0108] For example, taking the assembled loft light steel platform as an example, assuming that the product is pre-sold or pre-leased online again some time before the lease is terminated, and a component change request for the product is received; the component change information includes a user from the city CZLY, shortening the original height from 2.1M to 2M, and changing the appearance to gray, color number 7001, reducing the original 10 patterned floor panels by 2, and installing stairs in the open position, which was put into use in July); then, according to the component name (column) of the target component, the target product information associated with the target component is obtained from the first product code; and the target product information is changed to the above component change information to generate the second product code of the target product:
[0109] L120l2000plt12-240x240pcs4 / 4-X1Y1ABX-BNM12-40SSM12-120-CZLY2107-2112R30kgG7001 (new code for the column);
[0110] X10Cl660plt8-150x50pcs4 / 8-X1Y1BC-BNM10-30-CZLY2107-2112R8kgG7001 (new code for 660mm diagonal brace);
[0111] X10Cl700plt8-150x50pcs4 / 8-X1Y1BC-BNM10-30-CZLY2107-2112R8kgG7001 (new code for 700mm diagonal brace);
[0112] H12Cl3000plt12-240x240pcs2 / 2-X1Y1-X2Y1-BNM12-40-CZLY2107-2112R25kgG7001 (new code to characterize beam);
[0113] h10Cl2800pl0000pcs1 / 6-X1Y1-X1Y2-BNM10-35-CZLY2107-2112R17kgG7001 (new code to characterize trabeculae);
[0114] DDit4-1510x570pcs4 / 10-X1Y1-X2Y1-BN0000--CZLY2107-2112R19kgG7001 (new code for the patterned plate floor at position 1);
[0115] DDit4-1510x570pcs4 / 10-X2Y1-X1Y1-BN0000--CZLY2107-2112R19kgG7001 (new code representing position 2 patterned plate floor).
[0116] Furthermore, the new second product code is uploaded to the online end, so that the customization department that changes the length of the column, the surface treatment department that changes the color of the product, and the installer can start preparations as soon as the online end receives the order information to ensure that it arrives at CZLY before July 21.
[0117] In other embodiments, if all parts of a product that is about to be terminated are not matched to a new user after the expiration information is released, the installers and warehouse personnel may be further notified to arrange a removal schedule, a truck, and a nearby storage space to place the product based on the product code to facilitate sorting and organization.
[0118] Embodiment 2 receives a request for adding a component to a target product; wherein the request for adding a component includes a component name of a new component and component additional information of the new component; obtains at least one product information of the target product from a first product code; adds at least one product information to the component name of the new component and the component additional information, and generates a third product code for the target product.
[0119] For example, taking the assembled loft light steel platform as an example, when a request for adding new components to the product is received, assuming that the user wants to customize new components such as guardrails, enclosures, sound insulation walls, automatic storage doors, etc. based on the original product, based on the new component information, a "+" sign can be added to the original product information (a code with a "+" indicates that the component has connected customized parts), and then a new third product code is generated.
[0120] Furthermore, the new third product code is uploaded to the online end, so that the design department can draw drawings according to the new "+" component request, and the customization department can prefabricate new components such as guardrails according to the drawings to avoid the product being unable to be put into use in time after the main body is installed.
[0121] Embodiment 3, receiving a component query request for a target product; wherein the component query request carries the component name of the component to be queried; based on the component name of the component to be queried, querying a query result list associated with the component to be queried from the first product code, and outputting a query request response carrying the query result list.
[0122] For example, taking the assembled loft light steel platform as an example, the component query request carries the component name (L) of the component to be queried (column), and then based on the L, the query result list (code list) associated with the column is queried from the first product code. This query function allows every component in the warehouse to be displayed and listed at a glance. At the same time, while minimizing changes to the greatest extent, it can quickly match the entire set of products required by the user in the current product and warehouse, thereby facilitating the query and management of management personnel, reducing inventory and improving product utilization.
[0123] In an embodiment of the present application, at least one type of product information of a target product is obtained; wherein, different types of product information are used to characterize information under different attributes of the target product; based on at least one type of product information, a first product code of the target product is generated. Since the first product code contains multi-dimensional and fine-grained product information of the entire target product, clear and concise information can be provided to different users in a timely manner based on the product code according to the needs of different users, thereby improving the convenience of product management.
[0124] It should be noted that the above Figure 2 The target products (or products) involved include but are not limited to the following products: assembled house frames, assembled steel structures, and detachable multifunctional frames.
[0125] It should be noted that the above Figure 2 The embodiments included in the product code generation method shown can be applied in scenarios including but not limited to the following:
[0126] Scenario 1: For installers, it can save labor and speed up installation and reset;
[0127] Scenario 2: For logistics providers, accurate delivery time, vehicle type, cargo weight, and storage point can be arranged;
[0128] Scenario 3: For paint color change, logistics can arrange operations in advance (for example, arrange to start heating and arrange spraying of parts of the same color in advance) to save time;
[0129] Scenario 4: If the user needs to change the structure, the factory can prepare accessories and additional parts in advance;
[0130] Scenario 5: Installable accessories can be replaced to drive secondary sales.
[0131] Scenario 6: Pre-sale, pre-lease and buyback services can be provided, so that products can be recycled and profits can be generated multiple times.
[0132] Based on the same technical concept, a product code generation device is also provided in an embodiment of the present application, and the device can implement the above-mentioned product code generation method process in the embodiment of the present application.
[0133] Figure 4 The schematic diagram of the structure of a device for generating a product code provided in an embodiment of the present application includes an acquisition module 401 , a generation module 402 , and may further include a processing module 403 .
[0134] The acquisition module 401 is used to acquire at least one type of product information of a target product; wherein different types of product information are used to represent information under different attributes of the target product;
[0135] The generating module 402 is configured to generate a first product code of the target product according to the at least one product information.
[0136] Optionally, the generation module 402 is specifically used to use a code generator to generate a first product code for the target product based on the component information, the component connection information, and the logistics tracking information; wherein the first product code is a QR code, and the QR code is set with an expiration date.
[0137] The processing module 403 is used to receive a component change request of the target product; wherein the component change request includes a component name of a target component to be changed in the target product and component change information of the target component;
[0138] According to the component name of the target component, acquiring target product information associated with the target component from the first product code;
[0139] The target product information is updated to the component change information, and a second product code of the target product is generated.
[0140] The processing module 403 is further configured to receive a component addition request for the target product; wherein the component addition request includes a component name of the new component and component addition information of the new component;
[0141] Acquire at least one product information of the target product from the first product code;
[0142] The component name of the new component and the component additional information are added to the at least one product information, and a third product code of the target product is generated.
[0143] The processing module 403 is further configured to receive a component query request for the target product; wherein the component query request carries a component name of the component to be searched;
[0144] According to the component name of the component to be checked, a query result list associated with the component to be checked is queried from the first product code, and a query request response carrying the query result list is output.
[0145] It should be noted here that the above-mentioned device provided in the embodiment of the present application can implement all the method steps in the above-mentioned method embodiment and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.
[0146] Based on the same technical concept, an electronic device is also provided in an embodiment of the present application, and the electronic device can realize the functions of the aforementioned product code generating device.
[0147] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0148] At least one processor 501, and a memory 502 connected to the at least one processor 501. The specific connection medium between the processor 501 and the memory 502 is not limited in the embodiment of the present application. Figure 5 In the example, the processor 501 and the memory 502 are connected via a bus 500. The bus 500 is Figure 5 The connections between other components are shown in bold lines, and are not intended to be limiting. The bus 500 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 501 can also be called a controller, and there is no limitation on the name.
[0149] In the embodiment of the present application, the memory 502 stores instructions that can be executed by at least one processor 501. The at least one processor 501 can execute a product code generation method discussed above by executing the instructions stored in the memory 502. The processor 501 can implement Figure 4 The functions of each module in the device shown.
[0150] Among them, the processor 501 is the control center of the device, and can use various interfaces and lines to connect the various parts of the entire control device. By running or executing instructions stored in the memory 502 and calling data stored in the memory 502, the various functions of the device and processing data, the device can be monitored as a whole.
[0151] In the embodiment of the present application, the processor 501 may include one or more processing units, and the processor 501 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 501. In some embodiments, the processor 501 and the memory 502 may be implemented on the same chip, and in some embodiments, they may also be implemented separately on separate chips.
[0152] The processor 501 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of a product code generation method disclosed in the embodiments of the present application may be directly embodied as being executed by a hardware processor, or may be executed by a combination of hardware and software modules in the processor.
[0153] The memory 502 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 502 may include at least one type of storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory, a random access memory (Random Access Memory, RAM), a static random access memory (Static Random Access Memory, SRAM), a programmable read-only memory (Programmable Read Only Memory, PROM), a read-only memory (Read Only Memory, ROM), an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic memory, a disk, an optical disk, etc. The memory 502 is any other medium that can be used to carry or store a desired program code in the form of an instruction or data structure and can be accessed by a computer, but is not limited thereto. The memory 502 in the embodiment of the present application can also be a circuit or any other device that can realize a storage function, for storing program instructions and / or data.
[0154] By programming the processor 501, the code corresponding to the method for generating a product code described in the above embodiment can be fixed into the chip, so that the chip can execute the code when running. Figure 2The embodiment shown is a method for generating a product code. How to design and program the processor 501 is a technique known to those skilled in the art and will not be described in detail here.
[0155] It should be noted here that the above-mentioned electronic device provided in the embodiment of the present application can implement all the method steps implemented in the above-mentioned method embodiment, and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.
[0156] Based on the same technical concept, the embodiment of the present application provides a computer storage medium, the computer storage medium includes: computer program code, when the computer program code is run on a computer, the computer executes any one of the methods for generating a product code as discussed above. Since the principle of solving the problem by the above computer storage medium is similar to that of a method for generating a product code, the implementation of the above computer storage medium can refer to the implementation of the method, and the repeated parts will not be repeated.
[0157] In the specific implementation process, the computer storage medium may include: Universal Serial Bus Flash Drive (USB), mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, and other storage media that can store program codes.
[0158] Based on the same technical concept, the embodiment of the present application also provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes any one of the methods for generating a product code as discussed above. Since the principle of solving the problem by the above computer program product is similar to that of a method for generating a product code, the implementation of the above computer program product can refer to the implementation of the method, and the repeated parts will not be repeated.
[0159] The computer program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more conductors, a portable disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0160] The method in the present application can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the process or function described in the present application is executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, a core network device, an OAM or other programmable device.
[0161] The computer program or instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer program or instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired or wireless means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that integrates one or more available media. The available medium may be a magnetic medium, such as a floppy disk, a hard disk, or a magnetic tape; it may also be an optical medium, such as a digital video disk; it may also be a semiconductor medium, such as a solid-state drive. The computer-readable storage medium may be a volatile or non-volatile storage medium, or may include both volatile and non-volatile types of storage media.
[0162] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0163] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the instructions in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0164] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0165] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A product coding method, characterized in that: include: Acquire at least one kind of product information of a target product; wherein different kinds of product information are used to represent information under different attributes of the target product; A first product code of the target product is generated according to the at least one product information.
2. The method according to claim 1, characterized in that The at least one product information at least includes: Component information of the target product; Component connection information between components in the target product; Logistics tracking information of the target product.
3. The method according to claim 2, characterized in that The component information includes the component name, component type, component material, component size, and component quantity of each component in the target product; The component connection information includes the location information of each component, the component name of the adjacent component to which each component is connected, and the fixing device information used by each component to connect the adjacent component; The logistics tracking information includes the current geographic information, usage scenario, and appearance information of each of the components.
4. The method according to claim 2 or 3, characterized in that The step of generating a first product code of the target product according to the at least one product information includes: A code generator is used to generate a first product code for the target product according to the component information, the component connection information, and the logistics tracking information; wherein the first product code is a two-dimensional code, and the two-dimensional code is provided with an expiration date.
5. The method according to claim 2 or 3, characterized in that: After generating the first product code of the target product according to the at least one product information, the method further includes: receiving a component change request for the target product; wherein the component change request includes a component name of a target component to be changed in the target product and component change information of the target component; According to the component name of the target component, acquiring target product information associated with the target component from the first product code; The target product information is updated to the component change information, and a second product code of the target product is generated.
6. The method according to claim 2 or 3, characterized in that: After generating the first product code of the target product according to the at least one product information, the method further includes: Receive a component addition request for the target product; wherein the component addition request includes a component name of the new component and component addition information of the new component; Acquire at least one product information of the target product from the first product code; The component name of the new component and the component additional information are added to the at least one product information, and a third product code of the target product is generated.
7. The method according to claim 2 or 3, characterized in that: After generating the first product code of the target product according to the at least one product information, the method further includes: Receiving a component query request for the target product; wherein the component query request carries the component name of the component to be searched; According to the component name of the component to be checked, a query result list associated with the component to be checked is queried from the first product code, and a query request response carrying the query result list is output.
8. A product coding device, characterized in that: include: An acquisition module, used to acquire at least one type of product information of a target product; wherein different types of product information are used to represent information under different attributes of the target product; A generating module is used to generate a first product code of the target product according to the at least one product information.
9. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to implement the method according to any one of claims 1 to 7 when executing a computer program stored in the memory.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Method and system for managing product information
CN104599099A
Code generation method and device, storage medium and electronic equipment
CN113031943A
Building template assembly design method and device, electronic equipment, storage medium and program product
CN114580067A
Part anti-counterfeiting identification method and device and server
CN115099830A
Finite element model automatic assembly method and device, storage medium and computer equipment
CN115186533A