History data inquiry method, route server and inquiry terminal and system

A technology of historical data and query terminal, applied in the field of communication, can solve the problem of query terminal query routing confusion, etc., to achieve the effect of unified routing information

Active Publication Date: 2009-08-26
ZHEJIANG SUPCON INFORMATION TECH CO LTD
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If a collection station fails due to failure, or resumes service due to failure recovery, the query route will be updated in the system. Since the active status of the collection station and the switching of query routes are performed by each query terminal separately, so It is easy to cause confusion in the query routing of each query terminal

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • History data inquiry method, route server and inquiry terminal and system
  • History data inquiry method, route server and inquiry terminal and system
  • History data inquiry method, route server and inquiry terminal and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] Below to figure 1 The shown distributed historical data query system is used as an example to illustrate the historical data query method provided by Embodiment 1 of the present invention. Such as figure 1 As shown, the query system includes a routing server, a collection station and a query terminal, wherein the collection station is used to record historical data, and the query terminal establishes a connection with the collection station through a communication network, and queries the historical data in the collection station. It should be noted that , figure 1 Only two collection stations are shown in the figure, in practice, the number of collection stations can be set according to actual needs, for example, it can also be set to three or more.

[0042] The historical data query method in the present embodiment is described in detail below, as figure 2 shown, including the following steps:

[0043] Step S201: the routing server obtains the network addresses o...

Embodiment 2

[0060] Correspondingly, the second embodiment provides a routing server, such as Figure 4 As shown, the routing server 400 specifically includes: a network address obtaining unit 401 , a testing unit 402 , an updating unit 403 and a sending unit 404 .

[0061] The network address obtaining unit 401 is used to obtain the network addresses of all collection stations through configuration configuration files;

[0062] The testing unit 402 is used for periodically testing whether each collection station is in an active state according to the obtained network address;

[0063] Wherein, the test unit 402 regularly tests whether each collection station is in an active state and can specifically adopt a heartbeat test mode, that is: first the test unit 402 sends a test packet to each collection station recorded in the configuration configuration file every fixed period, and the collection station After receiving the test data packet, if the collection station is in an active state, ...

Embodiment 3

[0070] Embodiment 3 provides a query terminal, such as Figure 5 As shown, the inquiry terminal 500 includes:

[0071] The receiving unit 501 is used to receive the routing table sent by the routing server and the network address of the active collection station updated by the routing server and its corresponding historical data source identification. The routing table updated by the routing server is formed by The routing server regularly tests whether each collection station is in an active state according to the acquired network address of the collection station, and updates according to the test result;

[0072] Among them, the routing server can specifically adopt the heartbeat test method, that is: firstly, the routing server sends test data packets to each collection station recorded in the configuration configuration file every fixed period, after the collection station receives the test data packet, if the collection station is in Active state, then immediately reply...

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 embodiment of the invention provides a history data inquiry method, a route server, a inquiry terminal and a distributed history data inquiry system. The history data inquiry method includes obtaining network address of all acquisition stations by the route server; regularly testing the acquisition stations to judge whether the acquisition stations are in movable state, judging whether a route table formed by the movable state acquisition station network address and corresponding history data source identification has update according to test result, if yes, sending the route table updated by the route server to the inquiry terminal, updating a local route table by the inquiry terminal according to the received route table; breaking original connection, establishing new connection according to updated local route table and each movable acquisition station; searching acquisition station corresponding to object history data by the local route table, and obtaining subsequent corresponding history data from the acquisition station by using the established connection. By employing the embodiment of the invention, inquiry route confusion phenomenon can be avoided when using the inquiry terminal to inquiry history data.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a historical data query method, a routing server and a query terminal. Background technique [0002] The historical database is used to save historical records of real-time data, wherein the real-time data includes real-time collected data and intermediate data generated by performing secondary calculation on the real-time collected data. For a large-scale historical database, if all the historical data in the system are stored in one collection station, the data throughput and data processing load of the collection station will be huge, and once the collection station fails, the historical data may not be recoverable Loss and other serious consequences. [0003] In order to reduce the load and risk of centralized recording and storage of massive historical data, some historical data systems in the prior art adopt the scheme of setting up a large historical database with m...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30H04L12/56H04L45/74
Inventor 汪月林陈挺李德文谭彰
Owner ZHEJIANG SUPCON INFORMATION TECH CO LTD
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