CN108108796A - The generation of Quick Response Code, the method and device based on Quick Response Code management merchandise news - Google Patents

The generation of Quick Response Code, the method and device based on Quick Response Code management merchandise news Download PDF

Info

Publication number
CN108108796A
CN108108796A CN201810054168.9A CN201810054168A CN108108796A CN 108108796 A CN108108796 A CN 108108796A CN 201810054168 A CN201810054168 A CN 201810054168A CN 108108796 A CN108108796 A CN 108108796A
Authority
CN
China
Prior art keywords
code
live
commodity
dimensional code
quick response
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810054168.9A
Other languages
Chinese (zh)
Inventor
刘�东
张丽娜
龙为
蔡辉煌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201810054168.9A priority Critical patent/CN108108796A/en
Publication of CN108108796A publication Critical patent/CN108108796A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/06009Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking
    • G06K19/06037Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code with optically detectable marking multi-dimensional coding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Cash Registers Or Receiving Machines (AREA)

Abstract

The application provides a kind of generation of Quick Response Code, the method and device based on Quick Response Code management merchandise news, and the method based on Quick Response Code management merchandise news includes:Determine the state of live two-dimensional code, wherein, there are one-to-one relationships for the commodity of the live two-dimensional code and participation activity;It is reserved based on the state of live two-dimensional code, under the line of more new commodity on stock and/or line and sells stock.The technical solution of the application can be that the commodity of each participation activity generate unique live two-dimensional code, the state change of live two-dimensional code can also be passed through, it is reserved under the line of dynamic more new commodity on stock and/or line and sells stock, improve the on-line off-line efficiency of management of commodity stocks in advertising campaign.

Description

The generation of Quick Response Code, the method and device based on Quick Response Code management merchandise news
Technical field
Commodity are managed this application involves field of computer technology more particularly to a kind of generation of Quick Response Code, based on Quick Response Code The method and device of information.
Background technology
Online in lower retail shop, it will usually the activity for thering are the physical goods for different batches to be promoted, for example saving To some dates of manufacture, part commodity promote earlier during holiday, that is, have achieved the purpose that promotion, in turn avoided produces day The warehousing pressure of phase product earlier.In the prior art, can by before the bar code of commodity sales promotion add action message, The movable bar code of commodity sales promotion is obtained, and movable bar code is attached in commodity sales promotion and realizes that commodity are done with promotion lives It is dynamic.For example, 5Z is added before the bar code 6933823700113 of commodity sales promotion, you can obtain carrying out five foldings to commodity sales promotion The movable bar code 5Z 6933823700113 of sale.
Due to being identical with the bar code of a commodity, the prior art is directed to the work generated with a commodity Dynamic bar code is also identical, causes a movable bar code that may be recycled repeatedly, can not efficiently realize business The on-line off-line management of product stock;In addition, bar code information capacity is limited, therefore it is not easy using bar code to show a variety of rush Pin activity and the activity term of validity.
The content of the invention
In view of this, the application provides a kind of generation of Quick Response Code, method and dress based on Quick Response Code management merchandise news It puts, can at least partially or totally solve above-mentioned problems of the prior art.
To achieve the above object, it is as follows to provide technical solution by the application:
According to the first aspect of the application, it is proposed that a kind of generation method of Quick Response Code, including:
The action message of commodity is converted into initial live activity code;
Based on the initial live activity code, the bar code of commodity, Quick Response Code identity code, generate live two-dimensional code, wherein, There are one-to-one relationships for the live two-dimensional code and the commodity of participation activity.
In one embodiment, based on the initial live activity code, the bar code of commodity, Quick Response Code identity code, generation live Dynamic Quick Response Code, including:
The identity code of the initial live activity code, the bar code of commodity, Quick Response Code according to setting order is arranged, is obtained To the first character string;
Coded treatment is carried out to first character string, obtains the first data encoding;
The live two-dimensional code is generated based on the first data encoding and Error Correction of Coding.
In one embodiment, it is described based on the initial live activity code, the bar code of commodity, Quick Response Code identity code, it is raw Into movable Quick Response Code, including:
The bar code and the initial live activity code are integrated, obtain goal activities code;
The goal activities code with the identity code according to setting order is ranked up, obtains the second character string;
Coded treatment is carried out to second character string, obtains the second data encoding;
The live two-dimensional code is generated based on the second data encoding and Error Correction of Coding.
In one embodiment, the action message of the commodity includes at least one following information:Activity Type, energy Degree, movable shops, the activity term of validity.
According to the second aspect of the application, it is proposed that a kind of method based on Quick Response Code management merchandise news, including:
Determine the state of live two-dimensional code, wherein, the commodity of the live two-dimensional code and participation activity, which exist, to be corresponded Relation;
It is reserved based on the state of live two-dimensional code, under the line of more new commodity and stock is sold on stock and/or line, under the line Reserved stock is used to indicate the stock for the commodity that can only be sold under line, and stock is sold on the line and is used to indicate what can be sold on line The stock of commodity, the state of the live two-dimensional code include status in effect and are consumed state.
In one embodiment, the action message based on commodity, the bar code of commodity, the identity code of Quick Response Code, generation are lived Dynamic Quick Response Code;
After live two-dimensional code is generated, increase to reserve stock under the line of commodity and reduce and stock is sold on line.
In one embodiment, when the Quick Response Code is performed following any operation, the shape of the live two-dimensional code is determined State is to be consumed state:
The commodity that the live two-dimensional code is marked are damaged by report;Alternatively,
The live two-dimensional code is written off;Alternatively,
The generated time of the live two-dimensional code has been more than the term of validity of the live two-dimensional code;Alternatively,
The Status Change of the live two-dimensional code is to scrap state.
In one embodiment, the state based on live two-dimensional code is reserved on stock and/or line under the line of more new commodity Stock is sold, including:
When the commodity that the live two-dimensional code is marked are written off by report damage or the live two-dimensional code, described in reduction Stock is reserved under the line of commodity, and does not increase and sells stock on the line;
It has been more than the term of validity of the live two-dimensional code in the generated time of the live two-dimensional code or has been set by user It puts interface and the state of the live two-dimensional code is set when scrapping state, to reduce and stock being reserved under the line of the commodity, and increase Add and sell stock on the line.
According to the third aspect of the application, it is proposed that a kind of generating means of Quick Response Code, described device include:
Modular converter, for the action message of commodity to be converted to initial live activity code;
First generation module, for based on the initial live activity code, the bar code of commodity, Quick Response Code identity code, it is raw Into movable Quick Response Code, wherein, there are one-to-one relationships for the commodity of the live two-dimensional code and participation activity.
According to the fourth aspect of the application, it is proposed that a kind of device based on Quick Response Code management merchandise news, including:
First determining module, for determining the state of live two-dimensional code, wherein, the live two-dimensional code and participation activity There are one-to-one relationships for commodity;
Update module is reserved for the state based on live two-dimensional code, under the line of more new commodity and sold on stock and/or line Stock reserves the stock that stock is used to indicate the commodity that can only be sold under line under the line, stock is sold for referring on the line Show the stock for the commodity that can be sold on line, the state of the live two-dimensional code includes status in effect and is consumed state.
According to the 5th of the application the aspect, it is proposed that a kind of computer readable storage medium, the storage medium are stored with Computer program, for performing the generation method of the Quick Response Code described in above-mentioned first aspect.
According to the 6th of the application the aspect, it is proposed that a kind of computer readable storage medium, the storage medium are stored with Computer program, for performing the method based on Quick Response Code management merchandise news described in above-mentioned second aspect.
According to the 7th of the application the aspect, it is proposed that a kind of electronic equipment including memory, processor and is stored in On reservoir and the computer program that can run on a processor, processing are realized when performing described program as described in above-mentioned first aspect Quick Response Code generation method.
According to the eighth aspect of the application, it is proposed that a kind of electronic equipment including memory, processor and is stored in On reservoir and the computer program that can run on a processor, processing are realized when performing described program as described in above-mentioned second aspect Based on Quick Response Code management merchandise news method.
By above technical scheme as it can be seen that the application can be when there is commodity participation activity, to the business of each participation activity Product generate unique live two-dimensional code, since the information that live two-dimensional code can include is relatively more, can be adapted for cleverer Promotion method living, with a greater variety;In addition, the application can also be by the state change of live two-dimensional code, the line of dynamic more new commodity Stock is sold on reserved stock and/or line down, improves the on-line off-line efficiency of management of commodity stocks in advertising campaign.In addition, Since live two-dimensional code has uniqueness in the application, each commodity corresponds to a live two-dimensional code, therefore can be based on living The generation and consumption of dynamic Quick Response Code, realize the recording, tracking to each commodity of participation activity.
Description of the drawings
Fig. 1 is the system schematic that an exemplary embodiment manages merchandise news based on Quick Response Code according to the present invention;
Fig. 2A is the flow chart of method of the exemplary embodiment based on Quick Response Code management merchandise news according to the present invention;
Fig. 2 B show the schematic diagram that the live two-dimensional code of Fig. 2A illustrated embodiments is consumed;
Fig. 3 is the generation method flow chart of an exemplary embodiment Quick Response Code according to the present invention;
Fig. 4 is the generation method flow chart of another exemplary embodiment Quick Response Code according to the present invention;
Fig. 5 is the generation method flow chart of another exemplary embodiment Quick Response Code according to the present invention;
Fig. 6 is the structure chart of device of the exemplary embodiment based on Quick Response Code management merchandise news according to the present invention;
Fig. 7 is the structure chart of device of the another exemplary embodiment based on Quick Response Code management merchandise news according to the present invention;
Fig. 8 is the structure chart of the generating means of an exemplary embodiment Quick Response Code according to the present invention;
Fig. 9 shows the structure chart of the electronic equipment of an exemplary embodiment according to the present invention.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is only merely for the purpose of description specific embodiment in term used in this application, and is not intended to be limiting the application. It is also intended in the application and " one kind " of singulative used in the attached claims, " described " and "the" including majority Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, it is not departing from In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
Fig. 1 is the system schematic that an exemplary embodiment manages merchandise news based on Quick Response Code according to the present invention, is based on The system of Quick Response Code management merchandise news includes an electronic equipment 11, printing device 12 and a barcode scanning equipment 13, and electronics is set Application software in standby 11, printing device 12 and a barcode scanning equipment 13 is installed, and can be realized by the application software installed Merchandise news is managed by live two-dimensional code.Wherein, electronic equipment can be handheld terminal (Personal Digital Assistant, referred to as PDA), or others can set to generate terminal or the service of live two-dimensional code Device for setting live two-dimensional code to the commodity of participation activity, and passes through printing device 12 and prints, printing device 12 to be controlled to beat Live two-dimensional code is printed, and when commodity are bought by user, barcode scanning equipment 13 (equipped with barcode scanning settle accounts by the cash register of such as cashier The terminal device of software) barcode scanning clearing can be carried out to live two-dimensional code, and barcode scanning is carried out to live two-dimensional code in barcode scanning equipment 13 After clearing, electronic equipment 11 can be reserved under the line of real-time update commodity and sell stock on stock and/or line.
Technical scheme can apply single product (particular commodity) advertising campaign, not be this that is, for a commodity Thus all commodity all activities of money commodity, and simply subparticipation activity can solve carrying out single product in the prior art During advertising campaign, movable bar code may be recycled the on-line off-line pipe that repeatedly can not efficiently realize commodity stocks The problem of reason.Certainly, technical scheme can also be applied to the scene that entire service is involved in promotion.
For the application is further described, the following example is provided:
Fig. 2A is the flow chart of method of the another exemplary embodiment based on Quick Response Code management merchandise news according to the present invention, Fig. 2 B show the schematic diagram that the live two-dimensional code of Fig. 2A illustrated embodiments is consumed;The present embodiment is carried using the embodiment of the present application The above method of confession, should can be applicable to electronic equipment based on the method for Quick Response Code management merchandise news, (electronic equipment can be electricity Sub- terminal or server) on, as shown in Figure 2 A, include the following steps:
Step 201, the state of live two-dimensional code is determined, wherein, live two-dimensional code and the commodity of participation activity exist one by one Correspondence.In one embodiment, each live two-dimensional code can correspond to the commodity of a participation activity, and each activity two Tieing up code has uniqueness, for example, have a kind of box-packed apple, the stock for also having ten boxes, and wherein two box apples have cosmetic injury, it can only It is promoted at a reduced price by solid shop/brick and mortar store under line, then the two box apples that can be directed to the participation advertising campaign generate two different live two-dimensionals Code.
In one embodiment, the state of live two-dimensional code can be status in effect and be consumed state, in generation activity During Quick Response Code, the state of live two-dimensional code is status in effect.
In one embodiment, the action message based on commodity, the bar code of commodity, the identity code of Quick Response Code, generation are lived The method of dynamic Quick Response Code can be found in embodiment illustrated in fig. 3, not be described in detail first here.
In one embodiment, bar code, the action message based on commodity that live two-dimensional code can include commodity obtain Initial live activity code, the action message of commodity can include at least one following information:The activity term of validity, activity dynamics, dodge gate Shop, Activity Type (Activity Type can be discount, buy give, ten yuan of polytypes such as three) etc..
In one embodiment, when the commodity that live two-dimensional code is marked are damaged by report, it may be determined that corresponded to by the commodity of report damage Live two-dimensional code be consumed, the state of live two-dimensional code is changed to be consumed state, for example, there is a box apple doing promotion process Middle damage is serious, can not use, then the box apple is damaged by report, and the state of the corresponding live two-dimensional code of the box apple is to be disappeared Consumption state.
In one embodiment, when live two-dimensional code is written off, as user has purchased commodity sales promotion, and in cashier Checkout, live two-dimensional code are written off, then can determine the state of live two-dimensional code to be consumed state.
In one embodiment, it has been more than the term of validity of live two-dimensional code when the generated time of live two-dimensional code, then has can determine Live two-dimensional code is consumed.For example, when generating live two-dimensional code, the term of validity there is provided advertising campaign is 7 days, for example, having The effect phase is on December 27,21 days to 2017 December in 2017, then when the generated time of live two-dimensional code being more than 7 days, even if promoting Commodity are sold still on shelf without purchased, and the state of live two-dimensional code is to be consumed state.
In one embodiment, when setting the state of live two-dimensional code by setting interface to scrap state, it may be determined that living Dynamic Quick Response Code is consumed.It, can be in information sets interface by live two-dimensional code for executed live two-dimensional code referring to Fig. 2 B State be arranged to the state of scrapping, that is, executed live two-dimensional code is scrapped, the state of live two-dimensional code is is consumed State.
Step 202, the state based on live two-dimensional code is reserved under the line of more new commodity on stock and/or line and sells stock.
In one embodiment, the storehouse that stock can be understood as the commodity that can only be sold by solid shop/brick and mortar store under line is reserved under line It deposits, selling that stock can be understood as on line can be by selling on line also by the storehouse of commodity sold under line for example, for one A little advertising campaigns that only particular commodity or part commodity are promoted, as the fresh article of cosmetic injury is only suitable in entity It carries out promoting processing at a reduced price in shop, but does not fit through on-line selling, therefore this to particular commodity or part business The advertising campaign that product are promoted when generating live two-dimensional code, is reserved under the line of automatically updated commodity on stock and/or line Stock is sold, for example, the also stock of ten box apples, wherein two box apples have cosmetic injury, can only be dropped by solid shop/brick and mortar store under line Valency promote, then generate two box apples live two-dimensional code when, it is necessary to synchronized update apple line under reserve stock be 2 boxes, line On sell stock as 8 boxes.
In general, it can be 0 that stock is reserved when not doing advertising campaign to commodity, under line, and stock is sold on line to be managed Solve can be by being sold for total stock of commodity namely entire service on line, naturally it is also possible to by being sold under line It sells.
In one embodiment, after live two-dimensional code is generated, state is status in effect, at this time under the line of increase commodity It reserves stock and reduces and stock is sold on line.
It in one embodiment, can the quantity based on the commodity of report damage when the commodity that live two-dimensional code is marked are damaged by report It reduces and stock is reserved under the line of commodity, and do not increase and stock is sold on line.
In one embodiment, when live two-dimensional code is written off, as user has purchased commodity sales promotion, and in cashier Checkout, live two-dimensional code are written off, then can determine that live two-dimensional code is consumed, and can reduce stock is reserved under the line of commodity at this time, And do not increase and stock is sold on line.
In one embodiment, when the generated time of live two-dimensional code being more than the term of validity of live two-dimensional code, can reduce Stock is reserved under the line of commodity, and increases and stock is sold on line.Since live two-dimensional code has been more than the term of validity, corresponding to Commodity no longer do advertising campaign, can be sold on line, therefore need to reduce and stock is reserved under the line of commodity, and increase and storehouse is sold on line It deposits.
In one embodiment, when setting the state of live two-dimensional code by setting interface to scrap state, can subtract at this time Stock is reserved under the line of Shaoshang's product, and increases and stock is sold on line.For example, if extra live two-dimensional code is had printed, at this time It needs to be arranged to scrap in order to accurately carry out stock control by extra live two-dimensional code, because the generation of each Quick Response Code Printing can all reduce accordingly sells stock on line, if extra live two-dimensional code without scrapping, will influence actually may be used on line The quantity sold goods.
Seen from the above description, the application can give birth to the commodity of each participation activity when there is commodity participation activity Into unique live two-dimensional code, since the information that live two-dimensional code can include is relatively more, can be adapted for more flexible, more Various promotion method;In addition, the application can also be reserved by the state change of live two-dimensional code under the line of dynamic more new commodity Stock is sold on stock and/or line, improves the on-line off-line efficiency of management of commodity stocks in advertising campaign.Further, since this Live two-dimensional code has uniqueness in application, each commodity corresponds to a live two-dimensional code, therefore can be based on live two-dimensional The generation and consumption of code, realize the recording, tracking to each commodity of participation activity.
Fig. 3 is the generation method flow chart of an exemplary embodiment Quick Response Code according to the present invention;The generation side of the Quick Response Code Method can be applicable on electronic equipment, as shown in figure 3, including the following steps:
Step 301, the action message of commodity is converted into initial live activity code.
In one embodiment, the action message of commodity includes at least one following information:Activity Type, activity dynamics, work Dynamic shops, the activity term of validity.Wherein, Activity Type can be discount, buy give, a few several, members (such as ten yuan three) type;It is living Power degree can be the size of the difference of campaign prices and original cost lattice, for example, activity dynamics is five foldings, three foldings etc.;Movable shops can The scope of activities of lipuid goods is thought, for example, commodity are only movable in 1 work of shops, without in 2 work activity of shops etc..
In one embodiment, in order to realize technical scheme, the initial live of setting quantity can be generated at random in advance Activity code such as generates 10000 different initial live activity codes, when being promoted to any commodity, can establish the activity of commodity Correspondence between information and the initial live activity code previously generated, and safeguard in the database the action messages of commodity with it is pre- Correspondence between the initial live activity code first generated.
In one embodiment, the application is not construed as limiting the digit of initial live activity code, and the action message based on commodity obtains, If active code can be 10 (such as PXLPF13ZVW).
Step 302, based on initial live activity code, the bar code of commodity, Quick Response Code identity code, generate live two-dimensional code, Wherein, there are one-to-one relationships for live two-dimensional code and the commodity of participation activity.
In one embodiment, the bar code of commodity can be performed for indicating the commodity by the bar code of commodity The operations such as outbound, sale, clearing to commodity.Wherein, the bar code of commodity can be code of weighing, for example, needs in bulk What the commodity weighed were generated when weighing weigh code;The bar code of commodity can be that European Article encodes (European Article Number, referred to as EAN);The bar code of commodity can be code of reckoning by the piece.
In one embodiment, the identity code of Quick Response Code is used to indicate the type of generated Quick Response Code, for example, living for promotion Dynamic Quick Response Code is red packet Quick Response Code, etc..The digit of the identity code of Quick Response Code can be 1-5.
In one embodiment, since each initial live activity code is the different code generated at random in advance, it is based on The live two-dimensional code that different initial live activity code is generated also all has uniqueness.
In one embodiment, by initial live activity code, the bar code of commodity, Quick Response Code identity code, generate live two-dimensional The method of code can be found in Fig. 4 and embodiment illustrated in fig. 5, not be described in detail here.
In the present embodiment, the application can generate only the commodity of each participation activity when there is commodity participation activity One live two-dimensional code since the information that live two-dimensional code can include is relatively more, can be adapted for more flexible, more various Promotion method.
Fig. 4 is the generation method flow chart of another exemplary embodiment Quick Response Code according to the present invention;The present embodiment utilizes this Apply for the above method that embodiment provides, exemplary description is carried out exemplified by how generating live two-dimensional code, as shown in figure 4, bag Include following steps:
Step 401, the action message of commodity is converted into initial live activity code.
In one embodiment, the description of step 401 can be found in the description of the step 301 of embodiment illustrated in fig. 3, here no longer It is described in detail.
Step 402, the identity code of initial live activity code, the bar code of commodity, Quick Response Code is arranged according to setting order Row, obtain the first character string.
In one embodiment, setting order can be that the identity code of Quick Response Code comes foremost, and centre is the commodity of commodity Bar code is finally initial live activity code;Can also be that the bar codes of commodity comes foremost, centre is the identity code of Quick Response Code, It is finally initial live activity code;Or can also be that initial live activity code comes foremost, centre is the identity code of Quick Response Code, is finally The bar code of commodity, setting order can be any order in the application.For example, identity code is DZ, bar code is 6932903276296th, initial live activity code is PXLPF13ZVW, then the first character string obtained can be DZ- 6932903276296-PXLPF13ZVW or 6932903276296-PXLPF13ZVW-DZ or PXLPF13ZVW-DZ- 6932903276296 etc..
Step 403, coded treatment is carried out to the first character string, obtains the first data encoding.
Step 404, based on the first data encoding and Error Correction of Coding generation live two-dimensional code.
In one embodiment, in step 403 and step 404, data encoding and Error Correction of Coding can be together in series, Ran Houxiang It is filled in Quick Response Code, to obtain live two-dimensional code.
In the present embodiment, disclose a kind of can generate one based on initial live activity code, the identity code of Quick Response Code, bar code The realization method of live two-dimensional code, the form of the live two-dimensional code generated and distinctive code structure, it can be ensured that live two-dimensional The uniqueness of code.
Fig. 5 is the generation method flow chart of another exemplary embodiment Quick Response Code according to the present invention;The present embodiment utilizes this Apply for the above method that embodiment provides, exemplary description is carried out exemplified by how generating live two-dimensional code, as shown in fig. 6, bag Include following steps:
Step 501, the action message of commodity is converted into initial live activity code.
Step 502, bar code and initial live activity code are integrated, obtains goal activities code.
In one embodiment, the character string of bar code can be used to indicate by being added in initial live activity code, obtains mesh Active code is marked, for example, initial live activity code is PXLPF13ZVW, bar code 6932903276296 is used to indicate bar code 6932903276296 character string has three, is NPG, then NPG can be added to initial live activity code PXLPF13ZVW last Three are added again after position, obtain goal activities code PXLPF13ZVWNPG.Wherein it is possible to storage is used to indicate in the database Mapping relations between the character string and bar code of bar code.
Step 503, goal activities code with identity code according to setting order is ranked up, obtains the second character string.
Step 504, coded treatment is carried out to the second character string, obtains the second data encoding.
Step 505, based on the second data encoding and Error Correction of Coding generation live two-dimensional code.
In one embodiment, in step 504 and step 505, the second data encoding and Error Correction of Coding can be together in series, so It is filled in backward Quick Response Code, to obtain live two-dimensional code.
In the present embodiment, disclose a kind of can generate one based on initial live activity code, the identity code of Quick Response Code, bar code The realization method of live two-dimensional code, the form of the live two-dimensional code generated and distinctive code structure, it can be ensured that live two-dimensional The uniqueness of code.
Fig. 6 is the structure chart of device of the exemplary embodiment based on Quick Response Code management merchandise news according to the present invention;Such as Shown in Fig. 6, the device based on Quick Response Code management merchandise news includes:
First determining module 61, for determining the state of live two-dimensional code, wherein, live two-dimensional code and the business of participation activity There are one-to-one relationships for product;
Update module 62 is reserved for the state based on live two-dimensional code, under the line of more new commodity and sold on stock and/or line Sell stock.
In one embodiment, the stock that stock is used to indicate the commodity that can only be sold under line is reserved under line, storehouse is sold on line The stock for being used to indicate the commodity that can be sold on line is deposited, the state of live two-dimensional code includes status in effect and is consumed state.
Fig. 7 is the structure chart of device of the another exemplary embodiment based on Quick Response Code management merchandise news according to the present invention, As shown in fig. 7, on the basis of Fig. 6 shown devices, in one embodiment, device further includes:
Second generation module 63, for the action message based on commodity, the bar code of commodity, Quick Response Code identity code, Generate live two-dimensional code;
Update module 62, for after live two-dimensional code is generated, increasing reserved stock under the line of commodity and reducing on line Sell stock.
In one embodiment, when Quick Response Code is performed following any operation, the first determining module 61 can determine activity two The state of dimension code is to be consumed state:
The commodity that live two-dimensional code is marked are damaged by report;Alternatively,
Live two-dimensional code is written off;Alternatively,
The generated time of live two-dimensional code has been more than the term of validity of live two-dimensional code;Alternatively,
The Status Change of live two-dimensional code is to scrap state.
In one embodiment, update module 62 is specifically used for:
When the commodity that live two-dimensional code is marked are written off by report damage or live two-dimensional code, reduce pre- under the line of commodity Stock is stayed, and does not increase and stock is sold on line;
It has been more than the term of validity of live two-dimensional code in the generated time of live two-dimensional code or has been set by user setup interface The state of live two-dimensional code is put when scrapping state, to reduce and stock being reserved under the line of commodity, and increase and stock is sold on line.
Fig. 8 is the structure chart of the generating means of an exemplary embodiment Quick Response Code according to the present invention;It is as shown in figure 9, two-dimentional The generating means of code include:
Modular converter 81, for the action message of commodity to be converted to initial live activity code;
First generation module 82, for the bar code based on initial live activity code, commodity, the identity code of Quick Response Code, generation Live two-dimensional code, wherein, there are one-to-one relationships for the commodity of live two-dimensional code and participation activity.
In one embodiment, the first generation module 82 is specifically used for:
The identity code of initial live activity code, the bar code of commodity, Quick Response Code according to setting order is arranged, obtains One character string;
Coded treatment is carried out to the first character string, obtains the first data encoding;
Based on the first data encoding and Error Correction of Coding generation live two-dimensional code.
In one embodiment, the first generation module 82 is specifically used for:
Bar code and initial live activity code are integrated, obtain goal activities code;
Goal activities code with identity code according to setting order is ranked up, obtains the second character string;
Coded treatment is carried out to the second character string, obtains the second data encoding;
Based on the second data encoding and Error Correction of Coding generation live two-dimensional code.
In one embodiment, the action message of commodity includes at least one following information:Activity Type, activity dynamics, work Dynamic shops, the activity term of validity.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, which is stored with calculating Machine program, the computer program are used to perform the generation method of above-mentioned Quick Response Code or the side based on Quick Response Code management merchandise news Method, wherein, computer readable storage medium can be that read-only memory (ROM), random access memory (RAM), CD are read-only Memory (CD-ROM), tape, floppy disk and optical data storage devices etc..
Fig. 9 shows the structure chart of the electronic equipment of an exemplary embodiment according to the present invention, as shown in figure 9, hard Part level, the electronic equipment include processor, internal bus, network interface, memory and nonvolatile memory, may be used also certainly It can include the required hardware of other business.Processor reads corresponding computer program to memory from nonvolatile memory In then run, form that above-mentioned Fig. 6 and embodiment illustrated in fig. 7 provide on logic level manages merchandise news based on Quick Response Code Device.Certainly, in addition to software realization mode, the application is not precluded from other realization methods, for example, logical device or Mode of software and hardware combining etc., that is to say, that the executive agent of Yi Shang process flow is not limited to each logic unit, Can be hardware or logical device.
Block diagram shown in Fig. 9 and corresponding description are can be found in suitable for the concrete structure of the generating means of Quick Response Code, only It is the generating means that the Quick Response Code that above-mentioned embodiment illustrated in fig. 8 provides is formd on logic level.
Those skilled in the art will readily occur to the application its after considering specification and putting into practice invention disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application Or conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the application are by following Claim is pointed out.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that process, method, commodity or equipment including a series of elements are not only including those elements, but also wrap Include other elements that are not explicitly listed or further include for this process, method, commodity or equipment it is intrinsic will Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element Also there are other identical elements in process, method, commodity or equipment.
These are only the preferred embodiment of the application, not to limit the application, it is all in spirit herein and Within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of the application protection.

Claims (15)

1. a kind of generation method of Quick Response Code, which is characterized in that the described method includes:
The action message of commodity is converted into initial live activity code;
Based on the initial live activity code, the bar code of commodity, Quick Response Code identity code, generate live two-dimensional code, wherein, it is described There are one-to-one relationships for live two-dimensional code and the commodity of participation activity.
2. the according to the method described in claim 1, it is characterized in that, commodity item based on the initial live activity code, commodity Code, the identity code of Quick Response Code generate live two-dimensional code, including:
The identity code of the initial live activity code, the bar code of commodity, Quick Response Code according to setting order is arranged, obtains One character string;
Coded treatment is carried out to first character string, obtains the first data encoding;
The live two-dimensional code is generated based on the first data encoding and Error Correction of Coding.
3. the according to the method described in claim 1, it is characterized in that, commodity item based on the initial live activity code, commodity Code, the identity code of Quick Response Code generate live two-dimensional code, including:
The bar code and the initial live activity code are integrated, obtain goal activities code;
The goal activities code with the identity code according to setting order is ranked up, obtains the second character string;
Coded treatment is carried out to second character string, obtains the second data encoding;
The live two-dimensional code is generated based on the second data encoding and Error Correction of Coding.
4. method according to any one of claim 1-3, which is characterized in that the action message of the commodity is included at least One following information:Activity Type, activity dynamics, movable shops, the activity term of validity.
A kind of 5. method based on Quick Response Code management merchandise news, which is characterized in that the described method includes:
Determine the state of live two-dimensional code, wherein, there are one-to-one relationships for the commodity of the live two-dimensional code and participation activity;
It is reserved based on the state of live two-dimensional code, under the line of more new commodity on stock and/or line and sells stock.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
Bar code, the identity code of Quick Response Code of action message, commodity based on commodity generate live two-dimensional code.
7. according to the method described in claim 6, it is characterized in that, the method further includes:
After live two-dimensional code is generated, increase to reserve stock under the line of commodity and reduce and stock is sold on line.
8. according to claim 5-7 any one of them methods, which is characterized in that when the Quick Response Code is performed following any behaviour When making, the state of the live two-dimensional code is determined to be consumed state:
The commodity that the live two-dimensional code is marked are damaged by report;Alternatively,
The live two-dimensional code is written off;Alternatively,
The generated time of the live two-dimensional code has been more than the term of validity of the live two-dimensional code;Alternatively,
The Status Change of the live two-dimensional code is to scrap state.
9. according to the method described in claim 8, it is characterized in that, the state based on live two-dimensional code, more new commodity It is reserved under line on stock and/or line and sells stock, including:
When the commodity that the live two-dimensional code is marked are written off by report damage or the live two-dimensional code, the commodity are reduced Line under reserve stock, and do not increase and sell stock on the line;
It has been more than the term of validity of the live two-dimensional code or by user setting circle in the generated time of the live two-dimensional code Face sets the state of the live two-dimensional code when scrapping state, to reduce and stock being reserved under the line of the commodity, and increase institute It states and stock is sold on line.
10. a kind of generating means of Quick Response Code, which is characterized in that described device includes:
Modular converter, for the action message of commodity to be converted to initial live activity code;
First generation module, for based on the initial live activity code, the bar code of commodity, Quick Response Code identity code, generation live Dynamic Quick Response Code, wherein, there are one-to-one relationships for the commodity of the live two-dimensional code and participation activity.
11. a kind of device based on Quick Response Code management merchandise news, which is characterized in that described device includes:
First determining module, for determining the state of live two-dimensional code, wherein, the live two-dimensional code and the commodity of participation activity There are one-to-one relationships;
Update module is reserved on stock and/or line for the state based on live two-dimensional code, under the line of more new commodity and sells storehouse It deposits.
12. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter Calculation machine program is used to perform the generation method of any Quick Response Codes of the claims 1-4.
13. a kind of computer readable storage medium, which is characterized in that the storage medium is stored with computer program, the meter Calculation machine program is used to perform any methods based on Quick Response Code management merchandise news of the claims 5-9.
14. a kind of electronic equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the two dimension as described in the claims 1-4 is any is realized in processing when performing described program The generation method of code.
15. a kind of electronic equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that it is described processing perform described program when realize as described in the claims 5-9 is any based on The method that Quick Response Code manages merchandise news.
CN201810054168.9A 2018-01-19 2018-01-19 The generation of Quick Response Code, the method and device based on Quick Response Code management merchandise news Pending CN108108796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810054168.9A CN108108796A (en) 2018-01-19 2018-01-19 The generation of Quick Response Code, the method and device based on Quick Response Code management merchandise news

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810054168.9A CN108108796A (en) 2018-01-19 2018-01-19 The generation of Quick Response Code, the method and device based on Quick Response Code management merchandise news

Publications (1)

Publication Number Publication Date
CN108108796A true CN108108796A (en) 2018-06-01

Family

ID=62219204

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810054168.9A Pending CN108108796A (en) 2018-01-19 2018-01-19 The generation of Quick Response Code, the method and device based on Quick Response Code management merchandise news

Country Status (1)

Country Link
CN (1) CN108108796A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111652608A (en) * 2019-03-04 2020-09-11 东芝泰格有限公司 Commodity sales data processing apparatus, control method, storage medium, and electronic device
CN112364036A (en) * 2020-10-23 2021-02-12 北京旷视科技有限公司 Commodity information updating method and device, electronic equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090024231A (en) * 2009-02-13 2009-03-06 (주)보광훼미리마트 Method and system for point of sale having sale period management
CN102663619A (en) * 2012-03-29 2012-09-12 北京普罗信科技有限公司 Manufacturer rebate and sales promotion system employing mobile terminal and rebate and sales promotion realization method thereof
CN105096114A (en) * 2015-06-19 2015-11-25 我查查信息技术(上海)有限公司 Method for realizing fast commodity transaction based on specific barcode
CN105389700A (en) * 2015-10-21 2016-03-09 陈彼邻 System and method utilizing multi-element composite two-dimensional code for carrying out payment and discount cancel-after-verification
CN105913101A (en) * 2015-12-15 2016-08-31 乐视网信息技术(北京)股份有限公司 Commodity information generation method and terminal equipment
CN107239958A (en) * 2017-05-18 2017-10-10 王道 The selling system and its method of phase or perishable asset sale or outbound are faced in prevention

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090024231A (en) * 2009-02-13 2009-03-06 (주)보광훼미리마트 Method and system for point of sale having sale period management
CN102663619A (en) * 2012-03-29 2012-09-12 北京普罗信科技有限公司 Manufacturer rebate and sales promotion system employing mobile terminal and rebate and sales promotion realization method thereof
CN105096114A (en) * 2015-06-19 2015-11-25 我查查信息技术(上海)有限公司 Method for realizing fast commodity transaction based on specific barcode
CN105389700A (en) * 2015-10-21 2016-03-09 陈彼邻 System and method utilizing multi-element composite two-dimensional code for carrying out payment and discount cancel-after-verification
CN105913101A (en) * 2015-12-15 2016-08-31 乐视网信息技术(北京)股份有限公司 Commodity information generation method and terminal equipment
CN107239958A (en) * 2017-05-18 2017-10-10 王道 The selling system and its method of phase or perishable asset sale or outbound are faced in prevention

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111652608A (en) * 2019-03-04 2020-09-11 东芝泰格有限公司 Commodity sales data processing apparatus, control method, storage medium, and electronic device
CN111652608B (en) * 2019-03-04 2023-11-28 东芝泰格有限公司 Commodity sales data processing apparatus, commodity sales data processing method, commodity sales data control method, storage medium, and electronic device
CN112364036A (en) * 2020-10-23 2021-02-12 北京旷视科技有限公司 Commodity information updating method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
Maihami et al. Joint pricing and inventory control for non-instantaneous deteriorating items with partial backlogging and time and price dependent demand
US20170236143A1 (en) System and process for electronic tokenization of product brand loyalty and incentives
CN107038629A (en) Order processing method, device and server in a kind of commodity transaction
Yadav et al. An inventory model for non-instantaneous deteriorating items with variable holding cost under two-storage
Yadav et al. Effect of inflation on a two-warehouse inventory model for deteriorating items with time varying demand and shortages
Huang et al. Coordination of pricing, inventory, and production reliability decisions in deteriorating product supply chains
Shi et al. Delivery efficiency and supplier performance evaluation in China’s E-retailing industry
CN106803179A (en) Instant method and system of sharing in the benefit
CN108932636A (en) A kind of commodity retail prediction technique and equipment
CN108805377A (en) Enterprise purchase management system
CN103377527A (en) Cloud cash registering method and system
CN108108796A (en) The generation of Quick Response Code, the method and device based on Quick Response Code management merchandise news
CN108629467A (en) A kind of sample message processing method and system
Tripathi Development of Inventory model for inventory induced demand and time-dependent holding cost for deteriorating items under inflation
Wan et al. Multiperiodic procurement problem with option contracts under inflation
JP3318524B2 (en) Point processing equipment in product sales
De et al. Inventory model for deteriorating goods with stock and price-dependent demand under inflation and partial backlogging to address post Covid-19 supply chain challenges
Chia-Yu et al. Applying block-chain technology for commodity authenticity
Martin et al. Optimization of SMART production inventory model with E-logistics and digital advertising costs parameters together with advertising errors
Shen et al. [Retracted] Economic Decision‐Making Algorithm for Cross‐Border Industrial E‐Commerce Material Purchase Quantity Based on Markov Chain
Dong et al. Limit distribution of inventory level of perishable inventory model
Yu et al. The effects of inflation and time value of money on a production model with a random product life cycle
Kumar et al. Optimal pricing and ordering policy for non-instantaneous deteriorating items with price and stock dependent demand and partial backlogging
Singh et al. Production planning for controllable deteriorating items with price and stock dependent demand rate
CN109544199A (en) A kind of method, apparatus, equipment and the storage medium of determining offtake

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180601