CN105698865B - A kind of production of cigarettes quality detecting data acquisition method and system - Google Patents

A kind of production of cigarettes quality detecting data acquisition method and system Download PDF

Info

Publication number
CN105698865B
CN105698865B CN201610146448.3A CN201610146448A CN105698865B CN 105698865 B CN105698865 B CN 105698865B CN 201610146448 A CN201610146448 A CN 201610146448A CN 105698865 B CN105698865 B CN 105698865B
Authority
CN
China
Prior art keywords
production
quality inspection
expression formula
module
inspection equipment
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
CN201610146448.3A
Other languages
Chinese (zh)
Other versions
CN105698865A (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.)
Longyan Tobacco Industry Co Ltd
Original Assignee
Longyan Tobacco Industry 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 Longyan Tobacco Industry Co Ltd filed Critical Longyan Tobacco Industry Co Ltd
Priority to CN201610146448.3A priority Critical patent/CN105698865B/en
Publication of CN105698865A publication Critical patent/CN105698865A/en
Application granted granted Critical
Publication of CN105698865B publication Critical patent/CN105698865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Factory Administration (AREA)

Abstract

The present invention relates to a kind of production of cigarettes quality detecting data acquisition method and system, wherein, production of cigarettes quality detecting data acquisition method includes:Receive the data that production of cigarettes quality inspection equipment is sent;Call analytics engine;Analytics engine resolution rules expression formula according to corresponding to the type of production of cigarettes quality inspection equipment loads production of cigarettes quality inspection equipment from allocation list;Analytics engine is parsed using resolution rules expression formula to the data received.The production of cigarettes quality detecting data acquisition method of the present invention, it can need to need to only call different resolution rules expression formulas during different quality inspection device data acquisitions, new parsing module need not be developed, so that versatility is stronger, manpower and time cost spent by exploitation new module can be saved;Further, since analytics engine has unified the flow of data acquisition, when when repair data capture program running into the problem of, it is possible to repair the problem of all quality inspection equipment are present by modification at one so that maintenance work is more convenient.

Description

A kind of production of cigarettes quality detecting data acquisition method and system
Technical field
The present invention relates to data acquisition technology field, specially technical field of cigarette production, more particularly to a kind of cigarette to give birth to Produce quality detecting data acquisition method and system.
Background technology
During production of cigarettes, after cigarette machine produces cigarette, it is also necessary to by quality inspection equipment to cigarette The quality of production test, quality inspection equipment is provided with the sensor corresponding with each measurement to be checked.In detection, by cigarette It is fixed in quality inspection equipment, the data then measured by controller to each sensor are acquired, then electric signal is converted For corresponding physical parameter, so as to judge whether detected cigarette is up to standard.
Collecting method commonly used in the prior art carries out data acquisition generally according to flow as shown in Figure 1:Setting After detection is started, data acquisition program receives the sensing data in quality inspection equipment by serial ports, recalls corresponding quality inspection and sets Standby parsing module parses the data transmitted, result is stored in database after being parsed, then by user The data of needs are searched out in the data list of system and are extracted in corresponding work order.
But the flow of such a data acquisition is whenever having new equipment to need to carry out data acquisition, it is necessary to individually writes One new equipment data analysis module so that such a collecting method when for different quality inspection equipment versatility compared with Difference.
The content of the invention
The purpose of the present invention is to propose to a kind of production of cigarettes quality detecting data acquisition method and system, it is possible to increase to not homogeneity Examine versatility when equipment carries out data acquisition.
To achieve the above object, first aspect present invention provides a kind of production of cigarettes quality detecting data acquisition method, including: Receive the data that production of cigarettes quality inspection equipment is sent;
Call analytics engine;
The analytics engine loads the production of cigarettes quality inspection according to the type of production of cigarettes quality inspection equipment from allocation list Resolution rules expression formula corresponding to equipment;
The analytics engine is parsed using the resolution rules expression formula to the data received.
Further, before the step of data that the reception production of cigarettes quality inspection equipment is sent, in addition to:
The production of cigarettes quality inspection equipment for needing to send data is locked.
Further, the production of cigarettes quality inspection equipment for needing at described Dui to send data enters line-locked operation Afterwards, in addition to:
Receive the work order information inserted and the work order information is write to the locked production of cigarettes quality inspection equipment In equipment list;
After the analytics engine parses to the data received, in addition to:
Work order information is loaded from the equipment list;
Work order corresponding to data write-in after the analytics engine is parsed.
Further, in addition to:
Configure the resolution rules expression formula corresponding to the various production of cigarettes quality inspection equipment;
The resolution rules expression formula configured is added in the allocation list.
Further, the tool of the resolution rules expression formula corresponding to the various production of cigarettes quality inspection equipment of configuration Body step includes:
Determine the form of the various signals of the production of cigarettes quality inspection equipment output;
By human-computer interaction interface receive each signal corresponding to regular expression be used as the resolution rules expression formula;
The resolution rules expression formula is write in the allocation list.
Further, the production of cigarettes quality inspection equipment is electronic scale, density refractometer or QTM combined test stands.
To achieve the above object, second aspect of the present invention provides a kind of production of cigarettes quality detecting data acquisition system, including: Data reception module, engine calling module and analytics engine, the data reception module is connected with the analytics engine, described to draw Calling module is held up to be connected with the analytics engine,
Data reception module, for receiving the data of production of cigarettes quality inspection equipment transmission;
Engine calling module, for calling analytics engine;
The analytics engine, for loading the production of cigarettes from allocation list according to the type of production of cigarettes quality inspection equipment Resolution rules expression formula corresponding to quality inspection equipment, and the data reception module is received using the resolution rules expression formula Data parsed.
Further, in addition to equipment locking module, for receiving the production of cigarettes matter in the data reception module Before examining the data that equipment is sent, the production of cigarettes quality inspection equipment for needing to send data is locked.
Further, in addition to:
Work order information writing module, for carrying out locking it in the production of cigarettes quality inspection equipment to needing to send data Afterwards, receive the work order information inserted and the work order information is write to the equipment list of the locked production of cigarettes quality inspection equipment In;
Work order information load-on module, be connected with the work order information writing module, for the analytics engine to receive To data parsed after, load work order information from the equipment list;
Data write. module, it is connected with the work order information load-on module and the analytics engine, in the work order After signal load unit loads work order information from the equipment list, corresponding to the data write-in after the analytics engine is parsed Work order.
Further, in addition to:
Expression formula configuration module, for configuring the resolution rules expression corresponding to the various production of cigarettes quality inspection equipment Formula;
Expression formula add module, it is connected with the expression formula configuration module, for the expression formula configuration module to be configured The good resolution rules expression formula is added in the allocation list.
Further, expression formula configuration module specifically includes:
Signal format determining module, the form of the various signals for determining the production of cigarettes quality inspection equipment output;
Expression formula receiving module, it is used as institute for regular expression corresponding to receiving each signal by human-computer interaction interface State resolution rules expression formula;
Expression formula writing module, it is connected with the expression formula receiving module, for the expression formula receiving module to be received To resolution rules expression formula write in the allocation list.
Based on above-mentioned technical proposal, the production of cigarettes quality detecting data acquisition method of the embodiment of the present invention, parsed by calling Engine, and resolution rules expression formula corresponding to being loaded from allocation list according to the type of quality inspection equipment carries out matching reconciliation to data Analysis operation so that need only call corresponding resolution rules expression formula i.e. when carrying out data acquisition to different quality inspection equipment Can, it is not necessary to develop new parsing module so that such a collecting method versatility is stronger, suitable for being grasped during distinct device Make it is relatively simple, can save exploitation new module spent by manpower and time cost.Further, since analytics engine has unified number According to the flow of collection, when when repair data capture program running into the problem of, it is possible to repair all quality inspections by modification at one The problem of equipment is present so that maintenance work is more convenient.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the schematic flow sheet of production of cigarettes quality detecting data acquisition method in the prior art;
Fig. 2 is the schematic flow sheet of one embodiment of production of cigarettes quality detecting data acquisition method of the present invention;
Fig. 3 is the schematic flow sheet of another embodiment of production of cigarettes quality detecting data acquisition method of the present invention;
Fig. 4 is the schematic flow sheet of the further embodiment of production of cigarettes quality detecting data acquisition method of the present invention;
Fig. 5 is the schematic flow sheet of a specific embodiment of production of cigarettes quality detecting data acquisition method of the present invention;
Fig. 6 is various quality inspection equipment in one embodiment of production of cigarettes quality detecting data acquisition system of the present invention in allocation list In corresponding analytical expression list schematic diagram;
Fig. 7 is when newly-increased form information is needed in one embodiment of production of cigarettes quality detecting data acquisition system of the present invention Interface schematic diagram;
Fig. 8 be production of cigarettes quality detecting data acquisition system of the present invention one embodiment in analytical expression test interface Schematic diagram;
Fig. 9 is the interface schematic diagram of one embodiment of production of cigarettes quality detecting data acquisition system of the present invention;
Figure 10 shows for the inquiry of historical data interface in one embodiment of production of cigarettes quality detecting data acquisition system of the present invention It is intended to;
The interface schematic diagram that Figure 11 shows for quality inspection result in one embodiment of quality detecting data acquisition system of the present invention;
The interface schematic diagram that Figure 12 inquires about for work order in one embodiment of quality detecting data acquisition system of the present invention;
Figure 13 is the composition schematic diagram of one embodiment of quality detecting data acquisition system of the present invention.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
The versatility of quality inspection equipment is produced to improve same set of data acquisition program for kinds of cigarettes, the present invention provides A kind of production of cigarettes quality detecting data acquisition method, for by data acquisition program to (the following letter of production of cigarettes quality inspection equipment Claim quality inspection equipment) data acquisition is carried out, method of the invention can be applicable in the throwing and volume packet procedures of cigarette, such as electronics The data acquisition of the quality inspection equipment such as title, density refractometer, QTM combined test stands.But this method can also be not limited to cigarette mistake Journey, it can essentially apply in any required equipment for carrying out data acquisition.
Schematic flow sheet as shown in Figure 2, production of cigarettes quality detecting data acquisition method of the invention comprise the following steps:
Step 101, receive the data that quality inspection equipment is sent;Preferably, data acquisition program is connect by serial ports or parallel port Receive the data that quality inspection equipment is sent.
Step 102, call analytics engine.
Step 103, analytics engine load quality inspection equipment according to the type of production of cigarettes quality inspection equipment from allocation list and corresponded to Resolution rules expression formula.Wherein, allocation list is a database table, wherein saving parsing rule corresponding to various quality inspection equipment The difference that the data resolution module of then expression formula, resolution rules expression formula and prior art is most basic is that analytical expression is It is stored in as a kind of data in allocation list, and data resolution module is the program generation that some write for certain quality inspection equipment Code.Resolution rules expression formula is pre-configured with systems, it is impossible to is directly performed by processor, it is necessary to be divided by analytics engine Analysis is handled.
Step 104, analytics engine are parsed using resolution rules expression formula to the data received.
The scheme of the embodiment and prior art is contrasted below to illustrate advantages of the present invention.
First, the scheme of prior art to quality inspection equipment carry out data acquisition when, it is necessary to call the parsing of corresponding device Module, and whenever thering is new equipment to need to carry out data acquisition, it is necessary to a new data resolution module individually is write, is led Cause the workload of exploitation new module larger.And embodiments of the invention are by calling analytics engine, and according to the class of quality inspection equipment Type loaded from allocation list corresponding to resolution rules expression formula data are matched and are parsed with operation so that different quality inspections are set Equipment standby to need only configure different resolution rules expression formulas during data acquisition, that analytics engine can be according to currently connecting Type finds corresponding resolution rules expression formula in allocation list, it is not necessary to develops new parsing module so that such a data are adopted Diversity method versatility is stronger, relatively simple suitable for being operated during distinct device, can save the people spent by exploitation new module Power and time cost.
Secondly, the scheme of prior art when there is the problem of similar in several data acquisition programs, it is necessary to it is each specially Individually modified with the code of data acquisition module the problem of could repairing all devices.And embodiments of the invention are due to adopting The flow of data acquisition is unified with analytics engine, when when repair data capture program running into the problem of, it is possible at one Change to repair the problem of all quality inspection equipment are present, because different quality inspection equipment are only embodied in corresponding analytical expression not Together, the other parts for data acquisition program are public that this make it that the maintenance work of data acquisition program is more convenient.
In another embodiment of the invention, schematic flow sheet as shown in Figure 3, set receiving production of cigarettes quality inspection Before the step 101 for the data that preparation is sent, in addition to:
Step 100a, the production of cigarettes quality inspection equipment for needing to send data is locked.Once user is adopted by data Collection program has locked certain quality inspection equipment, then all data collected just automatically belong to lock the user of current quality inspection equipment.
In the data acquisition plan of prior art, when there is multiple users to use same quality inspection equipment, user is from number According to one's own when being difficult to differentiate between which data in list.And the embodiment of the present invention solves different user using same During platform quality inspection equipment, the problem of data cannot be distinguished by, before data acquisition, the pass just demarcated between user and quality inspection equipment System, during data acquisition, other users may can not just use the quality inspection equipment, to avoid the number between different user According to the phenomenon for being difficult to distinguish.
For example, user can lock the quality inspection equipment needed to use in quality inspection work order interface as shown in Figure 9, on the boundary In face, user have selected Fl-003 quality inspection equipment, then click on the current instrument button of locking of rectangle frame delineation, you can to this matter Inspection equipment is locked, and the data next gathered are directed to this quality inspection equipment.
Figure 10 is quality detecting data acquisition system interface schematic diagram, when after quality inspection sample is placed in quality inspection equipment, data are adopted Collection starts, and meeting real-time display goes out current locking device, the locking information such as work order number and locking time on interface, and in main display The each parameter value to be checked collected is shown in region in real time, while can also be saved in tables of data, and user can be with The data collected are printed or the operation such as the inquiry of historical data.
After the inquiry of historical data button in Figure 10 is clicked on, the inquiry of historical data interface shown in Figure 11 is just ejected, it is defeated Enter to need the device number inquired about, click on inquiry button, you can show that being directed to certain specific quality inspection sets in main viewing area The standby data collected, either also this partial history data can be printed or replicated etc. with operation.As can be seen that from data The data of association can be easily found in list according to the information of locking device.When line number need not be entered to this quality inspection equipment During according to collection, this quality inspection equipment is unlocked as shown in figure 9, clicking on and unlocking current instrument button.
For the embodiment shown in Fig. 3, in a kind of improved way of realization, as shown in figure 4, after step 100a, Also include:
Step 100b, receive the work order information inserted and work order information is write to the equipment list of locked quality inspection equipment In;Quality detecting data capture program can receive the work order information that user inputs by human-computer interaction interface, be set for a certain quality inspection The standby data collected can write different work orders as needed.The step is preferably between step 100a and step 101 Perform, or other each moment that can also be in figure 3 after step 101 perform.
Further, as shown in figure 4, after step 104 analytics engine parses to the data received, can also wrap Include:
Work order information is loaded in step 105, slave unit table;The work order information is the work order letter inputted in step 100b Breath.
Step 106, analytics engine is parsed after data write-in corresponding to work order.
In data acquisition plan of the prior art, after user finds data, it is also necessary to manual extraction work corresponding to It is single, not only time-consuming but also easy error.And the embodiment of the present invention, by inputting work order information in advance, user with regard to without carrying out again Extract data and preserve the operation of work order, after user locks and starts detection, it is possible to without carrying out any behaviour to work order again Make, data can be filled into automatically according to the information of locking in corresponding work order.When pattern detection completion, while detect data acquisition After, data acquisition program automatically will insert data in corresponding work order, can not only simplify the operation of user, moreover it is possible to carry The accuracy of high data write-in work order.
After step 106 is performed, work order query interface schematic diagram as shown in figure 12, in work order information viewing area, Various information corresponding to different work order numbers are provided in the form of a list, if user wants to inquire about in a certain specific work order the number write According to, it is only necessary to the work order number is chosen, clicks on inquiry button, it is possible to show corresponding to the work order in quality inspection results display area domain Quality inspection result, it on the one hand can show index corresponding to each quality inspection parameter, such as average value, unqualified number, maximum With minimum value etc., intuitively evaluated to have to each quality inspection parameter, on the other hand can also show and join for a certain quality inspection The discrete data that number collects.
In yet further embodiment of the invention, such a production of cigarettes quality detecting data acquisition method also includes:
Step 100c, resolution rules expression formula corresponding to various quality inspection equipment is configured;
Step 100d, the resolution rules expression formula configured is added in allocation list.
The characteristics of collecting method of the present invention, is, only needs to advise corresponding parsing for different quality inspection equipment Then expression formula is added in allocation list, and in the interface shown in Fig. 6, the corresponding various quality inspection equipment of different rows are configuring in form Corresponding analytical expression in table., can be shown in Fig. 7 when not needing to carry out the quality inspection equipment of data acquisition in allocation list Newly-increased form information in input each analytical expression corresponding to the quality inspection equipment, and preserved.
When carrying out data acquisition, data acquisition program can be found pair according to the device type that currently connects in allocation list The analytical expression answered, such as when data acquisition program detects that currently connect is QTM equipment, then will be in allocation list Analytical expression corresponding to QTM equipment is searched, these expression formulas can be provided to analytics engine as the current transmission text judged This foundation.
Further, step 100c configures the specific step of resolution rules expression formula corresponding to various production of cigarettes quality inspection equipment It is rapid as shown in figure 5, including:
Step 201, the form for determining the various signals that production of cigarettes quality inspection equipment exports;For example, for a kind of specific Quality inspection equipment, its various signal exported include:Gather commencing signal, collection end signal, data row, data row, statistics arrange, Statistics Bar, verification commencing signal, verification data row, verification data row and verification end signal etc..
Step 202, by human-computer interaction interface receive each signal corresponding to regular expression be used as resolution rules express Formula;
Step 203, by resolution rules expression formula write allocation list in.
Wherein, the regular expression referred in step 202 is a kind of general text-processing rule, can match and meet certain The text of kind rule.Examine whether some regular expression can correctly match some text, can be carried out using testing tool Test, its test interface is as shown in figure 8, below by for example bright method tested regular expression.
For example, regular expression corresponding to the commencing signal of QTM equipment be configured as ^ (:(:Maker sno. s+= s+(:\d+)\s+(.*))|MEASURE MODE);When QTM equipment transmits a line text:Maker no.=001 07/06/ 15 16:37:25, the regular expression above analytics engine use is composed a piece of writing to this, and this is matched, if the match is successful, then Analytics engine starts quality detecting data and adopted it may determine that the data to be come by Serial Port Transmission are a commencing signals so as to trigger The action of collection.When the match is successful, match information will be shown in text box corresponding to matching result, passes through survey above Examination it can be seen that ^ (:(:Maker sno. s+=s+ (:D+) s+ (.*)) | MEASURE MODE) matching maker no. =001 07,/06,/15 16:37:25 is successful, and this is also implied that, if analytics engine receives this text, will be matched Success is so as to automatically into the handling process for starting quality detecting data collection.
During data acquisition is carried out, data acquisition program can constantly receive the text of quality inspection equipment transmission, and Detection current text some regular expression whether corresponding with the quality inspection equipment matches, and is triggered if matching corresponding dynamic Make, such as start to gather, terminate collection, examine beginning or test ending etc..
Secondly, present invention also offers a kind of production of cigarettes quality detecting data acquisition system, in a schematical embodiment In, as shown in figure 13, data collecting system includes:Data reception module, engine calling module and analytics engine, data reception Block is connected with analytics engine, and engine calling module is connected with analytics engine, data reception module, for receiving production of cigarettes quality inspection The data that equipment is sent;Engine calling module, for calling analytics engine;Analytics engine, for being set according to production of cigarettes quality inspection Standby type loads resolution rules expression formula corresponding to production of cigarettes quality inspection equipment from allocation list, and is expressed using resolution rules Formula parses to the data that data reception module receives.
The production of cigarettes quality detecting data acquisition system of the embodiment, when needing to different quality inspection device data acquisitions only Different resolution rules expression formulas need to be called, it is not necessary to develop new parsing module so that such a data collecting system is led to It is stronger with property, relatively simple suitable for being operated during distinct device, the manpower spent by exploitation new module and time can be saved Cost.Further, since analytics engine has unified the flow of data acquisition, when production of cigarettes quality detecting data acquisition system encounters problems When, it is possible to the problem of all quality inspection equipment are present is repaired by modification at one so that maintenance work is more convenient.
When in another embodiment, in order to avoid the user from use same equipment as far as possible, data that different user gathers The problem of cannot be distinguished by, production of cigarettes quality detecting data acquisition system of the invention also include equipment locking module, equipment locking mould Block is connected with analytics engine, for receive that production of cigarettes quality inspection equipment is sent in data reception module data before, to needing The production of cigarettes quality inspection equipment for sending data is locked.
Further, production of cigarettes quality detecting data acquisition system of the invention also includes:Work order information writing module, is used for After to needing the production of cigarettes quality inspection equipment for sending data to lock, the work order information inserted is received and by work order information In the equipment list of the locked production of cigarettes quality inspection equipment of write-in;Work order information load-on module, connect with work order information writing module Connect, for after analytics engine parses to the data received, work order information to be loaded in slave unit table;Data write mould Block, it is connected with work order information load-on module and analytics engine, for loading work order in work order information load-on module slave unit table After information, work order corresponding to the data write-in after analytics engine is parsed.
The embodiment of the present invention, by inputting work order information in advance, user is with regard to without carrying out extracting data and preservation again The operation of work order, after user locks and starts detection, it is possible to which, without carrying out any operation to work order again, data can automatic root It is filled into according to the information of locking in corresponding work order.After the completion of test, data acquisition program automatically will insert data pair Answer in work order, simplify the operation of user.
In another improved embodiment, in order that the production of cigarettes quality detecting data acquisition system of the present invention can be extensive Ground is applied to different quality inspection equipment, and the data collecting system also includes:Expression formula configuration module, for configuring various cigarette lifes Produce resolution rules expression formula corresponding to quality inspection equipment;Expression formula add module, it is connected with expression formula configuration module, for that will express The resolution rules expression formula that formula configuration module has configured is added in allocation list, for analytics engine when carrying out data acquisition tune With.The data collecting system of the embodiment can be when needing to carry out data acquisition to different quality inspection equipment, it is only necessary to Put and different resolution rules expression formulas is configured in table, make the expansion of data collecting system function easier.
Specifically, expression formula configuration module can include:Signal format determining module, for determining that production of cigarettes quality inspection is set The form of the various signals of standby output;Expression formula receiving module, for being received by human-computer interaction interface corresponding to each signal Regular expression is as resolution rules expression formula;Expression formula writing module, it is connected with expression formula receiving module, for by expression formula In the resolution rules expression formula write-in allocation list that receiving module receives.
Each embodiment of production of cigarettes quality detecting data acquisition system of the present invention is corresponding with foregoing collecting method, Above in the description of collecting method, the detailed operating method for elaborating various embodiments and can reach Advantageous effects, these contents can be used for reference correspondingly in the embodiment of data collecting system, just do not repeat to say here It is bright.
Finally it should be noted that:The above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof;To the greatest extent The present invention is described in detail with reference to preferred embodiments for pipe, those of ordinary skills in the art should understand that:Still The embodiment of the present invention can be modified or equivalent substitution is carried out to some technical characteristics;Without departing from this hair The spirit of bright technical scheme, it all should cover among the claimed technical scheme scope of the present invention.

Claims (7)

  1. A kind of 1. production of cigarettes quality detecting data acquisition method, it is characterised in that including:
    Receive the data that production of cigarettes quality inspection equipment is sent;
    Call analytics engine;
    The analytics engine loads the production of cigarettes quality inspection equipment according to the type of production of cigarettes quality inspection equipment from allocation list Corresponding resolution rules expression formula;
    The analytics engine is parsed using the resolution rules expression formula to the data received;
    The production of cigarettes quality detecting data acquisition method also includes:
    Configure the resolution rules expression formula corresponding to the various production of cigarettes quality inspection equipment;
    The resolution rules expression formula configured is added in the allocation list;
    Wherein, the specific steps bag of the resolution rules expression formula corresponding to the various production of cigarettes quality inspection equipment of configuration Include:
    Determine the form of the various signals of the production of cigarettes quality inspection equipment output;
    By human-computer interaction interface receive each signal corresponding to regular expression be used as the resolution rules expression formula;
    The resolution rules expression formula is write in the allocation list.
  2. 2. production of cigarettes quality detecting data acquisition method according to claim 1, it is characterised in that in the reception cigarette life Before the step of producing the data that quality inspection equipment is sent, in addition to:
    The production of cigarettes quality inspection equipment for needing to send data is locked.
  3. 3. production of cigarettes quality detecting data acquisition method according to claim 2, it is characterised in that need to send at described pair The production of cigarettes quality inspection equipment of data is entered after line-locked operation, in addition to:
    Receive the work order information inserted and the equipment that the work order information is write to the locked production of cigarettes quality inspection equipment In table;
    After the analytics engine parses to the data received, in addition to:
    Work order information is loaded from the equipment list;
    Work order corresponding to data write-in after the analytics engine is parsed.
  4. 4. production of cigarettes quality detecting data acquisition method according to claim 1, it is characterised in that the production of cigarettes quality inspection Equipment is electronic scale, density refractometer or QTM combined test stands.
  5. A kind of 5. production of cigarettes quality detecting data acquisition system, it is characterised in that including:Data reception module, engine calling module, Analytics engine, expression formula configuration module and expression formula add module, the data reception module are connected with the analytics engine, institute Engine calling module is stated to be connected with the analytics engine,
    Data reception module, for receiving the data of production of cigarettes quality inspection equipment transmission;
    Engine calling module, for calling analytics engine;
    The analytics engine, for loading the production of cigarettes quality inspection from allocation list according to the type of production of cigarettes quality inspection equipment Resolution rules expression formula corresponding to equipment, and the number received using the resolution rules expression formula to the data reception module According to being parsed;
    Expression formula configuration module, for configuring the resolution rules expression formula corresponding to the various production of cigarettes quality inspection equipment;
    Expression formula add module, it is connected with the expression formula configuration module, for configured the expression formula configuration module The resolution rules expression formula is added in the allocation list;
    Wherein, the expression formula configuration module specifically includes:
    Signal format determining module, the form of the various signals for determining the production of cigarettes quality inspection equipment output;
    Expression formula receiving module, it is used as the solution for regular expression corresponding to receiving each signal by human-computer interaction interface Analyse regular expression;
    Expression formula writing module, it is connected with the expression formula receiving module, for receive the expression formula receiving module Resolution rules expression formula is write in the allocation list.
  6. 6. production of cigarettes quality detecting data acquisition system according to claim 5, it is characterised in that also lock mould including equipment Block, for receive that the production of cigarettes quality inspection equipment is sent in the data reception module data before, to needing to send number According to the production of cigarettes quality inspection equipment locked.
  7. 7. production of cigarettes quality detecting data acquisition system according to claim 6, it is characterised in that also include:
    Work order information writing module, after being locked in the production of cigarettes quality inspection equipment to needing transmission data, Receive the work order information inserted and write the work order information in the equipment list of the locked production of cigarettes quality inspection equipment;
    Work order information load-on module, be connected with the work order information writing module, in the analytics engine to receiving After data are parsed, work order information is loaded from the equipment list;
    Data write. module, it is connected with the work order information load-on module and the analytics engine, in the work order information After load-on module loads work order information from the equipment list, work corresponding to the data write-in after the analytics engine is parsed It is single.
CN201610146448.3A 2016-03-15 2016-03-15 A kind of production of cigarettes quality detecting data acquisition method and system Active CN105698865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610146448.3A CN105698865B (en) 2016-03-15 2016-03-15 A kind of production of cigarettes quality detecting data acquisition method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610146448.3A CN105698865B (en) 2016-03-15 2016-03-15 A kind of production of cigarettes quality detecting data acquisition method and system

Publications (2)

Publication Number Publication Date
CN105698865A CN105698865A (en) 2016-06-22
CN105698865B true CN105698865B (en) 2018-01-12

Family

ID=56220518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610146448.3A Active CN105698865B (en) 2016-03-15 2016-03-15 A kind of production of cigarettes quality detecting data acquisition method and system

Country Status (1)

Country Link
CN (1) CN105698865B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106526207A (en) * 2016-09-05 2017-03-22 广西中烟工业有限责任公司 Automatic analysis method, device and system for tobacco rod quality detection
CN110109672B (en) * 2019-04-17 2023-01-10 奇安信科技集团股份有限公司 Analysis processing method and device for expression
CN110908356A (en) * 2019-10-11 2020-03-24 成都飞机工业(集团)有限责任公司 Flight control test data rapid fault positioning method
CN113688284B (en) * 2021-10-26 2022-02-15 湖北亿咖通科技有限公司 Processing method and device of Internet of vehicles service data, electronic equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006259811A (en) * 2005-03-15 2006-09-28 Nec Corp Log creating device, and program
CN101532853B (en) * 2009-04-21 2011-04-20 北京国科环宇空间技术有限公司 Automatic interpretation method and device
US8635177B2 (en) * 2009-08-17 2014-01-21 Adobe Systems Incorporated Rule-based binding
CN103152229B (en) * 2013-04-03 2015-10-21 北京合力思腾科技股份有限公司 Monitor control index item Dynamic Configuration
CN103327080B (en) * 2013-06-04 2016-08-10 北京大学 Create the method and device of Internet of Things control system
CN103577933A (en) * 2013-11-07 2014-02-12 浙江中烟工业有限责任公司 Data monitoring method and device based on cigarette manufacturing data integration environment
CN104391934B (en) * 2014-11-21 2016-03-16 深圳市银雁金融服务有限公司 Data verification method and device

Also Published As

Publication number Publication date
CN105698865A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN105698865B (en) A kind of production of cigarettes quality detecting data acquisition method and system
CN106445795A (en) Method and device for detecting efficiency of database SQL
CN103179608B (en) Two-generation/third-generation (2/3G) wireless module diagnosis test method and device
WO2017000424A1 (en) Protocol detection method and apparatus
CN106845579A (en) Improve product quality checks the information control method and control system of correctness
CN102269720A (en) Method for identifying edible oil quality through combination of nuclear magnetic resonance and pattern recognition method
CN103095475A (en) Routing Inspection method and system of multimode communication equipment
CN106403168B (en) Fault diagnosis system and method for air-conditioning system
CN105067894A (en) Method and system of testing frequency conversion loss of mixer
CN107291475A (en) Universal PHM application configurations method and apparatus
CN107223257A (en) Method of testing, test server and system
CN109429252A (en) Communications status analysis method and communications status analysis system
CN113945743A (en) Multichannel test automatic management system and method for pulse current injection experiment
CN106526460A (en) Circuit fault locating method and device
CN109116263B (en) Multi-power supply product load test equipment and test method
CN106444446A (en) Method and device for acidometer data collecting
CN107335630A (en) Antenna testing system and method
CN106483950B (en) Programmable logic device detection method and device
CN104180894A (en) Railway environment vibration real-time monitoring and analyzing system
CN108399387A (en) The data processing method and device of target group for identification
CN107290577A (en) A kind of oscilloscope data processing system and method
CN111561968A (en) Sensor-based environmental parameter detection method and device and data processing equipment
CN205958561U (en) Integral type water quality testing equipment
CN207288112U (en) Antenna testing system
CN114064485A (en) Software testing method, system, computer equipment and readable storage medium

Legal Events

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