CN106970885A - A kind of data managing method and system - Google Patents
A kind of data managing method and system Download PDFInfo
- Publication number
- CN106970885A CN106970885A CN201710208946.0A CN201710208946A CN106970885A CN 106970885 A CN106970885 A CN 106970885A CN 201710208946 A CN201710208946 A CN 201710208946A CN 106970885 A CN106970885 A CN 106970885A
- Authority
- CN
- China
- Prior art keywords
- data
- module
- management module
- gathered
- managing method
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/14—Handling requests for interconnection or transfer
- G06F13/36—Handling requests for interconnection or transfer for access to common bus or bus system
Abstract
Present invention mainly discloses a kind of data managing method and system, solve the problem of management module in smart machine is longer to the time shared by the data management and unloading of modules, with the operational efficiency for improving intelligent device management module, increase the operation stability of smart machine, and beneficial effect of the management module to the management of multiple modules is realized, its technical scheme is that the chip select address of data management module is distributed data management module, data memory module and LCD MODULE;Receive pending gathered data of the smart machine by bus transfer;The pending gathered data is periodically read from data acquisition module by data management module, the pending gathered data is handled;By treated acquired data storage into data memory module;Treated gathered data is shown by LCD MODULE.
Description
Technical field
The present invention relates to a kind of data managing method and system.
Background technology
At present, in smart machine, digital independent and unloading of the management module to modules, the most common are serial communication
With dual port RAM.
Serial communication uses a data line, and ground of data one is transmitted successively, and each data occupies one admittedly
Fixed time span.It only needs to several lines can just exchange information between system.This communication modes speed is slower,
When the module of management module CPU processing is more, it will take the plenty of time, cause plant running performance significantly to decline.And
When module is more in smart machine, the few advantage of which line has not existed yet.
Dual port RAM is that have two sets of completely self-contained data wires, address wire and Read-write Catrol in a SRAM memory
Line, and allow access of two independent systems simultaneously to memory progress randomness, i.e., shared multiport memory.But
It is due to that dual port RAM only has two ports, therefore the communication being only applicable between two modules.
The content of the invention
In order to overcome the above-mentioned deficiencies of the prior art, the invention provides a kind of data managing method and system, abandon
Serial ports and bus is used to reach quick purpose, the limitation that dual port RAM is only applicable between two systems is breached again, solve
The problem of data management module is longer to the time shared by the data management and unloading of modules in smart machine, improves intelligence
The operational efficiency of device data management module, increases the operation stability of smart machine, and realizes data management module to many
The management of individual module.
The technical solution adopted in the present invention is:
A kind of data managing method, if the request of data to handle dry systems, comprises the following steps:
The chip select address of data management module is distributed data management module, data memory module and LCD MODULE;
Receive pending gathered data of the smart machine by bus transfer;
The pending gathered data is periodically read from data acquisition module by data management module, to described
Pending gathered data is handled;
By treated acquired data storage into data memory module;
Treated gathered data is shown by LCD MODULE.
Further, it is described to distribute data management mould to data management module, data memory module and LCD MODULE
In the chip select address step of block, the high address of data management module is converted to by chip selection signal by address decoder, passed through
Chip selection signal is connected with data management module, data memory module and LCD MODULE, complete paired data management module, data
The addressing of memory module and LCD MODULE.
Further, it is described to receive in the pending gathered data step that smart machine passes through bus transfer, intelligently set
It is standby that pending gathered data is periodically write into the data buffer zone of data acquisition module.
Further, it is described by treated gathered data by LCD MODULE step display, passing through data
The chip selection signal of management module, in the way of addressing, directly writes control command to LCD MODULE.
Further, in addition to:The chip select address of data management module is distributed key-press module, it is real-time by key-press module
Read the state of 8 buttons.
Further, in addition to:The chip select address of data management module is distributed indicating lamp module, passes through indicating lamp module
Control the state of 8 LED lights.
A kind of system for implementing data managing method, including:Data management module and multiple controlled modules, the data pipe
Reason module is connected by bus with each controlled module, and the quantity of the controlled module depends on data management module high address
The chip selection signal quantity exported by decoder.
Further, the controlled module includes data acquisition module, data memory module and LCD MODULE, described
Data acquisition module, for receiving pending gathered data of the smart machine by bus transfer;The data memory module,
For by acquired data storage in corresponding storage region;The LCD MODULE, for showing gathered data.
Further, the controlled module also includes key-press module, and the key-press module is used to read key value.
Further, the controlled module also includes indicating lamp module, and the indicating lamp module is used to control indicator lamp bright
Go out.
Compared with prior art, the beneficial effects of the invention are as follows:
(1) present invention has abandoned serial ports and has used bus to reach quick purpose, and dual port RAM is breached again and is only applicable to
Limitation between two systems, by reading and writing data of the data management module to each controlled module buffering area, completes intermodule
Data exchange, solve smart machine in data management module it is longer to the time shared by the data management and unloading of modules
The problem of, the operational efficiency of smart machine data management module is improved, increases the operation stability of smart machine, and realizes number
Management according to management module to multiple modules;
(2) present invention may be directly applied in the hardware development of commercial plant, especially possess multiple independences inside device
Module, in the case that intermodule possesses periodic reading and writing data and exchanged, can reduce data management module CPU due to data
Read-write and the time shared by unloading, release data management module CPU holding time.
Brief description of the drawings
The Figure of description for constituting the part of the application is used for providing further understanding of the present application, and the application's shows
Meaning property embodiment and its illustrate be used for explain the application, do not constitute the improper restriction to the application.
Fig. 1 is the flow chart of data managing method;
Fig. 2 is the structural representation of data management system.
Embodiment
It is noted that described further below is all exemplary, it is intended to provide further instruction to the application.Unless another
Indicate, all technologies used herein and scientific terminology are with usual with the application person of an ordinary skill in the technical field
The identical meanings of understanding.
It should be noted that term used herein above is merely to describe embodiment, and be not intended to restricted root
According to the illustrative embodiments of the application.As used herein, unless the context clearly indicates otherwise, otherwise singulative
It is also intended to include plural form, additionally, it should be understood that, when in this manual using term "comprising" and/or " bag
Include " when, it indicates existing characteristics, step, operation, device, component and/or combinations thereof.
In a kind of typical embodiment of the application, as shown in figure 1, a kind of data managing method, some to handle
The request of data of system, comprises the following steps:
The chip select address of data management module is distributed data management module, data memory module and LCD MODULE;
Receive pending gathered data of the smart machine by bus transfer;
The pending gathered data is periodically read from data acquisition module by data management module, to described
Pending gathered data is handled;
By treated acquired data storage into data memory module;
Treated gathered data is shown by LCD MODULE.
Further, it is described to distribute data management mould to data management module, data memory module and LCD MODULE
In the chip select address step of block, the high address of data management module is converted to by chip selection signal by address decoder, passed through
Chip selection signal is connected with data management module, data memory module and LCD MODULE, complete paired data management module, data
The addressing of memory module and LCD MODULE.
Further, it is described to receive in the pending gathered data step that smart machine passes through bus transfer, intelligently set
It is standby that pending gathered data is periodically write into the data buffer zone of data acquisition module.
Further, it is described by treated gathered data by LCD MODULE step display, passing through data
The chip selection signal of management module, in the way of addressing, directly writes control command to LCD MODULE.
As shown in Fig. 2 a kind of system for implementing data managing method, including:Data management module and multiple controlled modules,
The data management module is connected by bus with each controlled module, and the quantity of the controlled module depends on data management mould
The chip selection signal quantity that block high address is exported by decoder.
Further, the controlled module includes data acquisition module, data memory module and LCD MODULE, described
Data acquisition module, for receiving pending gathered data of the smart machine by bus transfer;The data memory module,
For by acquired data storage in corresponding storage region;The LCD MODULE, for showing gathered data.
In another embodiment of the application, the data managing method also includes, and data management is distributed to key-press module
The chip select address of module, the state of 8 buttons is read by key-press module in real time;In the system for implementing data managing method
Controlled module also include key-press module, the key-press module be used for read key value.
In another embodiment of the application, the data managing method also includes, and data pipe is distributed to indicating lamp module
The chip select address of module is managed, the state of 8 LED lights is controlled by indicating lamp module;The implementation data managing method
Controlled module in system also includes indicating lamp module, and the indicating lamp module is used to control to indicate lamp on/off.
Controlled module quantity in the present invention, the chip selection signal exported depending on management module high address by decoder
Quantity.The type of controlled module, may be either read-write, or read-only or only write;Wherein data acquisition module is only to be managed
Module is read, and data memory module is write to be only managed module;LCD MODULE is both module write parameters to be managed, also
It is managed module and reads state value;Keysheet module once only needs to read a byte to be only managed module reading;Indicator lamp mould
Block is write to be only managed module, and once only needs to write a byte.Controlled module can be added according to specific addresses
Plus.The maximum amount of data transmitted every time, depending on the width of backplane address bus.The peripheral hardwares such as indicator lamp, keyboard, can be regarded as
The data interaction management module of single byte.
Modules inside device are realized overall addressing by the present invention, are managed collectively, and data interaction amount is flexibly controllable,
The read or write speed quickly realized, releases data management module CPU holding time.
Although above-mentioned the embodiment of the present invention is described with reference to accompanying drawing, not to present invention protection model
The limitation enclosed, one of ordinary skill in the art should be understood that on the basis of technical scheme those skilled in the art are not
Need to pay various modifications or deform still within protection scope of the present invention that creative work can make.
Claims (10)
1. a kind of data managing method, if the request of data to handle dry systems, it is characterised in that comprise the following steps:
The chip select address of data management module is distributed data management module, data memory module and LCD MODULE;
Receive pending gathered data of the smart machine by bus transfer;
The pending gathered data is periodically read from data acquisition module by data management module, waits to locate to described
The gathered data of reason is handled;
By treated acquired data storage into data memory module;
Treated gathered data is shown by LCD MODULE.
2. a kind of data managing method according to claim 1, it is characterised in that described to data management module, data
In memory module and the chip select address step of LCD MODULE distribution data management module, by address decoder by data pipe
The high address of reason module is converted to chip selection signal, passes through chip selection signal and data management module, data memory module and liquid crystal
Display module is connected, the addressing of complete paired data management module, data memory module and LCD MODULE.
3. a kind of data managing method according to claim 1, it is characterised in that the reception smart machine passes through bus
In the pending gathered data step of transmission, smart machine periodically writes into the data buffer zone of data acquisition module
Pending gathered data.
4. a kind of data managing method according to claim 1, it is characterised in that described by treated gathered data
By in LCD MODULE step display, by the chip selection signal of data management module, in the way of addressing, directly to liquid crystal
Display module writes control command.
5. a kind of data managing method according to claim 1, it is characterised in that also include:Number is distributed to key-press module
According to the chip select address of management module, the state of 8 buttons is read in real time by key-press module.
6. a kind of data managing method according to claim 1, it is characterised in that also include:Indicating lamp module is distributed
The chip select address of data management module, the state of 8 LED lights is controlled by indicating lamp module.
7. a kind of system for implementing the data managing method described in claim 1, it is characterised in that including:Data management module
With multiple controlled modules, the data management module is connected by bus with each controlled module, the quantity of the controlled module
The chip selection signal quantity exported depending on data management module high address by decoder.
8. a kind of system for implementing the data managing method described in claim 1 according to claim 7, its feature exists
Include data acquisition module, data memory module and LCD MODULE in, the controlled module, the data acquisition module,
For receiving pending gathered data of the smart machine by bus transfer;The data memory module, for number will to be gathered
According to being stored in corresponding storage region;The LCD MODULE, for showing gathered data.
9. a kind of system for implementing the data managing method described in claim 1 according to claim 7, its feature exists
In the controlled module also includes key-press module, and the key-press module is used to read key value.
10. a kind of system for implementing the data managing method described in claim 1 according to claim 7, its feature exists
In the controlled module also includes indicating lamp module, and the indicating lamp module is used to control to indicate lamp on/off.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710208946.0A CN106970885A (en) | 2017-03-31 | 2017-03-31 | A kind of data managing method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710208946.0A CN106970885A (en) | 2017-03-31 | 2017-03-31 | A kind of data managing method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106970885A true CN106970885A (en) | 2017-07-21 |
Family
ID=59336863
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710208946.0A Pending CN106970885A (en) | 2017-03-31 | 2017-03-31 | A kind of data managing method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106970885A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101334667A (en) * | 2007-06-26 | 2008-12-31 | 株洲南车时代电气股份有限公司 | Locomotive status messages checking and diagnosis recording method and device |
CN102760108A (en) * | 2011-04-25 | 2012-10-31 | 联发科技股份有限公司 | Data access system and related data access method thereof |
-
2017
- 2017-03-31 CN CN201710208946.0A patent/CN106970885A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101334667A (en) * | 2007-06-26 | 2008-12-31 | 株洲南车时代电气股份有限公司 | Locomotive status messages checking and diagnosis recording method and device |
CN102760108A (en) * | 2011-04-25 | 2012-10-31 | 联发科技股份有限公司 | Data access system and related data access method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109308283B (en) | SoC (system on chip) system and peripheral bus switching method thereof | |
CN103246542B (en) | Intelligent buffer and intelligent terminal | |
CN101236601B (en) | Image recognition accelerator and MPU chip possessing image recognition accelerator | |
WO2001037088A3 (en) | Programmable multi-tasking memory management system | |
CN102236543B (en) | Data decompression device and method | |
KR100959136B1 (en) | Direct memory access controller and data transmitting method of direct memory access channel | |
CN103714026A (en) | Memorizer access method and device supporting original-address data exchange | |
US20130132587A1 (en) | Computer system and method for sharing computer memory | |
CN206946471U (en) | A kind of shared read-write SDRAM of multichannel circuit arrangement | |
CN104503948A (en) | Tightly coupled self-adaptive co-processing system supporting multi-core network processing framework | |
KR100264301B1 (en) | Use of a processor bus for the transmission of i/o traffic | |
CN111581136B (en) | DMA controller and implementation method thereof | |
CN108874730A (en) | A kind of data processor and data processing method | |
CN106970885A (en) | A kind of data managing method and system | |
US9582462B2 (en) | Computer system and method for sharing computer memory | |
CN112114744A (en) | SSD (solid State disk) with multi-channel full-interconnection architecture and control method thereof | |
CN114936171B (en) | Storage access controller architecture | |
US11899970B2 (en) | Storage system and method to perform workload associated with a host | |
CN1191615A (en) | Buffer circuit on module | |
CN109062857A (en) | A kind of new type of messages controller and its communication means that can be communicated between realization of High Speed multiprocessor | |
CN106776394B (en) | A kind of hardware system and memory of data conversion | |
CN205427884U (en) | Smart card array device | |
CN201662798U (en) | Port mapping device conversion device and control system | |
CN1191530C (en) | PCI bridge with improved structure | |
CN100508497C (en) | Flow related control information cache memory based on network processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 250101 high tech Development Zone, Shandong, Zhejiang Province, Ji'nan Road, science and Technology Park Applicant after: Shandong Mountain Power Technology Limited by Share Ltd Address before: 250101 high tech Development Zone, Shandong, Zhejiang Province, Ji'nan Road, science and Technology Park Applicant before: Shandong Shandong University Electric Power Technology Co., Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170721 |
|
RJ01 | Rejection of invention patent application after publication |