CN109484723A - Endowed control method, device and storage medium - Google Patents

Endowed control method, device and storage medium Download PDF

Info

Publication number
CN109484723A
CN109484723A CN201811323048.0A CN201811323048A CN109484723A CN 109484723 A CN109484723 A CN 109484723A CN 201811323048 A CN201811323048 A CN 201811323048A CN 109484723 A CN109484723 A CN 109484723A
Authority
CN
China
Prior art keywords
endowed
carton
character string
key
area
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.)
Granted
Application number
CN201811323048.0A
Other languages
Chinese (zh)
Other versions
CN109484723B (en
Inventor
叶亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kaisheng Information Technology Co Ltd
Original Assignee
Guangzhou Kaisheng Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kaisheng Information Technology Co Ltd filed Critical Guangzhou Kaisheng Information Technology Co Ltd
Priority to CN201811323048.0A priority Critical patent/CN109484723B/en
Publication of CN109484723A publication Critical patent/CN109484723A/en
Application granted granted Critical
Publication of CN109484723B publication Critical patent/CN109484723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65BMACHINES, APPARATUS OR DEVICES FOR, OR METHODS OF, PACKAGING ARTICLES OR MATERIALS; UNPACKING
    • B65B61/00Auxiliary devices, not otherwise provided for, for operating on sheets, blanks, webs, binding material, containers or packages
    • B65B61/26Auxiliary devices, not otherwise provided for, for operating on sheets, blanks, webs, binding material, containers or packages for marking or coding completed packages
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65BMACHINES, APPARATUS OR DEVICES FOR, OR METHODS OF, PACKAGING ARTICLES OR MATERIALS; UNPACKING
    • B65B57/00Automatic control, checking, warning, or safety devices
    • B65B57/02Automatic control, checking, warning, or safety devices responsive to absence, presence, abnormal feed, or misplacement of binding or wrapping material, containers, or packages
    • B65B57/04Automatic control, checking, warning, or safety devices responsive to absence, presence, abnormal feed, or misplacement of binding or wrapping material, containers, or packages and operating to control, or to stop, the feed of such material, containers, or packages

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Auxiliary Devices For And Details Of Packaging Control (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of endowed control method, the endowed control method obtains character string the following steps are included: when detecting that carton reaches endowed area, and it is endowed to carton progress according to the character string to control endowed spray head;Acquire it is endowed after the carton graphic code information;When not collecting the graphic code information, the carton is sent to and rejects area by control transmission device;When collecting the graphic code information, transmission device is controlled by the carton and is sent to the area Zu Dui.The invention also discloses a kind of endowed control devices and storage medium.The present invention comes into the market since endowed controlling terminal can reject the carton for not collecting graphic code information to effectively prevent failed endowed carton.

Description

Endowed control method, device and storage medium
Technical field
The present invention relates to endowed field more particularly to endowed control methods, device and storage medium.
Background technique
It is that current very important one kind is anti-fake and marketing methods that graphic code is assigned in spray in the packaging of product, sprays the figure of tax Code include the product information or action message so that can be obtained after consumer scans' graphic code product relevant information or Participate in correlated activation.
The endowed production process of graphic code at present generally comprises charging, paging, correction, the several steps of endowed and rewinding, produces Product or packaging carry out endowed directly just rewinding later, therefore can not find in time when product is endowed not successfully, to can lead Failed endowed product is caused to come into the market.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of endowed control method, device and storage mediums, it is intended to solve mesh Preceding endowed method carries out endowed directly just rewinding later, will lead to the technology that failed endowed product comes into the market and asks Topic.
To achieve the above object, the present invention provides a kind of endowed control method, the endowed control method include with Lower step:
When detecting that carton reaches endowed area, character string is obtained, controls endowed spray head according to the character string to described Carton carries out endowed;
Acquire it is endowed after the carton graphic code information;
When not collecting the graphic code information, the carton is sent to and rejects area by control transmission device;
When collecting the graphic code information, transmission device is controlled by the carton and is sent to the area Zu Dui.
Preferably, described when collecting the graphic code information, transmission device, which is controlled, by the carton is sent to a group heap After the step of area, further includes:
Update the carton quantity in the area Zu Dui;
When the carton quantity reaches preset quantity, the carton in the area Zu Dui is passed by the transmission device It send to strapper, and empties the carton quantity in the area Zu Dui.
Preferably, after the step of graphic code information of the carton after acquisition is endowed, further includes:
When collecting the graphic code information, the usage amount of the character string is updated.
Preferably, described when not collecting the graphic code information, the carton is sent to by control transmission device to be picked After the step of except area, further includes:
Update the carton quantity for rejecting area;
When the carton quantity for rejecting area is more than or equal to preset threshold, prompting message is exported.
Preferably, described when detecting that carton reaches endowed area, character string is obtained, controls endowed spray head according to the word Before symbol string carries out endowed step to the carton, further include
When detecting endowed instruction, endowed information editing interface is exported, wherein the endowed information editing interface includes Product information input window and destination number input window;
When detecting the product information and destination number based on the endowed information editing interface input, the mesh is obtained The character string of quantity is marked, and the character string is associated with the product information;
Whether detection carton reaches the endowed area.
Preferably, the endowed control method further include:
Timing sends character string acquisition request to server, so that server feedback when there is new text string generation The newly-generated character string;
When receiving the character string of the server feedback, the character string is saved.
Preferably, described when receiving the character string of the server feedback, the step of saving the character string Later, further includes:
When detecting character string decryption instructions, the character string to be decrypted is obtained, and export key input interface;
When detecting the first key of key input interface input, the second cipher key acquisition request is sent to server, In, second cipher key acquisition request includes first decruption key;
When receiving the second decruption key of the server feedback, according to the first key and second key The character string is decrypted.
Preferably, described when detecting the first key of key input interface input, the second key is sent to server The step of acquisition request includes:
When detecting the first key of key input interface input, judge whether the first key is in default effective Phase;
When the first key is in default validity period, execution is described to send the second cipher key acquisition request to server Step;
When the first key is not at default validity period, prompting message is exported.
In addition, to achieve the above object, the present invention also provides a kind of endowed control device, the endowed control devices It include: memory, processor and the endowed control program that is stored on the memory and can run on the processor, The step of as above described in any item endowed control methods are realized when the endowed control program is executed by the processor.
In addition, to achieve the above object, the present invention also provides a kind of storage medium, being stored on the storage medium endowed Control program, when the endowed control program is executed by processor realize as above described in any item endowed control methods The step of.
Endowed control method, device and the storage medium of one kind that the embodiment of the present invention proposes, endowed controlling terminal (such as Industrial personal computer) when detecting that carton reaches endowed area, character string is obtained, controls endowed spray head according to the character string to the paper Case carry out it is endowed, then control acquisition device acquire it is endowed after the carton graphic code information, do not collecting the figure When code information, the carton is sent to and rejects area by control transmission device, and when collecting the graphic code information, control is passed Send device that the carton is sent to the area Zu Dui;Due to endowed controlling terminal can to do not collect the carton of graphic code information into Row is rejected, and is come into the market to effectively prevent failed endowed carton.
Detailed description of the invention
Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to;
Fig. 2 is the flow diagram of the endowed control method first embodiment of the present invention;
Fig. 3 is the flow diagram of the endowed control method second embodiment of the present invention;
Fig. 4 is the flow diagram of the endowed control method 3rd embodiment of the present invention;
Fig. 5 is the flow diagram of the endowed control method fourth embodiment of the present invention;
Fig. 6 is the flow diagram of endowed the 5th embodiment of control method of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are:
When detecting that carton reaches endowed area, character string is obtained, controls endowed spray head according to the character string to described Carton carries out endowed;
Acquire it is endowed after the carton graphic code information;
When not collecting the graphic code information, the carton is sent to and rejects area by control transmission device;
When collecting the graphic code information, transmission device is controlled by the carton and is sent to the area Zu Dui.
Due in the prior art, carrying out endowed directly just rewinding later to product packaging, will lead to failed endowed Product comes into the market.
The present invention provides a solution, since endowed controlling terminal can be to the carton for not collecting graphic code information It is rejected, is come into the market to effectively prevent failed endowed carton.
As shown in Figure 1, Fig. 1 is the terminal structure schematic diagram for the hardware running environment that the embodiment of the present invention is related to.
As shown in Figure 1, the terminal may include: processor 1001, such as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these components. User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 optionally may include that the wired of standard connects Mouth, wireless interface (such as WI-FI interface).Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 1, can wrap It includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe module, Subscriber Interface Module SIM and endowed control program.
In terminal shown in Fig. 1, network interface 1004 is mainly used for connecting background server, carries out with background server Data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And processor 1001 can be used for calling the endowed control program stored in memory 1005, and execute following operation:
When detecting that carton reaches endowed area, character string is obtained, controls endowed spray head according to the character string to described Carton carries out endowed;
Acquire it is endowed after the carton graphic code information;
When not collecting the graphic code information, the carton is sent to and rejects area by control transmission device;
When collecting the graphic code information, transmission device is controlled by the carton and is sent to the area Zu Dui.
Further, processor 1001 can call the endowed control program stored in memory 1005, also execute with Lower operation:
Update the carton quantity in the area Zu Dui;
When the carton quantity reaches preset quantity, the carton in the area Zu Dui is passed by the transmission device It send to strapper, and empties the carton quantity in the area Zu Dui.
Further, processor 1001 can call the endowed control program stored in memory 1005, also execute with Lower operation:
When collecting the graphic code information, the usage amount of the character string is updated.
Further, processor 1001 can call the endowed control program stored in memory 1005, also execute with Lower operation:
Update the carton quantity for rejecting area;
When the carton quantity for rejecting area is more than or equal to preset threshold, prompting message is exported.
Further, processor 1001 can call the endowed control program stored in memory 1005, also execute with Lower operation:
When detecting endowed instruction, endowed information editing interface is exported, wherein the endowed information editing interface includes Product information input window and destination number input window;
When detecting the product information and destination number based on the endowed information editing interface input, the mesh is obtained The character string of quantity is marked, and the character string is associated with the product information;
Whether detection carton reaches the endowed area.
Further, processor 1001 can call the endowed control program stored in memory 1005, also execute with Lower operation:
Timing sends character string acquisition request to server, so that server feedback when there is new text string generation The newly-generated character string;
When receiving the character string of the server feedback, the character string is saved.
Further, processor 1001 can call the endowed control program stored in memory 1005, also execute with Lower operation:
When detecting character string decryption instructions, the character string to be decrypted is obtained, and export key input interface;
When detecting the first key of key input interface input, the second cipher key acquisition request is sent to server, In, second cipher key acquisition request includes first decruption key;
When receiving the second decruption key of the server feedback, according to the first key and second key The character string is decrypted.
Further, processor 1001 can call the endowed control program stored in memory 1005, also execute with Lower operation:
When detecting the first key of key input interface input, judge whether the first key is in default effective Phase;
When the first key is in default validity period, execution is described to send the second cipher key acquisition request to server Step;
When the first key is not at default validity period, prompting message is exported.
According to above scheme, endowed controlling terminal (such as industrial personal computer) obtains word when detecting that carton reaches endowed area Symbol string, control endowed spray head according to the character string to the carton carry out it is endowed, then control acquisition device acquisition it is endowed after The carton graphic code information, when not collecting the graphic code information, control transmission device the carton is transmitted To area is rejected, when collecting the graphic code information, transmission device is controlled by the carton and is sent to the area Zu Dui;Due to endowed Controlling terminal can reject the carton for not collecting graphic code information, to effectively prevent failed endowed carton It comes into the market.
Referring to Fig. 2, Fig. 2 is the flow diagram of the endowed control method first embodiment of the present invention, the endowed control Method processed includes:
Step S10 obtains character string, controls endowed spray head according to the character when detecting that carton reaches endowed area String carries out the carton endowed;
Endowed control method provided in this embodiment is applied to control endowed in endowed production line, and endowed production line can Feed zone, paging area, correction area and endowed area, endowed area including passing sequentially through transmission device connection pass through transmission device respectively Area is rejected in connection and the area Zu Dui, the area Zu Dui connect strapper by transmission device;Wherein, the endowed area is provided with carton detection Sensor, for detecting whether there is carton to reach the endowed area.When starting endowed, stack of cartons is divided into individually by paging Carton, single carton are sent to endowed area through transmission device after correction area carries out position correction, when carton reaches endowed position It sets, when carton detection device detects that carton reaches endowed area, endowed controlling terminal (such as industrial personal computer) obtains the character of storage String, control endowed spray head according to the character string to the carton carry out it is endowed, i.e., the character string is converted into graphic code, and The graphic code spray that controlling endowed spray head will convert into is assigned on carton.Preferably, the graphic code includes two dimensional code.
Step S20, the graphic code information of the carton after acquisition is endowed;
It is additionally provided with graphic code acquisition device, such as camera or camera in endowed area, for acquiring endowed rear carton Graphic code information.After the endowed spray head of control is endowed to carton progress, endowed controlling terminal controls the graphic code acquisition dress Set acquire it is endowed after the carton graphic code information, it is endowed to determine whether successfully.
Step S30 controls transmission device for the carton and is sent to rejecting when not collecting the graphic code information Area;
When the graphic code acquisition device does not collect graphic code information, illustrate that the carton fails endowed or sprays The graphic code of tax can not identify normally, the carton carry out circulation will cause it is subsequent can not scanning figure shape code, need by the carton into Row is rejected, and therefore, the carton is sent to by endowed controlling terminal control transmission device rejects area, at operator Reason.For example, being assigned again to carton after operator can cover the graphic code that cannot be identified on the carton with adhesive sticker Code.
Further, endowed controlling terminal is able to record the carton quantity for being sent to and rejecting area, when carton is by transmission device When being sent to rejecting area, endowed controlling terminal updates the carton quantity for rejecting area, i.e., adds the carton quantity in the rejecting area of record 1;In addition, preset threshold is also previously provided in endowed controlling terminal, when the carton quantity for rejecting area is greater than the preset threshold When, it is understood that there may be endowed failure is checked, then endowed controlling terminal exports prompting message, such as output prompt tone or It shows on the display screen and rejects more prompt information, to remind producers to check, further, endowed control is eventually It is endowed that end also can control endowed production line to stop.
Step S40 controls transmission device for the carton and is sent to the area Zu Dui when collecting the graphic code information.
When the graphic code acquisition device can collect the graphic code information on carton, illustrate the carton it is endowed at Function, can carry out circulation application, which is sent to the area Zu Dui by endowed controlling terminal control transmission device.
Further, since collected graphic code is the text string generation that basis is stored in endowed controlling terminal, It include character string information in graphic code, therefore, when collecting the graphic code information, endowed controlling terminal can be by the figure The corresponding string token of code information is endowed successfully character string, while the usage amount of more new character strings, i.e., often collects one When graphic code information, the usage amount of character string adds 1.Further, endowed controlling terminal can also believe endowed successful character string The usage amount of breath and character string is sent to server, so that server successfully opens the character according to whether character string is endowed It goes here and there associated activity, i.e., only just opens the activity of the string association when character string success is endowed;Make endowed committee simultaneously Support quotient can judge whether to need to generate new character string according to the usage amount of character string.
Technical solution provided in this embodiment, endowed controlling terminal (such as industrial personal computer) are detecting the endowed area of carton arrival When, obtain character string, control endowed spray head according to the character string to the carton carry out it is endowed, then control acquisition device adopt The graphic code information of the carton after collecting endowed, when not collecting the graphic code information, control transmission device will be described Carton, which is sent to, rejects area, when collecting the graphic code information, controls transmission device for the carton and is sent to the area Zu Dui; Since endowed controlling terminal can reject the carton for not collecting graphic code information, to effectively prevent assigning not successfully The carton of code comes into the market.
Further, it is the flow diagram of the endowed control method second embodiment of the present invention referring to Fig. 3, Fig. 3, is based on First embodiment, after the step S40, further includes:
Step S50 updates the carton quantity in the area Zu Dui;
The carton in the area Zu Dui is passed through the biography when the carton quantity reaches preset quantity by step S60 It send device to be sent to strapper, and empties the carton quantity in the area Zu Dui.
In endowed production, it is endowed after carton needs tied up according to requirement stacking, with convenient transportation.But current Endowed production line in, after endowed carton is transmitted to fixed area, need by the manual stacking of operator, and manpower caused to provide The waste in source.Therefore, technical solution provided in this embodiment, endowed controlling terminal, which can be automatically controled, carries out the carton after endowed Stacking.
Specifically, the quantity (preset quantity) that every heap carton is preset in endowed controlling terminal, in endowed production, note The carton quantity in the area Lu Zudui, after endowed to carton, graphic code acquisition device collects the graphic code information, transmission device When the carton is sent to the area Zu Dui, endowed controlling terminal updates the carton quantity in the area Zu Dui, the carton quantity in the area Ji Zudui Add 1;When carton quantity when the area Zu Dui reaches the preset quantity, endowed controlling terminal controls transmitting device for the area Zu Dui The carton be sent to strapper, and empty the carton quantity in the area Zu Dui, i.e., by the area endowed controlling terminal Zhong Zudui Carton zeroing number, records again, so recycles, to realize the automatic stacking of endowed successful carton.It is understood that The preset quantity can self-setting according to the actual situation, be not particularly limited herein, for example, the preset quantity can be set It is set to 50.
Technical solution provided in this embodiment, endowed controlling terminal are collecting the graphic code information, control transmission dress It sets after the carton is sent to the area Zu Dui, updates the carton quantity in the area Zu Dui, and reach default in the carton quantity When quantity, the carton in the area Zu Dui is sent to strapper by the transmission device, and empty the area Zu Dui Carton quantity;To realize successfully the automatic stacking of endowed carton, without be reconfigured special operator to carton into Row stacking, saves human resources.
Referring to Fig. 4, Fig. 4 is the flow diagram of the endowed control method 3rd embodiment of the present invention, based on first or the Two embodiments, before the step S10, further includes:
Step S70 exports endowed information editing interface when detecting endowed instruction, wherein the endowed information editing Interface includes product information input window and destination number input window;
Step S80 is obtained when detecting the product information and destination number based on the endowed information editing interface input The character string of the destination number is taken, and the character string is associated with the product information;
Whether step S90, detection carton reach the endowed area.
In reality, since production plan may change at any time, character string is closed if when generating character string Join specific product information, then may cause endowed character string and be not consistent with production requirement;Therefore, technology provided in this embodiment Scheme, can be when endowed just by endowed controlling terminal by product information and string association.
Specifically, when needing to carry out endowed production, operator clicks related software by endowed controlling terminal and triggers Endowed instruction, endowed controlling terminal export endowed information editing interface when detecting endowed instruction, wherein the endowed letter Ceasing editing interface includes product information input window and destination number input window, and operator can be based on the information editing It clicks and saves after interface input product information and destination number, endowed controlling terminal is being detected based on the endowed information editing When the product information and destination number of interface input, the character string of the destination number is obtained from the character string of storage, and will The character string is associated with the product information;The product information stores in advance, and the product information input window can be Window is selected, user need to only click selection, and the product information may include brand, title, taste and specification etc..Endowed control Terminal processed after the product information and string association, that is, will start to control endowed production, and control is set to the carton in endowed area Detection sensor has detected whether that carton reaches the endowed area, when having detected that carton reaches endowed area, controls endowed spray Head carries out carton endowed.
Technical solution provided in this embodiment, endowed control device export endowed information and compile when detecting endowed instruction Editing interface, wherein the endowed information editing interface includes product information input window and destination number input window, is being detected When to product information and destination number based on the endowed information editing interface input, the character of the destination number is obtained String, and the character string is associated with the product information, and control when detecting the carton endowed area of arrival endowed spray head into Row is endowed.To realize when carrying out endowed production just to string association product information, production requirement has been better met.
Referring to Fig. 5, Fig. 5 is the flow diagram of the endowed control method fourth embodiment of the present invention, based on first to the Any embodiment in three embodiments, the endowed control method further include:
Step S100 periodically sends character string acquisition request to server, so that the server is having new character string The newly-generated character string is fed back when generation;
Step S110 saves the character string when receiving the character string of the server feedback.
In a practical situation, the purpose endowed to carton is in order to which product producer (i.e. endowed commission quotient) is to the carton Interior product is tracked, and therefore, graphic code character string, which needs to be controlled by product producer, to be generated, currently, endowed commission quotient is raw It after character string, needs to manually control the character string of generation is sent to endowed side's terminal, waste time.Therefore, the present embodiment The technical solution of offer, endowed controlling terminal periodically can send character string acquisition request to server, so that the server The newly-generated character string is fed back when there is new text string generation.
Specifically, after the related personnel of endowed commission quotient can be by endowed controlling terminal login service device, according to required Rule generates string code packet, and the string code packet storage of generation is in the server.Endowed controlling terminal timing is sent out to server Character string acquisition request is sent, so that the server feeds back the newly-generated character string when there is new text string generation, it is excellent Selection of land, the terminal send character string acquisition request to the server in a manner of poll.Server receives the word of terminal When symbol string acquisition request, check whether there are the string code packet of the terminal (i.e. newly-generated character string), when There are when the string code packet of the endowed controlling terminal, the string code packet is sent to the endowed control Terminal saves the character string, after endowed controlling terminal receives the character string of the server feedback for endowed When use.It is understood that the server includes Cloud Server.
In addition, in a practical situation, an endowed factory generally has a plurality of endowed production line, therefore have more taxes Code controlling terminal (such as more industrial personal computers), at this point, a settable vendor server, the vendor server pass through local area network Connection is established with each endowed controlling terminal, and the vendor server from being arranged regularly sends character string to the server and obtains Request (preferably, vendor server sends character string acquisition request to the server in a manner of poll), getting When stating the character string of server feedback, the character string is saved, endowed controlling terminal takes from the manufacturer again in endowed production Device acquisition character string of being engaged in carries out endowed production.
Technical solution provided in this embodiment, endowed controlling terminal timing send character string acquisition request to server, with So that the server is fed back the newly-generated character string when there is new text string generation, receives the server feedback The character string when, save the character string.So that endowed commission quotient saves without sending the character string generated manually Time.
Referring to Fig. 6, Fig. 6 is the flow diagram of endowed the 5th embodiment of control method of the present invention, is implemented based on the 4th , after the step S110, further includes:
Step S120 obtains the character string to be decrypted, and it is defeated to export key when detecting character string decryption instructions Enter interface;
Step S130 sends the second key to server and obtains when detecting the first key of key input interface input Take request, wherein second cipher key acquisition request includes first decruption key;
Step S140, when receiving the second decruption key of the server feedback, according to the first key and institute Character string described in the second key pair is stated to be decrypted.
The character string leakage generated in order to prevent, when generating character string, can generally encrypt character string, endowed After manufacturer gets character string, needs first it to be decrypted just and can be carried out endowed production.Currently, only carrying out one to character string Simple password encryption, clear crytpographic key need to be only inputted when decrypting to character string, and safety is lower.Therefore, the present embodiment In the technical solution of offer, when character string is decrypted, when terminal detects the first key of input, need to server The second cipher key acquisition request is sent, it, could be close according to first key and second after receiving the second key of server feedback Character string is decrypted in key.
Specifically, terminal obtains the character string to be decrypted when detecting character string decryption instructions, and exports key Input interface, operator is based on the key input interface and inputs first key, and clicks determination, and terminal detects that key is defeated When entering the first key of interface input, the second cipher key acquisition request is sent to server, wherein second cipher key acquisition request Including first decruption key;When server receives the second cipher key acquisition request of terminal transmission, it is close to obtain described second First key in key acquisition request judges whether the first key is correct, when determining that the first key is correct, Xiang Suoshu Terminal sends corresponding second key.
In order to further enhance the safety of character string encryption, it is preferable that owner information can be also stored in advance in server (for example, people that person liable can be setting key), when determining that first key is correct, Xiang Suoshu owner information corresponding end End sends identifying code, and sends identifying code input interface to the endowed controlling terminal, after the person liable receives identifying code, Identifying code is voluntarily inputted in the identifying code input interface or the identifying code is supplied to endowed producers inputs, it is defeated After entering identifying code, the identifying code is committed to server, when server decision verification code is correct, is just sent out to endowed controlling terminal Send the second key.
After endowed controlling terminal receives the second decruption key of the server feedback, according to the first key and institute Character string described in the second key pair is stated to be decrypted.
Further, when encrypting to character string, it is (default effective that effective phase can be also preset to the key Phase), when being more than default validity period, the character string can not be decrypted in key, it is to be understood that described default effective Phase can self-setting according to the actual situation, be not particularly limited herein, for example, the default validity period can be set to 30 It.Specifically, terminal obtains the character string to be decrypted when detecting character string decryption instructions, and exports key input Interface, operator is based on the key input interface and inputs first key, and clicks determination, and terminal detects that key inputs boundary When the first key of face input, judge whether the first key is in default validity period, is in default in the first key When validity period, the second cipher key acquisition request is sent to server, and in the second key for getting server feedback, according to the One key and the second key pair character string are decrypted;When the first key is not at default validity period, letter is reminded in output Breath, to remind operator that key is expired.
Technical solution provided in this embodiment, endowed controlling terminal are obtained when detecting character string decryption instructions wait solve The close character string, and key input interface is exported, when detecting the first key of key input interface input, to service Device sends the second cipher key acquisition request, wherein second cipher key acquisition request includes first decruption key, and is being received To the server feedback the second decruption key when, according to character string described in the first key and second key pair into Row decryption;It due to carrying out double key encryption to character string, and needs to obtain the second key from server when decryption, enhances character The safety of string.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of endowed control method, which is characterized in that the endowed control method the following steps are included:
When detecting that carton reaches endowed area, character string is obtained, controls endowed spray head according to the character string to the carton It carries out endowed;
Acquire it is endowed after the carton graphic code information;
When not collecting the graphic code information, the carton is sent to and rejects area by control transmission device;
When collecting the graphic code information, transmission device is controlled by the carton and is sent to the area Zu Dui.
2. endowed control method as described in claim 1, which is characterized in that described to collect the graphic code information When, after the control transmission device the step of carton is sent to the area Zu Dui, further includes:
Update the carton quantity in the area Zu Dui;
When the carton quantity reaches preset quantity, the carton in the area Zu Dui is sent to by the transmission device Strapper, and empty the carton quantity in the area Zu Dui.
3. endowed control method as described in claim 1, which is characterized in that the graphic code of the carton after acquisition is endowed After the step of information, further includes:
When collecting the graphic code information, the usage amount of the character string is updated.
4. endowed control method as described in claim 1, which is characterized in that described not collect the graphic code information When, the carton is sent to after the step of rejecting area by control transmission device, further includes:
Update the carton quantity for rejecting area;
When the carton quantity for rejecting area is greater than preset threshold, prompting message is exported.
5. endowed control method as described in claim 1, which is characterized in that described to detect the endowed area of carton arrival When, character string is obtained, is controlled before endowed spray head carries out endowed step according to the character string to the carton, further includes:
When detecting endowed instruction, endowed information editing interface is exported, wherein the endowed information editing interface includes product Information input window and destination number input window;
When detecting the product information and destination number based on the endowed information editing interface input, the number of targets is obtained The character string of amount, and the character string is associated with the product information;
Whether detection carton reaches the endowed area.
6. endowed control method as described in any one in claim 1-5, which is characterized in that the endowed control method is also Include:
Timing sends character string acquisition request to server, so that the server feeds back new life when there is new text string generation At the character string;
When receiving the character string of the server feedback, the character string is saved.
7. endowed control method as claimed in claim 6, which is characterized in that described to receive the server feedback When the character string, after the step of saving the character string, further includes:
When detecting character string decryption instructions, the character string to be decrypted is obtained, and export key input interface;
When detecting the first key of key input interface input, the second cipher key acquisition request is sent to server, wherein institute Stating the second cipher key acquisition request includes first decruption key;
When receiving the second decruption key of the server feedback, according to the first key and the second key pair institute Character string is stated to be decrypted.
8. endowed control method as claimed in claim 7, which is characterized in that described to detect the input of key input interface First key when, to server send the second cipher key acquisition request the step of include:
When detecting the first key of key input interface input, judge whether the first key is in default validity period;
When the first key is in default validity period, the step that the second cipher key acquisition request is sent to server is executed Suddenly;
When the first key is not at default validity period, prompting message is exported.
9. a kind of endowed control device, which is characterized in that the endowed control device includes: memory, processor and deposits The endowed control program that can be run on the memory and on the processor is stored up, the endowed control program is by institute It states and is realized when processor executes such as the step of endowed control method described in any item of the claim 1 to 8.
10. a kind of storage medium, which is characterized in that endowed control program is stored on the storage medium, it is described endowed Control program is realized when being executed by processor such as the step of endowed control method described in any item of the claim 1 to 8.
CN201811323048.0A 2018-11-07 2018-11-07 Control method and device for coding and storage medium Active CN109484723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811323048.0A CN109484723B (en) 2018-11-07 2018-11-07 Control method and device for coding and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811323048.0A CN109484723B (en) 2018-11-07 2018-11-07 Control method and device for coding and storage medium

Publications (2)

Publication Number Publication Date
CN109484723A true CN109484723A (en) 2019-03-19
CN109484723B CN109484723B (en) 2021-10-26

Family

ID=65695270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811323048.0A Active CN109484723B (en) 2018-11-07 2018-11-07 Control method and device for coding and storage medium

Country Status (1)

Country Link
CN (1) CN109484723B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446263A (en) * 2010-10-15 2012-05-09 北京赛腾工业标识***有限公司 Collection method of bar code information data of product
CN102682320A (en) * 2011-03-18 2012-09-19 北京名影科漫科技有限公司 Method for code assigning, reading and data correlation of each pack of cigarettes
CN103049828A (en) * 2013-01-11 2013-04-17 广州宽度信息技术有限公司 Two-dimensional code management system for online products on production line
CN203512149U (en) * 2013-08-23 2014-04-02 天津森茂科技有限公司 Medicine package three-phase code image detecting system
CN203753486U (en) * 2013-12-30 2014-08-06 武汉华工赛百数据***有限公司 Online multi-form tagging and dynamic acquisition device
CN204614008U (en) * 2015-02-16 2015-09-02 浙江康恩贝制药股份有限公司 Integrated information reviews the composite label management system with medication guide
CN105150692A (en) * 2015-08-25 2015-12-16 郑国义 Laser code assigning and visual detection integrated device
CN105416714A (en) * 2015-11-17 2016-03-23 上海透云物联网科技有限公司 Code attaching device and method thereof
CN106548360A (en) * 2016-12-08 2017-03-29 上海驰亚信息技术有限公司 The endowed system of metal sheet stock
CN107566397A (en) * 2017-09-28 2018-01-09 深圳市汉普电子技术开发有限公司 Video conference information transferring method, terminal device, server and storage medium
CN108328028A (en) * 2018-02-28 2018-07-27 广东铭钰科技股份有限公司 A kind of unique endowed fully-automatic packaging production line of product

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102446263A (en) * 2010-10-15 2012-05-09 北京赛腾工业标识***有限公司 Collection method of bar code information data of product
CN102682320A (en) * 2011-03-18 2012-09-19 北京名影科漫科技有限公司 Method for code assigning, reading and data correlation of each pack of cigarettes
CN103049828A (en) * 2013-01-11 2013-04-17 广州宽度信息技术有限公司 Two-dimensional code management system for online products on production line
CN203512149U (en) * 2013-08-23 2014-04-02 天津森茂科技有限公司 Medicine package three-phase code image detecting system
CN203753486U (en) * 2013-12-30 2014-08-06 武汉华工赛百数据***有限公司 Online multi-form tagging and dynamic acquisition device
CN204614008U (en) * 2015-02-16 2015-09-02 浙江康恩贝制药股份有限公司 Integrated information reviews the composite label management system with medication guide
CN105150692A (en) * 2015-08-25 2015-12-16 郑国义 Laser code assigning and visual detection integrated device
CN105416714A (en) * 2015-11-17 2016-03-23 上海透云物联网科技有限公司 Code attaching device and method thereof
CN106548360A (en) * 2016-12-08 2017-03-29 上海驰亚信息技术有限公司 The endowed system of metal sheet stock
CN107566397A (en) * 2017-09-28 2018-01-09 深圳市汉普电子技术开发有限公司 Video conference information transferring method, terminal device, server and storage medium
CN108328028A (en) * 2018-02-28 2018-07-27 广东铭钰科技股份有限公司 A kind of unique endowed fully-automatic packaging production line of product

Also Published As

Publication number Publication date
CN109484723B (en) 2021-10-26

Similar Documents

Publication Publication Date Title
US10572882B2 (en) Systems and methods for tracking and responding to mobile events in a relationship management system
CN105391803B (en) Message pushing method, device, equipment and computer readable storage medium
CN106534356A (en) Method and apparatus for processing template data, requesting template data and displaying template data
CN105814591A (en) Verification information transmission method and terminal
CN107945029A (en) Method for pushing, system, terminal, client terminal and the storage medium of insurance products
CN104125485B (en) A kind of user profile shared method, equipment and system
CN111708927B (en) Information recommendation method and device and electronic equipment
CN106487747A (en) User identification method, system, device and processing method, device
CN114726947B (en) Message display method, device, user terminal and readable storage medium
CN107169753A (en) Transfer account method, device and computer-readable recording medium
CN107948278A (en) A kind of information transferring method, terminal device and system
CN102902574B (en) Cooperative processing method and device of multiple information flow nodes
CN110120933B (en) Wind control, man-machine recognition and data processing method, equipment and system
CN111669744B (en) Information processing method and device and electronic equipment
CN113271610A (en) Network distribution method and device for door lock equipment, door lock equipment and storage medium
CN109484723A (en) Endowed control method, device and storage medium
CN113098757B (en) Red packet transmitting method, red packet receiving method, red packet transmitting device and red packet receiving device
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN106570409A (en) Data processing method and server
CN115776548A (en) Double recording system
CN109484724A (en) Control method, device and the storage medium of double-sided marking
US20130254331A1 (en) Information processing apparatus, information processing method, program, and information processing system
CN105550560A (en) Account login state management method and account login state management apparatus
CN113420133A (en) Session processing method, device, equipment and storage medium
CN106936840B (en) Information prompting method and device

Legal Events

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