CN110750305A - Data-driven manufacturing and storing method, system, equipment and storage medium - Google Patents

Data-driven manufacturing and storing method, system, equipment and storage medium Download PDF

Info

Publication number
CN110750305A
CN110750305A CN201910824227.0A CN201910824227A CN110750305A CN 110750305 A CN110750305 A CN 110750305A CN 201910824227 A CN201910824227 A CN 201910824227A CN 110750305 A CN110750305 A CN 110750305A
Authority
CN
China
Prior art keywords
data
equipment
communication
information
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910824227.0A
Other languages
Chinese (zh)
Inventor
张晓群
康孝顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuzhou Diting Technology Co Ltd
Original Assignee
Fuzhou Diting 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 Fuzhou Diting Technology Co Ltd filed Critical Fuzhou Diting Technology Co Ltd
Priority to CN201910824227.0A priority Critical patent/CN110750305A/en
Publication of CN110750305A publication Critical patent/CN110750305A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)

Abstract

The invention provides a data-driven manufacturing and storing method, which comprises the following processes: receiving communication configuration information related to data driving of a device; generating a data driving information code of the equipment according to the communication configuration information; and storing the data driving information code. The invention generates the data driving information code by the equipment communication parameter and the communication data attribute information, and can obtain the data driving information of the equipment through scanning after storage without searching a manual.

Description

Data-driven manufacturing and storing method, system, equipment and storage medium
Technical Field
The present invention relates to a method, system, device and storage medium for making and storing data drives.
Background
A communication protocol refers to the rules and conventions that must be followed by two entities to complete a communication or service. Data communication systems in a plurality of different geographical locations interconnected by communication channels and devices must have a common language between them to enable their co-operation for information exchange and resource sharing. What, how and when to communicate must follow certain mutually acceptable rules. The current practice is as follows: the equipment manufacturer provides a rule document (or a protocol document) of a communication protocol, and the development data driving end acquires relevant data on the equipment by searching for a manual and configuring relevant parameters, so that the data driving is realized. That is, the equipment manufacturer does not store the relevant parameters of the specific equipment separately, so that the user can obtain the relevant parameters in the most efficient way. Therefore, there are the following disadvantages:
(1) for developers, related communication parameters need to be obtained by searching for manuals according to specific equipment models, and then communication with equipment is achieved through a combined communication data packet.
(2) The communication related parameters of the specific equipment can not be quickly and directly obtained because the corresponding tables in the manual need to be searched for when the communication related parameters of the specific equipment are obtained.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, a system, a device and a storage medium for manufacturing and storing data drivers, wherein a data driver information code is generated from device communication parameters and communication data attribute information, and the data driver information of the device can be obtained by scanning after storage without searching a manual.
The method of the invention is realized as follows: a data-driven manufacturing and storing method comprises the following processes:
receiving communication configuration information related to data driving of a device;
generating a data driving information code of the equipment according to the communication configuration information;
and storing the data driving information code.
The system of the invention is realized as follows: a data driven production storage system comprising:
a configuration module of communication configuration information, for receiving communication configuration information related to data driving of the device;
the code generation module is used for generating a data driving information code of the equipment according to the communication configuration information;
and the storage module is used for storing the data driving information code.
The device of the invention is realized as follows: a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps when executing the program of:
receiving communication configuration information related to data driving of a device;
generating a data driving information code of the equipment according to the communication configuration information;
and storing the data driving information code.
The storage medium of the present invention is realized by: a computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
receiving communication configuration information related to data driving of a device;
generating a data driving information code of the equipment according to the communication configuration information;
and storing the data driving information code.
The invention has the following advantages: the invention stores the communication configuration information related to the equipment data drive in a code system mode, and a user can acquire the communication configuration information related to the equipment data drive only by a simple scanning mode to achieve the purpose of driving the equipment without searching a manual when the equipment is configured for communication. The method effectively improves the efficiency and the speed of the user of the equipment for acquiring the equipment information and establishing data drive communication.
Drawings
The invention will be further described with reference to the following examples with reference to the accompanying drawings.
FIG. 1 is a flow chart of the method of the present invention.
FIG. 2 is a schematic diagram of the system architecture of the present invention.
FIG. 3 is a schematic diagram of the overall structure of the display interface of the system of the present invention.
Fig. 4 is a schematic structural diagram of a communication parameter table of configuration equipment in a display interface of the system of the present invention.
FIG. 5 is a schematic structural diagram of a communication data attribute information table configured in a display interface of the system of the present invention.
FIG. 6 is a diagram illustrating states of data driving information codes generated in a display interface of the system according to an embodiment of the present invention.
Detailed Description
The general idea of the invention is that a device developer or a device manufacturer configures communication configuration information related to device data drive according to a specific device model, makes and generates a unique device code from the communication configuration information, and stores the unique device code in a data drive information code (such as a two-dimensional code) mode as a communication configuration information carrier of the device. The equipment user can obtain the communication configuration information only by scanning the data driving information code, so that the equipment can be driven, and the equipment is convenient and reliable.
Referring to fig. 1, the data-driven manufacturing and storing method of the present invention includes the following steps:
receiving communication configuration information related to data driving of a device; the communication configuration information comprises an identity identification number of the equipment, equipment communication parameters and communication data attribute information.
Generating a data driving information code of the equipment according to the communication configuration information;
and storing the data driving information code.
Wherein the content of the first and second substances,
the equipment communication parameters comprise communication information names, communication modes and equipment models;
the communication data attribute information comprises a data type, a data area, a data address, a data description, a data unit, an access authority, a push mode and a push parameter;
the data driving information code is any one of a static code or a live code:
(1) the information of the static code is the data driving information of the equipment, and when the equipment is used, a user can directly acquire the data driving information of the equipment after scanning the static code through a client; the static code is more convenient for users to use, and the client can directly acquire the equipment configuration information without linking the server.
(1) When the live code information is used, a user can obtain the index number after scanning the live code through the client, and then the data driving information of the equipment can be obtained only by inquiring the cloud server according to the index number; the live code is more flexible, for example, under the condition that the index number is not changed, the equipment configuration information can be updated at will, and the two-dimensional code is not easy to identify due to too much configuration information.
The data driving information code is preferably a two-dimensional code.
Referring to fig. 2, based on the above method of the present invention, the data-driven manufacturing storage system of the present invention includes:
a configuration module of communication configuration information, for receiving communication configuration information related to data driving of the device;
the code generation module is used for generating a data driving information code of the equipment according to the communication configuration information;
and the storage module is used for storing the data driving information code.
Wherein, the configuration module of the communication configuration information further comprises an equipment identity configuration module, an equipment communication parameter configuration module and a communication data attribute information configuration module, and the following steps:
as shown in the upper left corner of fig. 3, the device identity configuring module is configured to receive an identity number of a device configured by a user.
As shown in fig. 4, the device communication parameter configuration module is configured to receive device communication parameters configured by a user; the module provides a first configuration table for a user to configure the communication parameters of the equipment; the equipment communication parameters comprise communication information names, communication modes and equipment models. Taking configuring communication parameters of the modbusRTU serial port as an example, the device communication parameters to be configured include:
a protocol library name (such as ModbusRTU),
baud rate (e.g. 115200bit/s),
the data bits (e.g. 8),
the stop position (as in 2) is,
the calibration bit (e.g., N),
device ID number (e.g., 1).
For different communication interfaces of different devices, different communication parameters are configured, taking the serial port as an example, when the ethernet device is configured, the parameters to be configured include: device IP address, device communication type, device communication port, device model, etc.
As shown in fig. 5, the communication data attribute information configuring module is configured to receive communication data attribute information configured by a user. The module provides a second configuration table for the user to configure the communication data attribute information; the communication data attribute information comprises data type, data area, data address, data description, data unit, access authority, push mode and push parameter; similarly, for example, configuring attribute parameters of modbusRTU serial port communication data, the communication data attribute information to be configured includes:
data types (including DI, DO, AI, AO, SI, SO),
a data area (including 0x, 1x, 3x, 4x),
the data address (filled in according to the specific address),
data descriptions (filled in according to data specifications),
data units (filled in according to the data specific units),
data rights (including read-only, read-write),
push mode (including timing, rising edge, falling edge, high and low thresholds, etc.),
push parameters 1 (e.g., timing mode includes interval time, high and low threshold modes include threshold, etc.), push parameters 2 (e.g., timing mode includes interval time, high and low threshold modes include threshold, etc.), and push parameters 3 (e.g., timing mode includes interval time, high and low threshold modes include threshold, etc.).
For different protocol devices, different communication data attribute information tables are configured, taking ModbusRTU as an example above, when configuring other protocols, different data types, data areas, and data addresses need to be configured for specific protocols.
As shown in fig. 6 again, the data driving information code is a two-dimensional code, and the data driving information code may be a static code or a live code:
the information of the static code is the data driving information of the equipment, and the data driving information of the equipment can be directly obtained after scanning; such as:
000100041908190004, respectively; 1; 0010,115200,8,2, N, 1; DI,1x,1, description, unit,
RO,1,60, N; DI,1x,2, description, unit, RO,1,60, N; DI,1x,3, description, unit,
RO,1,60, N; DI,1x,4, description, unit, RO,1,60, N; DI,1x,5, description, unit,
RO,1,60, N; DO,0x,1, description, unit, RO,2, N; DO,0x,2, description, unit,
RO,2, N; DO,0x,3, description, unit, RO,2, N; DO,0x,4, description, unit,
RO,2, N; DO,0x,5, description, unit, RO,2, N; AI,3x,1, description, unit,
RO,2,100, N, N; AI,4x,2, description, unit, RO,3,100, N; AI,3x,3, description, unit,
RO,4,100,10, N; AI,4x,4, description, unit, RO,4,100,10, N; AI,3x,5, description, unit,
RO,5,2, N; AO,4x,1, description, unit, RO,1,60, N; AO,4x,2, description, unit,
RO,1,60, N; AO,4x,3, description, unit, RO,1,60, N;
the live code information is an index number of data driving information of the equipment, and the data driving information of the equipment can be acquired only by inquiring the cloud server after scanning. Such as: admin,000100041908190004, www.xxx.com.
In addition, based on the above method of the present invention, the present invention further provides a corresponding computer device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor executes the program to implement the above method of the present invention, and a specific process is as described above, and is not described herein again.
Also, based on the above method of the present invention, the present invention further provides a corresponding computer readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the above method of the present invention, and a specific process is as described above, and is not described herein again.
Although specific embodiments of the invention have been described above, it will be understood by those skilled in the art that the specific embodiments described are illustrative only and are not limiting upon the scope of the invention, and that equivalent modifications and variations can be made by those skilled in the art without departing from the spirit of the invention, which is to be limited only by the appended claims.

Claims (10)

1. A data-driven manufacturing and storing method is characterized in that: comprises the following steps:
receiving communication configuration information related to data driving of a device;
generating a data driving information code of the equipment according to the communication configuration information;
and storing the data driving information code.
2. The data-driven manufacturing and storing method according to claim 1, wherein: the communication configuration information comprises an identity identification number of the equipment, equipment communication parameters and communication data attribute information.
3. A data-driven production and storage method according to claim 1 or 2, wherein:
the equipment communication parameters comprise communication information names, communication modes and equipment models;
the communication data attribute information comprises a data type, a data area, a data address, a data description, a data unit, an access authority, a push mode and a push parameter;
the data driving information code is any one of a static code or a live code:
the information of the static code is the data driving information of the equipment, and the data driving information of the equipment can be directly obtained after scanning;
the live code information is an index number of data driving information of the equipment, and the data driving information of the equipment can be acquired only by inquiring a cloud server after scanning;
the data driving information code is a two-dimensional code.
4. A data-driven production storage system, characterized by: the method comprises the following steps:
a configuration module of communication configuration information, for receiving communication configuration information related to data driving of the device;
the code generation module is used for generating a data driving information code of the equipment according to the communication configuration information;
and the storage module is used for storing the data driving information code.
5. A data driven production storage system according to claim 4, wherein: the configuration module for the communication configuration information further comprises:
the equipment identity configuration module is used for receiving the identity identification number of the equipment configured by the user;
the device communication parameter configuration module is used for receiving device communication parameters configured by a user;
and the communication data attribute information configuration module is used for receiving the communication data attribute information configured by the user.
6. A data driven production storage system according to claim 4 or 5, wherein:
the equipment communication parameter configuration module provides a first configuration table for a user to configure equipment communication parameters; the equipment communication parameters comprise communication information names, communication modes and equipment models;
the communication data attribute information configuration module provides a second configuration table for a user to configure the communication data attribute information; the communication data attribute information comprises data type, data area, data address, data description, data unit, access authority, push mode and push parameter;
the data driving information code is any one of a static code or a live code:
the information of the static code is the data driving information of the equipment, and the data driving information of the equipment can be directly obtained after scanning;
the live code information is an index number of data driving information of the equipment, and the data driving information of the equipment can be acquired only by inquiring a cloud server after scanning;
the data driving information code is a two-dimensional code.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of:
receiving communication configuration information related to data driving of a device;
generating a data driving information code of the equipment according to the communication configuration information;
and storing the data driving information code.
8. A computer device according to claim 7, wherein:
the communication configuration information comprises an identity identification number of the equipment, equipment communication parameters and communication data attribute information; the equipment communication parameters comprise communication information names, communication modes and equipment models; the communication data attribute information comprises a data type, a data area, a data address, a data description, a data unit, an access authority, a push mode and a push parameter;
the data driving information code is any one of a static code or a live code: the information of the static code is the data driving information of the equipment, and the data driving information of the equipment can be directly obtained after scanning; the live code information is an index number of data driving information of the equipment, and the data driving information of the equipment can be acquired only by inquiring a cloud server after scanning;
the data driving information code is a two-dimensional code.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that: the program when executed by a processor implements the steps of:
receiving communication configuration information related to data driving of a device;
generating a data driving information code of the equipment according to the communication configuration information;
and storing the data driving information code.
10. A computer-readable storage medium according to claim 9, wherein:
the communication configuration information comprises an identity identification number of the equipment, equipment communication parameters and communication data attribute information; the equipment communication parameters comprise communication information names, communication modes and equipment models; the communication data attribute information comprises a data type, a data area, a data address, a data description, a data unit, an access authority, a push mode and a push parameter;
the data driving information code is any one of a static code or a live code: the information of the static code is the data driving information of the equipment, and the data driving information of the equipment can be directly obtained after scanning; the live code information is an index number of data driving information of the equipment, and the data driving information of the equipment can be acquired only by inquiring a cloud server after scanning;
the data driving information code is a two-dimensional code.
CN201910824227.0A 2019-09-02 2019-09-02 Data-driven manufacturing and storing method, system, equipment and storage medium Pending CN110750305A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910824227.0A CN110750305A (en) 2019-09-02 2019-09-02 Data-driven manufacturing and storing method, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910824227.0A CN110750305A (en) 2019-09-02 2019-09-02 Data-driven manufacturing and storing method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110750305A true CN110750305A (en) 2020-02-04

Family

ID=69276026

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910824227.0A Pending CN110750305A (en) 2019-09-02 2019-09-02 Data-driven manufacturing and storing method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110750305A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007042018A (en) * 2005-08-05 2007-02-15 Technical Infra Logic Inc Information acquisition system
KR20130077401A (en) * 2011-12-29 2013-07-09 에스케이하이닉스 주식회사 Semiconductor memory device and operating method thereof
CN105096860A (en) * 2015-07-31 2015-11-25 深圳市华星光电技术有限公司 Communication method, communication device and system of TFTLCD drive circuit
JP2017168133A (en) * 2013-03-27 2017-09-21 株式会社デンソーウェーブ Information code generation method, information code, information code reading device, and information code utilization system
CN109493087A (en) * 2018-10-30 2019-03-19 珠海市时杰信息科技有限公司 A kind of method, computer installation and computer readable storage medium based on two dimensional code examination Immovable Property Registration information

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007042018A (en) * 2005-08-05 2007-02-15 Technical Infra Logic Inc Information acquisition system
KR20130077401A (en) * 2011-12-29 2013-07-09 에스케이하이닉스 주식회사 Semiconductor memory device and operating method thereof
JP2017168133A (en) * 2013-03-27 2017-09-21 株式会社デンソーウェーブ Information code generation method, information code, information code reading device, and information code utilization system
CN105096860A (en) * 2015-07-31 2015-11-25 深圳市华星光电技术有限公司 Communication method, communication device and system of TFTLCD drive circuit
CN109493087A (en) * 2018-10-30 2019-03-19 珠海市时杰信息科技有限公司 A kind of method, computer installation and computer readable storage medium based on two dimensional code examination Immovable Property Registration information

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
中国计算机自动测量与控制技术协会编: "《第二十三届测试与故障诊断技术研讨会论文集》", 30 August 2014 *

Similar Documents

Publication Publication Date Title
JP4991124B2 (en) Distributed data model
CN109120477B (en) Dynamic analysis method, device, server and storage medium based on modbus protocol
CN104869048A (en) Grouping processing method, device and system of MicroBlog data
CN113746692A (en) Network flow statistical method, electronic equipment and storage medium
CN109729176A (en) Network request method and device
CN111585815B (en) Port data acquisition method and device
CN105592169B (en) Terminal identification method and device
US7272836B1 (en) Method and apparatus for bridging service for standard object identifier based protocols
CN110020243A (en) Querying method, device, Internet of Things server and the storage medium of internet of things data
KR101700198B1 (en) Method and device for expressing address of node for device management
CN110855459A (en) Network configuration method, device and system
CN106875765B (en) Electronic classroom implementation method and device based on VDI
CN110750305A (en) Data-driven manufacturing and storing method, system, equipment and storage medium
CN111897792A (en) Distributed file access method, system, medium and device
CN110781375B (en) User state identification determining method and device
CN102081653B (en) Equipment service management method and device based on drive
CN105959229B (en) A kind of router with various protocols conversion function
CN114417069A (en) Page data interaction method and device and electronic equipment
CN104598223B (en) A kind of network modelling language analysis method and device
CN106301906A (en) Object collocation method based on distributed system and device
CN109660371B (en) Automatic deployment method and automatic deployment device
CN113742372A (en) Method, device and system for accessing data in edge node
CN112217852A (en) Platform-as-a-service system and method based on workflow engine
CN110209885A (en) A kind of figure querying method and system
CN117311832B (en) PCIE equipment starting mode display method, device, equipment and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200204

RJ01 Rejection of invention patent application after publication