CN108810051A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN108810051A
CN108810051A CN201710305476.XA CN201710305476A CN108810051A CN 108810051 A CN108810051 A CN 108810051A CN 201710305476 A CN201710305476 A CN 201710305476A CN 108810051 A CN108810051 A CN 108810051A
Authority
CN
China
Prior art keywords
data
target data
equipment
target
information
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
CN201710305476.XA
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.)
Siemens AG
Original Assignee
Siemens AG
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 Siemens AG filed Critical Siemens AG
Priority to CN201710305476.XA priority Critical patent/CN108810051A/en
Priority to PCT/EP2018/060140 priority patent/WO2018202440A1/en
Publication of CN108810051A publication Critical patent/CN108810051A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/2871Implementation details of single intermediate entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/289Intermediate processing functionally located close to the data consumer application, e.g. in same machine, in same home or in same sub-network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Computer And Data Communications (AREA)

Abstract

A kind of data transmission method of present invention offer and device, for solving the problems, such as the middleware propagation energy force difference in data service system in the prior art.This method includes:Data transmission device determines that target data generates equipment and determines that target data handles model according to the demand data information of data service, and obtains target data according to target data processing model and handle example;And the initial data that example provides target data generation equipment is handled by the target data and is handled, it obtains target data and is sent to the service equipment that the data service is provided.Therefore, in the case where service equipment extends new data service, it is adjusted or extends without being directed to the data service, the initial data that equipment can be generated to target data is handled, obtain the target data for the demand data for meeting the data service, therefore, the flexibility of this method and adaptability are higher, can meet the demand data of continually changing data service.

Description

Data transmission method and device
Technical field
The present invention relates to field of computer technology more particularly to a kind of data transmission methods and device.
Background technology
Currently, with the development of the communication technology, Internet of Things becomes the trend of generation information technology.Internet of Things can utilize The various communication technologys connect together sensor, controller, equipment etc., and formation is connected with object, information-based, remote to realize Thread management controls and intelligentized network.
In certain Internet of Things (such as industrial Internet of Things), it can be realized to the number in Internet of Things by data service system According to the control management of transmission.In general, can be divided into according to the difference of logic function based on the data service system of Internet of Things Data service layer, middleware layer, resource layer.Wherein, resource layer includes that can generate the various data generating apparatus of data (in object Internet of things equipment is referred to as in networking), such as sensor, controller, data acquisition gateway etc.;Data service layer includes extremely A few data service module, different data service modules can provide different data services to the user, such as:To resource The remote monitoring of the operating condition of data generating apparatus, the tool management of lathe or the flow monitoring of factory etc. in layer;Middleware Layer includes middleware, and middleware is the demand data setting component software for data service module, for obtaining each data The data of the data source (data generating apparatus) of data needed for service module, and send the data to the data service module.
As can be seen from the above description, in the data service system based on Internet of Things, middleware ensure that data generation is set The standby data communication between data service module.
Demand with user to data service is continuously increased and changes, and data service system needs continuous growth data clothes Business, i.e., increase new data service module in data service layer, due to the demand data relative to original data service module, The demand data of new data service module can also change, and therefore, middleware layer also correspondingly needs to be directed to new data New middleware is arranged in service module, this just needs developer's to develop middleware again for new data service module.
Obviously, in traditional data service system, the middleware in middleware layer cannot be according to the data service spirit of extension It extends livingly, propagation energy force difference cannot be satisfied the demand data of continually changing data service.
Invention content
In view of this, the embodiment of the present invention provides a kind of data transfer management method and apparatus, to solve the prior art Middleware propagation energy force difference in middle data service system, cannot be satisfied asking for the demand data of continually changing data service Topic.
In a first aspect, an embodiment of the present invention provides a kind of data transmission method, this method is applied to data service system, Wherein, the data service system includes service equipment, data transmission device and multiple data generating apparatus, the method packet It includes:
The data transmission device obtains the demand data information of a data service, and the demand data information includes mesh Mark the description information of data generating apparatus, the functional circuit information of target data processing example, wherein the target data processing Example is used to handle the target data and generates the initial data that equipment provides, and generates the demand data for meeting the data service Target data;
The data transmission device handles the functional circuit information of example according to the target data, in preset multiple numbers Model is handled according to determining target data in processing model, and Model instantiation is handled to the target data, obtains the target Data processing example;
The data transmission device generates the description information of equipment according to the target data, is generated in the multiple data Determine that the target data generates equipment in equipment;
The data transmission device handles example by the target data and generates what equipment provided to the target data Initial data is handled, and obtains the target data, and described in the service equipment transmission to the offer data service Target data.
In this way, in the case where service equipment extends new data service, the data transmission device is not necessarily to needle The data service is adjusted or is extended, you can with according to the demand data information of data service, quickly and adaptively really Set the goal data processing example and target data generation equipment, so as to realize the initial data for generating equipment to target data It is handled, obtains the target data for meeting the demand data of the data service.Therefore, the flexibility of this method and adaptability Preferably, the demand data of continually changing data service can be met.
Optionally, the data transmission device handles the functional circuit information of example according to the target data, default The multiple data processing model in determine that the target data handles model, including:
The functional circuit information that the data transmission device handles the target data example parses, and obtains described Target data handles the functional circuit information of model;And the functional circuit information of model is handled according to the target data, pre- If the multiple data processing model in determine that the target data handles model;Or
The data transmission device determines and the mesh in the functional circuit information of multiple data processing models of storage The functional circuit information for the target data processing model that the functional circuit information of mark data processing example matches, and according to described Target data handles the functional circuit information of model, and the target data is determined in preset the multiple data processing model Handle model.
By the above method, the data transmission device can accurately determine the institute for the demand data for meeting data service State target data processing model.
Optionally, each data processing model in the multiple data processing model is the mould for building data processing example Plate.
By the above method, the data transmission device is realized to data processing Model instantiation, obtains data processing reality Example.
Optionally, the data transmission device handles Model instantiation to the target data, obtains the target data Example is handled, including:
The data transmission device handles the functional circuit information of example according to the target data, to the target data Model instantiation is handled, the target data processing example is obtained.
It by the above method, is handled in model there are in the case of variable in target data, which can be with The functional circuit information that example is handled according to the target data carries out assignment, to obtain meeting data service to variable The target data of demand data handles example.
Optionally, the data transmission device generates the description information of equipment according to the target data, the multiple Determine that the target data generates equipment in data generating apparatus, including:
The data transmission device determines that the target data generates the number of targets for including in the description information of equipment According to the mark for generating equipment, and in the multiple data generating apparatus, determine that the target data generates the mark pair of equipment The target data answered generates equipment;Or
The data transmission device is determined and is generated with the target data in the description information of multiple data generating apparatus The description information at least one data generating apparatus that the description information of equipment matches, and at least one data are generated At least one data generating apparatus corresponding to the description information of equipment generates equipment as the target data.
By the above method, the data transmission device can accurately determine the institute for the demand data for meeting data service It states target data and generates equipment.
Optionally, described when the demand data information further includes the constraints that the target data generates equipment Target data generates equipment and meets the constraints that the target data generates equipment.
In the huge scene of the number of devices for including in data service system, this method can ensure that data transmission fills Data source can more accurately be determined by setting, and avoiding increasing extra data source, to result in the need for the initial data handled excessive Problem.
Optionally, the data transmission device handles example by the target data and generates equipment to the target data The initial data provided is handled, and the target data is obtained, including:
The data transmission device receives the target data and generates the initial data that equipment is sent, and by described Target data handles after example is filtered processing to the initial data and generates the target data;Or
The data transmission device receives the target data and generates the initial data that equipment is sent, and by described Target data processing example is monitored the initial data, the initial data based on the satisfaction setting trigger condition detected Generate the target data;Or
The target data is handled example deployment to the target data and generates equipment by the data transmission device, and is connect It receives the target data and generates the target data that equipment is sent, the target data is that target data generation equipment is logical It crosses the target data processing example and what the initial data that equipment provides was handled is generated to the target data.
By the above method, the data transmission device can handle example to the number of targets by the target data It is handled according to the initial data that equipment provides is generated, obtains target data and being sent to the service of the data service is provided setting It is standby.
Second aspect, the embodiment of the present invention additionally provide a kind of data transmission device, and the data transmission device is included in Data service system, wherein the data service system further includes service equipment and multiple data generating apparatus, and the data pass Defeated device includes:
Acquisition module, the demand data information for obtaining a data service, the demand data information include target The description information of data generating apparatus, the functional circuit information of target data processing example, wherein the target data processing is real Example generates the initial data that equipment provides for handling the target data, generates the demand data for meeting the data service Target data;
Processing module, the number of targets that the demand data information for being obtained according to the acquisition module includes According to the functional circuit information of processing example, determine that target data handles model in preset multiple data processing models, and right The target data handles Model instantiation, obtains the target data processing example;The institute obtained according to the acquisition module The description information that the target data that demand data information includes generates equipment is stated, in the multiple data generating apparatus Determine that the target data generates equipment;And example is handled by the target data, target data generation equipment is carried The initial data of confession is handled, and the target data is obtained;
Communication module handles to obtain for sending the processing module to the service equipment for providing the data service The target data.
In this way, in the case where service equipment extends new data service, the data transmission device is not necessarily to be directed to the number It is adjusted or extends according to service, you can according to the demand data information of data service, quickly and to adaptively determine target Data processing example and target data generate equipment, so as to realize at the initial data for generating equipment to target data Reason, obtains the target data for meeting the demand data of the data service.Therefore, the flexibility and adaptation of the data transmission device Property is higher, can meet the demand data of continually changing data service.
Optionally, the processing module is in the functional circuit information for handling example according to the target data, preset When determining the target data processing model in the multiple data processing model, it is specifically used for:
The functional circuit information for handling the target data example parses, and obtains the target data processing model Functional circuit information;And the functional circuit information of model is handled according to the target data, in preset the multiple data It handles and determines that the target data handles model in model;Or
In the functional circuit information of multiple data processing models of storage, determine and target data processing example The functional circuit information for the target data processing model that functional circuit information matches, and model is handled according to the target data Functional circuit information, determine that the target data handles model in preset the multiple data processing model.
In this way, the data transmission device can accurately determine the number of targets for the demand data for meeting data service According to processing model.
Optionally, each data processing model in the multiple data processing model is the mould for building data processing example Plate.
By the above method, the data transmission device is realized to data processing Model instantiation, obtains data processing reality Example.
Optionally, the processing module is handling Model instantiation to the target data, obtains at the target data When managing example, it is specifically used for:
The functional circuit information that example is handled according to the target data handles Model instantiation to the target data, Obtain the target data processing example.
In this way, being handled in model there are in the case of variable in target data, which can be according to described Target data handles the functional circuit information of example, assignment is carried out to variable, to obtain the demand data for meeting data service The target data handle example.
Optionally, the processing module is in the description information for generating equipment according to the target data, in the multiple number When according to generating the determining target data generation equipment in equipment, it is specifically used for:
Determine that the target data for including in the description information of the target data generation equipment generates the mark of equipment, And in the multiple data generating apparatus, determine that the target data generates the corresponding target data life of mark of equipment Forming apparatus;Or
In the description information of multiple data generating apparatus, the description information phase that equipment is generated with the target data is determined The description information of matched at least one data generating apparatus, and by the description information institute of at least one data generating apparatus Corresponding at least one data generating apparatus generates equipment as the target data.
In this way, the data transmission device can accurately determine the number of targets for the demand data for meeting data service According to generation equipment.
Optionally, when the demand data information further includes the constraints that the target data generates equipment, the mesh Mark data generating apparatus meets the constraints that the target data generates equipment.
In the huge scene of the number of devices for including in data service system, data transmission device can be more accurately It determines data source, avoids increasing extra data source and result in the need for the excessive problem of the initial data handled.
Optionally, the communication module is additionally operable to receive the initial data that the target data generates equipment transmission;
The processing module is handling example to target data generation equipment (103) offer by the target data Initial data handled, when obtaining the target data, be specifically used for:
Example is handled by the target data, and processing is filtered to the initial data that the communication module receives After generate the target data;Or
Example is handled by the target data to be monitored the initial data that the communication module receives, and is based on Target data described in the Raw Data Generation of the satisfaction setting trigger condition monitored;Or
The target data is handled into example deployment to the target data by the communication module and generates equipment, and is led to It crosses the communication module and receives the target data that the target data generates equipment transmission, the target data is the mesh Mark data generating apparatus by the target data handle example to the target data generate equipment provide initial data into Row processing obtains.
Target data generation is set in this way, the data transmission device can handle example by the target data The standby initial data provided is handled, and is obtained target data and is sent to the service equipment for providing the data service.
The third aspect, the embodiment of the present invention additionally provide a kind of data transmission device, and described device includes:
At least one processor, for storing computer program;
Interface, for sending and receiving data;
At least one processor, for calling the computer program stored in at least one processor, to be based on It states interface and sends and receives the functions of data and execute and carry such as the possible realization method of any one of first aspect or first aspect The method of confession.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable medium, on the computer-readable medium Be stored with computer instruction, the computer instruction when being called by processor, make the processor execute such as first aspect or The method that any possible realization method provides in first aspect.
In technical solution provided in an embodiment of the present invention, data transmission device is obtaining the data for a data service After demand information, the functional circuit information of example can be handled according to the target data in the demand data information, default Multiple data processing models in determine target data handle model, so as to according to the target data handle model obtain Target data handles example;And the data transmission device can also be generated according to the target data in the demand data information The description information of equipment obtains target data and generates equipment;Finally, the data transmission device can pass through the target data Processing example generates the initial data that equipment provides to the target data and handles, and obtains target data and is sent to offer The service equipment of the data service.Therefore, in the case where service equipment extends new data service, through the above scheme, The data transmission device is without being adjusted or extending for the data service, you can with according to the demand data of data service Information quickly and adaptively determines target data processing example and target data generation equipment, so as to realize to target The initial data of data generating apparatus is handled, and the target data for meeting the demand data of the data service is obtained, therefore, The flexibility of data transmission method provided in an embodiment of the present invention and adaptability are preferable, can meet continually changing data service Demand data.
Description of the drawings
Fig. 1 is a kind of structure chart of data service system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of data transmission method provided by the embodiments of the present application;
Fig. 3 is a kind of structure chart of data transmission device provided by the embodiments of the present application;
Fig. 4 is a kind of structure chart of data transmission device provided by the embodiments of the present application.
Reference numerals list:
101:Service equipment 101 102:Data transmission device 103:Data generating apparatus
201:Obtain demand data information 202:Obtain target data processing example
203:Determine that target data generates equipment 204:Send target data
301:Acquisition module 302:Processing module 303:Communication module
401:At least one processor 402:At least one processor
403:Interface 404:Bus
Specific implementation mode
In order to make the purpose, technical scheme and advantage of the embodiment of the present invention be more clearly understood, this hair referring to the drawings Bright embodiment is further described.Wherein, the embodiment of subsequent descriptions is only a part for the embodiment of the present invention, Er Feiquan The embodiment in portion.
A kind of data transmission method of offer of the embodiment of the present invention and device, to solve data service system in the prior art In middleware propagation energy force difference, the problem of cannot be satisfied the demand data of continually changing data service.Wherein, due to method And the principle that device solves the problems, such as is similar, therefore the implementation of apparatus and method can be with cross-reference, overlaps will not be repeated.
In embodiments of the present invention, data transmission device obtain for a data service demand data information after, The functional circuit information that example can be handled according to the target data in the demand data information, in preset multiple data processings It determines that target data handles model in model, target data processing is obtained in fact so as to handle model according to the target data Example;And the data transmission device can also generate the description information of equipment according to the target data in the demand data information, obtain Equipment is generated to target data;Finally, which can handle example to the target data by the target data It generates the initial data that equipment provides to be handled, obtain target data and is sent to the service equipment that the data service is provided. Therefore, in the case where service equipment extends new data service, through the above scheme, which is not necessarily to be directed to and be somebody's turn to do Data service is adjusted or extends, you can according to the demand data information of data service, quickly and to adaptively determine mesh It marks data processing example and target data generates equipment, so as to realize that the initial data for generating equipment to target data carries out Processing, obtains the target data for the demand data for meeting the data service, therefore, transmission side data provided in an embodiment of the present invention The flexibility of method and adaptability are preferable, can meet the demand data of continually changing data service.
The part term in the embodiment of the present invention is explained below, in order to those skilled in the art understand that.
Data service, by the way that the data that data transmission device transmits are handled and analyzed, to provide use to the user The service that family needs.Such as:Fault warning monitors the operating status of motor, the fault diagnosis to equipment and prediction.The data take Business can be deployed in service equipment.
Demand data information, for the semantic description of the demand data to data service.Such as data service is fault warning When, demand data can be to obtain the abnormal work indicated number for specifying motor in running order in region in operation exception According to.Obviously, by above-mentioned example to the description of demand data it is found that comprising to data source (i.e. number of targets in demand data According to generate equipment) demand, and to target data generate equipment provide initial data carry out what kind of processing (i.e. number of targets According to processing example) demand, therefore, indicate demand data demand data information in include at least two contents:Number of targets The functional circuit information of example is handled according to the description information and target data that generate equipment.
Target data generates the description information of equipment, and the target data for describing to provide initial data generates equipment.Number The description information that equipment can be generated by target data according to transmitting device, determines that target data generates equipment.For example, above-mentioned In the data service of fault warning, the description information which generates equipment is in running order motor.Optionally, Can include that target data generates the mark of equipment, title, type, meets item in the description information of target data generation equipment Part etc. can determine the information of specific equipment.
Constraints is defined for generating equipment to target data.Data transmission device, can be with by constraints It more accurately determines data source, avoids increasing extra data source, the problem for causing the initial data handled excessive. For example, in the data service of above-mentioned fault warning, which can be the motor in specified region.In another example When motor includes main drive motor and auxiliary driving motor, constraints can be main drive motor.
The functional circuit information of data processing example, when for describing to realize data service, data processing example needs pair Target data generates the mode that the initial data that equipment provides is handled.Data transmission device handles example by target data Functional circuit information, can in preset multiple data processing models, determine target data handle model, so that it is determined that mesh Mark data processing example.
Data processing model to build the template of data processing example is had at the data of same data processing function The abstract of example is managed, or is a kind of abstract representation of data processing rule.Data processing equipment can be by data processing Model instantiation obtains data processing example.For example, data processing model can be the mistake for indicating to be filtered data processing Filter model, indicate data meet setting trigger condition after generate specify data trigger model, and indicate to data into The multiplied model etc. of row multiplying.
Data processing example is the example of data processing model, for the initial data that processing equipment provides, generates target Data.
It should be noted that by the above-mentioned description to data processing model and data processing example it is found that data processing Model be data processing example is abstracted, and data processing example be data processing model tool as.Optionally, by soft When part realizes data processing model and data processing example, data processing model can be class, and data processing example is object.
In order to which the technical solution for the description embodiment of the present invention being more clear can to the embodiment of the present invention with reference to Fig. 1 The data transmission system of energy illustrates.
The framework of a kind of possible data service system of the embodiment of the present invention shown refering to fig. 1, in the data service In system, including:Service equipment 101, data transmission device 102 and multiple data generating apparatus 103 are (for example, as shown in the figure Data generating apparatus a 103, data generating apparatus b 103, data generating apparatus c 103).
At least one data generating apparatus 103, can generate initial data.Optionally, which generates Can include the various equipment that can generate initial data, such as thermometer, sensor, various data acquisition networks in equipment 103 Close etc..
The data transmission device 102 needs the demand data letter for the data service realized for obtaining service equipment 101 Breath, and according to the description information of the target data generation equipment in the demand data information, determine that target data generates equipment (example Data generating apparatus b103 in such as figure and data generating apparatus c 103), and according to the number of targets in the demand data information According to the functional circuit information of processing example, determine that target data handles model in preset multiple data processing models, to Model can be handled according to the target data, determine and the mesh that the initial data that equipment provides is handled is generated to the target data Data processing example is marked, target data processing example may finally be based on, the initial data is handled, obtained meeting and be somebody's turn to do The target data of the demand data of data service.
The service equipment 101 is analyzed and is handled for obtaining the target data, and to the target data, to for User provides user's service needed.The service equipment 101 can provide at least one data service to the user, and user can be with At any time according to business demand, new data service is extended in the service equipment 101.
Optionally, the data service system can according to comprising each equipment logic function, be divided into data service Layer, middleware layer, resource layer.As shown in Figure 1, the service equipment 101 is deployed in data service layer, data transmission device 102 It is deployed on middleware layer, and at least one data generating apparatus 103 is deployed in resource layer.
Optionally, which may be implemented the data service based on cloud platform.The data transmission device 102 can To realize that the infrastructure that cloud platform provides services (Infrastructure as a Service, IaaS) and platform i.e. clothes The basic functions such as business (Platform-as-a-Service, PaaS), i.e., can pass through IaaS moulds in the data transmission device 102 Block or PaaS modules, realize above-mentioned data-transformation facility.
It should be noted that the division of the service equipment 101 and data transmission device 102 is signal in the embodiment of the present invention Property, there can be other dividing modes in practical implementations.For example, the service equipment 101 and the data transmission device 102 can To be integrated in the same physical equipment, it can also be based on each physical equipment individualism, the embodiment of the present invention does not limit It is fixed.
Using data transmission system provided in an embodiment of the present invention, data transmission device is being obtained for a data service Demand data information after, can according to the target data in the demand data information handle example functional circuit information, It determines that target data handles model in preset multiple data processing models, is obtained so as to handle model according to the target data Example is handled to target data;And the data transmission device can also be generated according to the target data in the demand data information and be set Standby description information obtains target data and generates equipment;Finally, which can be handled real by the target data Example generates the initial data that equipment provides to the target data and handles, and obtains target data and be sent to provide data clothes The service equipment of business.Therefore, in the case where service equipment extends new data service, which is not necessarily to be directed to and be somebody's turn to do Data service is adjusted or extends, and quickly and can adaptively determine mesh according to the demand data information of data service It marks data processing example and target data generates equipment, so as to realize that the initial data for generating equipment to target data carries out Processing, obtains the target data for the demand data for meeting the data service, therefore, data service system provided in an embodiment of the present invention The flexibility of system and adaptability are preferable, can meet the demand data of continually changing data service, in addition, the data service system System can also reduce the complexity for safeguarding middleware layer.
As shown in fig.2, an embodiment of the present invention provides a kind of data transmission method, this method is suitable for as shown in Figure 1 Data service system in, below by data transmission device 102 execute this method for, the flow of this method is illustrated. Method shown in Fig. 2 includes the following steps:
Step 201:Data transmission device 102 obtains the demand data information of a data service, the demand data information Including target data generates the description information of equipment 103, target data handles the functional circuit information of example, wherein the target Data processing example is used to handle the target data and generates the initial data that equipment 103 provides, and generation meets the data service The target data of demand data;
Optionally, data transmission device 102 can be, but not limited to obtain the number of the data service by following two modes According to demand information:
First way:The data transmission device 102, which receives, provides the number that the service equipment 101 of the data service is sent According to demand information;
The second way:The data transmission device 102 obtains the demand data of user setting or the data service of input Information.
Optionally, which can carry file (such as the document (Document, doc) in setting type File, text file (Textfile, txt), resource description framework (Resource Description Framework, RDF) In file or extensible markup language (Extensible Markup Language, XML) file, the data transmission device 102 can obtain the demand data information by obtaining this document.
Since the demand data information is the semantic description to the demand data of the data service, data service not In same scene, the demand data information is also different, below by taking scene one and scene two as an example, is carried out to the demand data information Explanation.
Scene one:The data service is the abnormal temperature according to machine, and fault diagnosis is carried out to machine.In this scenario, The temperature data of the machine is acquired by the thermometer of installation on this machine.
In scene one, the target data for including in the demand data information of the data service generates retouching for equipment 103 It includes in following that state information, which can be the semanteme that the description information that following content or the target data generate equipment 103 includes, Hold:The thermometer of machine in running order;
Correspondingly, the function description for the target data processing example for including in the demand data information of the data service Information can be that the semanteme that the functional circuit information of following content or target data processing example includes includes in following Hold:Collecting temperature is higher than 400 degrees Celsius (DEG C) and the temperature data less than 50 DEG C.
Scene two:The data service is the vibration data according to motor, carries out fault warning.In this scenario, the machine Vibration data be to be acquired by the vibrating sensor on motor.
In scene two, the description information which generates equipment 103 can be following content or the number of targets The semanteme that description information according to generation equipment 103 includes includes following content:The biography of motor in running order Sensor;
Correspondingly, the functional circuit information of target data processing example can be following content or the target data The semanteme that the functional circuit information of processing example includes includes following content:When vibration data is more than setting value, one is generated Alarm information.
Optionally, since the manifestation mode of the semantic description of things is more flexible, it is in embodiments of the present invention and unlimited The target data generates the description information of equipment 103 in the fixed demand data information, the function of target data processing example is retouched The manifestation mode for stating information can be the form of expression in upper example, can also have other forms of expression, not make to this application It limits.In addition the embodiment of the present invention does not limit description information and the target data processing that the target data generates equipment 103 yet Whether the manifestation mode of the functional circuit information of example is identical.
The data transmission device can generate equipment 103 after obtaining the demand data information by the target data Description information determines that one or more target data generates equipment 103 in multiple data generating apparatus 103, and can lead to The functional circuit information for crossing target data processing example determines that target data is handled in preset multiple data processing models Model, and then model is handled according to target data and determines that target data handles example, equipment is generated to the target data to realize 103 initial data provided carry out respective handling.
Step 202:The data transmission device 102 handles the functional circuit information of example according to the target data, default Multiple data processing models in determine target data handle model, and to the target data handle Model instantiation, be somebody's turn to do Target data handles example.
Due to according to the above-mentioned description to data processing model it is found that data processing model is the abstract of data processing rule It indicates, therefore, the number which can may use according to common data processing method, current data service According to processing method, it is abstracted or infers multiple data processing rules, for example, filtration treatment, triggering processing, multiplication process, addition Processing etc.;Then multiple data processing models are set indicate data processing rule.Correspondingly, data processing model is filter module Type, trigger model, multiplied model, addition model etc..
Optionally, since data processing model is abstract data processing rule, certain data processing models have The feature shared in multiple data processing examples, and data transmission device 102 instantiates the data processing model, can obtain Multiple data processing examples therefore can be with comprising variable, in this way, the data processing model is in example in the data processing model During change, different assignment can be carried out to variable according to demand data, to obtain different data processing examples.
Optionally, certain data processing models can also be and be obtained according to a data processing example is abstract, and data Transmitting device 102 instantiates the data processing model, can obtain a data processing example.Therefore, the data processing mould Variable is not present in type, only exists constant.In this way, the data processing model in instantiation process, need not carry out constant The data processing example of assignment, generation is more single.
Such as above-mentioned filtering model could be provided as:Condition will be met, and (condition is variable, needs to assign in instantiation Value) data filtering come out.Or the filtering model could be provided as:Setting condition will be met, and (condition is constant, in example When change be not necessarily to assignment) data filtering come out.
Optionally, in the data transmission device 102, it is stored with multiple data processing model.In this way, the data transmission Device 102 can be found corresponding according to the demand data information of different data services in multiple data processing models Target data handles model, and then obtains corresponding data processing example, and equipment is generated to respective target data to realize 103 initial data provided are handled, and the target data for meeting the demand data of different data services is obtained.
In addition, multiple data processing models are stored in the data transmission device 102, it is convenient for the data transmission device pair Multiple data processing models of storage such as are added, change or delete at the management.
Optionally, which can be, but not limited in the following manner, in preset multiple data processings Determine that the target data handles model in model:
First way:In the case where the data transmission device 102 has the function of semantic parsing, the data transmission device 102 functional circuit informations that can handle the target data example parse, and obtain the work(of target data processing model It can description information;And the functional circuit information of model is handled according to the target data, in preset multiple data processing model The middle determination target data handles model.
Still by taking the target data in above-mentioned scene one and scene two handles the functional circuit information of example as an example, to which Under, which carries out parsing to the functional circuit information of target data processing example and illustrates:
The functional circuit information of example is handled in the target data of scene one to be:Collecting temperature is higher than 400 DEG C and low In 50 DEG C of temperature data.So the data transmission device 102 carries out semantic parsing to it, can obtain target data processing mould The functional circuit information of type, for example, filtering out the temperature data between 50 DEG C to 400 DEG C;Or filter out portion temperature data.
The functional circuit information of example is handled in the target data of scene two to be:It is more than setting value in vibration data When, generate an alarm information.So the data transmission device 102 carries out semantic parsing to it, can obtain at target data The functional circuit information of model is managed, for example, monitoring vibration data, when determining that vibration data meets condition, triggering generates one Fixed data;Or monitoring vibration data, when determining that vibration data is greater than the set value, triggering generates alarm information;
In this approach, which can handle the function description of model according to the target data of acquisition The functional circuit information of information and preset multiple data processing models is matched, by the data processing model of successful match The corresponding data processing model of functional circuit information handles model as target data;Alternatively, the data transmission device 102 can be with The functional circuit information for continuing to handle the target data of acquisition model carries out semantic parsing, obtains label information therein, so And match obtained label information with the label information of preset multiple data processing models, by the data of successful match The corresponding data processing model of label information for handling model handles model as target data.
For example, in scene one kind, the function which can handle model according to the target data describes Label information in information, such as " filtering ", " 50 DEG C to 400 DEG C " determine the mesh in preset multiple data processing models Mark data processing model.
The second way:The data transmission device 102 in the functional circuit information of multiple data processing models of storage, Determine the functional circuit information for the target data processing model that the functional circuit information with target data processing example matches, And the functional circuit information of model is handled according to the target data, the target is determined in preset multiple data processing model Data processing model.
Optionally, in the above method, which can be, but not limited to by the following method, realize number The matching process of the functional circuit information of example is handled according to the functional circuit information and target data of processing model:
First method:In the case where the data transmission device 102 has the function of semantic parsing, the data transmission device 102 functional circuit informations that can handle the functional circuit information of data processing model and target data example respectively carry out language Justice analysis, judgement includes both identical semanteme, or can realize that the function of identical function or data processing model is retouched The specific data that the functional circuit information of target data processing example describes may be implemented in the data processing rule for stating information description Processing method.
For example, in above-mentioned scene two, the functional circuit information of target data processing example is:It is more than to set in vibration data When definite value, an alarm information is generated;The functional circuit information of certain data transfer model is also:When the big Mr. Yu's numerical value of data, touch A fixed news occur into.So the data transmission device 102 can be determined by semantic analysis:Data transfer model describes Data processing rule may be implemented target data processing example description specific data processing method, hence, it can be determined that two Person matches.
Second method:The data transmission device 102 safeguards a knowledge base, includes data processing example in the knowledge base Functional circuit information and data processing model functional circuit information correspondence, in this way, the data transmission device 102 can By the correspondence, to realize the functional circuit information of data processing model and the function description letter of target data processing example The matching of breath.
Variable is not present in the third method in data processing model, i.e. data processing model is not necessarily to tool in instantiation In the case of body, illustrate that data processing model shows also a specific data processing method.In this case, the data Transmitting device 102 can determine whether to match by judging whether two kinds of description informations are identical.
It should be noted that in the functional circuit information of data processing model and the functional circuit information of data processing example Representation difference in the case of, for example, the functional circuit information of data processing example is:Collecting temperature higher than 400 DEG C and Temperature data less than 50 DEG C;And the functional circuit information of data processing model is collecting temperature (temperature)≤50 DEG C, Or the temperature data of≤temperature >=400 DEG C.At this point, the data transmission device 102 is also needed to data processing example Semantic conversion is carried out one of in the functional circuit information of functional circuit information or data processing model, makes the expression of the two Mode is identical.
In a kind of realization method, each data processing model in multiple data processing model can be, but not limited to as structure Build the template of data processing example.In this way, the data transmission device 102 can instantiate to obtain at least based on data processing model One data processing example, so as to realize neatly data processing by data processing example.
In a kind of realization method, in the case where target data handles and variable is not present in model, the data transmission device Target data processing Model instantiation directly can be obtained the target data by 102 handles example, is at this moment not necessarily to the target Data processing model carries out assignment.
Handled in model there are in the case of variable in target data, the data transmission device 102 to the target data at Model instantiation is managed, may include handling as follows when obtaining target data processing example:
The functional circuit information that example is handled according to the target data handles Model instantiation to the target data, obtains The target data handles example.
Optionally, in the above-mentioned methods, which can determine needs to assign in target data processing model The variable of value obtains the value of variable, finally, to this then in the functional circuit information that the target data handles example When target data handles Model instantiation, the value of the variable of acquisition is assigned to the variable in target data processing model, from And obtain target data processing example.
For example, in above-mentioned scene one, the functional circuit information of target data processing example is:Collecting temperature is higher than 400 DEG C and the temperature data less than 50 DEG C;Target data processing model functional circuit information be:By the data filtering for the condition that meets Out.So the data transmission device 102 is it needs to be determined that the variable in target data processing model is " data ", " condition "; The data transmission device 102 obtains the value of each variable in the functional circuit information that the target data handles example:" number According to " value be " temperature data ", the value of " condition " is " temperature higher than 400 DEG C and be less than 50 DEG C ";The data transmission device 102 are assigned to the value of the variable of acquisition the variable in target data processing model, real to obtain target data processing Example:Temperature data of the temperature higher than 400 DEG C and less than 50 DEG C will be met to filter out.
Optionally, when by software realization data processing model and data processing example, data processing model can be Class, and data processing example is object, in this case, data transmission device 102 carries out target data processing model real Exampleization handles example with target data processing model creation target data.
Step 203:Data transmission device 102 generates the description information of equipment 103 according to the target data, in multiple data It generates and determines that the target data generates equipment 103 in equipment 103.
Optionally, which can be, but not limited in the following manner, execute above-mentioned steps 203:
First way:Include in the description information of the data transmission device 102 determination target data generation equipment 103 The target data generate the mark of equipment 103 and determine that the target data generates and in multiple data generating apparatus 103 Corresponding target data of mark of equipment 103 generates equipment 103;
The second way:The data transmission device 102 in the description information of multiple data generating apparatus 103, determine with The description information at least one data generating apparatus 103 that the description information of target data generation equipment 103 matches, and will At least one data generating apparatus 103 corresponding to the description information of at least one data generating apparatus 103 is used as the target Data generating apparatus 103.
In the above-mentioned second way, which can realize that any one data is given birth to by the following method The description information of forming apparatus 103 and the target data generate the matched process of description information of equipment 103:
In the case where the data transmission device 102 has the function of semantic parsing, which can distinguish The description information that description information and the target data to any one data generating apparatus 103 generate equipment 103 carries out semanteme Analysis judges whether the equipment described in the semanteme of the two is identical.
Since in certain scenes, the number of devices for including in data service system is huge, directly pass through above-mentioned several sides The quantity that the target data that formula determines generates equipment 103 may be still larger, in order to ensure that the data transmission device 102 can be more Data source is accurately determined, avoids increasing extra data source and results in the need for the excessive problem of the initial data handled, it can Additionally to carry the constraints that target data generates equipment 103 in the demand data information, target data generates equipment 103 Constraints be, for example, physical location in specified region data generating apparatus 103, or be deployed on main drive motor Data generating apparatus 103 etc..When the demand data information further includes the constraints that the target data generates equipment 103, The target data generates equipment 103 and needs to meet the constraints.
It is used to describe multiple data in data service system when some can also be stored in the data transmission device 102 The metadata of equipment 103 is generated, the metadata of each data generating apparatus 103 is included at least with the next item down:Each data generate Which machine the physical location at the place of equipment 103, each data generating apparatus 103 are mounted on, and each data generation is set Whether standby 103 data for acquiring those types, each data generating apparatus 103 have data processing function etc..In the number When according to demand information further including the constraints that the target data generates equipment 103, which can be according to depositing The metadata of storage determines that the target data for meeting the constraints generates equipment 103.
The data transmission device 102 determine the target data generate equipment 103 after, the data transmission device 102 with should Target data generates equipment 103 and establishes communication connection, and it is logical to carry out data with target data generation equipment 103 with guarantee Letter obtains the target data and generates the initial data that equipment 103 provides.
Step 204:Data transmission device 102 handles example by the target data and generates equipment 103 to the target data The initial data of offer is handled, and obtains the target data, and send the mesh to the service equipment 101 for providing the data service Mark data.
A kind of realization method can be:The data transmission device 102, can be by the target data when executing step 204 Example deployment is handled in the data transmission device 102, and receives the target data and generates the original number that equipment 103 is sent According to, and example is handled by the target data, processing is filtered to the initial data, to generate the target data.
Another realization method can be:The data transmission device 102 receives the target data and generates what equipment 103 was sent The initial data, and example is handled by the target data, the initial data is monitored, determining initial data satisfaction When setting trigger condition, the target data is generated.
Optionally, which can handle example deployment when executing step 204 by the target data In the target data generates equipment 103, in this way, the target data generates equipment 103 after generating initial data, it can pass through Target data processing example is directly handled the initial data, obtains target data, the number of targets that then will be obtained According to the data transmission device 102 is sent to, which receives the target data and generates being somebody's turn to do for the transmission of equipment 103 Target data, to obtain the target data.
Using data transmission method provided in an embodiment of the present invention, data transmission device is being obtained for a data service Demand data information after, can according to the target data in the demand data information handle example functional circuit information, It determines that target data handles model in preset multiple data processing models, is obtained so as to handle model according to the target data Example is handled to target data;And the data transmission device can also be generated according to the target data in the demand data information and be set Standby description information obtains target data and generates equipment;Finally, which can be handled real by the target data Example generates the initial data that equipment provides to the target data and handles, and obtains target data and be sent to provide data clothes The service equipment of business.Therefore, in the case where service equipment extends new data service, through the above scheme, the data transmission Device is without being adjusted or extend for the data service, you can with according to the demand data information of data service, it is quick and It adaptively determines target data processing example and target data generates equipment, equipment is generated to target data so as to realize Initial data handled, obtain the target data for the demand data for meeting the data service, therefore, the embodiment of the present invention carries The flexibility of the data transmission method of confession and adaptability are preferable, can meet the demand data of continually changing data service.
Based on above example, the embodiment of the present invention additionally provides a kind of data transmission method example, which can be based on Data transmission device 102 in data service system shown in FIG. 1 is realized.In this example, the service in data service system Equipment 101 extends a new data service --- the root mean square of the vibration data of detection main drive motor, with monitoring motor Life cycle curve.The specific implementation flow of the data transmission set includes:
The service equipment 101 generates the demand data information of the data service according to the demand data of the data service, Include:Target data generates the description information of equipment 103:The data acquisition being connected with the vibrating sensor on motor Gateway;Target data handles the functional circuit information of example:In motor run with load, the vibration data of motor and calculating are acquired The root mean square of vibration data;And target data generates the constraints of equipment 103:Main drive motor.
The demand data information of generation is sent to the data transmission device 102 by the service equipment 101;
The data transmission device 102 is after obtaining the demand data information, according to the data processing mould stored in knowledge base The corresponding relationship of the functional circuit information of type and the functional circuit information of data processing example is determined and is handled with the target data Target data that the functional circuit information of example matches processing model functional circuit information " when motor speed is not zero, and Load acquires the vibration data of motor and calculates the root mean square of vibration data when being not zero ", so can be according to target data at The functional circuit information of reason model determines that target data handles model;And the description that equipment 103 is generated according to the target data is believed Breath, target data generate equipment 103 constraints, determine target data generate equipment 103 be " with mounted on main drive motor On the connected data acquisition gateway of vibrating sensor ";
The data transmission device 102 handles Model instantiation to the target data, obtains target data processing example --- It triggers example and (sets trigger condition meeting:Motor speed is not zero, and load is when being not zero, the vibration of triggering collection motor Data and the root mean square for calculating vibration data), which handles example deployment to the target by the target data In data generating apparatus 103.
The target data generates equipment 103 and handles example according to the target data, determines and meets the trigger condition in determination When, the vibration data of triggering collection motor and the root mean square for calculating vibration data.
The target data generates equipment 103 after obtaining the root mean square of vibration data, and the root mean square of the vibration data is sent out The data transmission device 102 is given, which is forwarded to service equipment 101 by the root mean square of vibration data again, So that the service equipment 101 realizes the data service.
In above-mentioned data transmission method example, when service equipment 101 needs to extend new data service, data transmission Device 102 is without being adjusted or extend for the data service, you can with according to the demand data information of data service, quickly And target data processing example and target data generation equipment 103 are adaptively determined, target data is given birth to so as to realize The initial data that forming apparatus 103 provides carries out alignment processing, obtains the target data for the demand data for meeting the data service, because This, the flexibility of data transmission method provided in an embodiment of the present invention and adaptability are preferable, can meet continually changing number According to the demand data of service.
Based on above example, the embodiment of the present application also provides a kind of data to being arrived involved in above method embodiment A kind of optional realization method of transmitting device 102, as shown in fig.3, the data transmission device 102 may include:Acquisition module 301, processing module 302 and communication module 303, wherein
Acquisition module 301, the demand data information for obtaining a data service, the demand data information include target The description information of data generating apparatus 103, the functional circuit information of target data processing example, wherein target data processing Example is used to handle the target data and generates the initial data that equipment 103 provides, and generates the demand data for meeting the data service Target data;
Processing module 302, is used for:
The target data that the demand data information obtained according to the acquisition module 301 includes handles the function of example Description information determines that target data handles model in preset multiple data processing models, and handles mould to the target data Type instantiates, and obtains target data processing example;
The target data that the demand data information obtained according to the acquisition module 301 includes generates equipment 103 Description information determines that the target data generates equipment 103 in multiple data generating apparatus 103;
The initial data that example provides target data generation equipment 103 is handled by the target data to handle, Obtain the target data;
Communication module 303, for sending the processing module 302 processing to the service equipment 101 for providing the data service The obtained target data.
Optionally, which is somebody's turn to do in the functional circuit information for handling example according to the target data preset When determining target data processing model in multiple data processing models, it is specifically used for:
The functional circuit information for handling the target data example parses, and obtains the work(of target data processing model It can description information;And the functional circuit information of model is handled according to the target data, in preset multiple data processing model The middle determination target data handles model;Or
In the functional circuit information of multiple data processing models of storage, the work(with target data processing example is determined The functional circuit information for the target data processing model that energy description information matches, and according to the work(of target data processing model Energy description information determines that the target data handles model in preset multiple data processing model.
Optionally, each data processing model in multiple data processing model is the mould for building data processing example Plate.
Optionally, the processing module 302 is handling Model instantiation to the target data, is obtaining target data processing When example, it is specifically used for:
The functional circuit information that example is handled according to the target data handles Model instantiation to the target data, obtains The target data handles example.
Optionally, the processing module 302 is in the description information for generating equipment 103 according to the target data, in multiple number When according to generating determining target data generation equipment 103 in equipment 103, it is specifically used for:
Determine that the target data for including in the description information of target data generation equipment 103 generates the mark of equipment 103 Know, and in multiple data generating apparatus 103, determines that the target data generates corresponding number of targets of mark of equipment 103 According to generation equipment 103;Or
In the description information of multiple data generating apparatus 103, determine that the description that equipment 103 is generated with the target data is believed The description information of the matched at least one data generating apparatus of manner of breathing 103, and retouching at least one data generating apparatus 103 It states at least one data generating apparatus 103 corresponding to information and generates equipment 103 as the target data.
Optionally, when which further includes the constraints that the target data generates equipment 103, the number of targets Meet the constraints that the target data generates equipment 103 according to equipment 103 is generated.
Optionally, which is additionally operable to receive the initial data that the target data generates the transmission of equipment 103;
The processing module 302 is handling what example provided target data generation equipment (103) by the target data Initial data is handled, and when obtaining the target data, is specifically used for:
The initial data received to the communication module 303 by target data processing example is filtered life after processing At the target data;Or
The initial data that example receives the communication module 303 is handled by the target data to be monitored, based on prison The Raw Data Generation target data of the satisfaction setting trigger condition measured;Or
The processing module 302 is specifically used for the target data handling example deployment to target data generation equipment 103;
The target data is handled into example deployment to the target data by the communication module 303 and generates equipment 103, and is led to It crosses the communication module 303 and receives the target data that the target data generates the transmission of equipment 103, which is the number of targets The initial data progress that example generates the target data offer of equipment 103 is handled by the target data according to equipment 103 is generated What processing obtained.
Data transmission device provided in an embodiment of the present invention obtain for a data service demand data information after, The functional circuit information that example can be handled according to the target data in the demand data information, in preset multiple data processings It determines that target data handles model in model, target data processing is obtained in fact so as to handle model according to the target data Example;And the data transmission device can also generate the description information of equipment according to the target data in the demand data information, obtain Equipment is generated to target data;Finally, which can handle example to the target data by the target data It generates the initial data that equipment provides to be handled, obtain target data and is sent to the service equipment that the data service is provided. Therefore, in the case where service equipment extends new data service, through the above scheme, which is not necessarily to be directed to and be somebody's turn to do Data service is adjusted or extends, you can according to the demand data information of data service, quickly and to adaptively determine mesh It marks data processing example and target data generates equipment, so as to realize that the initial data for generating equipment to target data carries out Processing, obtains the target data for the demand data for meeting the data service, therefore, data transmission dress provided in an embodiment of the present invention The flexibility and adaptability set are preferable, can meet the demand data of continually changing data service.
It should be noted that being schematical to the division of module in the embodiments of the present invention, it is considered as one kind and patrols It collects function to divide, formula that in actual implementation, there may be another division manner.Each module in embodiments of the present invention can be integrated in Can also be modules individualism in one processing module, can also two or more modules be integrated in a mould In block.The form that hardware had both may be used in above-mentioned integrated module is realized, can also be realized in the form of SFU software functional unit.
Another realization method of above-mentioned data transmission device 102 is seen shown in Fig. 4, which can To include:At least one processor 401, at least one processor 402 and interface 403, wherein
At least one processor 401, at least one processor 402 and the interface 403, it is mutual by bus 404 Connection;The bus 404 can be that Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) is total Line or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..This is total Line 404 can be divided into address bus, data/address bus, controlling bus etc..For ease of indicating, only indicated with a thick line in Fig. 4, but It is not offered as only a bus or a type of bus.
The interface 403, for in data service system other equipment (such as target data generate equipment 103, service Equipment 101 etc.) carry out communication interaction.
At least one processor 402, for realizing data transmission method as shown in Figure 2, including:
The demand data information of a data service is obtained, which includes that target data generates equipment 103 Description information, target data processing example functional circuit information, wherein target data processing example is for handling the mesh The initial data that data generating apparatus 103 provides is marked, the target data for the demand data for meeting the data service is generated;
The functional circuit information that example is handled according to the target data determines mesh in preset multiple data processing models Data processing model is marked, and Model instantiation is handled to the target data, obtains target data processing example;
The description information that equipment 103 is generated according to the target data determines the mesh in multiple data generating apparatus 103 Mark data generating apparatus 103;
The initial data that example provides target data generation equipment 103 is handled by the target data to handle, The target data is obtained, and the target data is sent to the service equipment 101 for providing the data service by the interface 403.
Optionally, at least one processor 402, according to the target data handle example functional circuit information, When determining target data processing model in preset multiple data processing model, it is specifically used for:
The functional circuit information for handling the target data example parses, and obtains the work(of target data processing model It can description information;And the functional circuit information of model is handled according to the target data, in preset multiple data processing model The middle determination target data handles model;Or
In the functional circuit information of multiple data processing models of storage, the work(with target data processing example is determined The functional circuit information for the target data processing model that energy description information matches, and according to the work(of target data processing model Energy description information determines that the target data handles model in preset multiple data processing model.
Optionally, at least one processor 402 is handling Model instantiation to the target data, is obtaining the number of targets When according to processing example, it is specifically used for:
The functional circuit information that example is handled according to the target data handles Model instantiation to the target data, obtains The target data handles example.
Optionally, at least one processor 402, in the description information for generating equipment 103 according to the target data, at this When determining that the target data generates equipment 103 in multiple data generating apparatus 103, it is specifically used for:
Determine that the target data for including in the description information of target data generation equipment 103 generates the mark of equipment 103 Know, and in multiple data generating apparatus 103, determines that the target data generates corresponding number of targets of mark of equipment 103 According to generation equipment 103;Or
In the description information of multiple data generating apparatus 103, determine that the description that equipment 103 is generated with the target data is believed The description information of the matched at least one data generating apparatus of manner of breathing 103, and retouching at least one data generating apparatus 103 It states at least one data generating apparatus 103 corresponding to information and generates equipment 103 as the target data.
Optionally, at least one processor 402 sets target data generation handling example by the target data Standby 103 initial data provided are handled, and when obtaining the target data, are specifically used for:
The target data is received by interface 403 and generates the initial data that equipment 103 is sent, and passes through the target data Processing example is filtered processing to the initial data, generates the target data;Or
The target data is received by interface 403 and generates the initial data that equipment 103 is sent, and passes through the target data Processing example is monitored the initial data, when determining that the initial data meets setting trigger condition, generates the number of targets According to;Or
The target data is handled into example deployment to the target data by interface 403 and generates equipment 103, and passes through interface 403, which receive the target data, generates the target data that equipment 103 is sent, which is that the target data generates equipment 103 handle example by the target data generates what the initial data that equipment 103 provides was handled to the target data.
Optionally, at least one processor 401, transmits program for storing data.Specifically, which may include Program code, the program code include computer-managed instruction.At least one processor 401 may include at least one random Access memory (Random Access Memory, RAM), it is also possible to further include at least one nonvolatile memory (non- Volatile memory), e.g. at least one disk.Wherein at least one processor 402 calls at least one processor Above-mentioned function may be implemented in the data distributing program stored in 401, to realize data transmission method as shown in Figure 2.
Data transmission device provided in an embodiment of the present invention obtain for a data service demand data information after, The functional circuit information that example can be handled according to the target data in the demand data information, in preset multiple data processings It determines that target data handles model in model, target data processing is obtained in fact so as to handle model according to the target data Example;And the data transmission device can also generate the description information of equipment according to the target data in the demand data information, obtain Equipment is generated to target data;Finally, which can handle example to the target data by the target data It generates the initial data that equipment provides to be handled, obtain target data and is sent to the service equipment that the data service is provided. Therefore, in the case where service equipment extends new data service, through the above scheme, which is not necessarily to be directed to and be somebody's turn to do Data service is adjusted or extends, you can according to the demand data information of data service, quickly and to adaptively determine mesh It marks data processing example and target data generates equipment, so as to realize that the initial data for generating equipment to target data carries out Processing, obtains the target data for the demand data for meeting the data service, therefore, data transmission dress provided in an embodiment of the present invention The flexibility and adaptability set are preferable, can meet the demand data of continually changing data service.
The embodiment of the present invention additionally provides a kind of computer-readable medium, and storage is for making one on the computer-readable medium Machine executes the computer instruction of PaaS platform management method as described herein.Specifically, it can provide equipped with the computer The system or device of readable medium store realize any embodiment in above-described embodiment on the computer-readable medium The software program code of function, and make computer (or central processing unit (the Central Processing of the system or device Unit, CPU) or microprocessor (Micro Processor Unit, MPU)) read and execute the journey being stored in a storage medium Sequence code.
In this case, it is real that any one of above-described embodiment can be achieved in the program code itself read from storage medium The function of example is applied, therefore the storage medium of program code and storage program code constitutes a part for the embodiment of the present invention.
Storage medium embodiment for providing program code includes floppy disk, hard disk, magneto-optic disk, CD (such as CD-ROM Driver (Compact Disc Read-Only Memory, CD-ROM), compact disc recordable (Compact Disk- Recordable, CD-R), erasable optical disk (Compact Disk-ReWritable, CD-RW), digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM), digital versatile disc random access memory (Digital Versatile Disc-Random Access Memory, DVD-RAM), rewritable digital versatile disc (Digital Versatile Disc ± ReWritable, DVD ± RW) etc.), tape, non-volatile memory card and read-only memory (Read- Only Memory, ROM).Selectively, can by communication network from server computer download program code.
Further, it should be apparent that not only can be by executing the program code read-out by computer, but also can pass through Instruction based on program code makes operating system of calculating hands- operation etc. to complete partly or completely practical operation, thus Realize the function of any one of above-described embodiment embodiment.
Further, it is to be appreciated that the program code read by storage medium to be write to the expansion board being inserted into computer In in set memory or write in the memory being arranged in the expanding element being connected with computer, be then based on journey The instruction of sequence code makes the CPU etc. in expansion board or expanding element come execution part and whole practical operations, to Realize the function of any embodiment in above-described embodiment.
It should be noted that step and module not all in above-mentioned each flow and each system construction drawing is all necessary , certain steps or module can be ignored according to the actual needs.Each step execution sequence be not it is fixed, can be according to need It is adjusted.System structure described in the various embodiments described above can be physical arrangement, can also be logical construction, that is, have A little modules may be realized by same physical entity, be realized by least two physical entities alternatively, some modules may divide, alternatively, It can jointly be realized by certain components at least two autonomous devices.
In the above various embodiments, hardware cell mechanically or can be realized electrically.For example, a hardware list Member may include permanent dedicated circuit or logic (such as special processor, field programmable gate array (Field- Programmable Gate Array, FPGA) or application-specific integrated circuit (Application Specific Integrated Circuits, ASIC) etc.) complete corresponding operating.Hardware cell can also include programmable logic or circuit (such as general procedure Device or other programmable processors), interim setting can be carried out by software to complete corresponding operating.Concrete implementation mode (mechanical system or dedicated permanent circuit or the circuit being arranged temporarily) can based on cost and it is temporal consideration come It determines.
Detailed displaying and explanation have been carried out to the embodiment of the present invention above by attached drawing and preferred embodiment, however it is of the invention Embodiment is not limited to these embodiments having revealed that, base could be aware that with above-described embodiment those skilled in the art, can combine Code audit means in above-mentioned difference embodiment obtain the more embodiments of the present invention, these embodiments are also implemented in the present invention Within the protection domain of example.

Claims (16)

1. data transmission method, which is characterized in that this method is applied to data service system, wherein the data service system Including a service equipment (101), a data transmission device (102) and multiple data generating apparatus (103), the method includes:
The data transmission device (102) obtains the demand data information of a data service, and the demand data information includes Target data generates the description information of equipment (103), target data handles the functional circuit information of example, wherein the target Data processing example is used to handle the target data and generates the initial data that equipment (103) provides, and generation meets the data The target data of the demand data of service;
The data transmission device (102) handles the functional circuit information of example according to the target data, preset multiple It determines that target data handles model in data processing model, and Model instantiation is handled to the target data, obtain the mesh Mark data processing example;
The data transmission device (102) generates the description information of equipment (103) according to the target data, in the multiple number Determine that the target data generates equipment (103) in equipment (103) according to generating;
The data transmission device (102) handles example by the target data and generates equipment (103) to the target data The initial data of offer is handled, and obtains the target data, and to the service equipment for providing the data service (101) target data is sent.
2. the method as described in claim 1, which is characterized in that the data transmission device (102) is according to the target data The functional circuit information for handling example determines that the target data handles mould in preset the multiple data processing model Type, including:
The functional circuit information that the data transmission device (102) handles the target data example parses, and obtains institute State the functional circuit information of target data processing model;And the functional circuit information of model is handled according to the target data, Determine that the target data handles model in preset the multiple data processing model;Or
The data transmission device (102) in the functional circuit information of multiple data processing models of storage, determine with it is described The functional circuit information for the target data processing model that the functional circuit information of target data processing example matches, and according to institute The functional circuit information for stating target data processing model, determines the number of targets in preset the multiple data processing model According to processing model.
3. the method as described in claim 1, which is characterized in that each data processing mould in the multiple data processing model Type is to build the template of data processing example.
4. the method as described in claim 1, which is characterized in that the data transmission device (102) to the target data at Model instantiation is managed, the target data processing example is obtained, including:
The data transmission device (102) handles the functional circuit information of example according to the target data, to the number of targets According to processing Model instantiation, the target data processing example is obtained.
5. the method as described in claim 1, which is characterized in that the data transmission device (102) is according to the target data The description information for generating equipment (103) determines that the target data generates equipment in the multiple data generating apparatus (103) (103), including:
The data transmission device (102) determines that the target data generates include in the description information of equipment (103) described Target data generates the mark of equipment (103), and in the multiple data generating apparatus (103), determines the target data The corresponding target data of mark for generating equipment (103) generates equipment (103);Or
The data transmission device (102) determines and the number of targets in the description information of multiple data generating apparatus (103) According to the description information at least one data generating apparatus (103) that the description information for generating equipment (103) matches, and will be described At least one data generating apparatus (103) conduct corresponding to the description information of at least one data generating apparatus (103) The target data generates equipment (103).
6. the method as described in claim 1, which is characterized in that when the demand data information further includes the target data life When the constraints of forming apparatus (103), the target data generates equipment (103) and meets the target data generation equipment (103) constraints.
7. method as claimed in any one of claims 1 to 6, which is characterized in that the data transmission device (102) passes through described Target data handles the initial data that example provides target data generation equipment (103) and handles, and obtains institute Target data is stated, including:
The data transmission device (102) receives the target data and generates the initial data that equipment (103) is sent, and leads to It crosses after the target data processing example is filtered processing to the initial data and generates the target data;Or
The data transmission device (102) receives the target data and generates the initial data that equipment (103) is sent, and leads to It crosses the target data processing example to be monitored the initial data, the original based on the satisfaction setting trigger condition monitored Beginning data generate the target data;Or
The target data is handled example deployment to the target data and generates equipment by the data transmission device (102) (103), and the target data that the target data generates equipment (103) transmission is received, the target data is the mesh It marks data generating apparatus (103) and handles what example provided target data generation equipment (103) by the target data What initial data was handled.
8. data transmission device (102), which is characterized in that the data transmission device (102) is included in data service system, In, the data service system further includes a service equipment (101) and multiple data generating apparatus (103), the data transmission Device (102) includes:
One acquisition module (301), the demand data information for obtaining a data service, the demand data information include mesh Mark the description information of data generating apparatus (103), the functional circuit information of target data processing example, wherein the number of targets
It is used to handle the target data according to processing example and generates the initial data that equipment (103) provides, generation meets the number According to the target data of the demand data of service;
One processing module (302), is used for:
The target data that the demand data information obtained according to the acquisition module (301) includes handles example Functional circuit information determines that target data handles model in preset multiple data processing models, and to the target data Model instantiation is handled, the target data processing example is obtained;
The target data that the demand data information obtained according to the acquisition module (301) includes generates equipment (103) description information determines that the target data generates equipment (103) in the multiple data generating apparatus (103);
Example is handled by the target data to generate at the initial data that equipment (103) provides the target data Reason, obtains the target data;
One communication module (303), for sending the processing module to the service equipment (101) for providing the data service (302) the obtained target data is handled.
9. device as claimed in claim 8, which is characterized in that the processing module (302) is at according to the target data The functional circuit information for managing example determines that the target data handles model in preset the multiple data processing model When, it is specifically used for:
The functional circuit information for handling the target data example parses, and obtains the work(of the target data processing model It can description information;And the functional circuit information of model is handled according to the target data, in preset the multiple data processing Determine that the target data handles model in model;Or
In the functional circuit information of multiple data processing models of storage, the function with target data processing example is determined The functional circuit information for the target data processing model that description information matches, and according to the work(of target data processing model Energy description information determines that the target data handles model in preset the multiple data processing model.
10. device as claimed in claim 8, which is characterized in that each data processing in the multiple data processing model Model is the template for building data processing example.
11. device as claimed in claim 8, which is characterized in that the processing module (302) is to target data processing Model instantiation is specifically used for when obtaining the target data processing example:
The functional circuit information that example is handled according to the target data handles Model instantiation to the target data, obtains The target data handles example.
12. device as claimed in claim 8, which is characterized in that the processing module (302) is given birth to according to the target data The description information of forming apparatus (103) determines that the target data generates equipment in the multiple data generating apparatus (103) (103) when, it is specifically used for:
Determine that the target data for including in the description information of the target data generation equipment (103) generates equipment (103) Mark determine that the target data generates the mark pair of equipment (103) and in the multiple data generating apparatus (103) The target data answered generates equipment (103);Or
In the description information of multiple data generating apparatus (103), the description that equipment (103) is generated with the target data is determined The description information of at least one data generating apparatus (103) of information match, and by least one data generating apparatus (103) at least one data generating apparatus (103) corresponding to description information generates equipment as the target data (103)。
13. device as claimed in claim 8, which is characterized in that the demand data information further includes the target data life When the constraints of forming apparatus (103), the target data generates equipment (103) and meets the target data generation equipment (103) constraints.
14. such as claim 8-13 any one of them devices, which is characterized in that
The communication module (303) is additionally operable to receive the initial data that the target data generates equipment (103) transmission;
The processing module (302) puies forward target data generation equipment (103) by target data processing example The initial data of confession is handled, and when obtaining the target data, is specifically used for:
The initial data that example receives the communication module (303), which is handled, by the target data is filtered processing After generate the target data;Or
The initial data that example receives the communication module (303) is handled by the target data to be monitored, base The target data described in the Raw Data Generation of the satisfaction setting trigger condition monitored;Or
The target data is handled into example deployment to the target data by the communication module (303) and generates equipment (103), and the target data is received by the communication module (303) and generates the target data that equipment (103) is sent, The target data is that the target data generates equipment (103) by target data processing example to the target data Generate what the initial data that equipment (103) provides was handled.
15. a kind of data transmission device (102), which is characterized in that described device includes at least one processor (401), at least One processor (402) and an interface (403), wherein:
At least one processor (401), for storing computer program;
The interface (403), for sending and receiving data;
At least one processor (402), for calling the computer journey stored in at least one processor (401) Sequence sends and receives side of the function execution of data as described in any one of claim 1-7 to be based on the interface (403) Method.
16. a kind of computer-readable medium, which is characterized in that be stored with computer instruction, institute on the computer-readable medium Computer instruction is stated when being called by processor, the processor is made to execute the method as described in any one of claim 1-7.
CN201710305476.XA 2017-05-03 2017-05-03 Data transmission method and device Pending CN108810051A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710305476.XA CN108810051A (en) 2017-05-03 2017-05-03 Data transmission method and device
PCT/EP2018/060140 WO2018202440A1 (en) 2017-05-03 2018-04-20 Data transmission method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710305476.XA CN108810051A (en) 2017-05-03 2017-05-03 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN108810051A true CN108810051A (en) 2018-11-13

Family

ID=62028019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710305476.XA Pending CN108810051A (en) 2017-05-03 2017-05-03 Data transmission method and device

Country Status (2)

Country Link
CN (1) CN108810051A (en)
WO (1) WO2018202440A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110703646A (en) * 2019-10-10 2020-01-17 中国地质大学(北京) Automatic control type singlechip data acquisition control system and method

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636016B (en) * 2019-08-08 2023-09-29 西安万像电子科技有限公司 Data transmission method and system
CN113572799B (en) * 2020-04-29 2023-04-07 北京金山云网络技术有限公司 Method and device for accessing equipment to control platform and server
CN113873037B (en) * 2021-09-29 2023-05-19 四川长虹网络科技有限责任公司 Data pushing method, device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942197A (en) * 2013-01-17 2014-07-23 阿里巴巴集团控股有限公司 Data monitoring processing method and device
CN104809650A (en) * 2015-04-08 2015-07-29 武汉大学 Dynamic adaptive accessing method of heterogeneous sensor data
US20160065653A1 (en) * 2014-08-26 2016-03-03 Fujitsu Limited Internet of things (iot) device configuration construction
CN106453482A (en) * 2016-08-05 2017-02-22 成都卡德智能科技有限公司 Internet of things middleware system and Internet of things system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942197A (en) * 2013-01-17 2014-07-23 阿里巴巴集团控股有限公司 Data monitoring processing method and device
US20160065653A1 (en) * 2014-08-26 2016-03-03 Fujitsu Limited Internet of things (iot) device configuration construction
CN104809650A (en) * 2015-04-08 2015-07-29 武汉大学 Dynamic adaptive accessing method of heterogeneous sensor data
CN106453482A (en) * 2016-08-05 2017-02-22 成都卡德智能科技有限公司 Internet of things middleware system and Internet of things system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
MAURO TORTONESI: "SPF:An SDN-based Middleware Solution to Mitigate the IoT Information Explosion", 《2016 IEEE SYMPOSIUM ON COMPUTERS AND COMMUNICATION (ISCC)》 *
MICHAEL VÖGLER: "Optimizing Elastic IoT Application Deployments", 《IEEE TRANSACTIONS ON SERVICES COMPUTING》 *
STEFAN NASTIC: "A Middleware Infrastructure for Utility-Based Provisioning of IoT Cloud Systems", 《2016 IEEE/ACM SYMPOSIUM ON EDGE COMPUTING (SEC)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110703646A (en) * 2019-10-10 2020-01-17 中国地质大学(北京) Automatic control type singlechip data acquisition control system and method
CN110703646B (en) * 2019-10-10 2021-11-19 上海联之承电子系统集成有限公司 Automatic control type singlechip data acquisition control system and method

Also Published As

Publication number Publication date
WO2018202440A1 (en) 2018-11-08

Similar Documents

Publication Publication Date Title
CN108810051A (en) Data transmission method and device
CN105765568B (en) The service moulding plate required based on Service Level Agreement is generated and is disposed
CN108494622A (en) Monitoring rules configuration method, device and server
WO2014140790A1 (en) Apparatus and method to maintain consistent operational states in cloud-based infrastructures
CN109189758B (en) Operation and maintenance flow design method, device and equipment, operation method, device and host
CN109324962B (en) Method and equipment for testing application program based on cloud Internet of things technology
CN107707679A (en) File uploading method and device
CN110351295A (en) Message detecting method and device, electronic equipment, computer-readable medium
KR20230000927A (en) Scene detection method and device, electronic device, computer storage medium
JP5880315B2 (en) System management apparatus, system management method, and system management program
CN112527459A (en) Log analysis method and device based on Kubernetes cluster
US11388038B2 (en) Operation device and operation method
CN108650108A (en) A kind of user input data anti-leak method for early warning and system
CN114930290A (en) System, device, method and data stack for managing applications that manage asset operations
CN110213073A (en) Data flow variation, electronic equipment, calculate node and storage medium
US20150172232A1 (en) Dynamic product installation based on user feedback
CN109976868A (en) DApp method for customizing, device and electronic equipment
JP2022500740A (en) How to deploy resources required for network functions, equipment, storage media and electronic equipment
CN112286622A (en) Virtual machine migration processing and strategy generating method, device, equipment and storage medium
CN113032054B (en) Service execution method and device, storage medium and electronic device
CN115048187A (en) Operator-based pvc file importing method, device and storage medium
CN115080771A (en) Data processing method and device based on artificial intelligence, medium and gateway equipment
CN112448833B (en) Multi-management-domain communication method and device
CN108984550A (en) The methods, devices and systems that the signal instructions of data are determined to mark to data
CN111404767B (en) Network element testing method and framework of NFV core network and MANO framework

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181113

WD01 Invention patent application deemed withdrawn after publication