CN106651066A - Data processing method and platform - Google Patents
Data processing method and platform Download PDFInfo
- Publication number
- CN106651066A CN106651066A CN201510719252.4A CN201510719252A CN106651066A CN 106651066 A CN106651066 A CN 106651066A CN 201510719252 A CN201510719252 A CN 201510719252A CN 106651066 A CN106651066 A CN 106651066A
- Authority
- CN
- China
- Prior art keywords
- application system
- mode
- data processing
- request
- data
- 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.)
- Granted
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a data processing method and platform. The method comprises the following steps: a data processing platform receives a resource query request message sent by an application system, a resource query response message is returned to the application system, an operation mode query request is sent by the application system according to operation mode information and corresponding input parameters in the resource query response message, the data processing platform searches corresponding information according to the operation mode information and corresponding filtering conditions in the operation mode query request, and the corresponding information is carried in an operation mode query request response which is returned to the application system. Compared with technologies of the prior art, the data processing method and platform disclosed in an embodiment of the invention are advantageous in that via arrangement of the data processing platform, data information of terminals or application systems that are independent of each other can be managed in a unified manner, message management can be facilitated, and resource can be saved and distributed in a reasonable manner.
Description
Technical field
The present invention relates to technical field of data processing, more specifically, is related to a kind of data processing method and data processing is flat
Platform.
Background technology
With society development and science and technology progress, people in production and operating activities, for the prevention and production of accident
Normal operation increasingly pay attention to, at the same time, it is ensured that the control measure of safety in production are also more and more perfect, especially right
In large-scale production and operating activities, for example, the activity such as mining production and oil exploitation.
By taking Mine Safety in Production as an example, the safety in production process in mine is related to multinomial different production engineering, each production
The different degrees of management for being related to the production environment data such as methane, carbon monoxide, temperature, humidity of engineering, power supply, it is dust-proof,
The business such as the management of the production process datas such as positioning, wind speed, so, in order to ensure Mine Safety in Production, each production work
Journey is required to that multinomial different types of data are monitored and are managed.Further, since Mine Safety in Production system environments is multiple
It is miscellaneous, and the place of production engineering carries out different settings according to the difference of mine concrete structure, causes every production engineering
Place distribution it is at random, therefore, correspondence items production engineering is generally respectively provided with terminal or application system, per locking terminal
Or the creation data of the monitoring of application system correspondence and management production engineering corresponding thereto.
However, due to the independent terminal of each production engineering correspondence or application system, causing the state of every production engineering
It is separate, so as to be unfavorable for the unified management to Mine Safety in Production, and then it is unfavorable for saving and the reasonable distribution of resource.
The content of the invention
In view of this, data processing method provided in an embodiment of the present invention and data processing platform (DPP), can be managed collectively each
Separate terminal and application system such that it is able to solve prior art and be unfavorable for the unified management to Mine Safety in Production,
And then it is unfavorable for the saving of resource and the problem of reasonable distribution.
In a first aspect, a kind of data processing method is embodiments provided, including:Data processing platform (DPP) receives application system
The resource inquiry request message that system sends, to the application system resource query response message is returned, and the resource query response disappears
The data resource list that the data processing platform (DPP) can be provided is carried in breath, the data resource list is handed over by the interface of data resource
Interoperability form is constituted, and the interactive interfacing operational format of data resource includes:Mode of operation information and its corresponding |input paramete;
Mode of operation information and corresponding |input paramete of the application system in the resource query response message, sends operation side
Formula inquiry request, wherein, the mode of operation inquiry request includes being generated according to mode of operation information and corresponding |input paramete
Filter condition;Mode of operation information and corresponding filtration of the data processing platform (DPP) in the mode of operation inquiry request
Condition, inquires about corresponding information and carries in the response of mode of operation inquiry request, and the mode of operation inquiry request is responded
Return to the application system.
Preferably, wherein, mode of operation information includes:Query history file data, subscribing service data, and/or subscription are real
When multi-medium data;|input paramete is used to indicate the parameter that mode of operation is supported that the mode of operation inquiry request to be asked for following
One kind in asking;Query history file data is asked, and corresponding filter condition includes:Termination ID, time, type of service, end
One or more in end vendor code, terminal device model;Subscription/query traffic data is asked, corresponding filter condition bag
Include:One or more in TID, time, type of service, manufacturer terminal code, terminal device model;Subscribe to many matchmakers in real time
Volume data is asked, and corresponding filter condition includes TID.
Preferably, if the mode of operation inquiry request is the request of query history file data, correspondingly, the mode of operation is looked into
Asking carrying information in request response includes:Ftp server configuration information, it is described to return mode of operation inquiry request response
After to the application system, also include:The information that the application system is carried in being responded according to the mode of operation inquiry request,
History file data to be checked is asked from the data processing platform (DPP);
If the mode of operation inquiry request is the request of subscription/query traffic data, correspondingly, the mode of operation inquiry request
Information is carried in response to be included:Described in TCP server configuration information subscription/query traffic data request in |input paramete when
Between determine and subscribe to real time traffic data or query history business datum;It is described that mode of operation inquiry request response is returned into institute
After stating application system, also include:The information that the application system is carried in being responded according to the mode of operation inquiry request, from
Data processing platform (DPP) subscription/the query traffic data;
If the mode of operation inquiry request is asked to subscribe to real-time multimedia data, correspondingly, the mode of operation inquiry request
Information is carried in response to be included:Sip server configuration information;It is described mode of operation inquiry request response is returned to it is described
After application system, also include:The information that the application system is carried in being responded according to the mode of operation inquiry request, from institute
State data processing platform (DPP) and subscribe to real-time multimedia data;
Preferably, the data processing platform (DPP) is received before the resource inquiry request message that an application system sends, and methods described is also
Including:The application system to the data processing platform (DPP) sends system login request, carries in the system login request:System
One or more in system type of service, application system authentication information;The data processing platform (DPP) is according to the system login request
Execution system is logged in, and to application system return system logging request response, the system login response is included to log in
The SID that successfully application system is distributed;Methods described also includes:The application system to the data processing platform (DPP) sends
System logout is asked, and the system logout request includes the SID of the application system;The processing platform is noted according to the system
Pin request, performs the cancellation of the application system, and returns cancellation implementing result.
Preferably, methods described also includes:
The application system to the data processing platform (DPP) sends the request of terminal management interface polls;The data processing platform (DPP) is to institute
State application system and return terminal interface inquiry response, carried terminal interface configuration information in the terminal interface inquiry response;It is described
Application system carries out terminal information inquiry, terminal software down loading updating, and/or terminal to terminal and opens by the terminal interface
Shutdown control.
Preferably, methods described also includes:When inadequate resource or when breaking down, the data processing platform (DPP) is to the application system
System sends event notification message, including:One or more in Case Number, event title, business reasons;And/or;Institute
Stating method also includes:Heartbeat message is sent between the data processing platform (DPP) and the application system.
Second aspect, embodiments provides a kind of data processing platform (DPP), including:Receiver module, should for receiving
The resource inquiry request message sent with system;Sending module, for returning resource query response message to the application system,
The data resource list that the data processing platform (DPP) can be provided is carried in the resource query response message, the data resource list
It is made up of the interactive interfacing operational format of data resource, the interactive interfacing operational format of data resource includes:Mode of operation information,
And its corresponding |input paramete;The receiver module, is additionally operable to receive the mode of operation inquiry request that the application system sends;
Enquiry module, for mode of operation information and corresponding filter condition in the mode of operation inquiry request, inquiry is corresponding
Information and carry mode of operation inquiry request response in;The sending module, is additionally operable to the mode of operation inquiry request
Response returns to the application system.
Preferably, also include:Login module and cancellation module, wherein, the receiver module is additionally operable to receive the application
The system login request that system sends;The login module, for being logged according to the system login request execution system, and to
The application system return system logging request response, the system login response includes the application system to login successfully
The SID of distribution;The receiver module, is additionally operable to receive the system logout request that the application system sends, the system logout
Request includes the SID of the application system;The cancellation module, for asking according to the system logout, performs the application system
The cancellation of system, and return cancellation implementing result.
Preferably, the receiver module, is additionally operable to receive the terminal information inquiry request that the application system sends, the end
Query filter condition is included in client information inquiry request, the query filter condition includes that TID, manufacturer terminal code, terminal set
One or more in standby model;The sending module, the query filter bar being additionally operable in being asked according to the terminal information inquiry
Part, returns terminal information inquiry request response, and the terminal information inquiry response bag is containing the terminal for meeting the query filter condition
Information, the end message includes software version number, the hardware version numbers of terminal.
As seen from the above description, data processing method provided in an embodiment of the present invention and data processing platform (DPP), first, data
Processing platform receives the resource inquiry request message that application system sends, and disappears to application system return resource query response
Breath, carries the data resource list that the data processing platform (DPP) can be provided, the data resource in the resource query response message
List is made up of the interactive interfacing operational format of data resource, and the interactive interfacing operational format of data resource includes:Mode of operation is believed
Breath and its corresponding |input paramete.That is, data processing platform (DPP) is stored with, application system is used for the resource information of operation,
After application system receives resource response message, mode of operation information in the resource query response message and corresponding
|input paramete, sends mode of operation inquiry request, wherein, the mode of operation inquiry request is included according to mode of operation information
And the filter condition that corresponding |input paramete is generated, data processing platform (DPP) after mode of operation inquiry request is received, according to institute
The mode of operation information and corresponding filter condition in mode of operation inquiry request is stated, corresponding information is inquired about and is carried in operation side
In the response of formula inquiry request, and mode of operation inquiry request response is returned into the application system.So as to realize number
According to unified management of the processing platform to discrete application system.Compared with prior art, the technical scheme of the embodiment of the present invention,
By arranging data processing platform (DPP), the data message of separate terminal or application system is managed collectively, is not only had
Beneficial to the management to message, and it is easy to saving and the reasonable distribution of resource.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to needed for embodiment
The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some enforcements of the present invention
Example, for those of ordinary skill in the art, on the premise of not paying creative work, can be with attached according to these
Figure obtains other accompanying drawings.By shown in accompanying drawing, the above and other purpose of the present invention, feature and advantage will become apparent from.
Identical reference indicates identical part in whole accompanying drawings.It is deliberately not attached by the scaling drafting of actual size equal proportion
Figure, it is preferred that emphasis is illustrate the purport of the present invention.
Fig. 1 is the information exchange schematic diagram of data processing method provided in an embodiment of the present invention;
Fig. 2 is the information exchange schematic diagram of another kind of data processing method provided in an embodiment of the present invention;
Fig. 3 is the structural representation of data processing platform (DPP) provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Description, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Base
Embodiment in the present invention, it is all that those of ordinary skill in the art are obtained under the premise of creative work is not made
Other embodiment, belongs to the scope of protection of the invention.
In order to be managed collectively to separate application system, the technical scheme of the embodiment of the present invention arranges data processing
Platform, and communication connection is set up between each application system and the data processing platform (DPP), so as to pass through data processing platform (DPP)
It is managed collectively, coordinates the data message of each application system, and then Mine Safety in Production can be managed collectively, no
Only economize on resources and can realize the reasonable distribution of resource.
Fig. 1 is referred to, Fig. 1 is the information exchange schematic diagram of data processing method provided in an embodiment of the present invention, wherein,
Application system is set up after communication connection with data processing platform (DPP), data letter of the data processing platform (DPP) according to handled by application system
Breath creates data resource list, and the data resource list includes:Application system can be inquired about from data processing platform (DPP) and/or read
The data message type for taking, and the parameter inquired about and/or should be input into when reading every kind of data message.Therefore, in application
System is inquired about and/or reads before data from data processing platform (DPP), first, to data processing platform (DPP) resource inquiry request is sent
Message, data processing platform (DPP) is received after resource inquiry request message, and data resource list is responded by resource query
Message is sent to application system, and in order to application system corresponding mode of operation inquiry request is input into as desired.
It should be noted that data resource list is made up of the interactive interfacing operational format of data resource, data resource connects
Oral sex interoperability form includes:Mode of operation information and its corresponding |input paramete.For example, History file data correspondence
Mode of operation information for inquiry, |input paramete is time parameter.Certainly, the mode of operation information of other data messages with
|input paramete sets according to the property of data message with experiential operating mode, and the embodiment of the present invention is no longer described in detail herein.
Application system, according to operational requirements, reads resource query response message after resource query response message is received
In mode of operation information and corresponding |input paramete, generate mode of operation information and filter condition, and mode of operation is believed
Breath and filter condition are sent to data processing platform (DPP) by mode of operation inquiry request.When data processing platform (DPP) is according to operation side
Mode of operation information and corresponding filter condition in formula inquiry request is inquired after corresponding information, by the information inquired about
Carry and be sent to application system in the response of mode of operation inquiry request, complete application system and inquire about number from data processing platform (DPP)
According to process.
Interacting between application system and data processing platform (DPP), real world applications are introduced by taking an application system as an example in the application
In, the application system interacted with the data processing platform (DPP) corresponds to respectively different business, application system master including multiple
To be used for receiving monitoring signals, correction, data processing, disk storage, display, sound and light alarm, output control, and have
There are human-computer dialogue, control printout and the equipment for managing the functions such as net connection.In addition, application system and application system
Interaction and principle between system, with interaction and principle in the application between application system and data processing platform (DPP),
Therefore, in this application, the data processing platform (DPP) can also be the application system of equal value with the application system, here
Repeat no more.
Application system resends resource inquiry request message, when total when resource inquiry request is without responding more than 10 seconds
When body request time was more than 30 seconds, with 30 seconds as cycle, resource inquiry request message is persistently sent.
, wherein it is desired to, it is noted that mode of operation information includes:Query history file data, subscribing service data,
And/or real-time multimedia data is subscribed to, and |input paramete is used to indicate the parameter that mode of operation is supported.Specifically, behaviour is worked as
Make mode inquiry request for during the request of query history file data, corresponding filter condition can include:Termination ID is
TID is also referred to as one or more in terminal number, time, type of service, manufacturer terminal code, terminal device model;
When mode of operation inquiry request is that subscription/query traffic data is asked, corresponding filter condition can include:TID、
One or more in time, type of service, manufacturer terminal code, terminal device model;When mode of operation inquiry request
When asking to subscribe to real-time multimedia data, corresponding filter condition can include TID.
Additionally, when mode of operation inquiry request is that query history file data is asked, the letter that data processing platform (DPP) is returned
Breath can include:Ftp server configuration information, for example, can be address, ftp server port numbers, ftp server pair
One or more in user name password, pathname, the filename answered, application system can be according to above- mentioned information, from number
History file data to be checked is asked according to processing platform.
Or, when mode of operation inquiry request is that subscription/query traffic data is asked, what data processing platform (DPP) was returned
Information can include:TCP server configuration information, including TCP server address, tcp server port number, maximum connect
Receive data buffering byte number, maximum data buffering byte number, data message type, the request of data of sending to identify, return number
According to content format, the description of returned data in one or more;Wherein, the data message type indicates connection side
Formula is short connection or long connection, and the subscription/time of the query traffic data request in |input paramete determines subscribes to real-time
Business datum or query history business datum, application system can subscribe to/inquiry according to above- mentioned information from data processing platform (DPP)
Business datum.
Or, when mode of operation inquiry request is asked to subscribe to real-time multimedia data, what data processing platform (DPP) was returned
Information can include:Sip server configuration information, including sip server address, sip server port, SIP service
One or more in the user name password of device, application system can subscribe to real according to above- mentioned information from data processing platform (DPP)
When multi-medium data.
It should be noted that aforesaid operations mode inquiry request information is the preferred embodiments of the present invention, the technology of the present invention
Scheme can be to arrange other mode of operation inquiry request information according to the demand of actual production, and its inquiry mode is above-mentioned several
One of inquiry mode is planted, here is omitted for the embodiment of the present invention.
Summary, data processing method provided in an embodiment of the present invention, first, data processing platform (DPP) receives application system
The resource inquiry request message of transmission, and resource query response message is returned to the application system, the resource query rings
Answer and the data resource list that the data processing platform (DPP) can be provided is carried in message, the data resource list is by data resource
Interactive interfacing operational format constitute, the interactive interfacing operational format of data resource includes:Mode of operation information and its phase
The |input paramete answered.That is, data processing platform (DPP) is stored with, application system is used for the resource information of operation, works as application
System is received after resource response message, the mode of operation information and corresponding input ginseng in resource query response message
Number, sends mode of operation inquiry request, wherein, mode of operation inquiry request is included according to mode of operation information and correspondence
|input paramete generate filter condition, data processing platform (DPP) receive mode of operation inquiry request after, according to operation side
Mode of operation information and corresponding filter condition in formula inquiry request, inquires about corresponding information and carrying is looked into mode of operation
In asking request response, and the response of mode of operation inquiry request is returned into application system.So as to realize that data processing is put down
Unified management of the platform to discrete application system.Compared with prior art, the technical scheme of the embodiment of the present invention, by setting
Data processing platform (DPP) is put, the data message of separate terminal or application system is managed collectively, it is right to not only contribute to
The management of message, and it is easy to saving and the reasonable distribution of resource.
On the basis of above-described embodiment, in order that the skill of more accurate, the detailed understanding present invention of those skilled in the art
Art scheme, will carry out additional notes based on above-described embodiment to this programme below.
Fig. 2 is referred to, Fig. 2 is the information exchange schematic diagram of another kind of data processing method provided in an embodiment of the present invention,
It should be noted that because this enforcement is the supplement to above-described embodiment, therefore, think with above-described embodiment in the present embodiment
Identical part, refers to the description of above-described embodiment, and here is omitted for the present embodiment.
Referring to Fig. 2, the message being related in figure is management class message, and management class message includes message header and message body two
Part, wherein the message header and message body structure of management class message are as follows:
Field lexical or textual analysis is as follows:
(1)Len:Length, not including itself, including:The length of Reserved, BODY, CRC, scope be 0~
65535bytes;
(2)CRC:Check bit, verification content is Reserved and BODY, meets CCITT CRC-16 algorithms;
(3)Reserved:Retain, equal to 0;
(4)BODY:Message body, message body content adopts the binary-coded JSON data forms of UTF-8, in accordance with
The call format of ECMA-404-2013.
Wherein, BODY forms are summarized as follows:
Sequence:The sequence identification of message, requesting party generates, and responder fills in the order mark of requesting party's generation when returning
Know, the scope of mark is 0-65535, cycle count is proceeded by from 0 again after identifying more than 65535;
Method:The mainly message semantic definition of interacting message, all English, initial caps, all of Method
Message semantic definition must it is globally unique, message semantic definition is undefined in a standard, should increase prefix " Ext. ";
Content:The content of interacting message, the message of return should include that Result and Reason, Result are equal to 0
Represent successfully, other represent failure, the reason for Reason is represented unsuccessfully;
When Content includes Fileter, Fileter represents the filter condition of data interaction, the parameter of filter condition
The operator of itself includes:>、>=,<、<=,=,!=;Conditional operator between parameter and parameter using && and | |
Represent the logical relation of "AND" and "or", Shi Yong && and | | the expression formula of conditional operator is separated with bracket " () ", mistake
Parameter value null represents null value, time format in filter condition:YyyyMMddHHmmss, according to order from left to right,
Yyyy is year, and MM is the moon, and dd is day, and HH is hour, and using 24h standards, mm is minute, and ss is the second.
Wherein, in resource inquiry request message message body form following table:
It is corresponding, the message body format content such as following table of resource query response message:
Operating list therein is the data resource list in the application, and its form includes mode of operation information and corresponding
|input paramete (InputParames).
Wherein, the terminal management in Fig. 2, including client information inquiry, terminal management interface polls, application system is to data
Processing platform sends terminal information inquiry request message, preferably carries filter condition;Data processing platform (DPP) receives end message and looks into
After asking request message, terminal information inquiry response message is returned to application system according to filter condition, inquiry request should be carried
As a result indicate, should include:Success and failure, and the end message in success or failure when fail the reason for, its
In, filter condition is such as:Terminal TID scope, manufacturer terminal etc.;End message should include:Terminal software version number and hard
Part version number;It is space-time in filter condition, data processing platform (DPP) to application system returns all end messages, now terminal
Information should include:Terminal TID, manufacturer terminal code, terminal device model, terminal software version number and hardware version numbers
Deng.
Wherein, the BODY of terminal information inquiry request message is message body content and the following table of form:
The BODY of terminal information inquiry response message is as shown in the table:
When the application system sends the request of terminal management interface polls to the data processing platform (DPP);Wherein preferably carry filtration
Condition, filter condition is such as:Terminal TID scope, manufacturer terminal etc.
The data processing platform (DPP) to the application system returns terminal interface inquiry response, the terminal interface inquiry response
Middle carried terminal interface configuration information;
Management interface query response message, should carry the instruction of inquiry request result, should include:Success and failure, Yi Ji
The configuration information of the management interface of the terminal inquired when successful or failure when fail the reason for, the content of the configuration information
Can be TCP configuration parameter information, including:TCP server address, tcp server port number, maximum receiving data are delayed
Byte number, maximum transmission data buffering byte number are rushed, read data time-out, write data time-out, heart beat cycle etc.;Work as inquiry
Filter condition is space-time in request, and data processing platform (DPP) returns the configuration information of the management interface of all terminals to application system.
The application system carries out terminal hardware by the terminal interface according to the terminal interface configuration information to terminal
Alarm, terminal software down loading updating, and/or, control is restarted in the switching on and shutting down of terminal.
The management interface preferably support terminal remote upgrading, terminal hardware alarm and terminal control, terminal control may include start,
Shut down, restart.
Wherein, management interface inquiry request message body structure is as follows:
The message body structure such as following table of management interface query response message:
When management interface inquiry request exceedes the designated time without response, it is defaulted as 10 seconds, management interface can be resend and looked into
Request message is ask, when overall request time exceedes the designated time, is defaulted as 30 seconds, can be continued with 30 seconds as cycle
Send management interface polls request message;Terminal information inquiry request message can be resend according to failure cause after amendment.
In the same manner, it is to improve request to come into force efficiency, all of request in the application, such as resource inquiry request, end message
All requests such as inquiry request, the inquiry of historical data request, adopt with upper type, i.e., without response or more than the first agreement
(such as 10 seconds) during the response time, request is resend, when overall request time is more than the second designated time (such as 30
Second), request message can persistently be sent with the certain hour cycle (such as 30 seconds), also dependent on failure cause, send
Revised request message.
Wherein, before data processing platform (DPP) receives the resource inquiry request message that application system sends, application system is first
Using username and password logon data processing platform registered in advance, in order to data processing platform (DPP) to corresponding application system
System distribution SID.Specifically, application system sends system login request to data processing platform (DPP), wherein, system login please
Ask middle carrying:One or more in system business type, application system authentication information, when data processing platform (DPP) is received
After system login request, logged according to system login request execution system, and to application system return system logging request
Response, the system login response includes the application system ID i.e. SID of the application system distribution to login successfully, in order to
Application system query resource.After logining successfully, application system can specifically be looked into from data processing platform (DPP) query messages
Inquiry mode refers to the description of above-described embodiment, and here is omitted for the embodiment of the present invention.
Accordingly, when application system inquiry is finished, it is also possible to nullify this login.Specifically, application system can be to number
System logout request is sent according to processing platform, wherein, system logout request includes the SID of the application system, at data
Platform nullifies the listed application system according to SID, and after success is nullified, to application system deregistration is returned.
It should be noted that because the mode of operation message of application system is managed collectively by data processing platform (DPP), working as application
When system carries out data interaction with terminal, need to carry out message transfer by data processing platform (DPP).That is, application system is first
End message can be inquired about from data processing platform (DPP), further according to the end message inquired about, by data processing platform (DPP) to phase
Terminal is answered to send operation information.
It is similar with aforesaid operations process, during application system inquiry end message, send terminal to data processing platform (DPP) first
Information inquiring request, terminal information inquiry request in include query filter condition, wherein, query filter condition include TID,
One or more in manufacturer terminal code, terminal device model, data processing platform (DPP) according to query filter conditional search,
And terminal information inquiry request response is returned, terminal information inquiry response bag contains software version number, the hardware version numbers of terminal
Deng end message.So that terminal downloads update as an example, application system sends down loading updating and notifies request to data processing platform (DPP),
Down loading updating notifies that request includes:The end-filtration condition of software to be updated and download address, to indicate that requesting terminal is entered
Row software upgrading.Data processing platform (DPP) inquires about the terminal of software to be updated according to the end-filtration condition of software to be updated,
And download address is sent into corresponding terminal, so that terminal carries out the down loading updating of software according to download address.Work as terminal
Software download update after the completion of, data processing platform (DPP) can with according to terminal downloads update result, to application system return
Down loading updating push-notification-answer.
Additionally, in order to ensure normally be interacted between application system and data processing platform (DPP), after application system is logined successfully,
Application system and data processing platform (DPP) all should send heartbeat notification to other side.When inadequate resource or when breaking down, at data
Platform to application system sends event notification message, including:One in Case Number, event title, business reasons
Or it is multinomial.
Type of message and corresponding English referred to above is described as follows table:
In above-mentioned message, each Messages Message body content format is specific as follows:
Heartbeat notification message BODY explanation
The BODY of event notification message
The BODY of the inquiry of historical data request message
Example:
Need the data that terminal TID during inquiring about January 1 to 31 days December in 2015 in 2014 is 1, message
Body is as follows:
The BODY of the inquiry of historical data response message
The inquiry of historical data response message BODY explanations
The BODY of real-time multimedia data subscription request message
The BODY of real-time multimedia data subscription response message
The BODY of real time traffic data subscription request message
Example:
Need to subscribe to the real time data that terminal TID is 1 and 2, message body is as follows:
The BODY of real time traffic data subscription response message
Real time traffic data subscribes to the BODY of cancel request message
Real time traffic data subscribes to the BODY for cancelling response message
The BODY of subscription information inquiry request message
The BODY of subscription information query response message
It should be noted that the above-mentioned description to resource inquiry request message and the message body of resource query response message is only
The exemplary description of this programme, message body and resource inquiry request message and the resource query response message of other management message
Message body be similar to, here is omitted for the embodiment of the present invention.
Additionally, in addition to the message shown in Fig. 2, interactive service data interaction is gone back between application system and data processing platform (DPP)
Message, different from the property of management message, service data interaction message is used for transmission history file data, subscribes to or inquire about
The business datum such as business number, real-time multimedia data, according to specific mode of operation inquiry request, data processing platform (DPP)
Between application system, file data should adopt FTP modes;Real-time multimedia data preferably adopts SIP modes;Business number
According to should be transmitted using TCP modes.Therefore, transmission when, the form for being followed also with management class message form not
Together.The message header form of service data interaction message is as shown in the table:
Field lexical or textual analysis is as follows:
(1)Len:Length, not including itself, including:The length of DataReqID, BODY, CRC, scope be 0~
65500bytes;
(2)CRC:Check bit, verification content is DataReqID and BODY, meets CCITT CRC-16 algorithms;
(3)DataReqID:Request of data is identified, and for the mark of the |input paramete of request of data, 0-1024 retains,
1025-40000 is used for the request of data mark subscribed to, and for real-time, interactive and subscription, 40001-65535 is ephemeral data
Mark is sought clearly, is generally used for data query and is used, request-answer-mode;
(4)BODY:Message body, message body content is binary-coded using UTF-8, in accordance with ECMA-404-2013
Call format.
The form of message body content is the content format of the returned data in relevant response message, and the embodiment of the present invention is herein not
Repeat again.
Seen from the above description, a kind of data processing method is embodiments provided, by providing data processing platform (DPP),
Unified management to discrete application system, when data interaction is carried out, adopts the message format for pre-setting, so as to
Enough it is easy to data processing platform (DPP) to be managed collectively different data, compared with prior art, the skill of the embodiment of the present invention
Art scheme not only contributes to the management to message, and is easy to saving and the reasonable distribution of resource.
Corresponding with above-mentioned implementation method, the embodiment of the present invention additionally provides a kind of data processing platform (DPP), referring to Fig. 3,
Fig. 3 is the structural representation of data processing platform (DPP) provided in an embodiment of the present invention, and the platform includes:Receiver module 11,
Sending module 12 and enquiry module 13, wherein, receiver module 11, the resource query for receiving application system transmission please
Seek message;Sending module 12, for returning resource query response message, the resource query response to the application system
The data resource list that the data processing platform (DPP) can be provided is carried in message, the data resource list is by data resource
Interactive interfacing operational format is constituted, and the interactive interfacing operational format of data resource includes:Mode of operation information and its corresponding
|input paramete;In the present embodiment, receiver module 11, the mode of operation for being additionally operable to receive the application system transmission is looked into
Ask request;Enquiry module 13, for the mode of operation information in the mode of operation inquiry request and corresponding filtration
Condition, inquires about corresponding information and carries in the response of mode of operation inquiry request;Sending module 12, being additionally operable to will be described
The response of mode of operation inquiry request returns to the application system.
In the present embodiment, also include:Login module and cancellation module, wherein, in the present embodiment, receiver module 11,
It is additionally operable to receive the system login request that the application system sends;The login module, for according to the system login
Request execution system is logged in, and to application system return system logging request response, is wrapped in the system login response
Include the SID of the application system distribution to login successfully;Receiver module 12, is additionally operable to receive the application system transmission
System logout request, system logout request includes the SID of the application system;The cancellation module, for root
Ask according to the system logout, perform the cancellation of the application system, and return cancellation implementing result.
On the basis of above-described embodiment, in another embodiment, receiver module 11 is additionally operable to receive the application
The terminal information inquiry request that system sends, in the terminal information inquiry request query filter condition, the inquiry are included
Filter condition includes one or more in TID, manufacturer terminal code, terminal device model;Sending module 12, also uses
In the query filter condition in terminal information inquiry request, terminal information inquiry request response, the end are returned
Client information inquiry response includes the end message for meeting the query filter condition, and the end message includes the software of terminal
Version number, hardware version numbers;Receiver module 11, is additionally operable to receive the down loading updating notice request that the application system sends,
To indicate that requesting terminal carries out software upgrading;The down loading updating notifies that request includes:The end-filtration of software to be updated
Condition and download address;Sending module 12, is additionally operable to the end-filtration condition according to the software to be updated, and inquiry is treated more
The terminal of new software, and download address is sent into corresponding terminal, so that the terminal carries out software according to download address
Down loading updating;And result is updated according to terminal downloads, return down loading updating push-notification-answer to the application system.
Additionally, in another embodiment, sending module 12, when being additionally operable to when inadequate resource or breaking down, to described
Application system sends event notification message, including:One or more in Case Number, event title, business reasons;
Or, it is additionally operable to send heartbeat message to the application system;In the present embodiment, receiver module 12, are additionally operable to receive
The heartbeat message that the application system sends.
In described device the function of modules and effect realize process refer to it is corresponding in said method realize process,
This is repeated no more.
Summary, data processing method provided in an embodiment of the present invention and data processing platform (DPP), first, data processing is put down
Platform receives the resource inquiry request message that application system sends, and returns resource query response message to the application system,
The data resource list that the data processing platform (DPP) can be provided, the data resource are carried in the resource query response message
List is made up of the interactive interfacing operational format of data resource, and the interactive interfacing operational format of data resource includes:Operation side
Formula information and its corresponding |input paramete.That is, data processing platform (DPP) is stored with, application system is used for the money of operation
Source information, after application system receives resource response message, according to the mode of operation in the resource query response message
Information and corresponding |input paramete, send mode of operation inquiry request, wherein, the mode of operation inquiry request includes
According to the filter condition that mode of operation information and corresponding |input paramete are generated, data processing platform (DPP) is looked into reception mode of operation
After asking request, the mode of operation information and corresponding filter condition in the mode of operation inquiry request inquires about phase
The information answered simultaneously is carried in the response of mode of operation inquiry request, and mode of operation inquiry request response is returned into institute
State application system.So as to realize unified management of the data processing platform (DPP) to discrete application system.With prior art phase
Than the technical scheme of the embodiment of the present invention, by arranging data processing platform (DPP), by separate terminal or application system
The data message unified management of system, not only contributes to the management to message, and is easy to saving and the reasonable distribution of resource.
The above is only the specific embodiment of the present invention, it is noted that for those skilled in the art
For, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications
Should be regarded as protection scope of the present invention.
Claims (10)
1. a kind of data processing method, it is characterised in that include:
Data processing platform (DPP) receives the resource inquiry request message that application system sends, and returns resource query to the application system and rings
Message is answered, the data resource list that the data processing platform (DPP) can be provided, the data are carried in the resource query response message
The Resources list is made up of the interactive interfacing operational format of data resource, and the interactive interfacing operational format of data resource includes:Operation side
Formula information and its corresponding |input paramete;
Mode of operation information and corresponding |input paramete of the application system in the resource query response message, sends behaviour
Make mode inquiry request, wherein, the mode of operation inquiry request is included according to mode of operation information and corresponding |input paramete
The filter condition of generation;
Mode of operation information and corresponding filter condition of the data processing platform (DPP) in the mode of operation inquiry request, looks into
Ask corresponding information and carry in the response of mode of operation inquiry request, and mode of operation inquiry request response is returned into institute
State application system.
2. method according to claim 1, it is characterised in that wherein, mode of operation information includes:Query history text
Number of packages evidence, subscribing service data, and/or subscription real-time multimedia data;|input paramete is used to indicate what mode of operation was supported
Parameter, the mode of operation inquiry request is the one kind in following request;
Query history file data is asked, and corresponding filter condition includes:Termination ID, time, type of service, manufacturer terminal generation
One or more in code, terminal device model;
Subscription/query traffic data is asked, and corresponding filter condition includes:Termination ID, time, type of service, manufacturer terminal
One or more in code, terminal device model;
Real-time multimedia data request is subscribed to, corresponding filter condition includes Termination ID.
3. method according to claim 2, it is characterised in that
If the mode of operation inquiry request is the request of query history file data, correspondingly, the mode of operation inquiry request is rung
Carrying information includes in answering:Ftp server configuration information, it is described that mode of operation inquiry request response is returned into described answering
After with system, also include:
The application system is asked according to the information carried in mode of operation inquiry request response from the data processing platform (DPP)
History file data to be checked;
If the mode of operation inquiry request is the request of subscription/query traffic data, correspondingly, the mode of operation inquiry request
Information is carried in response to be included:TCP server configuration information, the subscription/query traffic data is asked according in |input paramete
Time determines subscribes to real time traffic data or query history business datum;It is described to return to mode of operation inquiry request response
After the application system, also include:
The application system is subscribed to according to the information carried in mode of operation inquiry request response from the data processing platform (DPP)
/ query traffic data;
If the mode of operation inquiry request is asked to subscribe to real-time multimedia data, correspondingly, the mode of operation inquiry request
Information is carried in response to be included:The configuration information of sip server;It is described that mode of operation inquiry request response is returned into institute
After stating application system, also include:
The application system is subscribed to according to the information carried in mode of operation inquiry request response from the data processing platform (DPP)
Real-time multimedia data.
4. method according to claim 1, it is characterised in that the data processing platform (DPP) receives what application system sent
Before resource inquiry request message, methods described also includes:
The application system to the data processing platform (DPP) sends system login request, carries in the system login request:System
One or more in type of service, application system authentication information;
The data processing platform (DPP) is logged according to the system login request execution system, and is stepped on to the application system return system
Record request response, the system login response includes application system ID of the application system distribution to login successfully;
Methods described also includes:
The application system to the data processing platform (DPP) sends system logout request, and the system logout request includes the application
Systematic difference system identifier;
The processing platform is asked according to the system logout, performs the cancellation of the application system, and returns cancellation implementing result.
5. method according to claim 1, it is characterised in that methods described also includes:
The application system to the data processing platform (DPP) sends the request of terminal management interface polls;The data processing platform (DPP) is to institute
State application system and return terminal interface inquiry response, carried terminal interface configuration information in the terminal interface inquiry response;
The application system carries out terminal hardware announcement by the terminal interface according to the terminal interface configuration information to terminal
Alert, terminal software down loading updating, and/or, control is restarted in the switching on and shutting down of terminal.
6. method according to claim 1, its feature, method also includes:
The application system to the data processing platform (DPP) sends terminal information inquiry request, wraps in the terminal information inquiry request
Condition containing query filter, the query filter condition include Termination ID, manufacturer terminal code, terminal device model in one or
It is multinomial;
The data processing platform (DPP), according to the query filter condition in terminal information inquiry request, returns terminal information inquiry
Request response, the terminal information inquiry response bag is containing the end message for meeting the query filter condition, the terminating packet
Include software version number, the hardware version numbers of terminal.
7. method according to claim 1, it is characterised in that methods described also includes:
When inadequate resource or when breaking down, the data processing platform (DPP) to the application system sends event notification message, including:
One or more in Case Number, event title, business reasons;
And/or;
Methods described also includes:
Heartbeat message is sent between the data processing platform (DPP) and the application system.
8. a kind of data processing platform (DPP), it is characterised in that include:
Receiver module, for receiving the resource inquiry request message of application system transmission;
Sending module, for returning resource query response message to the application system, carries in the resource query response message
The data resource list that the data processing platform (DPP) can be provided, the data resource list operates lattice by the interactive interfacing of data resource
Formula is constituted, and the interactive interfacing operational format of data resource includes:Mode of operation information and its corresponding |input paramete;
The receiver module, is additionally operable to receive the mode of operation inquiry request that the application system sends;
Enquiry module, for mode of operation information and corresponding filter condition in the mode of operation inquiry request, inquiry
Corresponding information is simultaneously carried in the response of mode of operation inquiry request;
The sending module, is additionally operable to for mode of operation inquiry request response to return to the application system.
9. data processing platform (DPP) according to claim 8, it is characterised in that also include:Login module and cancellation module,
Wherein,
The receiver module, is additionally operable to receive the system login request that the application system sends;
The login module, for being logged according to the system login request execution system, and to the application system return system
Logging request is responded, and the system login response includes application system ID of the application system distribution to login successfully;
The receiver module, is additionally operable to receive the system logout request that the application system sends, and wraps in the system logout request
Include application system ID;
The cancellation module, for asking according to the system logout, performs the cancellation of the application system, and returns cancellation execution
As a result.
10. data processing platform (DPP) according to claim 8, it is characterised in that
The receiver module, is additionally operable to receive the terminal information inquiry request that the application system sends, the terminal information inquiry
Query filter condition is included in request, the query filter condition is included in Termination ID, manufacturer terminal code, terminal device model
One or more;
The sending module, the query filter condition being additionally operable in being asked according to the terminal information inquiry returns end message and looks into
Request response is ask, the terminal information inquiry response bag is containing the end message for meeting the query filter condition, the end message
Software version number, hardware version numbers including terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510719252.4A CN106651066B (en) | 2015-10-29 | 2015-10-29 | Data processing method and data processing platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510719252.4A CN106651066B (en) | 2015-10-29 | 2015-10-29 | Data processing method and data processing platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106651066A true CN106651066A (en) | 2017-05-10 |
CN106651066B CN106651066B (en) | 2021-04-30 |
Family
ID=58830117
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510719252.4A Active CN106651066B (en) | 2015-10-29 | 2015-10-29 | Data processing method and data processing platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106651066B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107679116A (en) * | 2017-09-18 | 2018-02-09 | 阿里巴巴集团控股有限公司 | Data processing method and device and electronic equipment |
CN109379353A (en) * | 2018-10-08 | 2019-02-22 | 北京科东电力控制***有限责任公司 | Collecting method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101420681A (en) * | 2008-09-18 | 2009-04-29 | 中兴通讯股份有限公司 | A kind of Business Management Platform is handled the method and apparatus that request is by all kinds of means ordered down |
JP2009253309A (en) * | 2008-04-01 | 2009-10-29 | Yokogawa Electric Corp | Field communication apparatus |
US20090287764A1 (en) * | 2008-05-15 | 2009-11-19 | Motorola, Inc. | Media access control server for radio access network |
CN103533521A (en) * | 2013-09-30 | 2014-01-22 | 重庆梅安森科技股份有限公司 | Coal mine safety monitoring data remote inquiry system and inquiry and early warning method |
CN103874189A (en) * | 2012-12-14 | 2014-06-18 | 北京新媒传信科技有限公司 | Logout method and system for IMS (IP (internet protocol) multimedia subsystem) client |
CN104967652A (en) * | 2015-03-10 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Event subscription method, apparatus and system |
-
2015
- 2015-10-29 CN CN201510719252.4A patent/CN106651066B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009253309A (en) * | 2008-04-01 | 2009-10-29 | Yokogawa Electric Corp | Field communication apparatus |
US20090287764A1 (en) * | 2008-05-15 | 2009-11-19 | Motorola, Inc. | Media access control server for radio access network |
CN101420681A (en) * | 2008-09-18 | 2009-04-29 | 中兴通讯股份有限公司 | A kind of Business Management Platform is handled the method and apparatus that request is by all kinds of means ordered down |
CN103874189A (en) * | 2012-12-14 | 2014-06-18 | 北京新媒传信科技有限公司 | Logout method and system for IMS (IP (internet protocol) multimedia subsystem) client |
CN103533521A (en) * | 2013-09-30 | 2014-01-22 | 重庆梅安森科技股份有限公司 | Coal mine safety monitoring data remote inquiry system and inquiry and early warning method |
CN104967652A (en) * | 2015-03-10 | 2015-10-07 | 腾讯科技(深圳)有限公司 | Event subscription method, apparatus and system |
Non-Patent Citations (1)
Title |
---|
邓妙婷: "e矿山智能管理***的研究及实现", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107679116A (en) * | 2017-09-18 | 2018-02-09 | 阿里巴巴集团控股有限公司 | Data processing method and device and electronic equipment |
CN109379353A (en) * | 2018-10-08 | 2019-02-22 | 北京科东电力控制***有限责任公司 | Collecting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106651066B (en) | 2021-04-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021013058A1 (en) | Exception prompting method, apparatus, system and device for big data product, and medium | |
CN110601876A (en) | Intelligent Internet of things platform | |
EP3617884B1 (en) | Adapter extension for inbound messages from robotic automation platforms to unified automation platform | |
CN102710593B (en) | Method, device and system for publishing message in graph mashup | |
JP6050812B2 (en) | Device management method, apparatus, and system | |
CN101388903B (en) | Mobile enterprise IT standardization management platform | |
CN104636678B (en) | The method and system of management and control is carried out under a kind of cloud computing environment to terminal device | |
CN103138985B (en) | A kind of supporting network business host processes control method and system | |
CN101360129B (en) | Mobile phone short message sending method for network video monitoring system | |
US10495336B2 (en) | Energy operations across domains | |
CN106210099A (en) | Data handling system and method | |
EP3171552A1 (en) | Energy operations across domains | |
CN106993043A (en) | Data communication system and method based on agency | |
CN105490861A (en) | System and method of management of network management device | |
CN103457802A (en) | Information transmission system and method | |
CN113872795A (en) | Intelligent monitoring analysis and fault processing system and method for distributed server | |
CN113162848A (en) | Method, device, gateway and medium for realizing block chain gateway | |
CN115412602A (en) | Data parsing and transferring method, device, equipment and medium for digital twin | |
CN114401284A (en) | Real-time data acquisition and transmission system and method for fixed pollution source treatment working condition | |
CN106651066A (en) | Data processing method and platform | |
CN102984272B (en) | A kind of system of remote control mobile terminal communication capacity and method thereof | |
CN110351674B (en) | System for realizing short message pushing by butting mobile platform | |
CN113743879A (en) | Automatic rule processing method, system and related equipment | |
CN110620819A (en) | Block chain interaction method and device, computer equipment and readable storage medium | |
CN102281584A (en) | Method and system for implementing capability of Internet of things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
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 | ||
CB02 | Change of applicant information |
Address after: 100176 room 502-1, floor 5, building 2, courtyard 10, keguyi street, Beijing Economic and Technological Development Zone, Daxing District, Beijing Applicant after: NEW SINGULARITY INTERNATIONAL TECHNICAL DEVELOPMENT Co.,Ltd. Address before: 100089 Beijing city Haidian District wanquanzhuang Road No. 28 Wanliu new building 6 storey block A room 614 Applicant before: NEW SINGULARITY INTERNATIONAL TECHNICAL DEVELOPMENT Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |