WO2018068660A1 - Data processing method, apparatus and device - Google Patents

Data processing method, apparatus and device Download PDF

Info

Publication number
WO2018068660A1
WO2018068660A1 PCT/CN2017/104188 CN2017104188W WO2018068660A1 WO 2018068660 A1 WO2018068660 A1 WO 2018068660A1 CN 2017104188 W CN2017104188 W CN 2017104188W WO 2018068660 A1 WO2018068660 A1 WO 2018068660A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
classification
classification identifier
information
identifier
Prior art date
Application number
PCT/CN2017/104188
Other languages
French (fr)
Chinese (zh)
Inventor
戴小丹
缪家国
刘笑天
蔡艳明
蔡俊杰
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2018068660A1 publication Critical patent/WO2018068660A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • G06F18/241Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition

Definitions

  • the present invention relates to the field of computer application technologies, and in particular, to a data processing method, apparatus, and device.
  • the media server needs to push data to a smart TV or a smart phone that subscribes to the corresponding data.
  • the smart camera sends the collected data to the user's smart phone, and each device in the network performs handshake through signaling data, and the like.
  • These data are complicated and often, each manufacturer will define the data transmitted by the equipment produced by the manufacturer.
  • the inconsistency of such data will cause difficulties in data interaction between devices of different manufacturers due to unclear meaning of their respective data. It is often necessary to install additional third-party applications to use third-party protocols for data interaction, which is troublesome.
  • the present invention provides a data processing method, apparatus and device for facilitating data interaction between devices.
  • the invention provides a data processing method, the method comprising:
  • the data carrying the classification identifier is transmitted in the network, and the classification identifier is generated according to the classification information to which the data belongs.
  • the invention also provides a data processing method, the method comprising:
  • the data party device registers the classification identifier with the data center to transmit the data carrying the registered classification identifier in the network;
  • the classification identifier is generated according to classification information to which the data belongs.
  • the invention also provides a data processing method, the method comprising:
  • the data center stores a classification identifier registered by the data party device to process data carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
  • the invention also provides a data processing method, the method comprising:
  • the subscriber device subscribes to the data center for the classification identifier to receive the data carried by the data center and carries the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
  • the invention also provides a data processing method, the method comprising:
  • the signaling data carrying the classification identifier is transmitted between the devices, wherein the classification identifier is generated according to the classification information to which the signaling data belongs, and the signaling data uses a data format corresponding to the classification identifier.
  • the invention also provides an apparatus, including
  • Memory including one or more programs
  • One or more processors coupled to the memory to execute the one or more programs to:
  • the data carrying the classification identifier is transmitted in the network, and the classification identifier is generated according to the classification information to which the data belongs.
  • the invention also provides a data party device, including
  • Memory including one or more programs
  • One or more processors coupled to the memory to execute the one or more programs to:
  • the classification identifier is generated according to classification information to which the data belongs.
  • the invention also provides a data center device, including
  • Memory including one or more programs
  • One or more processors coupled to the memory to execute the one or more programs to:
  • the invention also provides a subscriber device, including
  • Memory including one or more programs
  • One or more processors coupled to the memory to execute the one or more programs to:
  • the invention also provides an apparatus, including
  • Memory including one or more programs
  • One or more processors coupled to the memory to execute the one or more programs to:
  • the signaling data carrying the classification identifier is transmitted between the device and the other device, wherein the classification identifier is generated according to the classification information to which the signaling data belongs, and the signaling data uses a data format corresponding to the classification identifier.
  • the invention also provides a data processing device, the device comprising:
  • a transmission unit configured to transmit data carrying the classification identifier in the network, where the classification identifier is generated according to the classification information to which the data belongs.
  • the present invention also provides a data processing device, which is disposed on a data party device, and the device includes:
  • a registration unit configured to register a classification identifier with the data center, so as to transmit data carrying the registered classification identifier in the network
  • the classification identifier is generated according to classification information to which the data belongs.
  • the invention also provides a data processing device, the device comprising:
  • a registration unit configured to store a classification identifier registered by the data party device, to process data carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
  • the invention also provides a data processing device, the device comprising:
  • a subscription unit for subscribing to a data center for a classification identifier
  • a receiving unit configured to receive data that is carried by the data center and that carries the classification identifier, where the classification identifier is generated according to classification information to which the data belongs.
  • the invention also provides a data processing device, the device comprising:
  • a transmission unit configured to transmit the signaling data carrying the classification identifier, and the classification identifier is generated according to the classification information to which the signaling data belongs, where the signaling data uses a data format corresponding to the classification identifier.
  • the present invention uniformly uses the classification identifier in the transmitted data to clarify the data type, that is, the classification identifier is generated according to the classification information to which the data belongs, so that even if the devices belong to different vendors, each device Data interaction can also be directly performed, which avoids the need to additionally install third-party applications to use third-party protocols for data interaction, which is more convenient.
  • FIG. 1 is a flowchart of registering an IDSU according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an IDSU mechanism applied to an Internet of Things according to an embodiment of the present invention
  • FIG. 3 is a system structural diagram of an IDSU mechanism according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an application framework of an IDSU mechanism according to an embodiment of the present invention.
  • FIG. 6 is a structural diagram of an apparatus installed on a data side device according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of an apparatus installed in a data center according to an embodiment of the present invention.
  • FIG. 8 is a structural diagram of an apparatus configured on a subscriber device according to an embodiment of the present disclosure.
  • FIG. 9 is a structural diagram of an apparatus for transmitting signaling according to an embodiment of the present invention.
  • FIG. 10 is a structural diagram of a device according to an embodiment of the present invention.
  • the word “if” as used herein may be interpreted as “when” or “when” or “in response to determining” or “in response to detecting.”
  • the phrase “if determined” or “if detected (conditions or events stated)” may be interpreted as “when determined” or “in response to determination” or “when detected (stated condition or event) “Time” or “in response to a test (condition or event stated)”.
  • the core idea of the present invention is that the data transmitted in the network carries the classification identifier, and the classification identifier adopts a unified generation mechanism, and is generated according to at least the classification information to which the data belongs.
  • the classification identifier is referred to as an IDSU (IoT Data Storage Unit).
  • the IDSU is generated at least by the classification information to which the data belongs, wherein the classification information may include an N-level classification, where N is a positive integer.
  • the security level information, the data source information, and the version information corresponding to the classification to which the data belongs may also be used.
  • At least one of data format version information and the like corresponding to the classification described in the data is generated.
  • the IDSU can be generated by encoding the above information according to a predetermined encoding rule, and each information is encoded into a specific number of bits according to a preset order, and finally an IDSU of a unified number of bits is formed.
  • the classification information is necessary, and preferably, the security level information and the data source information may also be included.
  • the version information corresponding to the classification and the data format version information corresponding to the classification may further be included.
  • the IDSU can be classified into three levels of classification information, security level information, data source identifier, data format version number, and classification version number.
  • the predetermined encoding rules are encoded and generated.
  • the coding rules can also be as shown in Table 1, where the primary classification code occupies 10 bits, the secondary classification code occupies 14 bits, the third-level classification code occupies 21 bits, the security level occupies 2 bits, and the data source identifier occupies 2 bits, and the data
  • the format version number is 6 digits, and the classification version number is 8 digits.
  • the symbol code is optional and takes up 1 bit.
  • the fixed value is 1.
  • the first-level classification is a higher-level category
  • the second-level category is subordinate to the first-level category
  • the second-level category is subordinate to the second-level category
  • the level is lower.
  • the classification information used is: “sports” belongs to the first category, “run” belongs to the second category, and “100 meters” belongs to the third category.
  • the security level can use four values between 0 and 3 to represent four security levels, for example: 0 for shared data, lowest security level; 1 for data that requires data source authorization; 2 for data source authorization; 3 Represents private data, prohibits disclosure, and has the highest level of security.
  • the data source identifier can represent 4 data sources respectively by using 4 values between 0 and 3. For example, 0 represents the original data generated by the terminal device, 1 represents the analyzed data after processing, and 2 represents the signaling of the interconnection between the terminal devices. Data, 3 represents server data.
  • the data format version number which is used to record the format version associated with the same classification, in order to describe the data in various fields more professionally.
  • the classification code is "sports-running-100 meters”
  • the A data side specifies the data format corresponding to the category and is used on its sports equipment.
  • the B data side uses the same classification code, but proposes For a more comprehensive description of the data format, the corresponding data format can be used with another version number to distinguish it from the previous version.
  • the classification version number is mainly used to label the classification system. That is, after upgrading the existing classification system, it does not affect the existence of the existing classification system, but uses another version number to identify the upgraded classification system. This will not affect the IDSU that has been generated before.
  • Integer encoding is relative to string encoding, which saves space on low-power IoT devices, and bit operations are relatively faster than string operations.
  • the IDSU code carries certain identification information, such as data source identification, security level, etc., to facilitate some specific data processing.
  • IDSUs generated by using uniform rules according to the classification information may be used.
  • each data party can register the IDSU in a unified data center, thereby ensuring the uniformity of the IDSU generation rules.
  • the registration process of the IDSU will be described below with reference to the embodiment shown in FIG. 1.
  • two devices are mainly involved: a data party device and a data center.
  • the data party device may be any terminal device, or may be a server or a server cluster.
  • a data center can usually be a server or a server cluster.
  • the execution flow of the embodiment shown in FIG. 1 is performed on the data center side. As shown in FIG. 1, the method may include the following steps:
  • the classification information sent by the data party device is obtained.
  • the classification information may be customized by the data party, for example, the data side provides the information of the primary classification, the secondary classification, and the tertiary classification; the data platform may also provide the optional classification information to the data party device.
  • the data side is provided with optional primary classification, secondary classification, and tertiary classification information for the data party to select from; or a combination of the two may be used, for example, providing an optional one to the data party.
  • Level classification, secondary classification, and tertiary classification information If the data side feels that the optional classification information does not meet the requirements, it can define a certain classification information through a customized method.
  • the classification information sent by the data party is the classification information existing on the data platform
  • the corresponding classification code may be directly obtained. If it is not the existing classification information of the data platform, for example, a classification information is added in a certain classification, the data platform may record the newly added classification information and determine the newly added classification information after the approval of the newly added classification information. The classification code and upgrade the classification version number. Wherein, the approval may be performed by the data platform according to a predetermined rule, or may be provided to the tube The management personnel are approved by the management personnel.
  • the data party applies for the addition of the first-level classification, after adding the first-level classification, it may also continue to apply for the addition of the second-level classification and the third-level classification based on the first-level classification. If the data party applies for a new secondary classification under a certain classification, the secondary classification is subordinate to the primary classification, and may further apply for a new tertiary classification based on the secondary classification. Regardless of which level of classification is applied for, the resulting classification information is new classification information, so the classification version number needs to be upgraded, for example, based on the highest existing classification version number plus one.
  • execution 104 it is determined whether a format version change request is received, and if so, execution 104; otherwise, execution 107 returns the already existing IDSU generated for the classification information to the data party device to complete the registration.
  • the data center can provide the data format to the data party device, which can be provided on its own initiative or after the request of the data party device.
  • the data party can accept the data format if it believes that the data format can meet its requirements; if it is deemed that the data cannot meet its requirements, the data source device can send a format version change request to the data center.
  • the format data format of the requirement can be set on the format version setting interface, and then the format confirmation request is sent after clicking the "confirm" component, and the format version change request includes the format information after the request is changed.
  • the format information after the request change is saved, and the format version number corresponding to the classification information is upgraded.
  • each type of classification can correspond to multiple data formats, so as to cope with the needs of different data parties.
  • different format version numbers can be used. For example, each time a category is added with a new data format, the current maximum format version number corresponding to the category is incremented by one.
  • the IDSU is generated and returned to the data party device to complete the registration.
  • the classification information, the security level, the data source identifier, the data format version number, the classification version number, and the like may be encoded according to the rules in Table 1 above to obtain the IDSU.
  • the security level and the data source identifier may be further set, that is, the security level information and the data source identifier are sent to the data center by the data party device, where The data center generates an IDSU, which is not shown in Figure 1.
  • the data format information sent by the data party device is obtained, the format version number is set, and the process proceeds to execution 105.
  • the data side needs to set the data format for the classification, so that the data belonging to the classification can adopt the corresponding data format.
  • the data party device can display the data format setting interface provided by the data center to the data party, and the data party sets the data format in the format setting interface, and sends the data format to the data format. data center.
  • the data according to the above data format can be:
  • the receiver that receives the data is parsed according to the data format corresponding to the IDSU carried by the data, and then the content of the data is: the gender is 0, the height is 172 cm, and the weight is 66.5cm.
  • the data center can receive and store extended configuration information sent by the data party for the registered IDSU, such as whether the data is stored in the data center, subscriber constraint information, whether sensitive words need to be filtered, and the like.
  • extended configuration information are not encoded in the IDSU, but are additionally recorded in the data center, for example, can be recorded in the extended configuration table.
  • the IoT device can transmit IDSU data (ie, data carrying IDSU) in the network, thereby implementing data flow of the IDSU. It is also possible to perform IDSU data authorization in addition to the IDSU registration in the data center through the interface with the cloud server (YunIO), for example, to authorize the subscriber device that subscribes to an IDSU data.
  • the signaling data can be defined by the IDSU of the specific classification, thereby implementing event distribution, such as status event reporting, control event delivery, and the like. These can be applied to various fields such as smart home, smart city, smart sports, and car networking through various open platforms. It can also be applied to data sharing platforms, data mining engines, data real-time computing platforms, and the like. The implementation schemes of some typical application scenarios are described in detail below.
  • a typical application scenario is that for an IDSU registered by a data party, a data subscription for the IDSU can be implemented.
  • the system configuration involved in the application scenario may be as shown in FIG. 3, including: a data party device, a data source device, a data center, and a subscriber device.
  • the data device and the data source device have been mentioned in the above embodiments.
  • the subscriber device refers to a device that subscribes to an IDSU data, and may be a terminal device or a server.
  • a data source device refers to a source device that sends IDSU data, and may be a terminal device or a server.
  • the data party device and the data center implement the registration of the IDSU using the flow as shown in FIG.
  • the subscriber device subscribes to the data carrying the IDSU in the data center, referred to as IDSU data.
  • the IDSU data sent by the data source device is sent to the data center.
  • the data center forwards the received IDSU data to a subscriber device that subscribes to the IDSU data.
  • the data source device can transmit the IDSU data.
  • the destination address of the data is the address of the data center.
  • the destination address may be an IP address, an identifier of the data center, for example, ID 2 , and ID 2 is an identity that is uniformly allocated by the identification server and provided to the device, and is written to the secure storage area of the device at the factory stage of the device.
  • the type of the destination address is determined according to the specific network protocol type, and the present invention is not limited.
  • the subscriber device that subscribes to the IDSU is searched, and when the IDSU data is forwarded, the destination address of the IDSU data is replaced with the address of each subscriber device.
  • the IDSU data is reported from the data source device to the data center, and then uniformly forwarded to the subscribers by the data center.
  • the foregoing data party device and the data source device may be the same device or different devices.
  • FIG. 4 is a flowchart of a method for subscribing to IDSU data according to an embodiment of the present invention. The process is performed by a data center. As shown in FIG. 4, the method includes:
  • the data center receives a subscription request sent by the subscriber device.
  • the data center can send a subscription interface to the subscriber device, where the subscriber can view the IDSU available for subscription, and can also see the related description of the IDSU, such as data party information, classification information, and the like. After the subscriber selects the IDSU to be subscribed, the subscriber device sends a subscription request to the data center, which carries the IDSU to be subscribed.
  • the subscriber device may also acquire the IDSU from the data party device. For example, after the data party device completes the registration of IDSU, the IDSU that successfully registered can be mentioned. Supply data device. The manners provided therein can be varied. For example, the data party device can generate a two-dimensional code for the registered IDSU for the data party device to scan.
  • the data center records the correspondence between the IDSU and the subscriber device and indicates that the status of the subscriber device is pending review.
  • the receiving data device sends whether the subscriber device is allowed to subscribe to the authorization information of the IDSU.
  • the data party can periodically view the subscriber device information subscribed to the IDSU from the data center, and then perform authorization management. If a subscriber device is allowed to subscribe, the data center can be sent an authorization information that allows the subscriber device to subscribe. Alternatively, the data center may also actively push and subscribe the subscriber device information of the IDSU to the data party device for authorization management.
  • the status of the subscriber device is marked as a subscription success.
  • the above process is a preferred implementation provided to ensure subscription security, that is, the authorization of the subscription is completed by the data party.
  • authorization being implemented by an administrator of the data center.
  • any subscriber device can subscribe, that is, after receiving the subscription request, the data center directly indicates that the status of the subscriber device is the subscription success. and many more.
  • the subsequent data center forwards the IDSU data, it will only forward to the subscriber device with the subscription success status.
  • the framework corresponding to the flow shown in the above embodiment may be as shown in FIG. 5.
  • the data center can provide a registration/subscription page for the data party to register with IDSU and the subscriber to subscribe to IDSU.
  • the default subscriber is pending review.
  • an authorization mechanism is provided externally so that the data party can authorize the subscribers subscribing to the IDSU, and only the authorized subscribers are set to the subscription success state.
  • the subscription relationship between IDSU and the subscriber is cached in the subscription relationship list.
  • the main thread is responsible for the distribution of the data packets, where the data packets refer to the received IDSU data for Tlog recording and Big Data Computing Service (ODPS).
  • IDSU data for Tlog recording and Big Data Computing Service (ODPS).
  • ODPS Big Data Computing Service
  • the received IDSU data is stored in the subscribed asynchronous message queue-IN (inbound direction), and the IDIO interface is used to check whether the IDSU exists.
  • the subscription processing and data forwarding processing can be performed by the subscription processor of the data center, and the subscription processor pulls the IDSU data from the subscription message asynchronous message queue.
  • Extensible filtering refers to the scalable filtering processing of received data based on the extended setting information provided by the data party to the data center during the registration process. For example, for IDSUs that are set to be unsubscribe, no forwarding is done. For IDSUs set to filter sensitive information, sensitive information is filtered on received IDSU data, and so on.
  • IDSU data can be distributed to subscriber devices that subscribe through various subscription mechanisms, typically for internal subscribers, through subscriptions such as HSF (High Performance Service Framework) subscriptions, CMNS (connection mode network service) subscriptions Wait. For external subscribers, you can use Metag subscriptions, HTTP subscriptions, and more.
  • the IDSU data is first sent to the subscribed asynchronous message queue -OUT (outbound direction) and then sent to the external subscriber via the gateway via the HSF service processing the subscription.
  • a news service provider registered the "News-Sports-NBA" category in the data center and generated the IDSU with the data source ID as the news service provider.
  • the user wants to read the classified news of the news service provider through the mobile phone, and can subscribe to the IDSU through the data center.
  • the news server of the news service provider has the news data under the category, the data carrying the IDSU is sent.
  • These IDSU data are forwarded to the data center and forwarded via the data center to the subscriber device subscribing to the IDSU.
  • Another typical application scenario is to transmit signaling data carrying IDSUs between devices to achieve handshake between devices or control between devices.
  • corresponding classification information may exist, which in turn has an IDSU, that is, the signaling type may be indicated by the IDSU carried in the signaling data.
  • Each device can send signaling data corresponding to the IDSU according to the current status and requirements, and the device that receives the signaling data can know what kind of signaling is from the IDSU carried by the signaling data.
  • the correspondence between the IDSU and the processing logic may be pre-stored in the device, and the device that receives the signaling data parses the signaling data according to the data format corresponding to the IDSU, and then performs the processing corresponding to the IDSU according to the parsing result. logic.
  • node 1 obtains a list of nodes after scanning the existing nodes in the network. Selecting a node 2 from the node list sends signaling, and the IDSU1 carried by the signaling indicates that the type of the signaling is signaling requesting to join the network.
  • the node 2 that receives the signaling parses the signaling according to the data format corresponding to the IDSU1, and obtains the identity information of the node, for example, the ID 2 of the node 1 from the signaling. It is assumed that the processing logic corresponding to the IDSU1 is to authenticate the identity of the node. If the authentication succeeds, the response packet that is allowed to join the network is returned.
  • the node 2 that receives the above signaling performs processing logic of identity authentication according to the ID 2 of the node 1. Assuming that the authentication is passed, the signaling carrying the IDSU2 is returned. The IDSU2 indicates that the type of the signaling is a response message that is allowed to join the network, and then the information allowed to join the network is included in the signaling according to the data format corresponding to the IDSU2. . After receiving the signaling carrying IDSU2, node 1 completes a handshake. There may be other handshake processes in the future, and the IDSU identification signaling type may be used, and it is no longer exhaustive.
  • each node in the network needs to perform negotiation and election, for example, selecting a root node in the network according to device capabilities, and then each node in the network can broadcast signaling carrying IDSU3 in the network. And carrying its own capability information in the signaling.
  • the IDSU3 indicates that the type of the signaling is a broadcast message carrying capability information.
  • the device provided by the embodiment of the present invention mainly includes a transmission unit capable of transmitting data carrying a classification identifier in a network, and the classification identifier is generated according to classification information to which the data belongs, and may further generate: security level information according to at least one of the following information: Data source information, version information corresponding to the category to which the data belongs, and data format version information corresponding to the category to which the data belongs.
  • the device may be disposed in the data center device, the data source device, and the subscriber device.
  • the embodiment of the present invention further provides a device disposed on the data party device.
  • FIG. 6 is a structural diagram of an apparatus for setting a data side device according to an embodiment of the present invention.
  • the apparatus may include: a registration unit 01, and may further include an authorization unit 02 and an identifier providing unit 03.
  • the main functions of each component are as follows:
  • the registration unit 01 is responsible for registering the classification identifier with the data center, so that the device of the data party transmits data carrying the registered classification identifier in the network, wherein the classification identifier is generated according to the classification information to which the data belongs.
  • the registration unit 01 may send the classification information to the data center to obtain the classification identifier returned by the data center for the classification information.
  • the registration unit 01 may select from the optional classification information provided by the data center, or may customize the classification information, or adopt a combination of the two.
  • the format version change request may be further sent to the data center, where the request carries Request the changed data format.
  • the classification identifier returned by the data center for the classification information is a classification identifier generated according to the classification information and the format version after the request is changed.
  • the registration unit 01 may further send extended configuration information to the data center for the registered classification identifier, where the extended configuration information may include, but is not limited to, whether the data is stored in the data center, the subscriber constraint information, and whether filtering is required. Sensitive information, and more.
  • the authorization unit 02 is responsible for obtaining the subscriber device information of the subscription classification identifier from the data center; and transmitting to the data center whether the subscriber device is allowed to subscribe to the authorization information of the classification identifier.
  • the identifier providing unit 03 is responsible for providing the registered classification identifier to the subscriber device.
  • the classification identifier may be generated by the subscriber identifier for scanning by the subscriber device, or may be provided to the subscriber by other means such as mail, message, and the like.
  • FIG. 7 is a structural diagram of an apparatus installed in a data center according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes a registrable unit 11, and further includes a forwarding unit 12 and a subscription unit 13. The main functions of each component are as follows: :
  • the registration unit 11 is responsible for storing the classification identifier registered by the data party device, so as to process the data carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
  • the registration unit 11 After the registration unit 11 receives the classification information sent by the data side device, it determines whether there is already a classification identifier generated for the classification information, and if yes, returns the existing classification identifier generated for the classification information to the data party device. Otherwise, the version information corresponding to the classification information is upgraded, and a classification identifier is generated for the classification information and returned to the data party device.
  • the determination result is YES, if the format version change request sent by the data party device for the classification information is received, the format information after the request change is saved, the version information corresponding to the classification information is upgraded, and then the classification identifier is generated. Returned to the data party device; otherwise, the existing classification identifier generated for the classification information is returned to the data party device.
  • the registration unit 11 determines that there is no classification identifier generated for the classification information, it also receives the format information sent by the data party device for the classification information, saves the format information, and records the corresponding format version information.
  • the registration unit 11 may also receive and store extended configuration information sent by the data party for the registered classification identifier.
  • the extended configuration information includes whether the data is stored in the data center, the subscriber constraint information, and whether the sensitive information needs to be filtered.
  • the forwarding unit 12 After receiving the data carrying the registered classification identifier, the forwarding unit 12 sends the data to the subscriber device that subscribes to the classification identifier.
  • the subscribing unit 13 is responsible for storing the subscriber information of the subscription classification identifier and the authorization information sent by the data party device whether the subscriber device is allowed to subscribe to the classification identifier.
  • the forwarding unit 12 sends the data to the subscriber device that is allowed to subscribe to the classification identifier.
  • the subscription unit 13 may first mark the subscriber device as a pending status when storing the correspondence between the subscriber device and the classification identifier after receiving the subscription request of the subscriber device. Know the data received After the subscriber device is allowed to subscribe to the authorization information of the classification identifier, the subscriber device is marked as a subscription success status. When forwarding the data, the forwarding unit 12 forwards only to the subscriber device in the subscription success state.
  • FIG. 8 is a structural diagram of an apparatus for setting up a subscriber device according to an embodiment of the present invention.
  • the apparatus may include: a subscription unit 21 and a receiving unit 22, and may further include an identifier obtaining unit 23.
  • the main functions of each component are as follows:
  • the subscription unit 21 is responsible for subscribing to the data center for the classification identifier.
  • the receiving unit 22 is responsible for receiving data carrying the classification identifier forwarded by the data center, wherein the classification identifier is generated according to the classification information to which the data belongs.
  • the identity obtaining unit 23 may acquire a subscribing classification identifier from the data center, or acquire a subscribing classification identifier from the data party device.
  • FIG. 9 is a structural diagram of an apparatus for transmitting signaling according to an embodiment of the present invention.
  • the apparatus may include a transmission unit 31, and may further include an analysis processing unit 32.
  • the main functions of each component are as follows:
  • the transmission unit 31 is responsible for transmitting signaling data carrying the classification identifier with other devices, wherein the classification identifier is generated according to the classification information to which the signaling data belongs, and the signaling data adopts a data format corresponding to the classification identifier.
  • the parsing processing unit 32 is responsible for parsing the signaling data according to the data format corresponding to the classification identifier after receiving the signaling data carrying the classification identifier, and performing processing logic corresponding to the classification identifier according to the parsing result.
  • the above method and apparatus provided by the embodiments of the present invention may be embodied by a computer program that is set up and operates in a device.
  • the device may include one or more processors, and also includes a memory and one or more programs, as shown in FIG.
  • the one or more programs are stored in a memory and executed by the one or more processors to implement the method flow and/or device operations illustrated in the above-described embodiments of the present invention.
  • the method flow executed by one or more of the above processors may include:
  • the data carrying the classification identifier is transmitted in the network, and the classification identifier is generated according to the classification information to which the data belongs.
  • the method flow executed by the one or more processors may include:
  • the classification identifier is generated according to classification information to which the data belongs.
  • the method flow executed by the one or more processors may include:
  • the method flow executed by the one or more processors may include:
  • the method flow executed by the one or more processors may include:
  • the signaling data carrying the classification identifier is transmitted between the device and the other device, wherein the classification identifier is generated according to the classification information to which the signaling data belongs, and the signaling data uses a data format corresponding to the classification identifier.
  • Each device involved in the embodiments of the present invention may include, but is not limited to, such as: a smart mobile terminal, a smart home device, a network device, a wearable device, a smart medical device, a PC (personal computer), and the like.
  • the smart mobile device may include, for example, a mobile phone, a tablet computer, a notebook computer, a PDA (Personal Digital Assistant), an Internet car, and the like.
  • the smart home device may include smart home appliances, such as smart TVs, smart air conditioners, smart water heaters, smart refrigerators, smart air purifiers, etc., and smart home devices may also include smart door locks, smart sockets, smart lights, smart cameras, and the like.
  • Network devices may include, for example, switches, wireless APs, servers, and the like.
  • Wearable devices may include, for example, smart watches, smart glasses, smart bracelets, virtual reality devices, augmented reality devices, mixed reality devices (ie, devices that can support virtual reality and augmented reality), and the like.
  • Intelligent medical devices may include, for example, smart thermometers, smart blood pressure meters, smart blood glucose meters, and the like.
  • the above method, apparatus and apparatus provided by the present invention can have the following advantages:
  • the present invention uniformly uses the classification identifier in the transmitted data to clarify the data type, that is, the classification identifier is generated according to the classification information to which the data belongs, which enables direct interaction between devices even if the devices belong to different vendors. Data interaction avoids the need to additionally install third-party applications to use third-party protocols for data interaction, which is more convenient.
  • the classification identifier carried by the data carries certain information, such as classification information, data source identification, security level, etc., which can provide an information basis for subsequent big data analysis and mining.
  • the registration mechanism of the classification identifier provided by the invention enables the data party to customize the classification identifier according to its own needs, and defines the minimum segmentation granularity of the data type by the classification identifier.
  • the subscription mechanism of the classification identifier provided by the present invention enables the subscriber to conveniently subscribe to the classification identifier in the data center, and after the corresponding data source generates the data carrying the classification identifier, the data center can forward the data to the data center in time. Subscribe to the subscriber device for this category ID.
  • the unit described as a separate component may or may not be physically separated as a unit display
  • the components may or may not be physical units, ie may be located in one place, or may be distributed over multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .

Abstract

Provided by the present invention are a data processing method, apparatus and device, wherein said method comprises: transmitting data carrying a classification identifier within a network, said classification identifier being generated according to classification information of said data. Further provided are a data party device registering the classification identifier with a data center, a subscription party subscribing to the classification identifier with the data center, as well as a data forwarding mechanism being achieved by the data center on the basis of the subscription relationship between the classification identifier and the subscription party device. By means of the uniform classification identifier mechanism of the present invention, data exchange may be conveniently carried out between different devices.

Description

一种数据处理方法、装置和设备Data processing method, device and device
本申请要求2016年10月12日递交的申请号为201610890004.0、发明名称为“一种数据处理方法、装置和设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. Serial No. No. No. No. No. No. No. No. No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No
技术领域Technical field
本发明涉及计算机应用技术领域,特别涉及一种数据处理方法、装置和设备。The present invention relates to the field of computer application technologies, and in particular, to a data processing method, apparatus, and device.
背景技术Background technique
随着物联网的不断发展,数以亿计的设备需要接入网络,这就意味着网络中会存在各种各样的数据进行传输。例如媒体服务器需要推送数据给订阅相应数据的智能电视、智能手机等,智能摄像头将采集的数据发送给用户的智能手机,网络中的各设备通过信令数据进行握手,等等。这些数据纷繁复杂,往往各厂商分别会对该厂商所生产设备传输的数据进行定义,这种数据的不统一,会造成不同厂商的设备之间因不明确各自数据的含义而造成数据交互的困难,往往需要额外安装第三方应用以采用第三方协议来进行数据交互,实现麻烦。With the continuous development of the Internet of Things, hundreds of millions of devices need to access the network, which means that there will be a variety of data transmission in the network. For example, the media server needs to push data to a smart TV or a smart phone that subscribes to the corresponding data. The smart camera sends the collected data to the user's smart phone, and each device in the network performs handshake through signaling data, and the like. These data are complicated and often, each manufacturer will define the data transmitted by the equipment produced by the manufacturer. The inconsistency of such data will cause difficulties in data interaction between devices of different manufacturers due to unclear meaning of their respective data. It is often necessary to install additional third-party applications to use third-party protocols for data interaction, which is troublesome.
发明内容Summary of the invention
有鉴于此,本发明提供了一种数据处理方法、装置和设备,以便于方便的实现各设备之间的数据交互。In view of this, the present invention provides a data processing method, apparatus and device for facilitating data interaction between devices.
具体技术方案如下:The specific technical solutions are as follows:
本发明提供了一种数据处理方法,该方法包括:The invention provides a data processing method, the method comprising:
在网络中传输携带分类标识的数据,所述分类标识根据该数据所属的分类信息生成。The data carrying the classification identifier is transmitted in the network, and the classification identifier is generated according to the classification information to which the data belongs.
本发明还提供了一种数据处理方法,该方法包括:The invention also provides a data processing method, the method comprising:
数据方设备向数据中心注册分类标识,以便在网络中传输携带已注册分类标识的数据;The data party device registers the classification identifier with the data center to transmit the data carrying the registered classification identifier in the network;
其中所述分类标识根据该数据所属的分类信息生成。The classification identifier is generated according to classification information to which the data belongs.
本发明还提供了一种数据处理方法,该方法包括:The invention also provides a data processing method, the method comprising:
数据中心存储数据方设备注册的分类标识,以便处理携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。 The data center stores a classification identifier registered by the data party device to process data carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
本发明还提供了一种数据处理方法,该方法包括:The invention also provides a data processing method, the method comprising:
订阅方设备向数据中心订阅分类标识,以便接收所述数据中心转发的携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。The subscriber device subscribes to the data center for the classification identifier to receive the data carried by the data center and carries the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
本发明还提供了一种数据处理方法,该方法包括:The invention also provides a data processing method, the method comprising:
设备间传输携带分类标识的信令数据,其中所述分类标识根据该信令数据所属的分类信息生成,所述信令数据采用所述分类标识对应的数据格式。The signaling data carrying the classification identifier is transmitted between the devices, wherein the classification identifier is generated according to the classification information to which the signaling data belongs, and the signaling data uses a data format corresponding to the classification identifier.
本发明还提供了一种设备,包括The invention also provides an apparatus, including
存储器,包括一个或者多个程序;Memory, including one or more programs;
一个或者多个处理器,耦合到所述存储器,执行所述一个或者多个程序,以实现以下操作:One or more processors coupled to the memory to execute the one or more programs to:
在网络中传输携带分类标识的数据,所述分类标识根据该数据所属的分类信息生成。The data carrying the classification identifier is transmitted in the network, and the classification identifier is generated according to the classification information to which the data belongs.
本发明还提供了一种数据方设备,包括The invention also provides a data party device, including
存储器,包括一个或者多个程序;Memory, including one or more programs;
一个或者多个处理器,耦合到所述存储器,执行所述一个或者多个程序,以实现以下操作:One or more processors coupled to the memory to execute the one or more programs to:
向数据中心注册分类标识,以便在网络中传输携带已注册分类标识的数据;Registering a classification identifier with the data center to transmit data carrying the registered classification identifier in the network;
其中所述分类标识根据该数据所属的分类信息生成。The classification identifier is generated according to classification information to which the data belongs.
本发明还提供了一种数据中心设备,包括The invention also provides a data center device, including
存储器,包括一个或者多个程序;Memory, including one or more programs;
一个或者多个处理器,耦合到所述存储器,执行所述一个或者多个程序,以实现以下操作:One or more processors coupled to the memory to execute the one or more programs to:
存储数据方设备注册的分类标识,以便处理携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。And storing, by the data party device, a classification identifier registered to process the data carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
本发明还提供了一种订阅方设备,包括The invention also provides a subscriber device, including
存储器,包括一个或者多个程序;Memory, including one or more programs;
一个或者多个处理器,耦合到所述存储器,执行所述一个或者多个程序,以实现以下操作:One or more processors coupled to the memory to execute the one or more programs to:
向数据中心订阅分类标识,以便接收所述数据中心转发的携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。And substituting the classification identifier to the data center, so as to receive the data carried by the data center and carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
本发明还提供了一种设备,包括 The invention also provides an apparatus, including
存储器,包括一个或者多个程序;Memory, including one or more programs;
一个或者多个处理器,耦合到所述存储器,执行所述一个或者多个程序,以实现以下操作:One or more processors coupled to the memory to execute the one or more programs to:
与其他设备间传输携带分类标识的信令数据,其中所述分类标识根据该信令数据所属的分类信息生成,所述信令数据采用所述分类标识对应的数据格式。The signaling data carrying the classification identifier is transmitted between the device and the other device, wherein the classification identifier is generated according to the classification information to which the signaling data belongs, and the signaling data uses a data format corresponding to the classification identifier.
本发明还提供了一种数据处理装置,该装置包括:The invention also provides a data processing device, the device comprising:
传输单元,用于在网络中传输携带分类标识的数据,所述分类标识根据该数据所属的分类信息生成。And a transmission unit, configured to transmit data carrying the classification identifier in the network, where the classification identifier is generated according to the classification information to which the data belongs.
本发明还提供了一种数据处理装置,设置于数据方设备,该装置包括:The present invention also provides a data processing device, which is disposed on a data party device, and the device includes:
注册单元,用于向数据中心注册分类标识,以便在网络中传输携带已注册分类标识的数据;a registration unit, configured to register a classification identifier with the data center, so as to transmit data carrying the registered classification identifier in the network;
其中所述分类标识根据该数据所属的分类信息生成。The classification identifier is generated according to classification information to which the data belongs.
本发明还提供了一种数据处理装置,该装置包括:The invention also provides a data processing device, the device comprising:
注册单元,用于存储数据方设备注册的分类标识,以便处理携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。a registration unit, configured to store a classification identifier registered by the data party device, to process data carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
本发明还提供了一种数据处理装置,该装置包括:The invention also provides a data processing device, the device comprising:
订阅单元,用于向数据中心订阅分类标识;a subscription unit for subscribing to a data center for a classification identifier;
接收单元,用于接收所述数据中心转发的携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。And a receiving unit, configured to receive data that is carried by the data center and that carries the classification identifier, where the classification identifier is generated according to classification information to which the data belongs.
本发明还提供了一种数据处理装置,该装置包括:The invention also provides a data processing device, the device comprising:
传输单元,用于与其他设备间传输携带分类标识的信令数据,其中所述分类标识根据该信令数据所属的分类信息生成,所述信令数据采用所述分类标识对应的数据格式。And a transmission unit, configured to transmit the signaling data carrying the classification identifier, and the classification identifier is generated according to the classification information to which the signaling data belongs, where the signaling data uses a data format corresponding to the classification identifier.
由以上技术方案可以看出,本发明在传输的数据中统一采用分类标识来明确数据类型,即该分类标识根据数据所属的分类信息生成,这种方式使得即便是设备分属于不同厂商,各设备之间也能够直接进行数据交互,避免了额外安装第三方应用以采用第三方协议来进行数据交互,实现更加方便。It can be seen from the above technical solution that the present invention uniformly uses the classification identifier in the transmitted data to clarify the data type, that is, the classification identifier is generated according to the classification information to which the data belongs, so that even if the devices belong to different vendors, each device Data interaction can also be directly performed, which avoids the need to additionally install third-party applications to use third-party protocols for data interaction, which is more convenient.
附图说明DRAWINGS
图1为本发明实施例提供的IDSU的注册流程图;FIG. 1 is a flowchart of registering an IDSU according to an embodiment of the present invention;
图2为本发明实施例提供的IDSU机制应用于物联网的示意图; 2 is a schematic diagram of an IDSU mechanism applied to an Internet of Things according to an embodiment of the present invention;
图3为本发明实施例提供的IDSU机制的一个系统结构图;3 is a system structural diagram of an IDSU mechanism according to an embodiment of the present invention;
图4为本发明实施例提供的订阅IDSU数据的方法流程图;4 is a flowchart of a method for subscribing to IDSU data according to an embodiment of the present invention;
图5为本发明实施例提供的IDSU机制的一个应用框架示意图;FIG. 5 is a schematic diagram of an application framework of an IDSU mechanism according to an embodiment of the present invention;
图6为本发明实施例提供的设置于数据方设备的装置结构图;FIG. 6 is a structural diagram of an apparatus installed on a data side device according to an embodiment of the present invention;
图7为本发明实施例提供的设置于数据中心的装置结构图;FIG. 7 is a structural diagram of an apparatus installed in a data center according to an embodiment of the present invention;
图8为本发明实施例提供的设置于订阅方设备的装置结构图;FIG. 8 is a structural diagram of an apparatus configured on a subscriber device according to an embodiment of the present disclosure;
图9为本发明实施例提供的用于传输信令的装置结构图;FIG. 9 is a structural diagram of an apparatus for transmitting signaling according to an embodiment of the present invention;
图10为本发明实施例提供的设备结构图。FIG. 10 is a structural diagram of a device according to an embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图和具体实施例对本发明进行详细描述。The present invention will be described in detail below with reference to the drawings and specific embodiments.
在本发明实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本发明。在本发明实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。The terms used in the embodiments of the present invention are for the purpose of describing particular embodiments only and are not intended to limit the invention. The singular forms "a", "the" and "the"
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" as used herein is merely an association describing the associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, while A and B, there are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to determining" or "in response to detecting." Similarly, depending on the context, the phrase "if determined" or "if detected (conditions or events stated)" may be interpreted as "when determined" or "in response to determination" or "when detected (stated condition or event) "Time" or "in response to a test (condition or event stated)".
本发明的核心思想在于,在网络中传输的数据使其都携带分类标识,该分类标识采用统一的生成机制,至少根据该数据所属的分类信息生成。在本发明实施例中,该分类标识作为数据的一个唯一标识单元,在本发明实施例中称为IDSU(IoT Data Storage Unit,物联网数据标准存储单元)。The core idea of the present invention is that the data transmitted in the network carries the classification identifier, and the classification identifier adopts a unified generation mechanism, and is generated according to at least the classification information to which the data belongs. In the embodiment of the present invention, the classification identifier is referred to as an IDSU (IoT Data Storage Unit).
为了方便理解,首先对IDSU的生成方式进行描述。如上所述,IDSU至少由数据所属的分类信息生成,其中分类信息可以包括N级分类,其中N为正整数。除了分类信息之外,还可以根据安全等级信息、数据源信息、该数据所属的分类对应的版本信息、该 数据所述的分类对应的数据格式版本信息等中的至少一种生成。To facilitate understanding, first describe how IDSU is generated. As described above, the IDSU is generated at least by the classification information to which the data belongs, wherein the classification information may include an N-level classification, where N is a positive integer. In addition to the classification information, the security level information, the data source information, and the version information corresponding to the classification to which the data belongs may also be used. At least one of data format version information and the like corresponding to the classification described in the data is generated.
IDSU可以由上述信息按照预定的编码规则进行编码后生成,各信息按照预设的顺序,被编码成特定位数,最终形成统一位数的IDSU。上述信息中,分类信息是必须的,优选地,还可以包括安全等级信息和数据源信息。还可以进一步包含分类对应的版本信息、分类对应的数据格式版本信息。The IDSU can be generated by encoding the above information according to a predetermined encoding rule, and each information is encoded into a specific number of bits according to a preset order, and finally an IDSU of a unified number of bits is formed. In the above information, the classification information is necessary, and preferably, the security level information and the data source information may also be included. The version information corresponding to the classification and the data format version information corresponding to the classification may further be included.
下面以采用上述所有信息为例,提供一种优选的IDSU生成方式,如表1中所示,IDSU可以由三级分类信息、安全等级信息、数据源标识、数据格式版本号和分类版本号按照预定的编码规则进行编码生成。编码规则也可以如表1中所示,其中一级分类码占10位,二级分类码占14位,三级分类码占21位,安全等级占2位,数据源标识占2位,数据格式版本号占6位,分类版本号占8位。符号码可选,占1位,固定取值为1。The following uses all the above information as an example to provide a preferred IDSU generation mode. As shown in Table 1, the IDSU can be classified into three levels of classification information, security level information, data source identifier, data format version number, and classification version number. The predetermined encoding rules are encoded and generated. The coding rules can also be as shown in Table 1, where the primary classification code occupies 10 bits, the secondary classification code occupies 14 bits, the third-level classification code occupies 21 bits, the security level occupies 2 bits, and the data source identifier occupies 2 bits, and the data The format version number is 6 digits, and the classification version number is 8 digits. The symbol code is optional and takes up 1 bit. The fixed value is 1.
表1Table 1
Figure PCTCN2017104188-appb-000001
Figure PCTCN2017104188-appb-000001
其中,一级分类是较高级别的类目,二级类目从属于一级类目,级别次之,三级类目从属于二级类目,级别较低。举个例子,对于运动手环采集的数据,采用的分类信息为:“运动”属于一级类目,“跑步”属于二级类目,“100米”属于三级类目。Among them, the first-level classification is a higher-level category, the second-level category is subordinate to the first-level category, the second-level category is subordinate to the second-level category, and the level is lower. For example, for the data collected by the sports bracelet, the classification information used is: “sports” belongs to the first category, “run” belongs to the second category, and “100 meters” belongs to the third category.
安全等级可以采用0~3之间的4个数值分别代表四种安全等级,例如:0代表共享数据,安全级别最低;1代表需数据方授权的数据;2代表需数据源授权的数据;3代表私有数据,禁止公开,安全级别最高。The security level can use four values between 0 and 3 to represent four security levels, for example: 0 for shared data, lowest security level; 1 for data that requires data source authorization; 2 for data source authorization; 3 Represents private data, prohibits disclosure, and has the highest level of security.
数据源标识可以采用0~3之间的4个数值分别代表4中数据源,例如:0代表终端设备产生的原始数据,1代表加工处理后的分析数据,2代表终端设备间互联的信令数据,3代表服务端数据。The data source identifier can represent 4 data sources respectively by using 4 values between 0 and 3. For example, 0 represents the original data generated by the terminal device, 1 represents the analyzed data after processing, and 2 represents the signaling of the interconnection between the terminal devices. Data, 3 represents server data.
数据格式版本号,用于记录相同分类关联的格式版本,目的是为了更加专业地描述各领域中的数据。例如,分类码为“运动-跑步-100米”时,A数据方指定了该分类对应的数据格式,并使用于其运动设备上。之后,B数据方虽然采用了相同分类码,但提出 了更加全面的数据格式描述,那么其对应的数据格式就可以采用另一版本号,以与之前的版本相区别。The data format version number, which is used to record the format version associated with the same classification, in order to describe the data in various fields more professionally. For example, when the classification code is "sports-running-100 meters", the A data side specifies the data format corresponding to the category and is used on its sports equipment. After that, the B data side uses the same classification code, but proposes For a more comprehensive description of the data format, the corresponding data format can be used with another version number to distinguish it from the previous version.
分类版本号主要用于标注分类体系,即对已有分类体系进行升级后,不会影响已有分类体系的存在,而是采用另一版本号标识升级后的分类体系。从而不会影响之前已经生成的IDSU。The classification version number is mainly used to label the classification system. That is, after upgrading the existing classification system, it does not affect the existence of the existing classification system, but uses another version number to identify the upgraded classification system. This will not affect the IDSU that has been generated before.
采用上述编码方案,可以具备以下优点:With the above coding scheme, the following advantages can be obtained:
1)使得数据方可以自助生成IDSU。1) Enable the data party to self-generate IDSU.
2)采用64位long整型编码方式,支持的分类理论上达到215×218×220=253个。2) Using 64-bit long integer coding, the supported classification theoretically reaches 2 15 × 2 18 × 2 20 = 2 53 .
3)整型编码相对于字符串编码方式,在低功耗物联网设备上可节省一定空间,位运算相对快于字符串运算。3) Integer encoding is relative to string encoding, which saves space on low-power IoT devices, and bit operations are relatively faster than string operations.
4)IDSU编码携带一定的标识信息,例如数据源标识、安全等级等等,方便做一些特定的数据处理。4) The IDSU code carries certain identification information, such as data source identification, security level, etc., to facilitate some specific data processing.
在网络中传输数据时,可以各自采用依据分类信息采用统一规则生成的IDSU。但作为一种优选的实施方式,各数据方可以在统一的数据中心进行IDSU的注册,从而保证IDSU生成规则的统一性。下面结合图1所示实施例对IDSU的注册过程进行描述,在该实施例中,主要涉及两个设备:数据方设备和数据中心。其中数据方设备可以是任意的终端设备,也可以是服务器或服务器集群。数据中心通常可以是服务器或服务器集群。When transmitting data in the network, IDSUs generated by using uniform rules according to the classification information may be used. However, as a preferred implementation manner, each data party can register the IDSU in a unified data center, thereby ensuring the uniformity of the IDSU generation rules. The registration process of the IDSU will be described below with reference to the embodiment shown in FIG. 1. In this embodiment, two devices are mainly involved: a data party device and a data center. The data party device may be any terminal device, or may be a server or a server cluster. A data center can usually be a server or a server cluster.
图1所示实施例的执行流程是数据中心侧执行的,如图1所示,该方法可以包括以下步骤:The execution flow of the embodiment shown in FIG. 1 is performed on the data center side. As shown in FIG. 1, the method may include the following steps:
在101中,获取数据方设备发送的分类信息。In 101, the classification information sent by the data party device is obtained.
在本发明实施例中,可以由数据方自定义分类信息,例如由数据方提供一级分类、二级分类以及三级分类的信息;也可以由数据平台向数据方设备提供可选的分类信息,例如向数据方提供可选的一级分类、二级分类以及三级分类的信息,供数据方从中选择;或者也可以采用以上两者相互结合的方式,例如向数据方提供可选的一级分类、二级分类以及三级分类的信息,若数据方觉得可选的某级分类信息不满足需求,则可以通过自定义的方式来定义某级分类信息。In the embodiment of the present invention, the classification information may be customized by the data party, for example, the data side provides the information of the primary classification, the secondary classification, and the tertiary classification; the data platform may also provide the optional classification information to the data party device. For example, the data side is provided with optional primary classification, secondary classification, and tertiary classification information for the data party to select from; or a combination of the two may be used, for example, providing an optional one to the data party. Level classification, secondary classification, and tertiary classification information. If the data side feels that the optional classification information does not meet the requirements, it can define a certain classification information through a customized method.
若数据方发送的分类信息是数据平台已有的分类信息,则直接获取对应分类码即可。若并非是数据平台已有的分类信息,例如在某级分类新增了一种分类信息,则数据平台可以在该新增分类信息审批通过后,记录新增分类信息,确定新增分类信息的分类码,并升级分类版本号。其中,审批可以是数据平台依据预定的规则执行,也可以提供给管 理人员,由管理人员进行审批。If the classification information sent by the data party is the classification information existing on the data platform, the corresponding classification code may be directly obtained. If it is not the existing classification information of the data platform, for example, a classification information is added in a certain classification, the data platform may record the newly added classification information and determine the newly added classification information after the approval of the newly added classification information. The classification code and upgrade the classification version number. Wherein, the approval may be performed by the data platform according to a predetermined rule, or may be provided to the tube The management personnel are approved by the management personnel.
其中,若数据方申请的是新增一级分类,则新增一级分类后,则还可能基于该一级分类继续申请新增二级分类、三级分类。若数据方申请的是某一级分类下新增二级分类,则该二级分类从属于该一级分类,还可能基于该二级分类继续申请新增三级分类。无论申请新增哪个级别的分类,最终形成的分类信息由于是新的分类信息,因此需要升级分类版本号,例如基于现有最高的分类版本号加1。If the data party applies for the addition of the first-level classification, after adding the first-level classification, it may also continue to apply for the addition of the second-level classification and the third-level classification based on the first-level classification. If the data party applies for a new secondary classification under a certain classification, the secondary classification is subordinate to the primary classification, and may further apply for a new tertiary classification based on the secondary classification. Regardless of which level of classification is applied for, the resulting classification information is new classification information, so the classification version number needs to be upgraded, for example, based on the highest existing classification version number plus one.
在102中,判断是否已经存在针对所述分类信息生成的IDSU,如果是,则执行103;否则,执行106。In 102, it is determined whether an IDSU generated for the classification information already exists, and if so, 103 is performed; otherwise, 106 is performed.
在103中,判断是否接收到格式版本变更请求,如果是,执行104;否则,执行107,将已经存在的针对所述分类信息生成的IDSU返回给数据方设备,完成本次注册。In 103, it is determined whether a format version change request is received, and if so, execution 104; otherwise, execution 107 returns the already existing IDSU generated for the classification information to the data party device to complete the registration.
对于每一种分类而言,都存在对应的数据格式,数据中心可以将该数据格式提供给数据方设备,可以主动提供,也可以应数据方设备的请求后提供。数据方查看该数据格式后,如果认为该数据格式能够满足其需求,可以接受该数据格式;如果认为不能够满足其需求,可以通过数据方设备向数据中心发送格式版本变更请求。例如,可以在格式版本设置界面上设置需求的数据格式,然后点击“确认”组件后发送格式版本变更请求,该格式版本变更请求包含请求变更后的格式信息。For each classification, there is a corresponding data format, and the data center can provide the data format to the data party device, which can be provided on its own initiative or after the request of the data party device. After viewing the data format, the data party can accept the data format if it believes that the data format can meet its requirements; if it is deemed that the data cannot meet its requirements, the data source device can send a format version change request to the data center. For example, the format data format of the requirement can be set on the format version setting interface, and then the format confirmation request is sent after clicking the "confirm" component, and the format version change request includes the format information after the request is changed.
在104中,保存请求变更后的格式信息,升级该分类信息对应的格式版本号。In 104, the format information after the request change is saved, and the format version number corresponding to the classification information is upgraded.
在本步骤中,每一种分类可以对应多个数据格式,从而应对不同数据方的需求,为了对各数据格式进行区分,可以采用不同的格式版本号。例如,某分类每次增加一种新的数据格式,就将该分类对应的当前最大的格式版本号加1。In this step, each type of classification can correspond to multiple data formats, so as to cope with the needs of different data parties. In order to distinguish each data format, different format version numbers can be used. For example, each time a category is added with a new data format, the current maximum format version number corresponding to the category is incremented by one.
在105中,生成IDSU并返回给数据方设备,完成本次注册。In 105, the IDSU is generated and returned to the data party device to complete the registration.
本步骤中可以按照上述表1中的规则,对分类信息、安全等级、数据源标识、数据格式版本号、分类版本号等进行编码后,得到IDSU。另外,需要说明的是,在该实施例中,数据方设置分类信息之后,还可以进一步设置安全等级和数据源标识,即通过数据方设备将安全等级信息和数据源标识发送给数据中心,供数据中心生成IDSU,该过程图1中并未示出。In this step, the classification information, the security level, the data source identifier, the data format version number, the classification version number, and the like may be encoded according to the rules in Table 1 above to obtain the IDSU. In addition, it should be noted that, in this embodiment, after the data side sets the classification information, the security level and the data source identifier may be further set, that is, the security level information and the data source identifier are sent to the data center by the data party device, where The data center generates an IDSU, which is not shown in Figure 1.
在106中,获取数据方设备发送的数据格式信息,设置格式版本号,转至执行105。At 106, the data format information sent by the data party device is obtained, the format version number is set, and the process proceeds to execution 105.
对于新增加的分类,数据方需要针对该分类设置数据格式,以便属于该分类的数据能够采用对应的数据格式。在本步骤中,数据方设备可以将数据中心提供的数据格式设置界面展现给数据方,由数据方在格式设置界面设置数据格式,并将该数据格式发送给 数据中心。For the newly added classification, the data side needs to set the data format for the classification, so that the data belonging to the classification can adopt the corresponding data format. In this step, the data party device can display the data format setting interface provided by the data center to the data party, and the data party sets the data format in the format setting interface, and sends the data format to the data format. data center.
举一个数据格式的例子,假设定义的数据格式为:As an example of a data format, assume that the defined data format is:
"描述规则":"原始类型"_["取值范围"]_"单位""Description rules": "Original type" _["Value range"]_"Unit"
以体质数据为例,其对应的数据格式为:Taking physical data as an example, the corresponding data format is:
{{
"sex":"int_[0,2]_","sex":"int_[0,2]_",
"height":"int_[0,300]_cm","height":"int_[0,300]_cm",
"weight":"double_[0,500]_kg""weight":"double_[0,500]_kg"
}}
在传输数据时,数据按照上述数据格式可以为:When transmitting data, the data according to the above data format can be:
{{
"sex":0,"sex": 0,
"height":172,"height": 172,
"weight":66.5"weight": 66.5
}}
这样,对于接收到该数据的接收方而言,依据该数据所携带IDSU对应的数据格式进行解析后,就能够获知该数据的内容为:性别为0指代的性别,身高为172cm,体重为66.5cm。In this way, the receiver that receives the data is parsed according to the data format corresponding to the IDSU carried by the data, and then the content of the data is: the gender is 0, the height is 172 cm, and the weight is 66.5cm.
另外,由于不同数据方可能对同一类数据的使用方式各有不同,因此在使用方式上会存在个别差异,这些差异可以通过在数据中心设置扩展配置信息来实现。数据中心可以接收并存储数据方针对注册的IDSU发送的扩展配置信息,例如数据是否在数据中心存储、订阅方约束信息、是否需要过滤敏感词等等。这些扩展配置信息并不编码在IDSU中,而是在数据中心额外记录,例如可以记录于扩展配置表中。In addition, since different data parties may use the same type of data differently, there are individual differences in usage patterns, which can be achieved by setting extended configuration information in the data center. The data center can receive and store extended configuration information sent by the data party for the registered IDSU, such as whether the data is stored in the data center, subscriber constraint information, whether sensitive words need to be filtered, and the like. These extended configuration information are not encoded in the IDSU, but are additionally recorded in the data center, for example, can be recorded in the extended configuration table.
上述IDSU机制可以广泛地应用于物联网,如图2中所示,物联网设备可以在网络中传输IDSU数据(即携带IDSU的数据),从而实现IDSU的数据流转。还可以通过与云端服务器的接口(YunIO)在数据中心除了进行上述IDSU的注册之外,还可以进行IDSU的数据授权,例如对订阅某IDSU数据的订阅方设备进行授权。另外,还可以通过特定分类的IDSU定义信令数据,从而实现事件分发,例如状态事件上报、控制事件下发等等。这些可以通过各种开放平台,应用于智能家庭、智能城市、智能体育、车联网等各种领域。还能够应用于数据共享平台、数据挖掘引擎、数据实时计算平台,等等。下面对其中一些典型的应用场景的实现方案进行详述。 The IDSU mechanism described above can be widely applied to the Internet of Things. As shown in FIG. 2, the IoT device can transmit IDSU data (ie, data carrying IDSU) in the network, thereby implementing data flow of the IDSU. It is also possible to perform IDSU data authorization in addition to the IDSU registration in the data center through the interface with the cloud server (YunIO), for example, to authorize the subscriber device that subscribes to an IDSU data. In addition, the signaling data can be defined by the IDSU of the specific classification, thereby implementing event distribution, such as status event reporting, control event delivery, and the like. These can be applied to various fields such as smart home, smart city, smart sports, and car networking through various open platforms. It can also be applied to data sharing platforms, data mining engines, data real-time computing platforms, and the like. The implementation schemes of some typical application scenarios are described in detail below.
一种典型的应用场景是,对于数据方注册的IDSU,可以实现针对该IDSU的数据订阅。该应用场景涉及的系统构成,可以如图3中所示,包括:数据方设备、数据源设备、数据中心和订阅方设备。其中数据方设备和数据源设备上面实施例中已经提及,订阅方设备指的是订阅某IDSU数据的设备,可以是终端设备,也可以是服务器。数据源设备指的是发送IDSU数据的源设备,可以是终端设备,也可以是服务器。A typical application scenario is that for an IDSU registered by a data party, a data subscription for the IDSU can be implemented. The system configuration involved in the application scenario may be as shown in FIG. 3, including: a data party device, a data source device, a data center, and a subscriber device. The data device and the data source device have been mentioned in the above embodiments. The subscriber device refers to a device that subscribes to an IDSU data, and may be a terminal device or a server. A data source device refers to a source device that sends IDSU data, and may be a terminal device or a server.
该应用场景的主要实现如图3中所示:The main implementation of the application scenario is shown in Figure 3:
在301中,数据方设备和数据中心采用如图1中所示的流程实现IDSU的注册。In 301, the data party device and the data center implement the registration of the IDSU using the flow as shown in FIG.
在302中,订阅方设备在数据中心订阅携带该IDSU的数据,简称IDSU数据。In 302, the subscriber device subscribes to the data carrying the IDSU in the data center, referred to as IDSU data.
订阅IDSU数据的过程后续将在图4所示的实施例中详述。The process of subscribing to IDSU data will be detailed later in the embodiment shown in FIG.
订阅成功后,在303中,数据源设备发送的IDSU数据被发送至数据中心。After the subscription is successful, in 303, the IDSU data sent by the data source device is sent to the data center.
在304中,数据中心将接收到的IDSU数据转发给订阅该IDSU数据的订阅方设备。At 304, the data center forwards the received IDSU data to a subscriber device that subscribes to the IDSU data.
IDSU注册成功后,数据源设备可以进行IDSU数据的发送,为了保证IDSU数据均经由数据中心进行转发,数据源设备在发送IDSU数据时,该数据的目的地址均为数据中心的地址。其中目的地址可以是IP地址、数据中心的身份标识,例如ID2,ID2是由标识服务器统一分配,并提供给设备,在设备的出厂阶段写入设备安全存储区域的身份标识。目的地址的类型根据具体的网络协议类型进行确定,本发明并不加以限制。对于数据中心而言,接收到IDSU数据后,查找订阅该IDSU的订阅方设备,在转发IDSU数据时,将IDSU数据的目的地址分别替换为各订阅方设备的地址。After the IDSU is successfully registered, the data source device can transmit the IDSU data. To ensure that the IDSU data is forwarded through the data center, when the data source device sends the IDSU data, the destination address of the data is the address of the data center. The destination address may be an IP address, an identifier of the data center, for example, ID 2 , and ID 2 is an identity that is uniformly allocated by the identification server and provided to the device, and is written to the secure storage area of the device at the factory stage of the device. The type of the destination address is determined according to the specific network protocol type, and the present invention is not limited. For the data center, after receiving the IDSU data, the subscriber device that subscribes to the IDSU is searched, and when the IDSU data is forwarded, the destination address of the IDSU data is replaced with the address of each subscriber device.
也就是说,IDSU数据从数据源设备先层层上报至数据中心,然后由数据中心统一转发给各订阅方。That is to say, the IDSU data is reported from the data source device to the data center, and then uniformly forwarded to the subscribers by the data center.
需要说明的是,上述数据方设备和数据源设备可以是同一设备,也可以是不同设备。It should be noted that the foregoing data party device and the data source device may be the same device or different devices.
图4为本发明实施例提供的订阅IDSU数据的方法流程图,该流程由数据中心执行,如图4中所示,该方法包括:4 is a flowchart of a method for subscribing to IDSU data according to an embodiment of the present invention. The process is performed by a data center. As shown in FIG. 4, the method includes:
在401中,数据中心接收订阅方设备发送的订阅请求。In 401, the data center receives a subscription request sent by the subscriber device.
数据中心可以向订阅方设备发送订阅界面,在该订阅界面上订阅方可以查看到可供订阅的IDSU,同时还可以看到该IDSU的相关描述,例如是数据方信息、分类信息等。订阅方选择要订阅的IDSU后,订阅方设备向数据中心发送订阅请求,该订阅请求中携带有要订阅的IDSU。The data center can send a subscription interface to the subscriber device, where the subscriber can view the IDSU available for subscription, and can also see the related description of the IDSU, such as data party information, classification information, and the like. After the subscriber selects the IDSU to be subscribed, the subscriber device sends a subscription request to the data center, which carries the IDSU to be subscribed.
需要说明的是,除了上述获取要订阅的IDSU方式之外,订阅方设备也可以从数据方设备获取IDSU。例如,数据方设备完成IDSU的注册后,可以将注册成功的IDSU提 供给数据方设备。其中提供的方式可以多种多样,例如,数据方设备可以将注册的IDSU生成二维码供数据方设备扫描。It should be noted that, in addition to the above-mentioned IDSU mode for obtaining subscription, the subscriber device may also acquire the IDSU from the data party device. For example, after the data party device completes the registration of IDSU, the IDSU that successfully registered can be mentioned. Supply data device. The manners provided therein can be varied. For example, the data party device can generate a two-dimensional code for the registered IDSU for the data party device to scan.
在402中,数据中心记录IDSU与订阅方设备之间的对应关系,并标注订阅方设备的状态为待审核。In 402, the data center records the correspondence between the IDSU and the subscriber device and indicates that the status of the subscriber device is pending review.
在403中,接收数据方设备发送的是否允许订阅方设备订阅该IDSU的授权信息。In 403, the receiving data device sends whether the subscriber device is allowed to subscribe to the authorization information of the IDSU.
数据方可以定期从数据中心查看订阅该IDSU的订阅方设备信息,然后进行授权管理,如果允许某订阅方设备订阅,则可以向数据中心发送允许该订阅方设备订阅的授权信息。或者,数据中心也可以定期主动推送订阅该IDSU的订阅方设备信息给数据方设备,供设备方进行授权管理。The data party can periodically view the subscriber device information subscribed to the IDSU from the data center, and then perform authorization management. If a subscriber device is allowed to subscribe, the data center can be sent an authorization information that allows the subscriber device to subscribe. Alternatively, the data center may also actively push and subscribe the subscriber device information of the IDSU to the data party device for authorization management.
在404中,若数据方设备允许订阅方设备订阅该IDSU,则标注该订阅方设备的状态为订阅成功。In 404, if the data party device allows the subscriber device to subscribe to the IDSU, the status of the subscriber device is marked as a subscription success.
上述过程是为了保证订阅安全性所提供的一种优选的实现方式,即订阅的授权由数据方来完成。除了这种实现方式之外,还可以存在其他方式,例如授权由数据中心的管理员实现。或者,不进行授权的管理,任何订阅方设备均可以订阅,即数据中心接收到订阅请求后,直接标注订阅方设备的状态为订阅成功。等等。The above process is a preferred implementation provided to ensure subscription security, that is, the authorization of the subscription is completed by the data party. In addition to this implementation, there may be other ways, such as authorization being implemented by an administrator of the data center. Alternatively, without authorization management, any subscriber device can subscribe, that is, after receiving the subscription request, the data center directly indicates that the status of the subscriber device is the subscription success. and many more.
后续数据中心在进行IDSU数据的转发时,只会转发给订阅成功状态的订阅方设备。When the subsequent data center forwards the IDSU data, it will only forward to the subscriber device with the subscription success status.
上述实施例所示流程对应的框架可以如图5所示。数据中心可以对外提供注册/订阅页面,供数据方进行IDSU注册以及供订阅方进行IDSU订阅,默认订阅方为待审核状态。另外,向外提供授权机制,以便数据方能够对订阅IDSU的订阅方进行授权,只有获得授权的订阅方被设置为订阅成功状态。IDSU和订阅方之间的订阅关系缓存在订阅关系列表中。The framework corresponding to the flow shown in the above embodiment may be as shown in FIG. 5. The data center can provide a registration/subscription page for the data party to register with IDSU and the subscriber to subscribe to IDSU. The default subscriber is pending review. In addition, an authorization mechanism is provided externally so that the data party can authorize the subscribers subscribing to the IDSU, and only the authorized subscribers are set to the subscription success state. The subscription relationship between IDSU and the subscriber is cached in the subscription relationship list.
主线程负责进行数据包的分发,这里的数据包指的是接收到的IDSU数据,进行Tlog记录和大数据计算服务(ODPS)。The main thread is responsible for the distribution of the data packets, where the data packets refer to the received IDSU data for Tlog recording and Big Data Computing Service (ODPS).
接收到的IDSU数据存放于订阅异步消息队列-IN(入方向)中,通过YunIO接口进行IDSU是否存在的校验。The received IDSU data is stored in the subscribed asynchronous message queue-IN (inbound direction), and the IDIO interface is used to check whether the IDSU exists.
订阅处理和数据转发处理可以由数据中心的订阅处理器执行,订阅处理器从订阅消息异步消息队列中拉取IDSU数据。可扩展过滤指的是,基于数据方在注册过程中向数据中心提供的扩展设置信息,对接收到的数据进行可扩展过滤处理。例如,对于设置为不可订阅的IDSU,不做转发。对于设置为需要过滤敏感信息的IDSU,对接收到的IDSU数据进行敏感信息的过滤,等等。 The subscription processing and data forwarding processing can be performed by the subscription processor of the data center, and the subscription processor pulls the IDSU data from the subscription message asynchronous message queue. Extensible filtering refers to the scalable filtering processing of received data based on the extended setting information provided by the data party to the data center during the registration process. For example, for IDSUs that are set to be unsubscribe, no forwarding is done. For IDSUs set to filter sensitive information, sensitive information is filtered on received IDSU data, and so on.
IDSU数据可以分发至通过各种订阅机制进行订阅的订阅方设备,通常对于内部订阅方而言,可以通过诸如HSF(高性能服务框架)订阅、CMNS(connection mode network service,连接模式网络服务)订阅等。对于外部订阅方,可以通过Metag订阅、HTTP订阅等方式。IDSU数据首先被发送至订阅异步消息队列-OUT(出方向),然后经由处理订阅的HSF服务通过网关发送给外部订阅方。IDSU data can be distributed to subscriber devices that subscribe through various subscription mechanisms, typically for internal subscribers, through subscriptions such as HSF (High Performance Service Framework) subscriptions, CMNS (connection mode network service) subscriptions Wait. For external subscribers, you can use Metag subscriptions, HTTP subscriptions, and more. The IDSU data is first sent to the subscribed asynchronous message queue -OUT (outbound direction) and then sent to the external subscriber via the gateway via the HSF service processing the subscription.
针对该应用场景举一个实例:Give an example for this application scenario:
某新闻服务提供商在数据中心注册了“新闻-体育-NBA”的分类,生成了数据源标识为该新闻服务提供商的IDSU。用户想要通过手机阅读该新闻服务提供商该分类的新闻,则可以通过数据中心订阅该IDSU。当该新闻服务提供商的新闻服务器有该分类下的新闻数据时,发送携带该IDSU的数据。这些IDSU数据被转发至数据中心,经由数据中心转发给订阅该IDSU的订阅方设备。对应图3所示实施例。A news service provider registered the "News-Sports-NBA" category in the data center and generated the IDSU with the data source ID as the news service provider. The user wants to read the classified news of the news service provider through the mobile phone, and can subscribe to the IDSU through the data center. When the news server of the news service provider has the news data under the category, the data carrying the IDSU is sent. These IDSU data are forwarded to the data center and forwarded via the data center to the subscriber device subscribing to the IDSU. Corresponding to the embodiment shown in FIG.
另一种典型的应用场景是,设备间传输携带IDSU的信令数据,从而达到设备间的握手,或者设备间的控制等目的。Another typical application scenario is to transmit signaling data carrying IDSUs between devices to achieve handshake between devices or control between devices.
对于每一种信令均可以存在对应的分类信息,进而具有IDSU,也就是说,可以通过信令数据携带的IDSU表明信令类型。For each type of signaling, corresponding classification information may exist, which in turn has an IDSU, that is, the signaling type may be indicated by the IDSU carried in the signaling data.
各设备可以依据当前的状态和需求发送对应IDSU的信令数据,接收到信令数据的设备从信令数据携带的IDSU就可以获知是何种信令。另外,在设备中可以预先存储IDSU与处理逻辑之间的对应关系,接收到信令数据的设备依据IDSU对应的数据格式对该信令数据进行解析后,就可以依据解析结果执行IDSU对应的处理逻辑。Each device can send signaling data corresponding to the IDSU according to the current status and requirements, and the device that receives the signaling data can know what kind of signaling is from the IDSU carried by the signaling data. In addition, the correspondence between the IDSU and the processing logic may be pre-stored in the device, and the device that receives the signaling data parses the signaling data according to the data format corresponding to the IDSU, and then performs the processing corresponding to the IDSU according to the parsing result. logic.
针对该种应用场景举一个实例:Give an example for this kind of application scenario:
有新的节点,假设为节点1要加入网络,则该节点1在对该网络中的已有节点进行扫描后,得到节点列表。从节点列表中选择一个节点2发送信令,该信令携带的IDSU1指明该信令的类别为请求加入网络的信令。接收到该信令的节点2依据该IDSU1对应的数据格式对该信令进行解析,从该信令中得到该节点的身份信息,例如该节点1的ID2。假设该IDSU1对应的处理逻辑为对节点的身份进行认证,如果认证通过则返回允许加入网络的响应报文,如果认证失败,则返回拒绝加入网络的响应报文。那么接收到上述信令的节点2就依据该节点1的ID2执行身份认证的处理逻辑。假设认证通过,则返回携带IDSU2的信令,该IDSU2指明该信令的类别为是否允许加入网络的响应报文,然后将允许加入网络的信息依据与该IDSU2对应的数据格式包含在信令中。节点1接收到携 带IDSU2的信令后,完成一次握手。后续还可以存在其他握手过程,均可以采用IDSU标识信令类型,不再一一穷举。There is a new node, assuming that node 1 is to join the network, then node 1 obtains a list of nodes after scanning the existing nodes in the network. Selecting a node 2 from the node list sends signaling, and the IDSU1 carried by the signaling indicates that the type of the signaling is signaling requesting to join the network. The node 2 that receives the signaling parses the signaling according to the data format corresponding to the IDSU1, and obtains the identity information of the node, for example, the ID 2 of the node 1 from the signaling. It is assumed that the processing logic corresponding to the IDSU1 is to authenticate the identity of the node. If the authentication succeeds, the response packet that is allowed to join the network is returned. If the authentication fails, the response packet rejecting the network is returned. Then, the node 2 that receives the above signaling performs processing logic of identity authentication according to the ID 2 of the node 1. Assuming that the authentication is passed, the signaling carrying the IDSU2 is returned. The IDSU2 indicates that the type of the signaling is a response message that is allowed to join the network, and then the information allowed to join the network is included in the signaling according to the data format corresponding to the IDSU2. . After receiving the signaling carrying IDSU2, node 1 completes a handshake. There may be other handshake processes in the future, and the IDSU identification signaling type may be used, and it is no longer exhaustive.
再举一个实例,在很多应用场景下,需要网络中的各节点进行协商选举,例如依据设备能力选取网络中的根节点,那么网络中的各节点就可以在网络中广播携带IDSU3的信令,且在该信令中携带自身的能力信息。其中,IDSU3指明该信令的类别为携带能力信息的广播报文。As another example, in many application scenarios, each node in the network needs to perform negotiation and election, for example, selecting a root node in the network according to device capabilities, and then each node in the network can broadcast signaling carrying IDSU3 in the network. And carrying its own capability information in the signaling. The IDSU3 indicates that the type of the signaling is a broadcast message carrying capability information.
以上是对本发明所提供的方法进行的详细描述,下面对本发明提供的装置进行详细描述。The above is a detailed description of the method provided by the present invention, and the apparatus provided by the present invention will be described in detail below.
本发明实施例提供的装置主要包括能够在网络中传输携带分类标识的数据的传输单元,该分类标识根据数据所属的分类信息生成,还可以进一步根据如下信息中的至少一种生成:安全等级信息、数据源信息、该数据所属的分类对应的版本信息、该数据所属的分类对应的数据格式版本信息。The device provided by the embodiment of the present invention mainly includes a transmission unit capable of transmitting data carrying a classification identifier in a network, and the classification identifier is generated according to classification information to which the data belongs, and may further generate: security level information according to at least one of the following information: Data source information, version information corresponding to the category to which the data belongs, and data format version information corresponding to the category to which the data belongs.
其中该装置可以设置于数据中心设备、数据源设备、订阅方设备,另外,为了配合数据分类的注册,本发明实施例还提供了设置于数据方设备的装置。下面结合实施例对这些装置进行详述。The device may be disposed in the data center device, the data source device, and the subscriber device. In addition, in order to cooperate with the registration of the data classification, the embodiment of the present invention further provides a device disposed on the data party device. These devices are described in detail below in conjunction with the embodiments.
图6为本发明实施例提供的设置于数据方设备的装置结构图,如图6中所示,该装置可以包括:注册单元01,还可以包括授权单元02和标识提供单元03。各组成单元的主要功能如下:FIG. 6 is a structural diagram of an apparatus for setting a data side device according to an embodiment of the present invention. As shown in FIG. 6, the apparatus may include: a registration unit 01, and may further include an authorization unit 02 and an identifier providing unit 03. The main functions of each component are as follows:
注册单元01负责向数据中心注册分类标识,以便该数据方的设备在网络中传输携带已注册分类标识的数据,其中分类标识根据该数据所属的分类信息生成。The registration unit 01 is responsible for registering the classification identifier with the data center, so that the device of the data party transmits data carrying the registered classification identifier in the network, wherein the classification identifier is generated according to the classification information to which the data belongs.
具体地,注册单元01可以向数据中心发送分类信息,获取数据中心针对分类信息返回的分类标识。其中注册单元01可以从数据中心提供的可选的分类信息中进行选择,也可以自定义分类信息,或者采用两者组合的方式。其中,注册单元01在确定分类信息后,如果当前分类不存在对应的数据格式信息,或者当前分类对应的数据格式信息并不能满足需求,可以进一步向数据中心发送格式版本变更请求,该请求中携带请求变更后的数据格式。这种情况下,数据中心针对分类信息返回的分类标识为依据分类信息和请求变更后的格式版本生成的分类标识。Specifically, the registration unit 01 may send the classification information to the data center to obtain the classification identifier returned by the data center for the classification information. The registration unit 01 may select from the optional classification information provided by the data center, or may customize the classification information, or adopt a combination of the two. After the registration unit 01 determines the classification information, if the current classification does not have the corresponding data format information, or the data format information corresponding to the current classification does not meet the requirement, the format version change request may be further sent to the data center, where the request carries Request the changed data format. In this case, the classification identifier returned by the data center for the classification information is a classification identifier generated according to the classification information and the format version after the request is changed.
更进一步地,注册单元01还可以针对注册的分类标识向所述数据中心发送扩展配置信息,其中扩展配置信息可以包括但不限于:数据是否在数据中心存储、订阅方约束信息、以及是否需要过滤敏感信息,等等。 Further, the registration unit 01 may further send extended configuration information to the data center for the registered classification identifier, where the extended configuration information may include, but is not limited to, whether the data is stored in the data center, the subscriber constraint information, and whether filtering is required. Sensitive information, and more.
授权单元02负责从数据中心获取订阅分类标识的订阅方设备信息;向数据中心发送是否允许订阅方设备订阅分类标识的授权信息。The authorization unit 02 is responsible for obtaining the subscriber device information of the subscription classification identifier from the data center; and transmitting to the data center whether the subscriber device is allowed to subscribe to the authorization information of the classification identifier.
标识提供单元03负责将注册的分类标识提供给订阅方设备,例如可以将分类标识生成二维码供订阅方设备扫描,或者采用其他诸如邮件、消息等方式提供给订阅方。The identifier providing unit 03 is responsible for providing the registered classification identifier to the subscriber device. For example, the classification identifier may be generated by the subscriber identifier for scanning by the subscriber device, or may be provided to the subscriber by other means such as mail, message, and the like.
图7为本发明实施例提供的设置于数据中心的装置结构图,如图7所示,该装置包括可以注册单元11,还可以包括转发单元12和订阅单元13,各组成单元的主要功能如下:FIG. 7 is a structural diagram of an apparatus installed in a data center according to an embodiment of the present invention. As shown in FIG. 7, the apparatus includes a registrable unit 11, and further includes a forwarding unit 12 and a subscription unit 13. The main functions of each component are as follows: :
注册单元11负责存储数据方设备注册的分类标识,以便处理携带分类标识的数据,其中分类标识根据该数据所属的分类信息生成。The registration unit 11 is responsible for storing the classification identifier registered by the data party device, so as to process the data carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
具体地,注册单元11接收数据方设备发送的分类信息后;判断是否已经存在针对该分类信息生成的分类标识,如果是,则将已经存在的针对该分类信息生成的分类标识返回给数据方设备;否则,升级该分类信息对应的版本信息,针对该分类信息生成分类标识并返回给数据方设备。Specifically, after the registration unit 11 receives the classification information sent by the data side device, it determines whether there is already a classification identifier generated for the classification information, and if yes, returns the existing classification identifier generated for the classification information to the data party device. Otherwise, the version information corresponding to the classification information is upgraded, and a classification identifier is generated for the classification information and returned to the data party device.
其中,在判断结果为是时,如果接收到数据方设备针对所述分类信息发送的格式版本变更请求,则保存请求变更后的格式信息,升级所述分类信息对应的版本信息,然后生成分类标识返回给数据方设备;否则,将已经存在的针对该分类信息生成的分类标识返回给数据方设备。When the determination result is YES, if the format version change request sent by the data party device for the classification information is received, the format information after the request change is saved, the version information corresponding to the classification information is upgraded, and then the classification identifier is generated. Returned to the data party device; otherwise, the existing classification identifier generated for the classification information is returned to the data party device.
更进一步地,在注册单元11判断不存在针对该分类信息生成的分类标识时,还会接收到数据方设备针对所述分类信息发送的格式信息,保存该格式信息并记录对应的格式版本信息。Further, when the registration unit 11 determines that there is no classification identifier generated for the classification information, it also receives the format information sent by the data party device for the classification information, saves the format information, and records the corresponding format version information.
另外,注册单元11还可以接收并存储所述数据方针对注册的分类标识发送的扩展配置信息。其中扩展配置信息包括:数据是否在数据中心存储、订阅方约束信息、以及是否需要过滤敏感信息。In addition, the registration unit 11 may also receive and store extended configuration information sent by the data party for the registered classification identifier. The extended configuration information includes whether the data is stored in the data center, the subscriber constraint information, and whether the sensitive information needs to be filtered.
转发单元12负责接收到携带已注册的分类标识的数据后,将该数据发送给订阅该分类标识的订阅方设备。After receiving the data carrying the registered classification identifier, the forwarding unit 12 sends the data to the subscriber device that subscribes to the classification identifier.
订阅单元13负责存储订阅分类标识的订阅方信息以及数据方设备发送的是否允许订阅方设备订阅分类标识的授权信息。转发单元12将数据发送给允许订阅分类标识的订阅方设备。The subscribing unit 13 is responsible for storing the subscriber information of the subscription classification identifier and the authorization information sent by the data party device whether the subscriber device is allowed to subscribe to the classification identifier. The forwarding unit 12 sends the data to the subscriber device that is allowed to subscribe to the classification identifier.
其中订阅单元13可以在接收到订阅方设备的订阅请求后,在存储订阅方设备与分类标识之间的对应关系时,可以首先标注订阅方设备为待审核状态。知道接收到数据方设 备允许该订阅方设备订阅该分类标识的授权信息后,将该订阅方设备标注为订阅成功的状态。转发单元12在进行数据转发时,仅转发给处于订阅成功状态的订阅方设备。The subscription unit 13 may first mark the subscriber device as a pending status when storing the correspondence between the subscriber device and the classification identifier after receiving the subscription request of the subscriber device. Know the data received After the subscriber device is allowed to subscribe to the authorization information of the classification identifier, the subscriber device is marked as a subscription success status. When forwarding the data, the forwarding unit 12 forwards only to the subscriber device in the subscription success state.
图8为本发明实施例提供的设置于订阅方设备的装置结构图,如图8所示,该装置可以包括:订阅单元21和接收单元22,还可以包括标识获取单元23。各组成单元的主要功能如下:FIG. 8 is a structural diagram of an apparatus for setting up a subscriber device according to an embodiment of the present invention. As shown in FIG. 8, the apparatus may include: a subscription unit 21 and a receiving unit 22, and may further include an identifier obtaining unit 23. The main functions of each component are as follows:
订阅单元21负责向数据中心订阅分类标识。The subscription unit 21 is responsible for subscribing to the data center for the classification identifier.
接收单元22负责接收数据中心转发的携带分类标识的数据,其中分类标识根据该数据所属的分类信息生成。The receiving unit 22 is responsible for receiving data carrying the classification identifier forwarded by the data center, wherein the classification identifier is generated according to the classification information to which the data belongs.
标识获取单元23可以从数据中心获取可订阅的分类标识,或者,从数据方设备获取可订阅的分类标识。The identity obtaining unit 23 may acquire a subscribing classification identifier from the data center, or acquire a subscribing classification identifier from the data party device.
图9为本发明实施例提供的用于传输信令的装置结构图,如图9所示,该装置可以包括传输单元31,还可以包括解析处理单元32。各组成单元的主要功能如下:FIG. 9 is a structural diagram of an apparatus for transmitting signaling according to an embodiment of the present invention. As shown in FIG. 9, the apparatus may include a transmission unit 31, and may further include an analysis processing unit 32. The main functions of each component are as follows:
传输单元31负责与其他设备间传输携带分类标识的信令数据,其中分类标识根据该信令数据所属的分类信息生成,信令数据采用分类标识对应的数据格式。The transmission unit 31 is responsible for transmitting signaling data carrying the classification identifier with other devices, wherein the classification identifier is generated according to the classification information to which the signaling data belongs, and the signaling data adopts a data format corresponding to the classification identifier.
解析处理单元32负责在传输单元31接收到携带分类标识的信令数据后,依据分类标识对应的数据格式对信令数据进行解析,并依据解析结果执行与分类标识对应的处理逻辑。The parsing processing unit 32 is responsible for parsing the signaling data according to the data format corresponding to the classification identifier after receiving the signaling data carrying the classification identifier, and performing processing logic corresponding to the classification identifier according to the parsing result.
本发明实施例提供的上述方法和装置可以以设置并运行于设备中的计算机程序体现。该设备可以包括一个或多个处理器,还包括存储器和一个或多个程序,如图10中所示。其中该一个或多个程序存储于存储器中,被上述一个或多个处理器执行以实现本发明上述实施例中所示的方法流程和/或装置操作。例如,被上述一个或多个处理器执行的方法流程,可以包括:The above method and apparatus provided by the embodiments of the present invention may be embodied by a computer program that is set up and operates in a device. The device may include one or more processors, and also includes a memory and one or more programs, as shown in FIG. The one or more programs are stored in a memory and executed by the one or more processors to implement the method flow and/or device operations illustrated in the above-described embodiments of the present invention. For example, the method flow executed by one or more of the above processors may include:
在网络中传输携带分类标识的数据,所述分类标识根据该数据所属的分类信息生成。The data carrying the classification identifier is transmitted in the network, and the classification identifier is generated according to the classification information to which the data belongs.
再例如,被上述一个或多个处理器执行的方法流程,可以包括:For another example, the method flow executed by the one or more processors may include:
向数据中心注册分类标识,以便在网络中传输携带已注册分类标识的数据;Registering a classification identifier with the data center to transmit data carrying the registered classification identifier in the network;
其中所述分类标识根据该数据所属的分类信息生成。The classification identifier is generated according to classification information to which the data belongs.
再例如,被上述一个或多个处理器执行的方法流程,可以包括:For another example, the method flow executed by the one or more processors may include:
存储数据方设备注册的分类标识,以便处理携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。And storing, by the data party device, a classification identifier registered to process the data carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
再例如,被上述一个或多个处理器执行的方法流程,可以包括: For another example, the method flow executed by the one or more processors may include:
向数据中心订阅分类标识,以便接收所述数据中心转发的携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。And substituting the classification identifier to the data center, so as to receive the data carried by the data center and carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
再例如,被上述一个或多个处理器执行的方法流程,可以包括:For another example, the method flow executed by the one or more processors may include:
与其他设备间传输携带分类标识的信令数据,其中所述分类标识根据该信令数据所属的分类信息生成,所述信令数据采用所述分类标识对应的数据格式。The signaling data carrying the classification identifier is transmitted between the device and the other device, wherein the classification identifier is generated according to the classification information to which the signaling data belongs, and the signaling data uses a data format corresponding to the classification identifier.
本发明实施例中涉及的各设备可以包括但不限于诸如:智能移动终端、智能家居设备、网络设备、可穿戴式设备、智能医疗设备、PC(个人计算机)等。其中智能移动设备可以包括诸如手机、平板电脑、笔记本电脑、PDA(个人数字助理)、互联网汽车等。智能家居设备可以包括智能家电设备,诸如智能电视、智能空调、智能热水器、智能冰箱、智能空气净化器等等,智能家居设备还可以包括智能门锁、智能插座、智能电灯、智能摄像头等。网络设备可以包括诸如交换机、无线AP、服务器等。可穿戴式设备可以包括诸如智能手表、智能眼镜、智能手环、虚拟现实设备、增强现实设备、混合现实设备(即可以支持虚拟现实和增强现实的设备)等等。智能医疗设备可以包括诸如智能体温计、智能血压仪、智能血糖仪等等。Each device involved in the embodiments of the present invention may include, but is not limited to, such as: a smart mobile terminal, a smart home device, a network device, a wearable device, a smart medical device, a PC (personal computer), and the like. The smart mobile device may include, for example, a mobile phone, a tablet computer, a notebook computer, a PDA (Personal Digital Assistant), an Internet car, and the like. The smart home device may include smart home appliances, such as smart TVs, smart air conditioners, smart water heaters, smart refrigerators, smart air purifiers, etc., and smart home devices may also include smart door locks, smart sockets, smart lights, smart cameras, and the like. Network devices may include, for example, switches, wireless APs, servers, and the like. Wearable devices may include, for example, smart watches, smart glasses, smart bracelets, virtual reality devices, augmented reality devices, mixed reality devices (ie, devices that can support virtual reality and augmented reality), and the like. Intelligent medical devices may include, for example, smart thermometers, smart blood pressure meters, smart blood glucose meters, and the like.
由以上描述可以看出,本发明提供的上述方法、装置和设备可以具备以下优点:As can be seen from the above description, the above method, apparatus and apparatus provided by the present invention can have the following advantages:
1)本发明在传输的数据中统一采用分类标识来明确数据类型,即该分类标识根据数据所属的分类信息生成,这种方式使得即便是设备分属于不同厂商,各设备之间也能够直接进行数据交互,避免了额外安装第三方应用以采用第三方协议来进行数据交互,实现更加方便。1) The present invention uniformly uses the classification identifier in the transmitted data to clarify the data type, that is, the classification identifier is generated according to the classification information to which the data belongs, which enables direct interaction between devices even if the devices belong to different vendors. Data interaction avoids the need to additionally install third-party applications to use third-party protocols for data interaction, which is more convenient.
2)数据携带的分类标识携带一定的信息,例如分类信息、数据源标识、安全等级等等,这些信息能够为后续的大数据分析和挖掘提供信息基础。2) The classification identifier carried by the data carries certain information, such as classification information, data source identification, security level, etc., which can provide an information basis for subsequent big data analysis and mining.
3)本发明提供的分类标识的注册机制,使得数据方能够根据自己的需求进行分类标识的定制,并通过分类标识定义数据类型的最小切分粒度。3) The registration mechanism of the classification identifier provided by the invention enables the data party to customize the classification identifier according to its own needs, and defines the minimum segmentation granularity of the data type by the classification identifier.
4)本发明提供的分类标识的订阅机制,使得订阅方能够在数据中心方便地进行分类标识的订阅,在对应数据源产生携带该分类标识的数据后,数据中心就能够及时将该数据转发给订阅该分类标识的订阅方设备。4) The subscription mechanism of the classification identifier provided by the present invention enables the subscriber to conveniently subscribe to the classification identifier in the data center, and after the corresponding data source generates the data carrying the classification identifier, the data center can forward the data to the data center in time. Subscribe to the subscriber device for this category ID.
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division, and the actual implementation may have another division manner.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示 的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The unit described as a separate component may or may not be physically separated as a unit display The components may or may not be physical units, ie may be located in one place, or may be distributed over multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元,可以存储在一个计算机可读取存储介质中。上述软件功能单元存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施例所述方法的部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The above software functional unit is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to perform the methods of the various embodiments of the present invention. Part of the steps. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. .
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are made within the spirit and principles of the present invention, should be included in the present invention. Within the scope of protection.

Claims (77)

  1. 一种数据处理方法,其特征在于,该方法包括:A data processing method, the method comprising:
    在网络中传输携带分类标识的数据,所述分类标识根据该数据所属的分类信息生成。The data carrying the classification identifier is transmitted in the network, and the classification identifier is generated according to the classification information to which the data belongs.
  2. 根据权利要求1所述的方法,其特征在于,所述分类标识进一步根据如下信息中的至少一种生成:安全等级信息、数据源信息、该数据所属的分类对应的版本信息、该数据所属的分类对应的数据格式版本信息。The method according to claim 1, wherein the classification identifier is further generated according to at least one of the following: security level information, data source information, version information corresponding to the category to which the data belongs, and data to which the data belongs. The data format version information corresponding to the classification.
  3. 根据权利要求1或2所述的方法,其特征在于,该方法还包括:数据方设备预先向数据中心注册分类标识;The method according to claim 1 or 2, further comprising: the data party device registering the classification identifier with the data center in advance;
    所述在网络中传输携带分类标识的数据包括:数据源设备在网络中发送携带已注册分类标识的数据。The transmitting the data carrying the classification identifier in the network includes: the data source device sending, in the network, data carrying the registered classification identifier.
  4. 根据权利要求1或2所述的方法,其特征在于,该方法还包括:数据中心存储数据方设备注册的分类标识,以及存储订阅该分类标识的订阅方设备信息;The method according to claim 1 or 2, further comprising: the data center storing the classification identifier registered by the data party device, and storing the subscriber device information subscribed to the classification identifier;
    所述在网络中传输携带分类标识的数据包括:数据中心接收到携带已注册的分类标识的数据后,将该数据转发给订阅该分类标识的订阅方设备。The transmitting the data carrying the classification identifier in the network includes: after receiving the data carrying the registered classification identifier, the data center forwards the data to the subscriber device that subscribes to the classification identifier.
  5. 根据权利要求4所述的方法,其特征在于,数据中心接收到的携带已注册的分类标识的数据的目的地址为所述数据中心的地址;The method according to claim 4, wherein the destination address of the data carried by the data center carrying the registered classification identifier is an address of the data center;
    所述数据中心在将数据发送给订阅方设备时,将数据的目的地址替换为订阅方设备的地址。The data center replaces the destination address of the data with the address of the subscriber device when transmitting the data to the subscriber device.
  6. 根据权利要求4所述的方法,其特征在于,该方法还包括:所述数据中心存储数据方设备注册的分类标识对应的扩展配置信息;The method according to claim 4, further comprising: the data center storing extended configuration information corresponding to the classification identifier registered by the data party device;
    所述数据中心接收到携带已注册的分类标识的数据后,且将该数据发送给订阅该分类标识的订阅方设备之前,进一步依据该分类标识对应的扩展配置信息对所述数据进行处理。After the data center receives the data carrying the registered classification identifier, and sends the data to the subscriber device that subscribes to the classification identifier, the data center further processes the data according to the extended configuration information corresponding to the classification identifier.
  7. 根据权利要求6所述的方法,其特征在于,所述扩展配置包括:The method of claim 6 wherein said expanding the configuration comprises:
    数据是否在数据中心存储、订阅方约束信息、以及是否需要过滤敏感信息。Whether the data is stored in the data center, subscriber constraint information, and whether sensitive information needs to be filtered.
  8. 根据权利要求1或2所述的方法,其特征在于,该方法还包括:订阅方设备向数据中心订阅分类标识;The method according to claim 1 or 2, further comprising: the subscriber device subscribing to the data center to subscribe to the classification identifier;
    所述在网络中传输携带分类标识的数据包括:订阅方设备接收所述数据中心发送的携带所订阅分类标识的数据。 The transmitting the data carrying the classification identifier in the network includes: the subscriber device receiving the data that is sent by the data center and carrying the subscribed classification identifier.
  9. 根据权利要求1或2所述的方法,其特征在于,所述在网络中传输携带分类标识的数据包括:The method according to claim 1 or 2, wherein the transmitting the data carrying the classification identifier in the network comprises:
    依据所述分类标识对应的数据格式发送所述数据;或者,Transmitting the data according to a data format corresponding to the classification identifier; or
    依据所述分类标识对应的数据格式解析接收到的所述数据。And parsing the received data according to a data format corresponding to the classification identifier.
  10. 一种数据处理方法,其特征在于,该方法包括:A data processing method, the method comprising:
    数据方设备向数据中心注册分类标识,以便在网络中传输携带已注册分类标识的数据;The data party device registers the classification identifier with the data center to transmit the data carrying the registered classification identifier in the network;
    其中所述分类标识根据该数据所属的分类信息生成。The classification identifier is generated according to classification information to which the data belongs.
  11. 根据权利要求10所述的方法,其特征在于,所述分类标识进一步根据如下信息中的至少一种生成:安全等级信息、数据源信息、该数据所属的分类信息对应的版本信息、该数据所属的分类对应的数据格式版本信息。The method according to claim 10, wherein the classification identifier is further generated according to at least one of the following: security level information, data source information, version information corresponding to the classification information to which the data belongs, and the data belongs to The classification corresponds to the data format version information.
  12. 根据权利要求10或11所述的方法,其特征在于,所述数据方设备向数据中心注册分类标识包括:The method according to claim 10 or 11, wherein the data party device registers the classification identifier with the data center, including:
    所述数据方设备向所述数据中心发送分类信息;The data party device sends the classification information to the data center;
    获取所述数据中心针对所述分类信息返回的分类标识。Obtaining a classification identifier returned by the data center for the classification information.
  13. 根据权利要求12所述的方法,其特征在于,所述数据方设备向数据中心注册分类标识进一步包括:所述数据方设备针对发送的分类信息向所述数据中心发送格式版本变更请求;The method according to claim 12, wherein the registration of the classification identifier by the data party device to the data center further comprises: the data party device transmitting a format version change request to the data center for the transmitted classification information;
    所述数据中心返回的分类标识为依据所述分类信息和请求变更后的格式版本生成的分类标识。The classification identifier returned by the data center is a classification identifier generated according to the classification information and the format version after the request is changed.
  14. 根据权利要求10或11所述的方法,其特征在于,该方法还包括:The method according to claim 10 or 11, wherein the method further comprises:
    所述数据方设备针对注册的分类标识向所述数据中心发送扩展配置信息。The data party device sends extended configuration information to the data center for the registered classification identifier.
  15. 根据权利要求14所述的方法,其特征在于,所述扩展配置信息包括:The method according to claim 14, wherein the extended configuration information comprises:
    数据是否在数据中心存储、订阅方约束信息、以及是否需要过滤敏感信息。Whether the data is stored in the data center, subscriber constraint information, and whether sensitive information needs to be filtered.
  16. 根据权利要求10或11所述的方法,其特征在于,该方法还包括:The method according to claim 10 or 11, wherein the method further comprises:
    所述数据方设备从所述数据中心获取订阅所述分类标识的订阅方设备信息;Obtaining, by the data party device, subscription device information that subscribes to the classification identifier from the data center;
    向所述数据中心发送是否允许所述订阅方设备订阅所述分类标识的授权信息。Sending to the data center whether authorization information for allowing the subscriber device to subscribe to the classification identifier is sent.
  17. 根据权利要求10或11所述的方法,其特征在于,该方法还包括:The method according to claim 10 or 11, wherein the method further comprises:
    所述数据方设备将注册的分类标识提供给订阅方设备。The data party device provides the registered classification identifier to the subscriber device.
  18. 一种数据处理方法,其特征在于,该方法包括: A data processing method, the method comprising:
    数据中心存储数据方设备注册的分类标识,以便处理携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。The data center stores a classification identifier registered by the data party device to process data carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
  19. 根据权利要求18所述的方法,其特征在于,所述分类标识进一步根据如下信息中的至少一种生成:安全等级信息、数据源信息、该数据所属的分类对应的版本信息、该数据所属的分类对应的数据格式版本信息。The method according to claim 18, wherein the classification identifier is further generated according to at least one of the following: security level information, data source information, version information corresponding to the category to which the data belongs, and data to which the data belongs. The data format version information corresponding to the classification.
  20. 根据权利要求18或19所述的方法,其特征在于,所述处理携带所述分类标识的数据包括:The method according to claim 18 or 19, wherein the processing the data carrying the classification identifier comprises:
    接收到携带已注册的分类标识的数据后,将该数据发送给订阅该分类标识的订阅方设备。After receiving the data carrying the registered classification identifier, the data is sent to the subscriber device subscribing to the classification identifier.
  21. 根据权利要求18或19所述的方法,其特征在于,所述数据中心存储数据方设备注册的分类标识包括:The method according to claim 18 or 19, wherein the data center stores the classification identifier registered by the data party device, including:
    接收所述数据方设备发送的所述分类信息;Receiving the classification information sent by the data party device;
    判断是否已经存在针对所述分类信息生成的分类标识,如果是,则将已经存在的针对所述分类信息生成的分类标识返回给所述数据方设备;否则,针对所述分类信息生成分类标识并返回给所述数据方设备。Determining whether there is already a classification identifier generated for the classification information, and if yes, returning the existing classification identifier generated for the classification information to the data party device; otherwise, generating a classification identifier for the classification information and Returned to the data party device.
  22. 根据权利要求21所述的方法,其特征在于,在所述判断结果为否时,该方法还包括:The method according to claim 21, wherein when the determining result is no, the method further comprises:
    升级所述分类信息对应的版本信息。Upgrade the version information corresponding to the classified information.
  23. 根据权利要求21所述的方法,其特征在于,在所述判断结果为是时,该方法还包括:The method according to claim 21, wherein when the determination result is YES, the method further comprises:
    如果接收到所述数据方设备针对所述分类信息发送的格式版本变更请求,则保存请求变更后的格式信息,升级所述分类信息对应的版本信息,生成分类标识返回给数据方设备;否则,执行所述将已经存在的针对所述分类信息生成的分类标识返回给所述数据方设备。If the format version change request sent by the data party device for the classification information is received, the format information after the request change is saved, the version information corresponding to the classification information is upgraded, and the classification identifier is generated and returned to the data party device; otherwise, Performing the returning the existing classification identifier generated for the classification information to the data party device.
  24. 根据权利要求21所述的方法,其特征在于,在所述判断结果为否时,该方法还包括:The method according to claim 21, wherein when the determining result is no, the method further comprises:
    接收所述数据方设备针对所述分类信息发送的格式信息,保存该格式信息并记录对应的格式版本信息。Receiving format information sent by the data party device for the classification information, saving the format information, and recording corresponding format version information.
  25. 根据权利要求18或19所述的方法,其特征在于,该方法还包括:The method according to claim 18 or 19, further comprising:
    所述数据中心接收并存储所述数据方针对注册的分类标识发送的扩展配置信息。 The data center receives and stores extended configuration information sent by the data party for the registered classification identifier.
  26. 根据权利要求25所述的方法,其特征在于,所述扩展配置信息包括:The method of claim 25, wherein the extended configuration information comprises:
    数据是否在数据中心存储、订阅方约束信息、以及是否需要过滤敏感信息。Whether the data is stored in the data center, subscriber constraint information, and whether sensitive information needs to be filtered.
  27. 根据权利要求20所述的方法,其特征在于,该方法还包括:存储所述数据方设备发送的是否允许所述订阅方设备订阅所述分类标识的授权信息;The method according to claim 20, further comprising: storing, by the data party device, whether the subscriber device is allowed to subscribe to the authorization information of the classification identifier;
    所述将该数据发送给订阅该分类标识的订阅方设备包括:将该数据发送给允许订阅所述分类标识的订阅方设备。The transmitting the data to the subscribing device that subscribes to the classification identifier comprises: transmitting the data to a subscriber device that is allowed to subscribe to the classification identifier.
  28. 一种数据处理方法,其特征在于,该方法包括:A data processing method, the method comprising:
    订阅方设备向数据中心订阅分类标识,以便接收所述数据中心转发的携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。The subscriber device subscribes to the data center for the classification identifier to receive the data carried by the data center and carries the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
  29. 根据权利要求28所述的方法,其特征在于,所述分类标识进一步根据如下信息中的至少一种生成:安全等级信息、数据源信息、该数据所属的分类对应的版本信息、该数据所属的分类对应的数据格式版本信息。The method according to claim 28, wherein the classification identifier is further generated according to at least one of the following: security level information, data source information, version information corresponding to the category to which the data belongs, and data to which the data belongs. The data format version information corresponding to the classification.
  30. 根据权利要求28或29所述的方法,其特征在于,所述订阅方设备从所述数据中心获取可订阅的分类标识,或者,所述订阅方设备从数据方设备获取可订阅的分类标识。The method according to claim 28 or 29, wherein the subscriber device obtains a subscribing classification identifier from the data center, or the subscriber device acquires a sublicensable classification identifier from the data party device.
  31. 一种数据处理方法,其特征在于,该方法包括:A data processing method, the method comprising:
    设备间传输携带分类标识的信令数据,其中所述分类标识根据该信令数据所属的分类信息生成,所述信令数据采用所述分类标识对应的数据格式。The signaling data carrying the classification identifier is transmitted between the devices, wherein the classification identifier is generated according to the classification information to which the signaling data belongs, and the signaling data uses a data format corresponding to the classification identifier.
  32. 根据权利要求31所述的方法,其特征在于,所述分类标识进一步根据如下信息中的至少一种生成:安全等级信息、数据源信息、该数据所属的分类对应的版本信息、该数据所属的分类对应的数据格式版本信息。The method according to claim 31, wherein the classification identifier is further generated according to at least one of the following: security level information, data source information, version information corresponding to the category to which the data belongs, and data to which the data belongs. The data format version information corresponding to the classification.
  33. 根据权利要求31所述的方法,其特征在于,该方法还包括:The method of claim 31, further comprising:
    当设备接收到携带分类标识的信令数据后,依据所述分类标识对应的数据格式对所述信令数据进行解析,并依据解析结果执行与所述分类标识对应的处理逻辑。After receiving the signaling data carrying the classification identifier, the device parses the signaling data according to the data format corresponding to the classification identifier, and performs processing logic corresponding to the classification identifier according to the parsing result.
  34. 一种设备,其特征在于,包括:An apparatus, comprising:
    存储器,包括一个或者多个程序;Memory, including one or more programs;
    一个或者多个处理器,耦合到所述存储器,执行所述一个或者多个程序,以实现以下操作:One or more processors coupled to the memory to execute the one or more programs to:
    在网络中传输携带分类标识的数据,所述分类标识根据该数据所属的分类信息生成。The data carrying the classification identifier is transmitted in the network, and the classification identifier is generated according to the classification information to which the data belongs.
  35. 根据权利要求34所述的设备,其特征在于,所述分类标识进一步根据如下信息 中的至少一种生成:安全等级信息、数据源信息、该数据所属的分类对应的版本信息、该数据所属的分类对应的数据格式版本信息。The device according to claim 34, wherein said classification identifier is further based on the following information At least one of the generation: security level information, data source information, version information corresponding to the category to which the data belongs, and data format version information corresponding to the category to which the data belongs.
  36. 根据权利要求34或35所述的设备,其特征在于,所述设备为数据源设备;The device according to claim 34 or 35, wherein the device is a data source device;
    所述在网络中传输携带分类标识的数据包括:数据源设备在网络中发送携带数据方预先注册的分类标识的数据,该数据的目的地址为数据中心的地址。The transmitting the data carrying the classification identifier in the network includes: the data source device sending data carrying the classification identifier pre-registered by the data party in the network, where the destination address of the data is an address of the data center.
  37. 根据权利要求34或35所述的设备,其特征在于,所述设备为数据中心;The device according to claim 34 or 35, wherein the device is a data center;
    所述操作还包括:存储数据方设备注册的分类标识,以及存储订阅该分类标识的订阅方设备信息;The operation further includes: storing a classification identifier registered by the data party device, and storing subscriber device information subscribed to the classification identifier;
    所述在网络中传输携带分类标识的数据包括:接收到携带已注册的分类标识的数据后,将该数据发送给订阅该分类标识的订阅方设备。The transmitting the data carrying the classification identifier in the network includes: after receiving the data carrying the registered classification identifier, sending the data to the subscriber device that subscribes to the classification identifier.
  38. 根据权利要求37所述的设备,其特征在于,所述数据中心接收到的携带已注册的分类标识的数据的目的地址为所述数据中心的地址;The device according to claim 37, wherein the destination address of the data carried by the data center carrying the registered classification identifier is an address of the data center;
    在将数据发送给订阅方设备时,将数据的目的地址替换为订阅方设备的地址。When the data is sent to the subscriber device, the destination address of the data is replaced with the address of the subscriber device.
  39. 根据权利要求37所述的设备,其特征在于,所述操作还包括:存储数据方设备注册的分类标识对应的扩展配置信息;The device according to claim 37, wherein the operation further comprises: storing extended configuration information corresponding to the classification identifier registered by the data party device;
    在所述接收到携带已注册的分类标识的数据后,且将该数据发送给订阅该分类标识的订阅方设备之前,所述操作还包括:依据该分类标识对应的扩展配置信息对所述数据进行处理。After the receiving the data carrying the registered classification identifier, and sending the data to the subscriber device that subscribes to the classification identifier, the operation further includes: pairing the data according to the extended configuration information corresponding to the classification identifier. Process it.
  40. 根据权利要求39所述的设备,其特征在于,所述扩展配置包括:The device according to claim 39, wherein the extended configuration comprises:
    数据是否在数据中心存储、订阅方约束信息、以及是否需要过滤敏感信息。Whether the data is stored in the data center, subscriber constraint information, and whether sensitive information needs to be filtered.
  41. 根据权利要求34或35所述的设备,其特征在于,所述设备为订阅方设备;The device according to claim 34 or 35, wherein the device is a subscriber device;
    所述操作还包括:向数据中心订阅分类标识;The operations further include: subscribing to the data center a classification identifier;
    所述在网络中传输携带分类标识的数据包括:接收所述数据中心发送的携带所订阅分类标识的数据。The transmitting the data carrying the classification identifier in the network includes: receiving data that is sent by the data center and carrying the subscribed classification identifier.
  42. 根据权利要求34或35所述的设备,其特征在于,所述在网络中传输携带分类标识的数据包括:The device according to claim 34 or 35, wherein the transmitting the data carrying the classification identifier in the network comprises:
    依据所述分类标识对应的数据格式发送所述数据;或者,Transmitting the data according to a data format corresponding to the classification identifier; or
    依据所述分类标识对应的数据格式解析接收到的所述数据。And parsing the received data according to a data format corresponding to the classification identifier.
  43. 一种数据方设备,其特征在于,包括:A data party device, comprising:
    存储器,包括一个或者多个程序; Memory, including one or more programs;
    一个或者多个处理器,耦合到所述存储器,执行所述一个或者多个程序,以实现以下操作:One or more processors coupled to the memory to execute the one or more programs to:
    向数据中心注册分类标识,以便在网络中传输携带已注册分类标识的数据;Registering a classification identifier with the data center to transmit data carrying the registered classification identifier in the network;
    其中所述分类标识根据该数据所属的分类信息生成。The classification identifier is generated according to classification information to which the data belongs.
  44. 根据权利要求43所述的设备,其特征在于,所述分类标识进一步根据如下信息中的至少一种生成:安全等级信息、数据源信息、该数据所属的分类信息对应的版本信息、该数据所属的分类对应的数据格式版本信息。The device according to claim 43, wherein the classification identifier is further generated according to at least one of the following: security level information, data source information, version information corresponding to the classification information to which the data belongs, and the data belongs to The classification corresponds to the data format version information.
  45. 根据权利要求43或44所述的设备,其特征在于,所述向数据中心注册分类标识包括:The device according to claim 43 or 44, wherein the registering the classification identifier with the data center comprises:
    向所述数据中心发送分类信息;Sending classification information to the data center;
    获取所述数据中心针对所述分类信息返回的分类标识。Obtaining a classification identifier returned by the data center for the classification information.
  46. 根据权利要求45所述的设备,其特征在于,所述向数据中心注册分类标识进一步包括:针对发送的分类信息向所述数据中心发送格式版本变更请求;The device according to claim 45, wherein the registering the classification identifier with the data center further comprises: transmitting a format version change request to the data center for the transmitted classification information;
    所述数据中心返回的分类标识为依据所述分类信息和请求变更后的格式版本生成的分类标识。The classification identifier returned by the data center is a classification identifier generated according to the classification information and the format version after the request is changed.
  47. 根据权利要求43或44所述的设备,其特征在于,所述操作还包括:The device according to claim 43 or 44, wherein the operation further comprises:
    针对注册的分类标识向所述数据中心发送扩展配置信息。The extended configuration information is sent to the data center for the registered classification identifier.
  48. 根据权利要求47所述的设备,其特征在于,所述扩展配置信息包括:The device according to claim 47, wherein the extended configuration information comprises:
    数据是否在数据中心存储、订阅方约束信息、以及是否需要过滤敏感信息。Whether the data is stored in the data center, subscriber constraint information, and whether sensitive information needs to be filtered.
  49. 根据权利要求43或44所述的设备,其特征在于,所述操作还包括:The device according to claim 43 or 44, wherein the operation further comprises:
    从所述数据中心获取订阅所述分类标识的订阅方设备信息;Obtaining subscription device information that subscribes to the classification identifier from the data center;
    向所述数据中心发送是否允许所述订阅方设备订阅所述分类标识的授权信息。Sending to the data center whether authorization information for allowing the subscriber device to subscribe to the classification identifier is sent.
  50. 根据权利要求43或44所述的设备,其特征在于,所述操作还包括:The device according to claim 43 or 44, wherein the operation further comprises:
    将注册的分类标识提供给订阅方设备。Provide the registered classification ID to the subscriber device.
  51. 一种数据中心设备,其特征在于,包括:A data center device, comprising:
    存储器,包括一个或者多个程序;Memory, including one or more programs;
    一个或者多个处理器,耦合到所述存储器,执行所述一个或者多个程序,以实现以下操作:One or more processors coupled to the memory to execute the one or more programs to:
    存储数据方设备注册的分类标识,以便处理携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。 And storing, by the data party device, a classification identifier registered to process the data carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
  52. 根据权利要求51所述的设备,其特征在于,所述分类标识进一步根据如下信息中的至少一种生成:安全等级信息、数据源信息、该数据所属的分类对应的版本信息、该数据所属的分类对应的数据格式版本信息。The device according to claim 51, wherein the classification identifier is further generated according to at least one of the following: security level information, data source information, version information corresponding to the category to which the data belongs, and data to which the data belongs. The data format version information corresponding to the classification.
  53. 根据权利要求51或52所述的设备,其特征在于,所述处理携带所述分类标识的数据包括:The device according to claim 51 or 52, wherein the processing the data carrying the classification identifier comprises:
    接收到携带已注册的分类标识的数据后,将该数据发送给订阅该分类标识的订阅方设备。After receiving the data carrying the registered classification identifier, the data is sent to the subscriber device subscribing to the classification identifier.
  54. 根据权利要求51或52所述的设备,其特征在于,所述存储数据方设备注册的分类标识包括:The device according to claim 51 or 52, wherein the classification identifier registered by the storage data party device comprises:
    接收所述数据方设备发送的所述分类信息;Receiving the classification information sent by the data party device;
    判断是否已经存在针对所述分类信息生成的分类标识,如果是,则将已经存在的针对所述分类信息生成的分类标识返回给所述数据方设备;否则,针对所述分类信息生成分类标识并返回给所述数据方设备。Determining whether there is already a classification identifier generated for the classification information, and if yes, returning the existing classification identifier generated for the classification information to the data party device; otherwise, generating a classification identifier for the classification information and Returned to the data party device.
  55. 根据权利要求54所述的设备,其特征在于,在所述判断结果为否时,所述操作还包括:The device according to claim 54, wherein when the determining result is no, the operation further comprises:
    升级所述分类信息对应的版本信息。Upgrade the version information corresponding to the classified information.
  56. 根据权利要求54所述的设备,其特征在于,在所述判断结果为是时,所述操作还包括:The device according to claim 54, wherein when the determining result is yes, the operation further comprises:
    如果接收到所述数据方设备针对所述分类信息发送的格式版本变更请求,则保存请求变更后的格式信息,升级所述分类信息对应的版本信息,生成分类标识返回给数据方设备;否则,执行所述将已经存在的针对所述分类信息生成的分类标识返回给所述数据方设备。If the format version change request sent by the data party device for the classification information is received, the format information after the request change is saved, the version information corresponding to the classification information is upgraded, and the classification identifier is generated and returned to the data party device; otherwise, Performing the returning the existing classification identifier generated for the classification information to the data party device.
  57. 根据权利要求54所述的设备,其特征在于,在所述判断结果为否时,所述操作还包括:The device according to claim 54, wherein when the determining result is no, the operation further comprises:
    接收所述数据方设备针对所述分类信息发送的格式信息,保存该格式信息并记录对应的格式版本信息。Receiving format information sent by the data party device for the classification information, saving the format information, and recording corresponding format version information.
  58. 根据权利要求51或52所述的设备,其特征在于,所述操作还包括:The device according to claim 51 or 52, wherein the operation further comprises:
    接收并存储所述数据方针对注册的分类标识发送的扩展配置信息。The extended configuration information sent by the data party for the registered classification identifier is received and stored.
  59. 根据权利要求58所述的设备,其特征在于,所述扩展配置信息包括:The device according to claim 58, wherein the extended configuration information comprises:
    数据是否在数据中心存储、订阅方约束信息、以及是否需要过滤敏感信息。 Whether the data is stored in the data center, subscriber constraint information, and whether sensitive information needs to be filtered.
  60. 根据权利要求53所述的设备,其特征在于,所述操作还包括:存储所述数据方设备发送的是否允许所述订阅方设备订阅所述分类标识的授权信息;The device according to claim 53, wherein the operation further comprises: storing, by the data party device, whether the subscriber device is allowed to subscribe to the authorization information of the classification identifier;
    所述将该数据发送给订阅该分类标识的订阅方设备包括:将该数据发送给允许订阅所述分类标识的订阅方设备。The transmitting the data to the subscribing device that subscribes to the classification identifier comprises: transmitting the data to a subscriber device that is allowed to subscribe to the classification identifier.
  61. 一种订阅方设备,其特征在于,包括:A subscriber device, comprising:
    存储器,包括一个或者多个程序;Memory, including one or more programs;
    一个或者多个处理器,耦合到所述存储器,执行所述一个或者多个程序,以实现以下操作:One or more processors coupled to the memory to execute the one or more programs to:
    向数据中心订阅分类标识,以便接收所述数据中心转发的携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。And substituting the classification identifier to the data center, so as to receive the data carried by the data center and carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
  62. 根据权利要求61所述的设备,其特征在于,所述分类标识进一步根据如下信息中的至少一种生成:安全等级信息、数据源信息、该数据所属的分类对应的版本信息、该数据所属的分类对应的数据格式版本信息。The device according to claim 61, wherein the classification identifier is further generated according to at least one of the following: security level information, data source information, version information corresponding to the category to which the data belongs, and data to which the data belongs. The data format version information corresponding to the classification.
  63. 根据权利要求61或62所述的设备,其特征在于,所述操作还包括:The device according to claim 61 or 62, wherein the operation further comprises:
    从所述数据中心获取可订阅的分类标识,或者,从数据方设备获取可订阅的分类标识。Obtaining a subscribing classification identifier from the data center, or obtaining a subscribing classification identifier from the data party device.
  64. 一种设备,其特征在于,包括:An apparatus, comprising:
    存储器,包括一个或者多个程序;Memory, including one or more programs;
    一个或者多个处理器,耦合到所述存储器,执行所述一个或者多个程序,以实现以下操作:One or more processors coupled to the memory to execute the one or more programs to:
    与其他设备间传输携带分类标识的信令数据,其中所述分类标识根据该信令数据所属的分类信息生成,所述信令数据采用所述分类标识对应的数据格式。The signaling data carrying the classification identifier is transmitted between the device and the other device, wherein the classification identifier is generated according to the classification information to which the signaling data belongs, and the signaling data uses a data format corresponding to the classification identifier.
  65. 根据权利要求64所述的设备,其特征在于,所述分类标识进一步根据如下信息中的至少一种生成:安全等级信息、数据源信息、该数据所属的分类对应的版本信息、该数据所属的分类对应的数据格式版本信息。The device according to claim 64, wherein the classification identifier is further generated according to at least one of the following: security level information, data source information, version information corresponding to the category to which the data belongs, and data to which the data belongs. The data format version information corresponding to the classification.
  66. 根据权利要求64所述的设备,其特征在于,所述操作还包括:The device of claim 64, wherein the operations further comprise:
    当接收到携带分类标识的信令数据后,依据所述分类标识对应的数据格式对所述信令数据进行解析,并依据解析结果执行与所述分类标识对应的处理逻辑。After receiving the signaling data carrying the classification identifier, the signaling data is parsed according to the data format corresponding to the classification identifier, and processing logic corresponding to the classification identifier is performed according to the parsing result.
  67. 一种数据处理装置,其特征在于,该装置包括:A data processing device, the device comprising:
    传输单元,用于在网络中传输携带分类标识的数据,所述分类标识根据该数据所属 的分类信息生成。a transmission unit, configured to transmit data carrying a classification identifier in the network, where the classification identifier belongs according to the data The classification information is generated.
  68. 一种数据处理装置,设置于数据方设备,其特征在于,该装置包括:A data processing device is provided on a data side device, wherein the device comprises:
    注册单元,用于向数据中心注册分类标识,以便在网络中传输携带已注册分类标识的数据;a registration unit, configured to register a classification identifier with the data center, so as to transmit data carrying the registered classification identifier in the network;
    其中所述分类标识根据该数据所属的分类信息生成。The classification identifier is generated according to classification information to which the data belongs.
  69. 根据权利要求68所述的装置,其特征在于,该装置还包括:The device of claim 68, further comprising:
    授权单元,用于从所述数据中心获取订阅所述分类标识的订阅方设备信息;向所述数据中心发送是否允许所述订阅方设备订阅所述分类标识的授权信息。And an authorization unit, configured to obtain, from the data center, subscription device information that subscribes to the classification identifier; and send, to the data center, authorization information that allows the subscriber device to subscribe to the classification identifier.
  70. 根据权利要求68所述的装置,其特征在于,该装置还包括:The device of claim 68, further comprising:
    标识提供单元,用于将注册的分类标识提供给订阅方设备。An identifier providing unit for providing the registered classification identifier to the subscriber device.
  71. 一种数据处理装置,其特征在于,该装置包括:A data processing device, the device comprising:
    注册单元,用于存储数据方设备注册的分类标识,以便处理携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。a registration unit, configured to store a classification identifier registered by the data party device, to process data carrying the classification identifier, wherein the classification identifier is generated according to the classification information to which the data belongs.
  72. 根据权利要求71所述的装置,其特征在于,该装置还包括:The device of claim 71, further comprising:
    转发单元,用于接收到携带已注册的分类标识的数据后,将该数据发送给订阅该分类标识的订阅方设备。The forwarding unit is configured to: after receiving the data carrying the registered classification identifier, send the data to the subscriber device that subscribes to the classification identifier.
  73. 根据权利要求72所述的装置,其特征在于,该装置还包括:The device of claim 72, further comprising:
    订阅单元,用于存储订阅所述分类标识的订阅方信息以及所述数据方设备发送的是否允许所述订阅方设备订阅所述分类标识的授权信息;a subscription unit, configured to store subscriber information that subscribes to the classification identifier, and authorization information sent by the data party device to allow the subscriber device to subscribe to the classification identifier;
    所述转发单元将所述数据发送给允许订阅所述分类标识的订阅方设备。The forwarding unit sends the data to a subscriber device that is allowed to subscribe to the classification identifier.
  74. 一种数据处理装置,其特征在于,该装置包括:A data processing device, the device comprising:
    订阅单元,用于向数据中心订阅分类标识;a subscription unit for subscribing to a data center for a classification identifier;
    接收单元,用于接收所述数据中心转发的携带所述分类标识的数据,其中所述分类标识根据该数据所属的分类信息生成。And a receiving unit, configured to receive data that is carried by the data center and that carries the classification identifier, where the classification identifier is generated according to classification information to which the data belongs.
  75. 根据权利要求74所述的装置,其特征在于,该装置还包括:The device of claim 74, further comprising:
    标识获取单元,用于从所述数据中心获取可订阅的分类标识,或者,从数据方设备获取可订阅的分类标识。And an identifier obtaining unit, configured to obtain a subscribing classification identifier from the data center, or obtain a subscribing classification identifier from the data party device.
  76. 一种数据处理装置,其特征在于,该装置包括:A data processing device, the device comprising:
    传输单元,用于与其他设备间传输携带分类标识的信令数据,其中所述分类标识根据该信令数据所属的分类信息生成,所述信令数据采用所述分类标识对应的数据格式。 And a transmission unit, configured to transmit the signaling data carrying the classification identifier, and the classification identifier is generated according to the classification information to which the signaling data belongs, where the signaling data uses a data format corresponding to the classification identifier.
  77. 根据权利要求76所述的装置,其特征在于,该装置还包括:The device of claim 76, further comprising:
    解析处理单元,用于在所述传输单元接收到携带分类标识的信令数据后,依据所述分类标识对应的数据格式对所述信令数据进行解析,并依据解析结果执行与所述分类标识对应的处理逻辑。 The parsing processing unit is configured to parse the signaling data according to the data format corresponding to the classification identifier after the signaling unit receives the signaling data carrying the classification identifier, and perform the classification identifier according to the parsing result Corresponding processing logic.
PCT/CN2017/104188 2016-10-12 2017-09-29 Data processing method, apparatus and device WO2018068660A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610890004.0A CN107944461B (en) 2016-10-12 2016-10-12 Data processing method, device and equipment
CN201610890004.0 2016-10-12

Publications (1)

Publication Number Publication Date
WO2018068660A1 true WO2018068660A1 (en) 2018-04-19

Family

ID=61905154

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/104188 WO2018068660A1 (en) 2016-10-12 2017-09-29 Data processing method, apparatus and device

Country Status (3)

Country Link
CN (1) CN107944461B (en)
TW (1) TW201814645A (en)
WO (1) WO2018068660A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112967142A (en) * 2021-03-31 2021-06-15 上海英方软件股份有限公司 Method and device for forwarding market information stream
CN113611013A (en) * 2021-06-17 2021-11-05 珠海汇金科技股份有限公司 Data transfer method, system and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108965273B (en) * 2018-07-02 2021-01-26 瑞典爱立信有限公司 Method in Internet of vehicles and communication system for Internet of vehicles
CN109379353A (en) * 2018-10-08 2019-02-22 北京科东电力控制系统有限责任公司 Collecting method and device
CN112380564A (en) * 2020-11-19 2021-02-19 河南海融软件有限公司 Data security management system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257461A (en) * 2007-03-02 2008-09-03 华为技术有限公司 Method and apparatus for filtering content based on classification
CN102043796A (en) * 2009-10-14 2011-05-04 无锡华润上华半导体有限公司 Information collecting method and device based on Internet
WO2012139333A1 (en) * 2011-04-11 2012-10-18 中兴通讯股份有限公司 Internet of things data resource opening system and method
CN202906974U (en) * 2011-12-27 2013-04-24 上海翊通信息技术有限公司 Information influx device based on cloud computing

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6338082B1 (en) * 1999-03-22 2002-01-08 Eric Schneider Method, product, and apparatus for requesting a network resource
CN1324156A (en) * 2000-05-12 2001-11-28 胡希平 Classifying reception and treatment method and equipment for wired broadcast transmitted digital data
US7450740B2 (en) * 2005-09-28 2008-11-11 Facedouble, Inc. Image classification and information retrieval over wireless digital networks and the internet
KR20080017530A (en) * 2006-08-21 2008-02-27 신상석 A service method which unifies several real informations of a person or a company or an organization as a virtual id
CN101247298B (en) * 2007-02-15 2012-12-12 华为技术有限公司 Processing method, system and device for specification area
CN101115074B (en) * 2007-07-19 2010-05-26 王智鹏 United service identification server and method for performing united denomination and access to service
CN101359992A (en) * 2007-07-31 2009-02-04 华为技术有限公司 Content category request method, determination method, interaction method and apparatus thereof
CN101436269A (en) * 2007-11-14 2009-05-20 华为软件技术有限公司 Unionized resource management system and resource lookup method of business analysis system
CN101588349A (en) * 2008-05-21 2009-11-25 华为技术有限公司 Method and system for realizing IMS service, request unit and a storage unit
CN102035805B (en) * 2009-09-25 2015-05-20 中兴通讯股份有限公司 Third party registration failure processing method and device for IMS (IP Multimedia Subsystem)
CN102281251B (en) * 2010-06-09 2014-12-17 中兴通讯股份有限公司 Device, system and method for realizing intelligent household application
CN103400220A (en) * 2013-07-18 2013-11-20 北京随方信息技术有限公司 Method for collecting and classifying network equipment information and fixedly identifying
CN103647813B (en) * 2013-11-29 2015-10-28 中国物品编码中心 The method and apparatus of Internet of Things unifying identifier code parsing
CN105472594B (en) * 2014-09-09 2018-09-04 阿尔卡特朗讯 A kind of method and apparatus for handling data
CN104468207B (en) * 2014-11-28 2018-05-01 北京奇安信科技有限公司 The method, apparatus and system of terminal management
CN104378270A (en) * 2014-12-10 2015-02-25 曾仲林 Data center system and data center method for networks
CN105139144B (en) * 2015-09-10 2016-06-01 刘治 Thing networking unifying identifier coding Accreditation System and method and resolution system and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257461A (en) * 2007-03-02 2008-09-03 华为技术有限公司 Method and apparatus for filtering content based on classification
CN102043796A (en) * 2009-10-14 2011-05-04 无锡华润上华半导体有限公司 Information collecting method and device based on Internet
WO2012139333A1 (en) * 2011-04-11 2012-10-18 中兴通讯股份有限公司 Internet of things data resource opening system and method
CN202906974U (en) * 2011-12-27 2013-04-24 上海翊通信息技术有限公司 Information influx device based on cloud computing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112967142A (en) * 2021-03-31 2021-06-15 上海英方软件股份有限公司 Method and device for forwarding market information stream
CN113611013A (en) * 2021-06-17 2021-11-05 珠海汇金科技股份有限公司 Data transfer method, system and device

Also Published As

Publication number Publication date
CN107944461B (en) 2022-05-03
TW201814645A (en) 2018-04-16
CN107944461A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
WO2018068660A1 (en) Data processing method, apparatus and device
US11411897B2 (en) Communication method and communication apparatus for message queue telemetry transport
WO2021088566A1 (en) Nwdaf network element selection method and apparatus, electronic device, and readable storage medium
CN108353094B (en) Cross-resource subscription for M2M service layer
US9319412B2 (en) Method for establishing resource access authorization in M2M communication
EP3861706B1 (en) Framework for dynamic brokerage and management of topics and data at the service layer
CN104303454B (en) Method of the certification to the access mandate of the specific resources in wireless communication system
US20060036707A1 (en) Method and apparatus for routing images
US11411888B2 (en) Distributed policy enforcement with optimizing policy transformations
US11100249B2 (en) Apparatus and method for enhancing personal information data security
WO2019246402A1 (en) Automated iot device configuration using user profile
RU2003135540A (en) INCREASING THE AUTOMATION LEVEL AT THE INITIALIZATION OF A COMPUTER SYSTEM FOR NETWORK ACCESS
CN116057924A (en) Methods, systems, and computer readable media for providing network function discovery service enhancements
US11831736B2 (en) System and methods for service layer cache management
US20240089343A1 (en) Service layer-based methods to enable efficient analytics of iot data
WO2021103693A1 (en) Authorization method and apparatus
WO2019055760A1 (en) Service layer message templates in a communications network
CN105323128B (en) method, device and system for accessing front-end equipment to server
US11533596B2 (en) API publish method and apparatus
JP2024511907A (en) Network function registration method, discovery method, equipment, device and medium
US20210319015A1 (en) Pathnames with embedded queries
US20240056434A1 (en) Mechanism to enable authorization of network function acting as federated learning clients and federated llearning servers in 5g core
CN104683934B (en) Device and method for realizing information interaction between heterogeneous network systems
Nakamura et al. The Building Operating System (BOS): IoT Devices and Systems Aggregator
CN115209522A (en) Network function registration method, discovery method, device, equipment and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17859710

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17859710

Country of ref document: EP

Kind code of ref document: A1