CN101453448A - Built-in network database system - Google Patents

Built-in network database system Download PDF

Info

Publication number
CN101453448A
CN101453448A CNA2007101712535A CN200710171253A CN101453448A CN 101453448 A CN101453448 A CN 101453448A CN A2007101712535 A CNA2007101712535 A CN A2007101712535A CN 200710171253 A CN200710171253 A CN 200710171253A CN 101453448 A CN101453448 A CN 101453448A
Authority
CN
China
Prior art keywords
database
network
data base
layer
server end
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
CNA2007101712535A
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.)
SHANGHAI CREA-SPARK ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI CREA-SPARK ELECTRONIC 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 SHANGHAI CREA-SPARK ELECTRONIC TECHNOLOGY Co Ltd filed Critical SHANGHAI CREA-SPARK ELECTRONIC TECHNOLOGY Co Ltd
Priority to CNA2007101712535A priority Critical patent/CN101453448A/en
Publication of CN101453448A publication Critical patent/CN101453448A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides an embedded type network data base system, which comprises a server end corresponding to a plurality of client ends and a multistage client. The system is characterized in that: the system is built as a conventional data base based embedded type special data base service system at the server end and the multistage client through the network communication, wherein the server end comprises a conventional data base, data base management software, an embedded type optimization layer and a network transmission layer; the conventional data base and the data base management software form a conventional data base system, and the conventional data base provides the functions of classification and storage of the relational data; the data base management software analyzes the data base operation request and particularly executes various operations of reading, calculation and writing on contents of the data base; the embedded type optimization layer comprises operations of setting a optimization parameter, reasonably dividing a result, adding a corresponding designator and the like, and makes the proper optimization operation of the embedded type equipment according to the calculation result of the upper layer conventional data base; and the network transmission layer is an interface layer between the system and the network, and realizes the operations of transmitting and receiving data by the network and judges the network transmission communication sate.

Description

A kind of built-in network database system
Technical field
The present invention relates to Computer Applied Technology, especially a kind of network database system of modularized design towards embedded device.
Background technology
Along with the nearly ATM device that arrives, be embedded in the appearance of formula equipment as far as the such broad range of Mars lander, the functional requirement of equipment and system is more and more higher, need the data of analyzing and processing more and more, but because the particular restriction of environment for use, the resource that can be free to arrange, energy consumption etc. are but very limited.This causes embedded system to need the support of database function, but can't directly use traditional database.Along with the develop rapidly of networking, the building network database becomes a kind of feasible selection on the traditional database basis.
Summary of the invention
Purpose of the present invention: be intended to propose a kind of network database system of modularized design, solve under the situation of the resource-constrained of embedded device own, satisfy the demand of embedded system to powerful database function towards embedded device.
This built-in network database system, comprise server end and a multi-stage user end that corresponding a plurality of user side is used, it is characterized in that: this system utilizes network communication to be built into embedded specialized database service system based on traditional database at server end and multi-stage user end; Server end wherein comprises Universal Database, database management language, built-in optimization layer, transport network layer; Universal Database and database management language constitute ADABAS, and classification, the memory function of relation data is provided by Universal Database; Database management language is resolved the database manipulation request receive, and concrete carry out to data-base content all kinds of read, computing, write operation; The built-in optimization layer comprises sets parameters optimization, operation such as segmentation result, increase respective flag symbol rationally, by upper strata Universal Database operation result being fit to the Optimizing operation of embedded device; Transport network layer is the interface layer of system and network, realizes transmission and the reception operation of data in network, and judges the Network Transmission communication state.
The network database system of this embedded device that proposes according to above technical scheme, by powerful disposal ability of server end and complete database function, in conjunction with network communication, transmit and be the operation result after the special optimization of embedded device, make that embedded system can be under the Limited resources condition, obtain the database support the same, thereby enhance system function with the PC system.Especially be fit to the picture long-distance meter-reading system, systems such as remote measuring and controlling system use.
Description of drawings
Fig. 1 is a network database system flow chart of the present invention;
Fig. 2 draws figure for network database system dynamic result of the present invention.
Embodiment
A kind of is the network data base implementation method of embedded system development, comprises a server end, a plurality of embedded device user ends.
Server end comprises Universal Database, database management language, built-in optimization layer, transport network layer.
Universal Database and database management language have constituted ADABAS.Wherein Universal Database provides classification, the memory function of relation data.Database management language is resolved the database manipulation request receive, and concrete carry out to data-base content all kinds of read, computing, write operation.
The built-in optimization layer is the major part that network data base of the present invention is different from traditional database.Be responsible for upper strata Universal Database operation result is fit to the Optimizing operation of embedded device.Mainly comprise and set parameters optimization, operation such as segmentation result, increase respective flag symbol rationally.
Transport network layer is the interface layer of system and network, realizes transmission and the reception operation of data in network, and judges the Network Transmission communication state.
The embedded device user end comprises application layer, embedded data processing layer, transport network layer.
Application layer is that embedded device uses software, is carried or be the application software of the special exploitation of specific user demand usually by embedded system.
The built-in optimization layer of embedded data processing layer corresponding with service device end, be responsible for data after the optimization that receives by network communication are handled, and realize dynamic result drafting function, thereby the terminal use is shielded pilot process, the method for operation of inheriting tradition database and interface.
Transport network layer is the interface layer of embedded device user end and network, realizes transmission and the reception operation of data in network, and judges the Network Transmission communication state.
Embedded data optimization process method comprises steps such as the setup parameter of server end, the unscrambling data of cutting apart operation result, increase respective flag symbol and client, dynamic drafting form.
Because network data base is supported multi-user's multithreading, so preserve user data table at server end.Each user can select to create database, creates form, increase record, deletion record, according to condition search different operating such as record there being form according to the difference of authority.Server is distinguished setup parameter to each user according to subscriber equipment and system simultaneously.Parameter is mainly used to set the maximum data unit of single Network Transmission, to adapt to embedded device data-handling capacity and capacity.
After cutting apart operation result and being meant that server end is carried out the database manipulation that the user sends to database, the operation result that obtains is cut apart by the parameter of setting.Such as the parameter of setting is each transmission 200 byte datas, and the operation result size that database manipulation obtains is 250 bytes, then needs the result is divided into 200 bytes and two sections form gradation transmission with packet of 50 bytes.Each transmission back waits for that client sends it back feedback information, receives the follow-up supervention of feedback information and send next packet.
The database operation result has contact in logic, simply cuts apart by parameter and often destroys this logical communication link.So the situation that needs to divide increases the respective flag symbol on divided data.In order to simplify the embedded device user end to optimizing the processing of back data, avoid confusion, use 12 kinds of identifiers at server end.Be respectively that packet begins, the end mark symbol, form begins, end mark accord with, property column begins, end mark accord with, the record row begins, end mark accords with, cell begins, end mark accords with, system mistake identifier, other identifiers.
The unscrambling data step of client enters the corresponding analysis handling process by the special sign symbol that the packet that detects the server end transmission comprises, and sends feedback information to server end after detecting packet end mark symbol.
Dynamic drafting form step arrives display device according to the detected identifier dynamic drafting of unscrambling data step database manipulation result.As detect cell opening flag drawing unit lattice, detect the form end mark and draw form line etc.Concrete corresponding relation is with reference to figure 2.
System supports the multi-stage user authority.Server end is in resting state at ordinary times, when detecting the user and ask, provides the correspondence database service, is the result data of needs transmission that embedded system is carried out special optimization process, and transmits operation result by network communication.
The concrete technological process of the present invention is as follows:
A kind of is the network data base implementation method of embedded system development, comprises a server end, the embedded device user end of a plurality of multistage authorities.
User side sends creates connection request to server end, opens up thread after server detects, and create to connect, and feedback information is notified to connect and created successfully to user side.
The user name that the user side network layer is imported with cipher mode transmission user, encrypted message are to server end.Server is searched the relative users name, checks cipher in the user list of preserving.If find corresponding informance, then open this user's correspondence database data and authority.If do not find, then create new user.
The user can create database, delete database by behind the Authority Verification under corresponding account, create form, deletion form, creates record, searches Universal Database operations such as record, amendment record, increase record, deletion record, recovery record.Because server end uses traditional database, so concerning the user, the database language that this flow process is used is exactly the Universal Database language, the specific implementation flow process shields the user.
Server end detect that user side sends to after the database operation requests, call database management language database carried out corresponding calculation process.
Server obtains the database manipulation result, according to the corresponding parameter setting of this user in the user list (new user can use default setting or be specified by the user), operating result is cut apart.And increase corresponding identifier according to resultant content and send to the user.Wait for field feedback simultaneously.
User side receives the server database operating result by Network Transmission, detects the special sign symbol, and sends feedback information to server end, and announcement server has been received packet, can carry out the transmission of next packet.
User side is detecting identifier, when extracting the database manipulation result, and dynamic drafting form as a result on display device.

Claims (1)

1, a kind of built-in network database system, comprise server end and a multi-stage user end that corresponding a plurality of user side is used, it is characterized in that: this system utilizes network communication to be built into embedded specialized database service system based on traditional database at server end and multi-stage user end; Server end wherein comprises Universal Database, database management language, built-in optimization layer, transport network layer; Universal Database and database management language constitute ADABAS, and classification, the memory function of relation data is provided by Universal Database; Database management language is resolved the database manipulation request receive, and concrete carry out to data-base content all kinds of read, computing, write operation; The built-in optimization layer comprises sets parameters optimization, operation such as segmentation result, increase respective flag symbol rationally, by upper strata Universal Database operation result being fit to the Optimizing operation of embedded device; Transport network layer is the interface layer of system and network, realizes transmission and the reception operation of data in network, and judges the Network Transmission communication state.
CNA2007101712535A 2007-11-29 2007-11-29 Built-in network database system Pending CN101453448A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101712535A CN101453448A (en) 2007-11-29 2007-11-29 Built-in network database system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101712535A CN101453448A (en) 2007-11-29 2007-11-29 Built-in network database system

Publications (1)

Publication Number Publication Date
CN101453448A true CN101453448A (en) 2009-06-10

Family

ID=40735472

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101712535A Pending CN101453448A (en) 2007-11-29 2007-11-29 Built-in network database system

Country Status (1)

Country Link
CN (1) CN101453448A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853179A (en) * 2010-05-10 2010-10-06 深圳市极限网络科技有限公司 Universal distributed dynamic operation technology for executing task decomposition based on plug-in unit
CN102800028A (en) * 2012-06-19 2012-11-28 山西太钢不锈钢股份有限公司 Energy quality management system of WEB-based distributed multilevel software system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853179A (en) * 2010-05-10 2010-10-06 深圳市极限网络科技有限公司 Universal distributed dynamic operation technology for executing task decomposition based on plug-in unit
CN101853179B (en) * 2010-05-10 2012-09-26 深圳市极限网络科技有限公司 Universal distributed dynamic operation technology for executing task decomposition based on plug-in unit
CN102800028A (en) * 2012-06-19 2012-11-28 山西太钢不锈钢股份有限公司 Energy quality management system of WEB-based distributed multilevel software system

Similar Documents

Publication Publication Date Title
CN101873259B (en) SCTP (Stream Control Transmission Protocol) message identification method and device
CN100586109C (en) Communication method and system for universal service data based on self-defined template
CN102263830B (en) Apparatus, and associated method, for facilitating background processing of push content
CN105812351A (en) Method and system for sharing session
CN102802139A (en) Gateway data adapting system and method of Internet of Things
US20150373146A1 (en) Data Delivery Optimization
CN101072067A (en) Device and method for realizing short-message classified sending, receiving and displaying
CN110677427B (en) Multi-message analysis method
CN101902537A (en) Method for remotely controlling household appliances with short messages
CN104488324A (en) Method of accessing, by wireless device, information mapped to currently positioned space by using network access device, and device for accessing information mapped to currently positioned space by using network access device
CN102546606A (en) Telnet command filter method, network safety device and network safety system
CN103401933A (en) Method and system for batch uploading resource information and corresponding resource file
CN1972485A (en) Transmitting and receiving of hand-written data of no character recognition on wireless device
CN102542010A (en) Searching linked content using an external search system
CN101453448A (en) Built-in network database system
CN104125328A (en) Message processing method, message processing device and mobile terminal
CN102664830A (en) Method, client side and system for collecting communication mode data in instant messaging
CN102523580A (en) M2M (Machine-to-Machine/Man) service terminal data processing method and M2M service card as well as M2M terminal data processing card
CN101483653B (en) Method, device and system for providing application layer data to the application layer from network appliances
CN101909252A (en) Method for deleting sent message
KR100732968B1 (en) Method for transmitting message by bluetooth transmission between a mobile phone and a PC
CN101494833B (en) Method, device and system for sending network message
CN103729152A (en) Method and equipment for sharing disk of Android
CN110430098B (en) Data processing system
CN113535842A (en) Clue analysis method and system for importing compatibility data and readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090610