Method for obtaining data and drawing graph based on web service

A data and database technology that is applied in the field of computer graphics to achieve the effects of ensuring security, increasing confidentiality and reliability, and organizing data management

Inactive Publication Date: 2014-01-22
SHANDONG UNIV
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The permission setting of this method is mainly reflected in database operations (select, insert, update, delete, etc.), and does not associate specific data in different regions with the terminal. This method uses JSON format to process data exchange, although it is efficient C

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0028] A method for real-time data acquisition and curve drawing based on webservice, which mainly includes three parts: smart terminal, database and interface. The interface and database are encapsulated on the server side. The interface completes the communication with the database through the connection method, and the smart terminal calls through the network. webservice interface, the steps of this method are as follows:

[0029] 1. Webservice encapsulates different SQL according to the requirements to form interfaces with different functions. The interfaces of different functions are uniquely identified by method names. These functional interfaces mainly include landing (login interface, which is used for authentication), real-timeData (real-time data interface, used to obtain real-time data from the database), historyData (historical data interface, used to obtain specific time data information from the database, and provide data sources for the function of drawing curves...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method for obtaining data and drawing a graph based on a web service and belongs to the technical field of computer drawing. Intelligent terminals obtain data information through remote procedure call of web service interfaces and the corresponding data are expressed in a curve mode. The method for obtaining the data and drawing the graph based on the web service is characterized in that the intelligent terminals call the data information through the web service interfaces, so that the intelligent terminals are prevented from having direct access to a database in a JDBC mode, and the safety of the data is guaranteed; the limits of authority of the different intelligent terminals are divided, layered management of the data is achieved, and the confidentiality and the reliability are effectively improved; access ip addresses and port numbers can be set and changed by the intelligent terminals, so that the data are called conveniently and rapidly; result sets are packaged to an Array list through the web service interfaces, resources of the database are prevented from being occupied for a long time, and the efficiency of data obtaining is improved; the data and the time interval of the data to be inquired can be set through the method and the inquiry result is accurate and effective.

Description

technical field [0001] The invention relates to the technical field of computer drawing, in particular to a data acquisition and drawing method based on webservice. Background technique [0002] Webservice is a cross-platform service, which enables different machines to exchange data with each other, regardless of the platforms, languages ​​and internal protocols they use. Webservice uses XML to transmit structured data, and soap protocol to realize remote calls . Nowadays, this technology is widely used in PC and mobile terminals, but there are still some deficiencies in authority setting, database resource utilization and data display. For example, Wu Haibo and Wu Baoguo of Beijing Forestry University published "A WebService-based Multi-source Database Access Method" (ISSN1009-3044, Vol.5, No.31, November 2009, pp. 8628-8631), this article provides a remote multi-source database data access method developed through the Java platform based on WebService technology. The s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
Inventor 朱维红王凯杨宝华丁少田晓亮罗璐璐
Owner SHANDONG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products