CN115828944B - Dynamic configuration method of NFC label production equipment - Google Patents

Dynamic configuration method of NFC label production equipment Download PDF

Info

Publication number
CN115828944B
CN115828944B CN202211413460.8A CN202211413460A CN115828944B CN 115828944 B CN115828944 B CN 115828944B CN 202211413460 A CN202211413460 A CN 202211413460A CN 115828944 B CN115828944 B CN 115828944B
Authority
CN
China
Prior art keywords
script
sub
duration
sequence
nfc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211413460.8A
Other languages
Chinese (zh)
Other versions
CN115828944A (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.)
Xindian Zhilian Beijing Technology Co ltd
Original Assignee
Xindian Zhilian Beijing 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 Xindian Zhilian Beijing Technology Co ltd filed Critical Xindian Zhilian Beijing Technology Co ltd
Priority to CN202211413460.8A priority Critical patent/CN115828944B/en
Publication of CN115828944A publication Critical patent/CN115828944A/en
Application granted granted Critical
Publication of CN115828944B publication Critical patent/CN115828944B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • General Factory Administration (AREA)

Abstract

The embodiment of the invention relates to a dynamic configuration method of NFC label production equipment, which comprises the following steps: acquiring a first script, a maximum single-sheet duration, a read operation unit duration and a write operation unit duration; estimating the execution time length of each first sub-script according to the read-write operation unit time length; taking the first sub-script duration of the maximum duration as the maximum sub-script duration; constructing a single label production time function as a first function; carrying out optimal transmission speed and card reader number combination estimation on the first function according to the first sub-script duration sequence, the maximum sub-script duration and the maximum single-sheet duration; carrying out card reader script decomposition on the first script according to the first optimal speed and the first optimal quantity; and configuring the first transmission motor and the first NFC card reader on the first card reader slide rail according to the first optimal speed, the first optimal number and the first card reader script sequence. According to the invention, the production equipment can carry out self-adaptive adjustment based on production task parameters of each time.

Description

Dynamic configuration method of NFC label production equipment
Technical Field
The invention relates to the technical field of data processing, in particular to a dynamic configuration method of NFC label production equipment.
Background
A near field communication (Near Field Communication, NFC) tag production device is a device for reading and writing data to an NFC tag. The NFC label production equipment generally comprises a card reader track, an NFC card reader, a driving belt and a driving motor; the NFC card reader comprises a card reader track, a transmission belt, a motor, a transmission belt, one or more NFC card readers, a data reading and writing operation, wherein the card reader track is parallel to the transmission belt, one or more NFC card readers can be fixedly mounted on the card reader track, the NFC card readers are generally located above the transmission belt, the transmission belt is used for placing NFC labels, the transmission motor drives the transmission belt to pass through each NFC card reader sequentially through the transmission belt by converting the rotation speed of the motor into the transmission speed of the transmission belt, and the NFC card readers perform data reading and writing operation on the current NFC labels based on card reader scripts loaded by the NFC card readers when each NFC card reader passes through each NFC label. Such conventional NFC tag production devices have some problems: the number of NFC card readers on the card reader track is fixed and cannot be adjusted according to actual conditions, and the transmission speed of the transmission motor is always set to be a fixed value in actual operation although the transmission speed has a plurality of optional configurations and cannot be adjusted according to actual conditions; that is, the conventional NFC tag production device cannot be adaptively adjusted according to actual production task parameters.
Disclosure of Invention
The invention aims at overcoming the defects of the prior art and provides a dynamic configuration method of NFC label production equipment, electronic equipment and a computer readable storage medium; changing a card reader track from a track-fixing mode to a slide rail mode, constructing a single tag production time function F (v, n) by taking a transmission speed v of a transmission motor and the number n of card readers of an NFC card reader as variables, carrying out optimal combination estimation on the single tag production time function F (v, n) and the number of the card readers based on a tag production script of each production task, a single tag maximum production time length and an NFC tag read-write speed (single module read operation time length and single module write operation time length), so as to obtain a pair of optimal transmission speed and the optimal number of the card readers, carrying out dynamic configuration on the transmission speed of the transmission motor in the current task based on the optimal transmission speed, carrying out dynamic configuration on the number of the NFC card readers mounted on the card reader slide rail in the current task based on the optimal number of the card readers, carrying out dynamic decomposition on the tag production script of the current task based on the optimal number of the card readers to obtain a corresponding card reader script sequence, and carrying out dynamic script loading on each NFC card reader based on the card reader script sequence. According to the invention, the NFC label production equipment can dynamically configure the transmission speed of the transmission motor and the NFC card reader on the card reader slide rail according to actual production task parameters (label production script, maximum production time length of a single label and NFC label read-write speed), so that the aim of self-adaptive adjustment is achieved.
To achieve the above object, a first aspect of an embodiment of the present invention provides a dynamic configuration method of an NFC tag production device, where the method includes:
the NFC label production equipment acquires a label production script of a current production task as a corresponding first script; the maximum production time length of the single label of the secondary production task is obtained as the corresponding maximum single time length; acquiring single-module read and write operation time length of the NFC label of the secondary production task as corresponding read operation unit time length and write operation unit time length; the NFC label production equipment comprises a first card reader sliding rail, one or more first NFC card readers, a first driving belt and a first driving motor; the first card reader sliding rail is parallel to the first transmission belt; one or more first NFC card readers are sequentially installed on the first card reader sliding rail; the first NFC card reader is positioned above the first transmission belt; the first transmission belt is used for placing a first NFC label; the first transmission motor is used for driving the first transmission belt to pass each first NFC label under each first NFC card reader in sequence; the first script is composed of a plurality of sequentially ordered first sub-scripts;
Estimating the execution time length of each first sub-script according to the read operation unit time length and the write operation unit time length to generate corresponding first sub-script time length; sequentially sequencing all the first sub-script duration to form a corresponding first sub-script duration sequence; the first sub-script duration corresponding to the maximum duration in the first sub-script duration sequence is used as the maximum sub-script duration;
constructing a single label production time function by taking the transmission speed v of the first transmission motor and the number n of card readers of the first NFC card reader as variables to serve as a corresponding first function F (v, n); and according to the first sub-script duration sequence, the maximum sub-script duration and the maximum single-page duration, performing optimal transmission speed and card reader number combination estimation on the first function F (v, n) to generate a corresponding first optimal combination; the first optimal combination includes a first optimal speed and a first optimal number;
carrying out card reader script decomposition processing on the first scripts according to the first optimal speed and the first optimal quantity to generate a corresponding first card reader script sequence;
and configuring the first transmission motor and the first NFC card reader on the first card reader slide rail according to the first optimal speed, the first optimal number and the first card reader script sequence.
Preferably, the width of the effective identification area of the NFC tag under each of the first NFC readers is a fixed first width L 1 The method comprises the steps of carrying out a first treatment on the surface of the The interval distance between every two adjacent first NFC card readers is a fixed second width L 2 The method comprises the steps of carrying out a first treatment on the surface of the The spacing distance between every two adjacent first NFC labels on the first transmission belt is larger than or equal to the first width L 1
The first sub-script comprises script execution codes and script statistical parameters; the script statistical parameters comprise single-module read operation times and single-module write operation times;
the first transmission motor corresponds to a first transmission speed configuration range; the first transmission speed configuration range comprises a plurality of first configuration speeds;
the time units of the maximum single-page time length, the read operation unit time length, the write operation unit time length, the first sub-script time length and the maximum sub-script time length are all milliseconds.
Preferably, the estimating the execution duration of each first sub-script according to the read operation unit duration and the write operation unit duration to generate a corresponding first sub-script duration specifically includes:
taking the single-module read operation times and the single-module write operation times of the script statistical parameters of the current first sub-script as corresponding current read module times m r And the current number of write modules m w
According to the current reading module times m r The current write module times m w Calculating and generating the corresponding first sub-script time length=int ((m) according to the read operation unit time length, the write operation unit time length and a preset delay factor a r ×t r +m w ×t w )×(1+a)),t r For the read operation unit duration, t w For the write operation unit duration, int () is an upward rounding function, and 0.ltoreq.a.ltoreq.1.
Preferably, the constructing a single tag production time function with the transmission speed v of the first transmission motor and the number n of readers of the first NFC reader as variables as a corresponding first function F (v, n) specifically includes:
at the first width L 1 And the second width L 2 Constructing a single tag production time function as a corresponding first function by taking the transmission speed v of the first transmission motor and the number n of card readers of the first NFC card readers as variables
Preferably, the estimating, according to the first sequence of sub-script time lengths, the maximum sub-script time length and the maximum single-page time length, the optimal transmission speed of the first function F (v, n) and the number of card readers to generate a corresponding first optimal combination specifically includes:
And carrying out maximum constraint on the first function F (v, n) according to the maximum single time length to obtain a corresponding first constraint equation, wherein the first constraint equation is as follows:
T max the maximum single-sheet duration is set;
substituting each first configuration speed of the first transmission speed configuration range corresponding to the first transmission motor as a variable value of the transmission speed v into the first constraint equation to solve the maximum integer variable value of the number n of card readers to obtain a corresponding variable valueint () is an upward rounding function;
counting the number of the first sub-script duration sequence to generate a corresponding first sub-script number; identifying whether the first configuration quantity exceeds the first sub-script quantity, and if so, correcting the current first configuration quantity into the first sub-script quantity;
according to the first width L 1 And estimating the maximum processing duration of the first NFC reader by using the first configuration speed to generate a corresponding first card reader duration=int (L 1 v s ),v s For the first configuration speed, the time unit of the first card reader duration is milliseconds;
forming a corresponding first configuration combination by the first configuration speed, the corresponding first configuration quantity and the first card reader duration; performing rationality evaluation on each first configuration combination according to the first sub-script duration sequence and the maximum sub-script duration to generate a corresponding first evaluation result; and the first configuration combination with the first evaluation result being reasonable is marked as a corresponding second configuration combination;
Estimating the power consumption of the first transmission motor in unit time according to the first configuration speed of each second configuration combination to generate corresponding first power consumption; estimating the overall power consumption of the first NFC card readers of the first configuration quantity in unit time according to the first configuration quantity of each second configuration combination and the rated power of the first NFC card readers to generate corresponding second power consumption; adding the first power consumption and the second power consumption corresponding to each second configuration combination to obtain corresponding third power consumption; and selecting the third power consumption with the smallest power consumption from all the obtained third power consumption as a corresponding fourth power consumption; and taking the first configuration speed and the first configuration quantity of the second configuration combination corresponding to the fourth power consumption as the corresponding first optimal speed and first optimal quantity; and the first optimal combination output corresponding to the first optimal speed and the first optimal quantity is formed.
Further, the performing, according to the first sub-script duration sequence and the maximum sub-script duration, a first evaluation result corresponding to the rationality evaluation on each of the first configuration combinations specifically includes:
Taking the first configuration quantity and the first card reader duration of the current first configuration combination as corresponding current configuration quantity A and current card reader duration; identifying whether the current card reader duration is smaller than the maximum sub-script duration; if the current card reader duration is smaller than the maximum sub-script duration, setting the corresponding first evaluation result as unreasonable; if the current card reader time length is greater than or equal to the maximum sub-script time length, confirming whether the first sub-script time length sequence can be decomposed into a first sub-sequence with total A sub-sequence time length not exceeding the current card reader time length, if so, setting the corresponding first evaluation result to be reasonable, and if not, setting the corresponding first evaluation result to be unreasonable;
when the first sub-script duration sequence is confirmed to be capable of being decomposed into A first sub-sequences, the first sub-script duration sequence is formed by sequentially ordering the A first sub-sequences, each first sub-sequence is composed of one or more sequentially ordered first sub-script durations, and the total sub-sequence duration of each first sub-sequence is the duration sum of all the first sub-script durations in the current sub-sequence.
Preferably, the performing the card reader script decomposition processing on the first script according to the first optimal speed and the first optimal number to generate a corresponding first card reader script sequence specifically includes:
according to the first width L 1 And estimating the maximum processing duration of the first NFC reader by the first optimal speed to generate a corresponding second reader duration=int (L 1 v b ),v b For the first optimal speed, int () is an upward rounding function, and the time unit of the second card reader duration is millisecond;
the first optimal number is recorded as a corresponding first number B; decomposing the first sub-script duration sequence into a second sub-sequence with the total duration of B sub-sequences not exceeding the duration of the second card reader; the first sub-script duration sequence is formed by sequentially sequencing B second sub-sequences, each second sub-sequence is formed by one or more sequentially sequenced first sub-script durations, and the total sub-sequence duration of each second sub-sequence is the duration sum of all the first sub-script durations in the current sub-sequence;
extracting one or more first sub-scripts corresponding to each second sub-sequence from the first script, and sequentially ordering the extracted first sub-scripts to form a corresponding first sub-script sequence; and all the obtained first sub-script sequences are sequenced in sequence to form the corresponding first card reader script sequences.
Preferably, the configuring the first transmission motor and the first NFC reader on the first card reader sliding rail according to the first optimal speed, the first optimal number and the first card reader script sequence specifically includes:
configuring the transmission speed of the first transmission motor according to the first optimal speed; sequentially mounting the first optimal number of the first NFC readers on the first reader sliding rail, and ensuring that the interval distance between every two adjacent first NFC readers is the fixed second width L 2 The method comprises the steps of carrying out a first treatment on the surface of the And loading a first one of the first sub-script sequences of the first card reader script sequence onto a first one of the first NFC card readers, loading a second one of the first sub-script sequences onto a second one of the first NFC card readers, and so on until a last one of the first sub-script sequences is loaded onto a last one of the first NFC card readers.
A second aspect of an embodiment of the present invention provides an electronic device, including: memory, processor, and transceiver;
the processor is configured to couple to the memory, and read and execute the instructions in the memory, so as to implement the method steps described in the first aspect;
The transceiver is coupled to the processor and is controlled by the processor to transmit and receive messages.
A third aspect of the embodiments of the present invention provides a computer-readable storage medium storing computer instructions that, when executed by a computer, cause the computer to perform the method of the first aspect described above.
The embodiment of the invention provides a dynamic configuration method of NFC label production equipment, electronic equipment and a computer readable storage medium; changing a card reader track from a track-fixing mode to a slide rail mode, constructing a single tag production time function F (v, n) by taking a transmission speed v of a transmission motor and the number n of card readers of an NFC card reader as variables, carrying out optimal combination estimation on the single tag production time function F (v, n) and the number of the card readers based on a tag production script of each production task, a single tag maximum production time length and an NFC tag read-write speed (single module read operation time length and single module write operation time length), so as to obtain a pair of optimal transmission speed and the optimal number of the card readers, carrying out dynamic configuration on the transmission speed of the transmission motor in the current task based on the optimal transmission speed, carrying out dynamic configuration on the number of the NFC card readers mounted on the card reader slide rail in the current task based on the optimal number of the card readers, carrying out dynamic decomposition on the tag production script of the current task based on the optimal number of the card readers to obtain a corresponding card reader script sequence, and carrying out dynamic script loading on each NFC card reader based on the card reader script sequence. According to the NFC label production equipment, the transmission speed of the transmission motor and the NFC card reader on the card reader slide rail can be dynamically configured according to actual production task parameters (label production script, maximum production time length of a single label and NFC label reading and writing speed), and the problem that the traditional NFC label production equipment cannot be adaptively adjusted is solved.
Drawings
Fig. 1 is a schematic diagram of a dynamic configuration method of an NFC tag production device according to a first embodiment of the present invention;
fig. 2 is a schematic diagram of an NFC tag production device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail below with reference to the accompanying drawings, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
An embodiment of the present invention provides a dynamic configuration method of an NFC tag production device, as shown in fig. 1, which is a schematic diagram of the dynamic configuration method of the NFC tag production device, and the method mainly includes the following steps:
step 1, NFC label production equipment obtains a label production script of a current production task as a corresponding first script; the maximum production time length of the single label of the secondary production task is obtained as the corresponding maximum single time length; acquiring single-module read and write operation time length of the NFC label of the secondary production task as corresponding read operation unit time length and write operation unit time length;
The NFC label production equipment comprises a first card reader sliding rail, one or more first NFC card readers, a first driving belt and a first driving motor; the first card reader sliding rail is parallel to the first transmission belt; one or more first NFC card readers are sequentially installed on the first card reader sliding rail; the first NFC card reader is positioned above the first transmission belt; the first transmission belt is used for placing a first NFC label; the first transmission motor is used for driving the first transmission belt to pass each first NFC label under each first NFC card reader in sequence; the width of the effective identification area of the NFC label under each first NFC card reader is a fixed first width L 1 The method comprises the steps of carrying out a first treatment on the surface of the The interval distance between every two adjacent first NFC card readers is a fixed second width L 2 The method comprises the steps of carrying out a first treatment on the surface of the The interval distance between every two adjacent first NFC labels on the first transmission belt is larger than or equal to the first width L 1 The method comprises the steps of carrying out a first treatment on the surface of the Fig. 2 is a schematic diagram of an NFC tag production device according to a first embodiment of the present invention;
the first transmission motor corresponds to a first transmission speed configuration range; the first transmission speed configuration range includes a plurality of first configuration speeds;
the first script is composed of a plurality of sequentially ordered first sub-scripts; the first sub-script comprises script execution codes and script statistical parameters; the script statistical parameters comprise single-module read operation times and single-module write operation times;
The maximum single-sheet duration, the read operation unit duration, and the write operation unit duration are all in milliseconds.
Here, the structure of the NFC tag production device according to the embodiment of the present invention is similar to the structure of the conventional NFC tag production deviceThe difference is that the card reader track of the NFC label production device adopts a first card reader sliding rail which is not a fixed track, and the embodiment of the invention can install one or more first NFC card readers with an indefinite number on the first card reader sliding rail; all types of the first NFC readers used in the embodiment of the present invention should be consistent, and since each type of NFC reader has a calibrated effective wireless signal identification range, and the diameter of the effective wireless signal identification range is that of the effective identification area of the NFC tag, the width of the effective identification area of the NFC tag under each first NFC reader, that is, the first width L, is the width of the effective identification area of the NFC tag under each first NFC reader when all types of the first NFC readers are consistent and determined 1 Should be fixed and known; the embodiment of the invention further provides that the interval distance between every two adjacent first NFC card readers is fixedly recorded as a second width L 2 The method comprises the steps of carrying out a first treatment on the surface of the In addition, in order to avoid that two first NFC tags exist in the effective NFC tag identification area of the same first NFC reader, the embodiment of the present invention further provides that the distance between every two adjacent first NFC tags on the first transmission belt should be greater than or equal to the width of the effective NFC tag identification area, i.e. the first width L 1
The first transmission motor of the embodiment of the invention corresponds to an optional transmission speed configuration range, namely a first transmission speed configuration range, and the first transmission speed configuration range consists of a plurality of optional transmission speeds, namely first configuration speeds;
the NFC tag production device of the embodiment of the present invention obtains a set of production task parameters related to a current production task before receiving the production task each time: label production script, maximum production time length of single label and NFC label read-write speed; the label production script, namely the first script, is a label data read-write instruction set to be executed on each NFC label in a secondary production task, the script is composed of a plurality of sub-scripts which are sequentially executed, namely the first sub-scripts, and each first sub-script in the embodiment of the invention comprises a group of statistical parameters, namely script statistical parameters, besides script execution codes, the script statistical parameters comprise single-module read operation times and single-module write operation times, the single-module read operation times are the total times of executing module read operations in the current sub-script, and the single-module write operation times are the total times of executing module write operations in the current sub-script; the maximum production time length of a single label, namely the maximum single time length, is a constraint parameter of the maximum operation time length of each NFC label in a secondary production task, and the parameter is generally calculated by the total production amount of the single label and the working time length of single-day equipment; the reading and writing speed of the NFC tag is a personal parameter of the NFC tag in the secondary production task, and because the data of the NFC tag are stored in a data block mode, the reading and writing speed of the NFC tag can be embodied through single-module reading and writing operation time length, namely reading operation unit time length and writing operation unit time length.
Step 2, estimating the execution time of each first sub-script according to the read operation unit time and the write operation unit time to generate corresponding first sub-script time; sequentially sequencing all the first sub-script duration to form a corresponding first sub-script duration sequence; and taking the first sub-script duration corresponding to the maximum duration in the first sub-script duration sequence as the maximum sub-script duration;
the time units of the first sub-script duration and the maximum sub-script duration are milliseconds;
the method specifically comprises the following steps: step 21, estimating the execution time of each first sub-script according to the read operation unit time and the write operation unit time to generate a corresponding first sub-script time;
the method specifically comprises the following steps: taking the single-module read operation times and the single-module write operation times of the script statistical parameters of the current first sub-script as the corresponding current read module times m r And the current number of write modules m w The method comprises the steps of carrying out a first treatment on the surface of the And according to the current reading module times m r The current number of writing modules m w Calculating and generating corresponding first sub-script duration=int ((m) according to the read operation unit duration, the write operation unit duration and the preset delay factor a r ×t r +m w ×t w )×(1+a)),t r For the unit length of time of the read operation, t w For the length of a writing operation unit, int () is an upward rounding function, and a is more than or equal to 0 and less than or equal to 1;
Here, the delay factor a is a predetermined empirical constant;
step 22, sequentially sequencing all the first sub-script duration to form a corresponding first sub-script duration sequence;
and step 23, taking the first sub-script duration corresponding to the maximum duration in the first sub-script duration sequence as the maximum sub-script duration.
Step 3, constructing a single label production time function by taking the transmission speed v of the first transmission motor and the number n of card readers of the first NFC card readers as variables to serve as a corresponding first function F (v, n); performing optimal transmission speed and card reader number combination estimation on a first function F (v, n) according to a first sub-script duration sequence, a maximum sub-script duration and a maximum single-sheet duration to generate a corresponding first optimal combination;
the method specifically comprises the following steps: step 31, constructing a single label production time function by taking the transmission speed v of the first transmission motor and the number n of card readers of the first NFC card readers as variables to serve as a corresponding first function F (v, n);
the method specifically comprises the following steps: at a first width L 1 And a second width L 2 For a constant, taking the transmission speed v of the first transmission motor and the number n of card readers of the first NFC card readers as variables, constructing a single label production time function as a corresponding first function F (v, n),
Here, if a first NFC tag needs to pass through n number of first NFC readers to execute all first sub-scripts of the first script, the total transmission distance that a first NFC tag needs to pass through in the process of completing production of a single tag is naturally n first widths L 1 Add (n-1) second widths L 2 The sum of (n) is n x L 1 +(n-1)×L 2 The method comprises the steps of carrying out a first treatment on the surface of the The first transmission motor of the embodiment of the invention rotates at a constant speed, and the transmission speed v generated by the first transmission motor is also the transmission speed under the constant speed motion, so that the time required for one first NFC label to finish the production of a single label is naturally the transmissionTotal length of moving distance n×l 1 +(n-1)×L 2 Dividing by the transmission speed vTherefore, the embodiment of the invention constructs a single label production time function which is a first function by taking the transmission speed v and the number n of card readers as variables
Step 32, performing optimal transmission speed and card reader number combination estimation on a first function F (v, n) according to the first sub-script duration sequence, the maximum sub-script duration and the maximum single-sheet duration to generate a corresponding first optimal combination;
wherein the first optimal combination includes a first optimal speed and a first optimal number;
the method specifically comprises the following steps: step 321, performing maximum constraint on the first function F (v, n) according to the maximum single duration to obtain a corresponding first constraint equation, where the first constraint equation is:
T max Is the maximum single-sheet duration;
step 322, substituting each first configuration speed of the first transmission speed configuration range corresponding to the first transmission motor as a variable value of the transmission speed v into the first constraint equation to solve the maximum integer variable value of the number n of card readers to obtain a corresponding first configuration number,
int () is an upward rounding function;
step 323, counting the number of the first sub-script duration sequence to generate a corresponding first sub-script number; identifying whether each first configuration quantity exceeds the first sub-script quantity, and if so, correcting the current first configuration quantity into the first sub-script quantity;
here, theThe embodiment of the invention provides that one or more first sub-scripts can be executed in one first NFC card reader, but two or more first NFC card readers cannot split and execute one first sub-script; therefore, the maximum configuration number of the first NFC card reader can be obtained by counting the number of the first sub-scripts; because L is in the estimation of the first configuration quantity 1 And L 2 The first configuration speed is larger, so that the estimation result of the first configuration quantity is possibly larger than the actual maximum configuration quantity of the first NFC card reader, namely the first sub-script quantity, and the maximum value of the first configuration quantity is limited based on the first sub-script quantity in the current step;
Step 324, according to the first width L 1 And each first configuration speed estimates the maximum processing duration of the first NFC card reader to generate a corresponding first card reader duration,
first card reader duration=int (L 1 v s ),v s For the first configuration speed, the time unit of the first card reader duration is milliseconds;
here, the first card reader duration is actually the passing time required for the first NFC tag to pass through the NFC tag effective identification area of any one of the first NFC readers at different first configuration speeds;
step 325, forming a corresponding first configuration combination by each first configuration speed, a corresponding first configuration number and a first card reader duration;
here, some unreasonable configuration combinations exist in all the obtained first configuration combinations, for example, the configuration speed of the first transmission motor is too high or the configuration number of the first NFC card readers is too small, so that subsequent steps are required to evaluate the rationality of each first configuration combination;
step 326, performing rationality evaluation on each first configuration combination according to the first sub-script duration sequence and the maximum sub-script duration to generate a corresponding first evaluation result;
the method specifically comprises the following steps: taking the first configuration quantity and the first card reader duration of the current first configuration combination as the corresponding current configuration quantity A and the current card reader duration; and identifying whether the duration of the current card reader is less than the maximum sub-script duration; if the current card reader duration is smaller than the maximum sub-script duration, setting a corresponding first evaluation result as unreasonable; if the current card reader time length is greater than or equal to the maximum sub-script time length, confirming whether the first sub-script time length sequence can be decomposed into a first sub-sequence with the total A sub-sequence time length not exceeding the current card reader time length, if so, setting a corresponding first evaluation result to be reasonable, and if not, setting the corresponding first evaluation result to be unreasonable;
When the first sub-script duration sequence is confirmed to be capable of being decomposed into A first sub-sequences, the first sub-script duration sequence is formed by sequencing the A first sub-sequences in sequence, each first sub-sequence consists of one or more sequentially sequenced first sub-script durations, and the total duration of the sub-sequences of each first sub-sequence is the duration sum of all the first sub-script durations in the current sub-sequence;
here, the current card reader duration is a passing time required for the first NFC tag to pass through the NFC tag effective identification area of the first NFC reader, which is calculated based on the first configuration speed of the current configuration combination; if the current card reader duration is smaller than the maximum sub-script duration, the configuration speed of the current configuration combination is too high, so that at least one first sub-script cannot be completely executed under any first NFC card reader for each first NFC tag, that is, the first NFC tag cannot execute the first script and complete the production of a single NFC tag based on the configuration combination, and therefore the corresponding first configuration combination is considered as unreasonable combination and the first evaluation result is unreasonable when the current card reader duration is smaller than the maximum sub-script duration; in addition, when the time length of the current card reader is greater than or equal to the maximum sub-script, the embodiment of the invention further confirms whether the first sub-script time length sequence can be decomposed into first sub-sequences with total A sub-sequence time lengths not exceeding the time length of the current card reader, if the first sub-sequences with total A sub-sequence time lengths not exceeding the time length of the current card reader cannot be decomposed, the card reader configuration number of the current configuration combination is too small, so that at least one first sub-script cannot be executed under any first NFC card reader for each first NFC tag, that is, the first NFC tag cannot execute the first script and complete the production of a single NFC tag based on the configuration combination, so when the first sub-script time length sequence cannot be decomposed into the first sub-sequences with total A sub-sequence time lengths not exceeding the time length of the current card reader is confirmed, the corresponding first configuration combination is regarded as unreasonable combination and the first evaluation result is unreasonable, otherwise, the corresponding first configuration combination is regarded as reasonable combination and the first evaluation result is output;
For example, the first script includes 4 first sub-scripts, which are respectively first sub-scripts 1, 2, 3 and 4, wherein the sub-script durations of the first sub-scripts 1, 2, 3 and 4 are a first sub-script duration 1 (20 ms), a first sub-script duration 2 (20 ms), a first sub-script duration 3 (50 ms) and a first sub-script duration 4 (55 ms), and the first sub-script duration sequence is { a first sub-script duration 1, a first sub-script duration 2, a first sub-script duration 3 and a first sub-script duration 4}; setting the current card reader time length to be 50ms, and setting the current configuration quantity A to be 3; then, because the current card reader duration 50ms is less than the maximum sub-script duration, i.e., the first sub-script duration 4 (55 ms), setting the corresponding first evaluation result as unreasonable;
for another example, the first script includes 4 first sub-scripts, which are respectively first sub-scripts 1, 2, 3 and 4, where the sub-script durations of the first sub-scripts 1, 2, 3 and 4 are a first sub-script duration 1 (20 ms), a first sub-script duration 2 (20 ms), a first sub-script duration 3 (50 ms) and a first sub-script duration 4 (55 ms), and the first sub-script duration sequence is { a first sub-script duration 1, a first sub-script duration 2, a first sub-script duration 3 and a first sub-script duration 4}; setting the current card reader time length to be 60ms, and setting the current configuration quantity A to be 2; then, because the current card reader time length 60ms is greater than the maximum sub-script time length, namely the first sub-script time length 4 (55 ms), further confirm whether the first sub-script time length sequence can be decomposed into a first sub-sequence with total time length of a=2 sub-sequences not exceeding the current card reader time length 60ms, and because the first sub-script time length sequence is { the first sub-script time length 1 (20 ms), the first sub-script time length 2 (20 ms), the first sub-script time length 3 (50 ms), the first sub-script time length 4 (55 ms) }, the first sub-sequence with total time length of 2 sub-sequences not exceeding the current card reader time length 60ms can not be obtained by decomposing the first sub-script time length sequence in any order, so that the corresponding first evaluation result is unreasonable;
For another example, the first script includes 4 first sub-scripts, which are respectively first sub-scripts 1, 2, 3 and 4, where the sub-script durations of the first sub-scripts 1, 2, 3 and 4 are a first sub-script duration 1 (20 ms), a first sub-script duration 2 (20 ms), a first sub-script duration 3 (50 ms) and a first sub-script duration 4 (55 ms), and the first sub-script duration sequence is { a first sub-script duration 1, a first sub-script duration 2, a first sub-script duration 3 and a first sub-script duration 4}; setting the current card reader time length to be 60ms, and setting the current configuration quantity A to be 3; then, because the current card reader time length 60ms is greater than the maximum sub-script time length, namely the first sub-script time length 4 (55 ms), further confirm whether the first sub-script time length sequence can be decomposed into a first sub-sequence with total time length of a=3 sub-sequences not exceeding the current card reader time length 60ms, and because the first sub-script time length sequence is { the first sub-script time length 1 (20 ms), the first sub-script time length 2 (20 ms), the first sub-script time length 3 (50 ms), the first sub-script time length 4 (55 ms) }, the first sub-script time length sequence can be decomposed into a first sub-sequence with total time length of 3 sub-sequences not exceeding the current card reader time length 60 ms: the first subsequence 1{ first sub-script duration 1 (20 ms), the first sub-script duration 2 (20 ms) }, the first subsequence 2{ first sub-script duration 3 (50 ms) }, the first subsequence 3{ first sub-script duration 4 (55 ms) }, so that the corresponding first evaluation result is set to be reasonable;
Step 327, marking the first configuration combination with the first evaluation result being reasonable as a corresponding second configuration combination;
all the obtained second configuration combinations are reasonable configuration combinations of configuration speed and configuration quantity; however, the working energy consumption of each second configuration combination is different, and the embodiment of the invention can select the second configuration combination with the lowest energy consumption as the optimal combination through the subsequent steps;
step 328, estimating the power consumption of the first transmission motor in unit time according to the first configuration speed of each second configuration combination to generate corresponding first power consumption; estimating the overall power consumption of the first NFC card readers of the first configuration number in unit time according to the first configuration number of each second configuration combination and the rated power of the first NFC card readers to generate corresponding second power consumption; and adding the first power consumption and the second power consumption corresponding to each second configuration combination to obtain corresponding third power consumption; and selecting the third power consumption with the smallest power consumption from all the obtained third power consumption as the corresponding fourth power consumption; the first configuration speed and the first configuration quantity of the second configuration combination corresponding to the fourth power consumption are used as the corresponding first optimal speed and the first optimal quantity; and a corresponding first optimal combination output is formed by the first optimal speed and the first optimal number.
Here, when the working energy of each second configuration combination is calculated, calculating the power consumption of the first transmission motor in unit time through the first configuration speed, and calculating the overall power consumption of all NFC card readers through the first configuration quantity and the rated power of the first NFC card readers; the calculation principle of the power consumption of the first transmission motor in unit time is that the first configuration speed is converted into the motor rotating speed, the corresponding motor power can be calculated based on the motor rotating speed and the known motor torque, and the corresponding motor power, namely the first power consumption, can be obtained according to the product relation of the motor power and the unit time; the calculation principle of the overall power consumption of all NFC card readers is that the rated powers of all NFC card readers are added, namely the rated powers of the first NFC card readers of the first configuration quantity are added to obtain the overall power, and then the corresponding overall power consumption, namely the second power consumption, can be obtained according to the product relation of the overall power and unit time; the third power consumption obtained by adding the first power consumption and the second power consumption is the working energy consumption corresponding to the current second configuration combination estimated by the embodiment of the invention; then, the second configuration combination corresponding to the minimum working energy consumption, namely the fourth power consumption, is naturally the most energy-saving configuration combination, and the first configuration speed and the first configuration quantity are selected from the most energy-saving configuration combination to serve as the corresponding first optimal speed and the first optimal quantity to form a first optimal combination output.
Step 4, carrying out card reader script decomposition processing on the first scripts according to the first optimal speed and the first optimal quantity to generate a corresponding first card reader script sequence;
the method specifically comprises the following steps: step 41, according to the first width L 1 And the first optimal speed estimates the maximum processing time length of the first NFC card reader to generate a corresponding second card reader time length,
second reader duration=int (L 1 v b ),v b For the first optimal speed, int () is an upward rounding function, and the time unit of the second card reader duration is milliseconds;
step 42, the first optimal number is marked as a corresponding first number B; decomposing the first sub-script duration sequence into a second sub-sequence with the total duration of B sub-sequences not exceeding the duration of a second card reader;
the first sub-script duration sequence is formed by sequentially sequencing B second sub-sequences, each second sub-sequence is formed by one or more sequentially sequenced first sub-script durations, and the total duration of the sub-sequences of each second sub-sequence is the duration sum of all the first sub-script durations in the current sub-sequence;
for example, the first script includes 4 first sub-scripts, which are respectively first sub-scripts 1, 2, 3 and 4, wherein the sub-script durations of the first sub-scripts 1, 2, 3 and 4 are a first sub-script duration 1 (20 ms), a first sub-script duration 2 (20 ms), a first sub-script duration 3 (50 ms) and a first sub-script duration 4 (55 ms), and the first sub-script duration sequence is { a first sub-script duration 1, a first sub-script duration 2, a first sub-script duration 3 and a first sub-script duration 4};
Setting the duration of the second card reader to be 60ms, and setting the first quantity B to be 3;
then, the first sub-script duration sequence is decomposed into 3 sub-sequences, and the total duration of the 3 sub-sequences is not longer than the second card reader duration of 60ms, so that the following sub-sequences can be obtained:
a second sub-sequence 1{ first sub-script duration 1, first sub-script duration 2 }),
A second subsequence 2{ first sub-script duration 3 }),
A second subsequence 3{ first sub-script duration 4};
step 43, extracting one or more first sub-scripts corresponding to each second sub-sequence from the first script, and sequentially ordering the extracted first sub-scripts to form a corresponding first sub-script sequence; and all the obtained first sub-script sequences are sequenced in sequence to form corresponding first card reader script sequences.
For example, it is known that the first script includes 4 first sub-scripts 1, 2, 3, and 4, respectively, and 3 second sub-sequences are obtained through the above step 42:
a second sub-sequence 1{ first sub-script duration 1, first sub-script duration 2 }),
A second subsequence 2{ first sub-script duration 3 }),
A second sub-sequence 3 (first sub-script duration 4),
then, extracting the first sub-script 1 and 2 corresponding to the second sub-sequence 1 in the first script to form a corresponding first sub-script sequence 1{ first sub-script 1, first sub-script 2}, extracting the first sub-script 3 corresponding to the second sub-sequence 2 in the first script to form a corresponding first sub-script sequence 2{ first sub-script 3}, and extracting the first sub-script 4 corresponding to the second sub-sequence 3 in the first script to form a corresponding first sub-script sequence 3{ first sub-script 4}; the 3 first sub-script sequences obtained are sequentially ordered to form a corresponding first card reader script sequence { a first sub-script sequence 1 (first sub-script 1, first sub-script 2), a first sub-script sequence 2 (first sub-script 3), a first sub-script sequence 3 (first sub-script 4) }.
Step 5, configuring a first transmission motor and a first NFC card reader on a first card reader slide rail according to a first optimal speed, a first optimal number and a first card reader script sequence;
the method specifically comprises the following steps: configuring the transmission speed of the first transmission motor according to the first optimal speed; sequentially mounting a first optimal number of first NFC readers on the first reader slide rail, and ensuring that the interval distance between every two adjacent first NFC readers is a fixed second width L 2 The method comprises the steps of carrying out a first treatment on the surface of the And the first card reader script sequenceLoading a first sub-script sequence onto a first NFC reader, loading a second first sub-script sequence onto a second first NFC reader, and so on until a last first sub-script sequence is loaded onto a last first NFC reader.
Fig. 3 is a schematic structural diagram of an electronic device according to a second embodiment of the present invention. The electronic device may be a terminal device or a server for implementing the method of the embodiment of the present invention, or may be a terminal device or a server for implementing the method of the embodiment of the present invention, which is connected to the foregoing terminal device or server. As shown in fig. 3, the electronic device may include: a processor 301 (e.g., a CPU), a memory 302, a transceiver 303; the transceiver 303 is coupled to the processor 301, and the processor 301 controls the transceiving actions of the transceiver 303. The memory 302 may store various instructions for performing the various processing functions and implementing the processing steps described in the method embodiments previously described. Preferably, the electronic device according to the embodiment of the present invention further includes: a power supply 304, a system bus 305, and a communication port 306. The system bus 305 is used to implement communication connections between the elements. The communication port 306 is used for connection communication between the electronic device and other peripheral devices.
The system bus 305 referred to in fig. 3 may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The system bus may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus. The communication interface is used to enable communication between the database access apparatus and other devices (e.g., clients, read-write libraries, and read-only libraries). The Memory may comprise random access Memory (Random Access Memory, RAM) and may also include Non-Volatile Memory (Non-Volatile Memory), such as at least one disk Memory.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), a graphics processor (Graphics Processing Unit, GPU), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
It should be noted that, the embodiments of the present invention also provide a computer readable storage medium, where instructions are stored, when the computer readable storage medium runs on a computer, to cause the computer to perform the method and the process provided in the above embodiments.
The embodiment of the invention also provides a chip for running the instructions, and the chip is used for executing the processing steps described in the embodiment of the method.
The embodiment of the invention provides a dynamic configuration method of NFC label production equipment, electronic equipment and a computer readable storage medium; changing a card reader track from a track-fixing mode to a slide rail mode, constructing a single tag production time function F (v, n) by taking a transmission speed v of a transmission motor and the number n of card readers of an NFC card reader as variables, carrying out optimal combination estimation on the single tag production time function F (v, n) and the number of the card readers based on a tag production script of each production task, a single tag maximum production time length and an NFC tag read-write speed (single module read operation time length and single module write operation time length), so as to obtain a pair of optimal transmission speed and the optimal number of the card readers, carrying out dynamic configuration on the transmission speed of the transmission motor in the current task based on the optimal transmission speed, carrying out dynamic configuration on the number of the NFC card readers mounted on the card reader slide rail in the current task based on the optimal number of the card readers, carrying out dynamic decomposition on the tag production script of the current task based on the optimal number of the card readers to obtain a corresponding card reader script sequence, and carrying out dynamic script loading on each NFC card reader based on the card reader script sequence. According to the NFC label production equipment, the transmission speed of the transmission motor and the NFC card reader on the card reader slide rail can be dynamically configured according to actual production task parameters (label production script, maximum production time length of a single label and NFC label reading and writing speed), and the problem that the traditional NFC label production equipment cannot be adaptively adjusted is solved.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of function in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (10)

1. A method for dynamically configuring an NFC tag production device, the method comprising:
the NFC label production equipment acquires a label production script of a current production task as a corresponding first script; the maximum production time length of the single label of the secondary production task is obtained as the corresponding maximum single time length; acquiring single-module read and write operation time length of the NFC label of the secondary production task as corresponding read operation unit time length and write operation unit time length; the NFC label production equipment comprises a first card reader sliding rail, one or more first NFC card readers, a first driving belt and a first driving motor; the first card reader sliding rail is parallel to the first transmission belt; one or more first NFC card readers are sequentially installed on the first card reader sliding rail; the first NFC card reader is positioned above the first transmission belt; the first transmission belt is used for placing a first NFC label; the first transmission motor is used for driving the first transmission belt to pass each first NFC label under each first NFC card reader in sequence; the first script is composed of a plurality of sequentially ordered first sub-scripts;
estimating the execution time length of each first sub-script according to the read operation unit time length and the write operation unit time length to generate corresponding first sub-script time length; sequentially sequencing all the first sub-script duration to form a corresponding first sub-script duration sequence; the first sub-script duration corresponding to the maximum duration in the first sub-script duration sequence is used as the maximum sub-script duration;
Constructing a single label production time function by taking the transmission speed v of the first transmission motor and the number n of card readers of the first NFC card reader as variables to serve as a corresponding first function F (v, n); and according to the first sub-script duration sequence, the maximum sub-script duration and the maximum single-page duration, performing optimal transmission speed and card reader number combination estimation on the first function F (v, n) to generate a corresponding first optimal combination; the first optimal combination includes a first optimal speed and a first optimal number;
carrying out card reader script decomposition processing on the first scripts according to the first optimal speed and the first optimal quantity to generate a corresponding first card reader script sequence;
and configuring the first transmission motor and the first NFC card reader on the first card reader slide rail according to the first optimal speed, the first optimal number and the first card reader script sequence.
2. The method for dynamic configuration of an NFC tag production device of claim 1, wherein,
the width of the effective identification area of the NFC tag under each first NFC reader is a fixed first width L 1 The method comprises the steps of carrying out a first treatment on the surface of the When the number of the first NFC card readers is greater than 1, the interval distance between every two adjacent first NFC card readers is a fixed second width L 2 The method comprises the steps of carrying out a first treatment on the surface of the The spacing distance between every two adjacent first NFC labels on the first transmission belt is larger than or equal to the first width L 1
The first sub-script comprises script execution codes and script statistical parameters; the script statistical parameters comprise single-module read operation times and single-module write operation times;
the first transmission motor corresponds to a first transmission speed configuration range; the first transmission speed configuration range comprises a plurality of first configuration speeds;
the time units of the maximum single-page time length, the read operation unit time length, the write operation unit time length, the first sub-script time length and the maximum sub-script time length are all milliseconds.
3. The method for dynamically configuring NFC tag production device according to claim 2, wherein the estimating, according to the read unit duration and the write unit duration, the execution duration of each first sub-script to generate a corresponding first sub-script duration specifically includes:
taking the single-module read operation times and the single-module write operation times of the script statistical parameters of the current first sub-script as corresponding current read module times m r And the current number of write modules m w
According to the current reading module times m r The current write module times m w Calculating and generating the corresponding first sub-script time length=int ((m) according to the read operation unit time length, the write operation unit time length and a preset delay factor a r ×t r +m w ×t w )×(1+a)),t r For the read operation unit duration, t w For the write operation unit duration, int () is an upward rounding function, and 0.ltoreq.a.ltoreq.1.
4. The method for dynamically configuring an NFC tag production device according to claim 2, wherein the constructing a single tag production time function with the transmission speed v of the first transmission motor and the number n of readers of the first NFC reader as variables as a corresponding first function F (v, n) specifically includes:
at the first width L 1 And the second width L 2 Constructing a single tag production time function as a corresponding first function by taking the transmission speed v of the first transmission motor and the number n of card readers of the first NFC card readers as variables
5. The method for dynamically configuring NFC tag production device according to claim 4, wherein the performing, according to the first sequence of sub-script duration, the maximum sub-script duration, and the maximum single-page duration, optimal transmission speed and card reader number combination estimation on the first function F (v, n) to generate a corresponding first optimal combination specifically includes:
And carrying out maximum constraint on the first function F (v, n) according to the maximum single time length to obtain a corresponding first constraint equation, wherein the first constraint equation is as follows:
T max the maximum single-sheet duration is set;
substituting each first configuration speed of the first transmission speed configuration range corresponding to the first transmission motor as a variable value of the transmission speed v into the first constraint equation to solve the maximum integer variable value of the number n of card readersObtain the correspondingint () is an upward rounding function;
counting the number of the first sub-script duration sequence to generate a corresponding first sub-script number; identifying whether the first configuration quantity exceeds the first sub-script quantity, and if so, correcting the current first configuration quantity into the first sub-script quantity;
according to the first width L 1 And estimating the maximum processing duration of the first NFC reader by using the first configuration speed to generate a corresponding first card reader duration=int (L 1 /v s ),v s For the first configuration speed, the time unit of the first card reader duration is milliseconds;
forming a corresponding first configuration combination by the first configuration speed, the corresponding first configuration quantity and the first card reader duration; performing rationality evaluation on each first configuration combination according to the first sub-script duration sequence and the maximum sub-script duration to generate a corresponding first evaluation result; and the first configuration combination with the first evaluation result being reasonable is marked as a corresponding second configuration combination;
Estimating the power consumption of the first transmission motor in unit time according to the first configuration speed of each second configuration combination to generate corresponding first power consumption; estimating the overall power consumption of the first NFC card readers of the first configuration quantity in unit time according to the first configuration quantity of each second configuration combination and the rated power of the first NFC card readers to generate corresponding second power consumption; adding the first power consumption and the second power consumption corresponding to each second configuration combination to obtain corresponding third power consumption; and selecting the third power consumption with the smallest power consumption from all the obtained third power consumption as a corresponding fourth power consumption; and taking the first configuration speed and the first configuration quantity of the second configuration combination corresponding to the fourth power consumption as the corresponding first optimal speed and first optimal quantity; and the first optimal combination output corresponding to the first optimal speed and the first optimal quantity is formed.
6. The method for dynamically configuring NFC tag production device according to claim 5, wherein the performing, according to the first sub-script duration sequence and the maximum sub-script duration, a rationality evaluation on each of the first configuration combinations generates a corresponding first evaluation result, specifically includes:
Taking the first configuration quantity and the first card reader duration of the current first configuration combination as corresponding current configuration quantity A and current card reader duration; identifying whether the current card reader duration is smaller than the maximum sub-script duration; if the current card reader duration is smaller than the maximum sub-script duration, setting the corresponding first evaluation result as unreasonable; if the current card reader time length is greater than or equal to the maximum sub-script time length, confirming whether the first sub-script time length sequence can be decomposed into a first sub-sequence with total A sub-sequence time length not exceeding the current card reader time length, if so, setting the corresponding first evaluation result to be reasonable, and if not, setting the corresponding first evaluation result to be unreasonable;
when the first sub-script duration sequence is confirmed to be capable of being decomposed into A first sub-sequences, the first sub-script duration sequence is formed by sequentially ordering the A first sub-sequences, each first sub-sequence is composed of one or more sequentially ordered first sub-script durations, and the total sub-sequence duration of each first sub-sequence is the duration sum of all the first sub-script durations in the current sub-sequence.
7. The method for dynamically configuring NFC tag production device according to claim 2, wherein the performing, according to the first optimal speed and the first optimal number, card reader script decomposition processing on the first script to generate a corresponding first card reader script sequence specifically includes:
according to the first width L 1 And estimating the maximum processing duration of the first NFC reader by the first optimal speed to generate a corresponding second reader duration=int (L 1 /v b ),v b For the first optimal speed, int () is an upward rounding function, and the time unit of the second card reader duration is millisecond;
the first optimal number is recorded as a corresponding first number B; decomposing the first sub-script duration sequence into a second sub-sequence with the total duration of B sub-sequences not exceeding the duration of the second card reader; the first sub-script duration sequence is formed by sequentially sequencing B second sub-sequences, each second sub-sequence is formed by one or more sequentially sequenced first sub-script durations, and the total sub-sequence duration of each second sub-sequence is the duration sum of all the first sub-script durations in the current sub-sequence;
Extracting one or more first sub-scripts corresponding to each second sub-sequence from the first script, and sequentially ordering the extracted first sub-scripts to form a corresponding first sub-script sequence; and all the obtained first sub-script sequences are sequenced in sequence to form the corresponding first card reader script sequences.
8. The method for dynamically configuring NFC tag production device according to claim 7, wherein the configuring the first transmission motor and the first NFC reader on the first reader sled according to the first optimal speed, the first optimal number, and the first reader script sequence specifically includes:
configuring the transmission speed of the first transmission motor according to the first optimal speed; sequentially mounting the first optimal number of the first NFC readers on the first reader sliding rail, and ensuring that the interval distance between every two adjacent first NFC readers is the fixed second width L 2 The method comprises the steps of carrying out a first treatment on the surface of the And a first one of said first sub-script sequences of said first card reader script sequenceLoading the first sub-script sequence onto a first NFC card reader, loading a second first sub-script sequence onto a second first NFC card reader, and so on until the last first sub-script sequence is loaded onto the last first NFC card reader.
9. An electronic device, comprising: memory, processor, and transceiver;
the processor being adapted to be coupled to the memory, read and execute the instructions in the memory to implement the method steps of any one of claims 1-8;
the transceiver is coupled to the processor and is controlled by the processor to transmit and receive messages.
10. A computer readable storage medium storing computer instructions which, when executed by a computer, cause the computer to perform the instructions of the method of any one of claims 1-8.
CN202211413460.8A 2022-11-11 2022-11-11 Dynamic configuration method of NFC label production equipment Active CN115828944B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211413460.8A CN115828944B (en) 2022-11-11 2022-11-11 Dynamic configuration method of NFC label production equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211413460.8A CN115828944B (en) 2022-11-11 2022-11-11 Dynamic configuration method of NFC label production equipment

Publications (2)

Publication Number Publication Date
CN115828944A CN115828944A (en) 2023-03-21
CN115828944B true CN115828944B (en) 2023-07-18

Family

ID=85527736

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211413460.8A Active CN115828944B (en) 2022-11-11 2022-11-11 Dynamic configuration method of NFC label production equipment

Country Status (1)

Country Link
CN (1) CN115828944B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114580597A (en) * 2022-03-08 2022-06-03 芯电智联(北京)科技有限公司 Production label supplementing method for NFC anti-counterfeiting label

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108205637B (en) * 2017-10-13 2023-05-23 中兴通讯股份有限公司 NFC configuration method, mobile terminal and computer readable storage medium
CN210199794U (en) * 2019-09-20 2020-03-27 昆山杰拓电子科技有限公司 Desktop type label and ticket card dual-purpose detection code writing equipment
CN114022028A (en) * 2021-11-22 2022-02-08 江苏科技大学 Automatic hybrid pipeline scheduling layout integrated optimization method
CN114595969B (en) * 2022-03-08 2022-08-26 芯电智联(北京)科技有限公司 NFC label production management system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114580597A (en) * 2022-03-08 2022-06-03 芯电智联(北京)科技有限公司 Production label supplementing method for NFC anti-counterfeiting label

Also Published As

Publication number Publication date
CN115828944A (en) 2023-03-21

Similar Documents

Publication Publication Date Title
Lu et al. High-speed channel modeling with machine learning methods for signal integrity analysis
CN108280542B (en) User portrait model optimization method, medium and equipment
CN109263280B (en) Oneepass ink-jet printing method, device, equipment and storage medium
CN114463586A (en) Training and image recognition method, device, equipment and medium of image recognition model
US11640323B2 (en) Method and machine learning agent for executing machine learning in an edge cloud
CN104636118A (en) QR two-dimensional code self-adaptation binarization processing method and device based on light balance
CN108520472A (en) A kind of method, apparatus and electronic equipment of processing electric power system data
CN114520736B (en) Internet of things security detection method, device, equipment and storage medium
CN115828944B (en) Dynamic configuration method of NFC label production equipment
CN111523888B (en) On-chain data and information tracing system based on block chain technology
CN103679099A (en) Anti-collision method applied to mass-RFID-label system
CN114881129A (en) Model training method and device, electronic equipment and storage medium
CN113221601A (en) Character recognition method, device and computer readable storage medium
CN109559172A (en) Data processing method, device, electronic equipment and computer readable storage medium
CN110113660A (en) A kind of method, apparatus, terminal and the storage medium of the estimation of transcoding duration
CN116935368A (en) Deep learning model training method, text line detection method, device and equipment
CN116841808A (en) Multi-core processor abnormality detection method and device, electronic equipment and storage medium
Ferreira et al. Novel RFID method for faster convergence of tag estimation on dynamic frame size ALOHA algorithms
KR100783682B1 (en) Method for high speed indentifying tag of rfid system
CN115348184A (en) Internet of things data security event prediction method and system
CN111815658B (en) Image recognition method and device
CN108229664B (en) Batch standardization processing method and device and computer equipment
CN113537392A (en) Similar image identification method and device, computing equipment and computer storage medium
Liu et al. A fast and stable anti-collision algorithm for the EPCglobal UHF Class 1 Generation 2 standard
US20220067518A1 (en) Data processing method, data processing apparatus, and computer-readable storage medium

Legal Events

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