CN102523309A - Method and equipment for responding request of client side and acquiring and returning real-time data - Google Patents

Method and equipment for responding request of client side and acquiring and returning real-time data Download PDF

Info

Publication number
CN102523309A
CN102523309A CN2011104629004A CN201110462900A CN102523309A CN 102523309 A CN102523309 A CN 102523309A CN 2011104629004 A CN2011104629004 A CN 2011104629004A CN 201110462900 A CN201110462900 A CN 201110462900A CN 102523309 A CN102523309 A CN 102523309A
Authority
CN
China
Prior art keywords
data
real time
time data
client
request
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
CN2011104629004A
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.)
Nuctech Co Ltd
Original Assignee
Nuctech 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 Nuctech Co Ltd filed Critical Nuctech Co Ltd
Priority to CN2011104629004A priority Critical patent/CN102523309A/en
Publication of CN102523309A publication Critical patent/CN102523309A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a method and equipment for responding a request of a client side and acquiring and returning real-time data. The method comprises the following steps of: receiving a real-time data request sent by the client side; responding the real-time data request sent by the client side, and requesting a data object of the client side to a real-time data caching module according to identifications of source equipment of the real-time data which is included and requested in the real-time data request; and obtaining the data object of the client side from the real-time data caching module, converting data of the data object of the client side into character strings and returning the character strings to the client side.

Description

The acquisition request of customer in response end is also returned the method and apparatus of real time data
The application be applicant Tongfangweishi Technology Co., Ltd on July 31st, 2009 submit to, denomination of invention divides an application for the one Chinese patent application No.200910089160.7's of " real time data provides method, server and network ".
Technical field
The present invention relates to a kind of real time data provides method, real time data to provide server and real time data that network is provided.Application of the present invention is very extensive, and for example (but being not limited to) is applied in security monitoring, and environmental monitoring is applied in customs, airport, quality inspection, the multiple field of environmental protection or the like.
Background technology
Obtain in the conventional Web application of real time data at needs, generally follow following step:
Because the short chain of Http agreement connects characteristic, the Web client need be provided with timer in the page;
Periodically trigger a data request by timer;
Server end then need go in the database and inquire about, and searches a up-to-date record and returns to the Web client.
Web client video data is given the user;
It is understandable that: at the Web of this routine real time data request and response process; Database loads is very big; Because each request of user, server all will go to inquire about database one time, when data volume is bigger; The load of database will increase more significantly, and will be especially true when relating to server and carry out a plurality of table conjunctive query; Will in whole web client and server system, cause sizable delay like this, be unfavorable for the concurrent visit of a large amount of clients, and it be very slow to let the user feel that server is made response request responding from the web client.
In addition, in immediate prior art, obtain data through the refresh content, and own coding checks filtering rule, such system effectiveness is poor, and system itself is too high with the service logic degree of coupling, and system reuse property is poor.
Summary of the invention
In order to overcome the defective of above-mentioned prior art, the present invention provides a kind of method that is used for improving to the request responding of the real time data of Web client, and real time data provides server and real time data that network is provided.
The invention provides a kind of real time data network is provided; It has combined present widely used Ajax mode request real time data; Just adopt the mode of XML packet, rather than adopt traditional mode of making response (response) with the http agreement to ask real time data.Here the Ajax full name of being mentioned is " Asynchronous JavaScript and XML " (asynchronous JavaScript and XML); Be meant a kind of webpage development technology that interaction network page is used of creating, can obtain about this technology more information at http://baike.baidu.com/view/1641.htm.
The present invention has adopted metadata cache mechanism, has adopted regulation engine to come device data is filtered, and reduces search space, thereby the degree of coupling of service logic and program is greatly reduced, and has improved the retrieval response speed.In the present invention, the request process of whole real time data does not all carry out the inquiry of database, and in the middle of real time data provides device, only keeps up-to-date data of each data, thereby has improved the retrieval response speed, has saved the calculation resources of server.
Aspect first, provide a kind of real time data that server is provided of the present invention, having comprised:
The Data Receiving processing module is used for converting the real time data from equipment to the device data object;
Regulation engine is used for according to rule the device data object that is received being carried out rule match, if mate successfully, then converts the device data object to the client data object; And
Real time data provides device, and being used for provides the real time data of being asked in response to the request of client to real time data according to said client data object.
Preferably, said real time data provides server also to comprise the real time data cache module, is used for the client data object that the buffer memory regulation engine is provided, and according to said request to real time data, returns the client data object of being asked.
Preferably, said real time data cache module is set up Hash table between client data object and device numbering, and according to the retrieval of the device numbering in described request client data object.
Preferably, said real time data cache module provides between device and the regulation engine in real time data.
Preferably, said real time data cache module is included in real time data provides in the device.
Preferably, said real time data cache module is included in real time data provides in the device.
Preferably, said regulation engine provides warning message to the Data Receiving processing module.
Preferably, said rule is included in the rule file.
Preferably, said rule can be modified.
Preferably, said client data object comprises device data object and warning message.
Preferably, said client data object and device data are to liking the Java object.
Preferably, said real time data adopts the JSON form that the data of being asked are provided.
Preferably, said client adopts the Ajax mode to the request of real time data.
Preferably, said real time data provides server also to comprise data acquisition unit, is used for the slave unit image data, and sends the data of being gathered to said Data Receiving processing module.
Preferably, said real time data provides server also to comprise database, is used to store real time data and/or the warning message that the Data Receiving processing module receives.
Preferably, said database is used to store the rule file that comprises said rule.
Aspect second of the present invention, provide a kind of real time data that network is provided, comprising:
One or more client;
One or more equipment; With
Aforesaid any real time data provides server;
Wherein, said client and said server are coupled;
Wherein said equipment and said server are coupled.
Preferably, said network also comprises one or more data acquisition unit, and each collector and one or more equipment are coupled, and is used for offering said server to the real time data that slave unit is gathered.
Preferably; Said network also comprises a data collector; Said collector and one or more equipment are coupled; Said collector is integrated into said real time data server is provided, and is used for offering the Data Receiving processing module that said real time data provides server to the real time data that slave unit is gathered.
Preferably, said network also comprises database, is used to store real time data and/or the warning message that the Data Receiving processing module receives.
Preferably, wherein said database is integrated in said real time data provides in the server.
Aspect the 3rd of the present invention, provide a kind of real time data that method is provided, comprise step:
The real time data of slave unit receiving equipment;
Convert this real time data to the device data object;
According to rule this device data object is carried out rule match;
If mate successfully, then convert this device data object to the client data object; With
In response to the request of client, the real time data of being asked is provided according to said client data object to real time data.
Preferably, said method also comprises the said client data object of buffer memory, and according to said request to real time data, returns the client data object of being asked.
Preferably, the said client data object of said buffer memory also is included between client data object and the device numbering sets up Hash table, and according to the retrieval of the device numbering in described request client data object.
Preferably, said rule is included in the rule file.
Preferably, said rule can be modified.
Preferably, said client data object comprises device data object and warning message.
Preferably, said client data object and device data are to liking the Java object.
Preferably, said real time data adopts the JSON form.
Preferably, said client adopts the Ajax mode to the request of real time data.
Preferably, the real time data of said slave unit receiving equipment also comprises through data acquisition unit slave unit collection real time data.
Preferably, said method also comprises real-time data memory in database.
Preferably, said method comprises that also the rule file that comprises said rule is stored in the database.
Description of drawings
In conjunction with accompanying drawing, will make a plurality of advantages more complete to understanding of the present invention and that the present invention brings clearer with reference to following detailed description, wherein:
Shown in Figure 1 is the sketch map of configuration file of the present invention.
Shown in Figure 2 is the sketch map of device data XML form of the present invention.
The sketch map that network is provided for real time data of the present invention shown in Figure 3.
The diagrammatic sketch that the Hash table of being stored in the Hash table module of device is provided for real time data of the present invention shown in Figure 4.
Embodiment
The sketch map that network is provided for real time data of the present invention shown in Figure 3.
In this embodiment, this real time data provides network to comprise: one or more client, real time data provide web application server, database, one or more data acquisition unit and one or more field apparatus.
Wherein, this field apparatus provides real time data.In the present invention, the represented meaning of real time data is the up-to-date data that slave unit is gathered, i.e. the present operational data of equipment.Should be noted in the discussion above that here might not represent it is the data of current time in real time.For example, the equipment that has produced data in per five minutes, thus all be these data with interior data in 5 minutes, rather than all producing data all the time.The equipment of concrete applied field of time-dependent and use.The state of on-the-spot each focus of this equipment monitor.In the present invention, for not restriction of field apparatus, as long as this equipment can produce data, the data that produced can be gathered.This equipment for example is (but being not limited to) security-related equipment, for example: RFID gate inhibition, object machine, metal detection door, chassis is taken a picture, enviromental monitoring equipment, X-ray vehicle scanning device or the like.
Data acquisition unit is gathered real time data from this equipment, and sends this real time data to real time data web is provided application server.
Said real time data provides the web application server to receive the request of client, and the real time data of being asked optionally is provided.
Client is to web application server request real time data, and shows the real time data of being returned.
Said real time data provides web application server, that is, data center server can comprise the Data Receiving processing module; Rule engine module; The rule definition module; Real time data cache module and real time data provide device, also can comprise database in one embodiment, also can comprise a data collector in another embodiment.
Wherein, said Data Receiving processing module is used to receive and handle the real time data from data acquisition unit, and the output equipment data object, and can deposit device data and warning message in database.
Database is preserved warning message and device data.In one embodiment, also can preserve rule file.
The rule definition module is used for rule is defined, and also can preserve defined rule.
Real time data after rule engine module is used for according to defined rule the data receiving processing module being handled is filtered, and, the device data object that sends from the Data Receiving processing module is carried out rule match that is.The rule that regulation engine will configure when system start-up and all be loaded in the middle of the internal memory corresponding to the action that this rule institute will take, and this rule (Rule) and action (Action) can let the user when moving, revise flexibly.
The real time data cache module is to carrying out buffer memory from the client data object that regulation engine sent.
Real time data provides device to obtain the client data object in response to the request of client from the real time data cache module, sends data to client according to certain form then.
How the real time data of below describing equipment becomes the client data object.
Data acquisition unit is gathered the real time data message from one or more field apparatus, and the real time data message is handled.
In one embodiment; Said data acquisition unit can be used as a service procedure; Be implemented on any independent computer or the like; This computer is connected with one or more need be from the field apparatus of its image data, and this same data acquisition unit can for example be gathered real time data by means of the driver of said one or more different field apparatuss from said one or more field apparatus.In one embodiment; The computer of realizing this data acquisition unit can be with web application server shown in Figure 3 on same computer or server or the like; In this embodiment, data acquisition unit is the Data Receiving processing module that directly sends the web application server from the data of one or more field apparatus collection to.In one embodiment, this web application server can connect a plurality of different collectors, and each collector operates in respectively on the different computers; This computer is connected with one or more need be from the field apparatus of its image data; In this embodiment, this Data Receiving processing module receives data from each data acquisition unit respectively according to certain strategy, for example; Timesharing ground is according to certain cycle or the like.
Data acquisition unit includes SSDK_Open, SSDK_Close, and SSDK_Read, SSDK_Write, SSDK_GetData, these interfaces of SSDK_PutData, these interfaces are interfaces that each data acquisition unit must be realized voluntarily.
SSDK_Open interface wherein is used to open device port, for reading the data that this equipment produces from this device port; The SSDK_Close interface is used for the closing device port; The SSDK_Read interface is used for after device port is opened, the data that produced from the device port fetch equipment of opening; The SSDK_Write interface is used for sending instruction to equipment, for example opens or close such instruction; The SSDK_PutData interface is responsible for the data that read from the device port of opening by the SSDK_Read interface are written to the sharing data area; Use the SSDK_GetData interface from sharing data area, to obtain data.Data acquisition unit becomes the XML form to the data transaction of being obtained then, sends to Data Receiving processing module that real time data provides the web application server then for processing.Be integrated among the embodiment of web application server at data acquisition unit, data acquisition unit directly sends the data of being obtained to the Data Receiving processing module, and need not convert the XML form to.
When adding a new equipment, can inherit these interfaces above-mentioned from the data acquisition unit of its image data, and need not develop again with heavy duty, saved the system development time.
When operation, data acquisition unit at first reads configuration information from configuration file.Configuration file can adopt for example XML form, and its example is as shown in Figure 1.Description to facility information (Device id wherein represented will from the numbering of the equipment of its image data) and data center server Server the IP address of expression data center server (Ipaddr ")-be the relevant information that real time data provides the web application server in this configuration file, have been comprised.
For example, facility information can comprise the sequence datasequence (having described the sequence of data) of equipment id, device drives driver, device data separator seperator (having described the segmentation symbol of data character string), device data.
Then, data acquisition unit loads the corresponding driving program, and seperator and datasequence information are passed to driver.The definition of driver is that for example, the driver that defines among Fig. 1 is exactly RayDevDriver.dll by the driver attribute definition in the configuration file, and it for example can be a windows dynamic base.
Driver is after getting access to the data of source device, and the seperator and the datasequnce that pass to it according to data acquisition unit organize data and put into the data field, and the notification data collector obtains data simultaneously.Data acquisition unit is resolved data are counter according to seperator and datasequence after getting access to data, can get access to each single datum.Then, data acquisition unit is organized into the serial data (as shown in Figure 1) of XML form with each single datum, and sends to the Data Receiving processing module of data center server specified in configuration file through the Http agreement.The Data Receiving processing module of data center server is by the specified Servlet of the url field among Fig. 1.
Real time data provides the Data Receiving processing module in the web application server that received equipment real time data is carried out following processing:
At first, the Data Receiving processing module will be the device data object from the XML data conversion that data acquisition unit receives through the JAXB OXM mapping mechanism of JDK for example, here be a Java device data object.For example, the JAXB through JDK is a java class with the XML data conversion.JAXB is the abbreviation of Java Architecture for XML Binding, can a Java object be transformed into the XML form, otherwise can be the Java object with the data conversion of XML form also.We call ORM to the mapping between object and the relational database, and ((Object Relation Mapping) therefore also can call the mapping between object and the XML OXM (Object XML Mapping).For example, the Data Receiving processing module has received device data XML shown in Figure 2, and then the Data Receiving processing module is searched the UnderPan0001.class class under the classes catalogue on the hard disk; After finding such,, thereby produce the device data object then according to the data that provided among XML instantiation UnderPan0001.class class in internal memory.Here just illustrate, can also use other mode to produce the device data object.
Then, the Data Receiving processing module will be put into the work memory space (working memory) of rule engine module through the device data object (for example Java object) that transforms.Wherein, the Data Receiving processing module can be through calling the interface that rule engine module provides, and api interface is for example put into the device data object work memory space of rule engine module.
In addition, the Data Receiving processing module also deposits in the database with device data with from the warning message of rule engine module in the lump, so that inquiry in the future.Certainly, can device data and/or warning message not put into database yet.This depends on the enforcement of concrete scheme.In illustrated embodiment, this database is present on the different computer or server with the web application server.But, in one embodiment, proposed database and Web server are integrated in one independently in the computer, because database is higher than Web server to the requirement of data fail safe as the storage medium of data, amount of calculation is also much bigger simultaneously.
Rule engine module is after receiving the device data object from the Data Receiving processing module; Come this device data object is carried out rule match through rule-based filtering according to defined rule in the rule file, thereby these device object data are expanded to the client data object.Wherein, Rule file is to preserve the file of business rule; The filtering rule that regulation engine can resolution rules defines in the file to be to carry out rule match to device data, can in the device data object, add warning message after mate successfully, if coupling is failed; The rule that do not meet of expression then, can not be inserted into warning message in the device data object this moment.In one embodiment, briefly, client data object=device data object+actuation of an alarm code.Wherein, the rule-based filtering algorithm can adopt algorithm known in the art.Rule can be a series of if else statement, if satisfy certain rule, then can think and mate successfully, otherwise coupling is just unsuccessful.Wherein, regulation engine can adopt existing technology in the present invention, for example adopts the regulation engine of open source code.Regulation engine has in the present invention adopted existing Rete and two kinds of fast regular matching algorithms of Leaps.Any suitable better fast regular matching algorithm also is applicable to the present invention in the future.
Rule engine module combines warning message to generate the client data object device data object after the filtration treatment (also promptly, mating successful device data object) then, then it is offered the real time data cache module.Wherein, warning message has comprised the script name and the parameter of reporting to the police, and can remind the monitor staff to note the unusual of some monitoring of tools data so visually, thus noting abnormalities as early as possible, for example, the actuation of an alarm code.Please note: do not exist real time data cache module or this real time data cache module and real time data to provide under the situation that device integrates, rule engine module offers real time data with the client data object device is provided.Simultaneously, rule engine module also returns to the Data Receiving processing module with warning message.Wherein, rule engine module is carried out rule-based filtering according to rule definition to the device data object, and constructs the client data object, directly puts into this client data object in the real time data cache module then.Rule definition can be placed in the middle of the specific file, also can be placed in the database of any kind, for example is placed in the above-mentioned database.Rule definition need define before project issue operation, whenever can revise rule file, but need restart application server after revising.Can make amendment to rule file with any the text edit tool.
In the present invention, alarm code divides forward and backward alarm code; The foreground alarm code sees to the monitor staff, and this code is that the regulation engine by the front end display systems of system and backstage uses, and what regulation engine used is the actuation of an alarm code on backstage; The actuation of an alarm code on backstage is for example: alarm logging of record in database; The actuation of an alarm code of front end is for example: the icon flicker;
Above-mentioned rule file comprises that regulation engine filters the rule of usefulness, and rule can adopt many kinds of modes to define, and for example, in the present invention, can come definition rule in such a way:
Figure BSA00000663592800091
Figure BSA00000663592800101
In conjunction with the mode of above-mentioned rule definition of giving an example, at this, provide the example of a rule that in rule file, defines, as follows:
Figure BSA00000663592800102
Wherein VehicleIdentify0001Data representes the data that the car plate identification equipment produces; If license plate number equals capital A123456; System will produce warning (corresponding actuation of an alarm code is arranged); Reporting to the police in the foreground is icon flicker (flashIcon), reports to the police and be the relevant alert data (insertAlarmData) of insertion in database in the backstage.
Describe below real time data provide device how the acquisition request request of customer in response end data and return this data.
At first, the web client provides device to send the request to real time data, for example polling request to real time data.In a preferred embodiment; This polling request adopts the Ajax mode; The characteristics of Ajax are can refresh each element on the web page separately and be unlikely to cause page flicker; Ajax is an asynchronous system simultaneously, and the user can carry out any operation and need not let the user wait for the page in request msg.
The Web client comprises the numbering of coming source device of the real time data of being asked in the parameter of being sent to the request of real time data, promptly being to provide the device real time data that explanation will be asked by which equipment to be produced to real time data.For example, the example to the request of real time data that produced of web client is
Http: // 192.168.26.4/DataProvider.action? Deviceid=1689243, wherein deviceid=1689243 is the character string corresponding to the equipment of the real time data that produces this request.Should be understood that: the difference of the Web client that the present invention adopted only is the character string of in the real time data request of sending, having added equipment; Adopted the mode of timer equally; But owing to there has been real time data that device is provided; The retrieval amount of database will significantly reduce, and response speed also has very big lifting.
Then; After real time data provides the real time data request that device sent in response to the web client; According to the device numbering whereabouts real time data cache module requesting client data object of request, real time data provides device after obtaining the client data object from the real time data cache module, then can be character string (the perhaps character string of other type of JSON mode with the data conversion of this object; The character string of XML type for example), then it is returned to the web client.
Client data provides device from the real time data buffer memory, to obtain to liking real time data.Wherein, to the real time data cache module client data object is provided by regulation engine, as previously mentioned.
The real time data cache module is after receiving the client data object; Can set up the Hash table between the source device that comes of a client data object and generation data wherein for this client data object; (about Hash table; See explanation below in conjunction with Fig. 4), to be used for the convenient retrieval that realizes this client data object.Wherein Hash table is stored in the real time data cache module.The request that the real time data cache module provides device to be received from the web client in response to real time data to real time data, with the data that comprised in this request come source device as the retrieval major key, retrieve corresponding client data object according to Hash table.For example, specified the Data Source device A in the request from the Web client, then just retrieved the data object ObjectA (object A) that corresponding origin source device A is produced from Hash table according to the Data Source device A to real time data.The retrieval of employing aforesaid way, comparing the database retrieval mode has tangible improved efficiency.
The entity of client object type of being in internal memory type is the object statement that is present on the hard disk, through this statement just can be in internal memory class of instantiation.We just are referred to as object the class of this instantiation in internal memory.To liking the least unit among the java.Provide device to real time data cache request client data object the time in real time data, the real time data cache module can be quoted of active client data object and return to real time data device is provided.So just can effectively avoid the resource lock problem under the multithreading situation.
Real time data provides device after the client data that obtains expectation from the real time data buffer memory is quoted; From being about to the data conversion of this client data object is the text string of JSON (JavaScript Object Notation) mode, and the packet after will transforming then returns to the web client.Wherein, JSON (JavaScript Object Notation) is a kind of data interchange format of lightweight.Being easy to the people reads and writes.Also being easy to simultaneously machine resolves and generates.It is based on the sub-set of JavaScript (Standard ECMA-262 3rd Edition-December 1999).
In one embodiment; The real time data cache module is integrated in real time data and provides in the device; At this moment; Regulation engine consigns to real time data to the client data object of being changed the cache module of the real time data in the device is provided, and the real time data cache module is set up Hash table according to above-described mode then.Real time data provides the real time data request of device according to the web client; To real time data cache module inquiring client terminal data object; The real time data cache module comes source device as the retrieval major key according to the data that comprised in this request, retrieves corresponding client data object according to Hash table.The real time data cache module can be quoted of current client data object of asking and return to real time data device is provided; Real time data provides device after the client data that obtains expectation from the real time data cache module is quoted; From being about to the data conversion of this client data object is the text string of JSON mode, and the packet after will transforming then returns to the web client.
In one embodiment, do not have the real time data cache module, at this moment, regulation engine consigns to real time data to the client data object device is provided.Real time data provides the source device that comes of the data that comprised in the request of device according to the web client to search the client data object, is the data conversion of the client data object that finds the character string of JSON mode then, then it is returned to the web client.Compare with the embodiment that adopts the real time data cache module, the system effectiveness of this embodiment can descend to some extent, thereby preferably, builds and use the embodiment with real time data cache module to realize the present invention.
The Web client receives the JSON packet that provides device to generate by real time data, and then, the Web client is resolved the JSON packet that is received, and shows the data of being asked then.
The JSON mode is the preferred embodiments of the present invention, also can adopt other mode.
Can see that the request process of whole real time data does not all carry out the inquiry of database, and in the middle of real time data provides device, only keep up-to-date data of each data, thus the calculation resources of having saved server.
Shown in Figure 4 is the structure of the Hash table of real time data cache module of the present invention.
Hash table is a kind of data structure, and it is right to have described man-to-man (key-value), that is to say, and the corresponding value of index button, Map inside generally takes hash algorithm to realize searching fast.
Wherein 401 is key in the Hash table, and 402 is value corresponding with this key in the Hash table.When the real time data that real time data cache module retrieval web client is asked will be index with key 401, retrieve clients corresponding data object 402.For example, the web client-requested be the real time data of source B, the real time data cache module is just retrieved Hash table with the B that originates as major key; Therefrom find major key source B, and then find out and as the corresponding content of source B of major key, promptly; The client data object B; Wherein the client data object B comprises all up-to-date real time data, content such as device id that this source equipment B collects number, the numerical value of each data item, data type and data parameters etc.Then, the real time data cache module offers real time data to the client data object that retrieves device is provided.Real time data provides device then according to retrieving the character string that the client data object generates the JSON form, returns to the Web client to this JSON packet then, as the real time data request responding to being sent from the web client.
Though used Hash table mechanism here, this is not necessary.But, the use Hash table can be so that retrieval rate be faster.
Described the present invention and occupation mode thereof in the above, one skilled in the art will appreciate that and to carry out various modifications and change to the present invention, as long as such modification and change all drop within the scope of accompanying claims.

Claims (7)

1. method that is used for the acquisition request of customer in response end and returns real time data comprises:
Receive the real time data request that client is sent;
The real time data request of sending in response to client, according to the source equipment mark of the real time data of being asked that comprises in this real time data request to real time data cache module requesting client data object; And
Data conversion with this client data object after obtaining the client data object from the real time data cache module is character string and returns to client.
2. method according to claim 1; Wherein, The real time data cache module is retrieved said client data object in response to the request to the client data object according to the source equipment mark of the real time data of being asked that is comprised in this request in the Hash table of being stored.
3. method according to claim 1, wherein, said real time data request is a polling request.
4. method according to claim 1 wherein, also adopts timer in said real time data request.
5. method according to claim 1 and 2, wherein, said sign is come the numbering of source device or is come the character string of source device corresponding to this.
6. method according to claim 2, wherein, said Hash table has been described the one-one relationship that comes source device and client data object.
7. equipment that is used for the acquisition request of customer in response end and returns real time data comprises:
Be used to receive the device of the real time data request that client sends;
The source equipment mark of the real time data request that is used for sending in response to client and the real time data of being asked that comprises according to this real time data request is to the device of real time data cache module requesting client data object; And
The data conversion that is used for after obtaining the client data object from the real time data cache module this client data object is character string and the device that returns to client.
CN2011104629004A 2009-07-31 2009-07-31 Method and equipment for responding request of client side and acquiring and returning real-time data Pending CN102523309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104629004A CN102523309A (en) 2009-07-31 2009-07-31 Method and equipment for responding request of client side and acquiring and returning real-time data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104629004A CN102523309A (en) 2009-07-31 2009-07-31 Method and equipment for responding request of client side and acquiring and returning real-time data

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN2009100891607A Division CN101989939A (en) 2009-07-31 2009-07-31 Real-time data providing method, server and network

Publications (1)

Publication Number Publication Date
CN102523309A true CN102523309A (en) 2012-06-27

Family

ID=46294096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104629004A Pending CN102523309A (en) 2009-07-31 2009-07-31 Method and equipment for responding request of client side and acquiring and returning real-time data

Country Status (1)

Country Link
CN (1) CN102523309A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103440302A (en) * 2013-08-21 2013-12-11 广东电网公司电力调度控制中心 Real-time data exchange method and system
CN103607312A (en) * 2013-11-29 2014-02-26 广州华多网络科技有限公司 Data request processing method and system for server system
CN103986707A (en) * 2014-05-15 2014-08-13 浪潮电子信息产业股份有限公司 Modular network transmission data package filter method based on general protocol
CN104333567A (en) * 2013-07-22 2015-02-04 思科技术公司 Web caching with security as a service
CN106569929A (en) * 2016-10-26 2017-04-19 珠海许继芝电网自动化有限公司 Real-time data access method and system for monitoring system
CN107423072A (en) * 2017-08-11 2017-12-01 郑州云海信息技术有限公司 The method and apparatus of web page dynamic column filter and search list data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008074748A2 (en) * 2006-12-19 2008-06-26 International Business Machines Corporation Highly scalable real-time collaboration applications using http
CN101296236A (en) * 2008-06-12 2008-10-29 北京中星微电子有限公司 Method, system and data client terminal for multi-user real-time access to multimedia data
CN101442515A (en) * 2007-11-22 2009-05-27 深圳市科陆电子科技股份有限公司 Remote control method based on browser

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008074748A2 (en) * 2006-12-19 2008-06-26 International Business Machines Corporation Highly scalable real-time collaboration applications using http
CN101442515A (en) * 2007-11-22 2009-05-27 深圳市科陆电子科技股份有限公司 Remote control method based on browser
CN101296236A (en) * 2008-06-12 2008-10-29 北京中星微电子有限公司 Method, system and data client terminal for multi-user real-time access to multimedia data

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104333567A (en) * 2013-07-22 2015-02-04 思科技术公司 Web caching with security as a service
CN104333567B (en) * 2013-07-22 2018-10-23 思科技术公司 It is the web cachings serviced using safety
CN103440302A (en) * 2013-08-21 2013-12-11 广东电网公司电力调度控制中心 Real-time data exchange method and system
CN103440302B (en) * 2013-08-21 2016-06-08 广东电网公司电力调度控制中心 The method and system of Real Data Exchangs
CN103607312A (en) * 2013-11-29 2014-02-26 广州华多网络科技有限公司 Data request processing method and system for server system
CN103607312B (en) * 2013-11-29 2017-02-15 广州华多网络科技有限公司 Data request processing method and system for server system
CN103986707A (en) * 2014-05-15 2014-08-13 浪潮电子信息产业股份有限公司 Modular network transmission data package filter method based on general protocol
CN106569929A (en) * 2016-10-26 2017-04-19 珠海许继芝电网自动化有限公司 Real-time data access method and system for monitoring system
CN107423072A (en) * 2017-08-11 2017-12-01 郑州云海信息技术有限公司 The method and apparatus of web page dynamic column filter and search list data
CN107423072B (en) * 2017-08-11 2020-10-30 苏州浪潮智能科技有限公司 Method and device for screening dynamic columns of web page and searching table data

Similar Documents

Publication Publication Date Title
US10698777B2 (en) High availability scheduler for scheduling map-reduce searches based on a leader state
US11669499B2 (en) Management of journal entries associated with customizations of knowledge objects in a search head cluster
Qin et al. When things matter: A survey on data-centric internet of things
US11252224B2 (en) Utilizing multiple connections for generating a job result
KR101278785B1 (en) Mapping of a file system model to a database object
US20100125476A1 (en) System having business aware framework for supporting situation awareness
US20040088276A1 (en) System and method for analyzing usage patterns in information aggregates
Sheng et al. Ubiquitous RFID: Where are we?
CN102523309A (en) Method and equipment for responding request of client side and acquiring and returning real-time data
CN101989939A (en) Real-time data providing method, server and network
US20140136511A1 (en) Discovery and use of navigational relationships in tabular data
Boury-Brisset Managing Semantic Big Data for Intelligence.
CN110888930A (en) Financial knowledge inquiry service interface design and implementation method based on knowledge map
CN103995807A (en) Massive data query and secondary processing method based on Web architecture
Antunes et al. Scalable semantic aware context storage
CN102253948B (en) Method and device for searching information in multi-source information system
Mehmood et al. Distributed real-time ETL architecture for unstructured big data
US11494381B1 (en) Ingestion and processing of both cloud-based and non-cloud-based data by a data intake and query system
CN111431962B (en) Cross-domain resource access Internet of things service discovery method based on context awareness calculation
Fernández et al. Management of big semantic data
CN113407810B (en) City information and service integration system and method based on big data
Kirmse et al. How to rami 4.0: Towards an agent-based information management architecture
Hua et al. H-TDMS: a system for traffic Big Data management
CN112564984A (en) Distributed safe operation and maintenance method of Internet of things based on big data
CN108614822B (en) Intelligent event storage and reading method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120627