WO2016074477A1 - Data processing method, device and system, and computer storage medium - Google Patents

Data processing method, device and system, and computer storage medium Download PDF

Info

Publication number
WO2016074477A1
WO2016074477A1 PCT/CN2015/081681 CN2015081681W WO2016074477A1 WO 2016074477 A1 WO2016074477 A1 WO 2016074477A1 CN 2015081681 W CN2015081681 W CN 2015081681W WO 2016074477 A1 WO2016074477 A1 WO 2016074477A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
oid
dns
domain name
service type
Prior art date
Application number
PCT/CN2015/081681
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 WO2016074477A1 publication Critical patent/WO2016074477A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor

Definitions

  • the present invention relates to data processing technologies, and in particular, to a data processing method, device, system, and computer storage medium.
  • the object identifier (OID, Object Identifier) is an identification mechanism jointly proposed by the International Organization for Standardization (ISO), the International Electrotechnical Commission (IEC), and the International Telecommunication Union (ITU). Use a hierarchical tree structure to globally unambiguously and uniquely name any type of object. OID has the advantages of layered flexibility, strong scalability, clear management mechanism, and is compatible with existing identification mechanisms. It has been widely used in information security, medical and health, network management and other fields. As of December 2013, the international OID tree 891,938 top OID identifiers have been registered. In recent years, with the development of technologies and industries such as the Internet of Things, there is an urgent need for identity management and information management for a wide variety of objects, and OID has received further attention. Regardless of management mechanism, technical superiority, technology maturity, application promotion, international and domestic standardization, OID is the most suitable solution for object identification management.
  • ISO International Organization for Standardization
  • IEC International Electrotechnical Commission
  • ITU International Telecommunication Union
  • the OID coding system is a hierarchical symbology.
  • the International Standards Organization defines an OID Resolution System (ORS), which uses the DNS technology to pass the global OID through the Internet.
  • ORS OID Resolution System
  • ORS Organized into a hierarchical database system, in which an upper-level DNS and a lower-level DNS perform an authorized connection through an NS-type resource record.
  • Each DNS saves the service configuration information of the corresponding OID object through the resource record of the NAPTR type.
  • the mapping name is used to configure all OID service types, which causes the DNS server to return all service configuration information related to the OID during the OID application parsing process, which causes the following problems:
  • the embodiments of the present invention provide a data processing method, device, system, and computer storage medium, which can reduce the query load of the DNS and reduce the transmission bearer, cache, and processing capability requirements of the ORS client.
  • An embodiment of the present invention provides a data processing method, where the method includes:
  • the configuration end determines the service type that the object identifier OID needs to be configured, and generates a resource record corresponding to the service type;
  • the resource record is stored in the corresponding domain name system DNS database.
  • the generating the resource record corresponding to the service type includes:
  • the method before the determining the type of service that the OID needs to be configured, the method further includes:
  • Pre-configuring an OID service name identifier where the OID service name identifier corresponds to the service class type.
  • the embodiment of the invention further provides a data processing method, the method comprising:
  • the client obtains the first service type request of the OID application, and generates a query domain name parameter according to the preset generation rule based on the first service type of the OID application; the query domain name parameter includes the first service type;
  • the service configuration information is sent to the OID application.
  • the first service type based on the OID generates a query domain name parameter according to a preset generation rule, including:
  • the query domain name parameter is generated according to the format of the preset DNS service mapping name based on the first service type of the OID.
  • the querying the corresponding DNS database based on the query domain name parameter to obtain the service configuration information corresponding to the query domain name parameter includes:
  • the embodiment of the invention further provides a data processing method, the method comprising:
  • the configuration end determines the service type that the object identifier OID needs to be configured, and generates a resource record corresponding to the service type;
  • the client obtains the first service type request of the OID application, and generates a query domain name parameter according to the preset generation rule based on the first service type of the OID application; the query domain name parameter includes the first service type;
  • the service configuration information is sent to the OID application.
  • the embodiment of the present invention further provides a device, where the device is a configuration device, and the configuration device includes: a determining unit, a first generating unit, and a writing unit;
  • the determining unit is configured to determine a service type that the object identifier OID needs to be configured
  • the first generating unit is configured to generate a resource record corresponding to the service type determined by the determining unit;
  • the writing unit is configured to store the resource record generated by the first generating unit in a corresponding domain name system DNS database.
  • the first generating unit is configured to generate a DNS service mapping name for the service type, where the DNS service mapping name includes at least an OID service name identifier, and obtain service configuration information corresponding to the service type. And generating, according to the DNS service mapping name and the service configuration information, a resource record corresponding to the service type.
  • the device further includes a configuration unit configured to pre-configure an OID service name identifier, the OID service name identifier corresponding to the service type.
  • the embodiment of the present invention further provides a device, where the device is a client device, where the client device includes: an acquiring unit, a second generating unit, a querying unit, and a sending unit;
  • the obtaining unit is configured to obtain a first service type request of the OID application
  • the second generating unit is configured to generate a query domain name parameter according to a preset generation rule according to the first service type of the OID application acquired by the acquiring unit, where the query domain name parameter includes the first service type;
  • the querying unit is configured to query the corresponding DNS database based on the query domain name parameter generated by the second generating unit, and obtain service configuration information corresponding to the query domain name parameter;
  • the sending unit is configured to send the service configuration information obtained by the query unit To the OID application.
  • the second generating unit is configured to generate a query domain name parameter in a format of a preset DNS service mapping name based on the first service type of the OID.
  • the querying unit is configured to determine a DNS corresponding to the query domain name parameter according to the query domain name parameter, and obtain a resource record corresponding to the query domain name parameter by using the database of the DNS, where the resource is The record includes service configuration information; and the service configuration information in the resource record is extracted.
  • the embodiment of the present invention further provides a data processing system, where the system includes: a configuration end device and a client device;
  • the configuration end device is configured to determine a service type that needs to be configured by the object identifier OID, and generate a resource record corresponding to the service type; and store the resource record in a corresponding domain name system DNS database;
  • the client device is configured to obtain a first service type request to the OID application, and generate a query domain name parameter according to a preset generation rule according to the first service type of the OID application; the query domain name parameter includes the first service Querying the corresponding DNS database based on the query domain name parameter, and obtaining the service configuration information corresponding to the query domain name parameter; and sending the service configuration information to the OID application.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the data processing method applied to the configuration end according to the embodiment of the invention.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the data processing method applied to the client according to the embodiment of the invention.
  • the data processing method, the device, the system, and the computer storage medium provided by the embodiment of the present invention determine the service type that the OID needs to be configured by the configuration end, and generate the resource corresponding to the service type. Recording; storing the resource record in the corresponding DNS database; the client obtains the first service type request of the OID application, and generates a query domain name parameter according to the preset generation rule based on the first service type of the OID application; Querying the domain name parameter includes the first service type; querying the corresponding DNS database based on the query domain name parameter, obtaining service configuration information corresponding to the query domain name parameter; and sending the service configuration information to the OID application.
  • different DNS service mapping names are generated by using different service types of the OID, and the DNS server does not need to return all the service configuration information related to the OID.
  • the query load of the DNS is greatly reduced, and the query load is improved.
  • the transmission and processing are convenient, which greatly reduces the transmission bearer, cache, and processing capability requirements of the ORS client. The applicability and scalability are stronger. faster.
  • FIG. 1 is a schematic flowchart of a data processing method according to Embodiment 1 of the present invention.
  • FIG. 2 is a schematic flowchart of a data processing method according to Embodiment 2 of the present invention.
  • FIG. 3 is a schematic flowchart of a data processing method according to Embodiment 3 of the present invention.
  • FIG. 4 is a schematic structural diagram of a data processing system according to Embodiment 4 of the present invention.
  • FIG. 5 is a schematic structural diagram of a device according to Embodiment 5 of the present invention.
  • FIG. 6 is a schematic structural diagram of a device according to Embodiment 6 of the present invention.
  • FIG. 7 is a schematic flowchart diagram of a data processing method according to Embodiment 7 of the present invention.
  • the embodiment of the invention provides a data processing method, and the data processing method is applied to the configuration end side.
  • 1 is a schematic flowchart of a data processing method according to Embodiment 1 of the present invention; as shown in FIG. 1, the data processing method includes:
  • Step 101 The configuration end determines an object identifier (OID) that needs to be configured, and generates a resource record corresponding to the service type.
  • OID object identifier
  • the method further includes:
  • the OID service name identifier is pre-configured, and the OID service name identifier corresponds to the service type.
  • the configuration end determines N service types that need to be configured for the OID, where N is a positive integer.
  • the configuration end pre-configures N OID service name identifiers, and the N OID service name identifiers correspond to the N service types.
  • the OID service name identifier and the corresponding service type may be as shown in Table 1, and are of course not limited to the service type and the corresponding service name identifier shown in Table 1.
  • the configured OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and other configuration identifiers in the DNS are not duplicated to avoid conflicts.
  • OID service name identifier Formal OID service
  • COID Registration information service RINF Object information service
  • OINF Sub OID list service
  • the configurator does not need to configure the OID service name identifier corresponding to all service types as shown in Table 1 for each OID.
  • the service type of the OID needs to be configured according to the OID requirements, and is configured according to different OIDs.
  • the service type generates a resource record corresponding to the service type.
  • the generating the resource record corresponding to the service type includes:
  • each DNS service mapping name represents a service type
  • each service type may correspond to at least one resource record, that is, the DNS service mapping name corresponding to the service type and And the service configuration information, the resource record corresponding to the service type is generated, and at least one resource record corresponding to the service type is generated according to the DNS service mapping name and the service configuration information corresponding to the service type.
  • the DNS service mapping name is represented by the owner name field in the resource record, and is configured to distinguish different service types of the OID in the DNS.
  • the DNS service mapping name may be in the following format:
  • DNS service mapping name OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
  • the OID service name identifier may be a host identifier or a sub-domain identifier, and the OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and other configurations in the DNS.
  • the logo is not duplicated.
  • the OID service name identifier is specifically an OID service name identifier, such as COID, RINF, OINF, and the like, as shown in Table 1.
  • the domain name is determined by taking an OID of 1.2.156.102.8 as an example.
  • the reverse order is 8.102.156.2.1;
  • the OID resolution system DNS root can be represented by "oid-res.org.”, which represents the root position of the ORS system in the DNS.
  • the OID resolution system DNS root can also be configured as Other values.
  • the service configuration information in the resource record may be through an IN NAPTR type resource.
  • the RDATA field includes at least a regular expression field, where the regular expression field is configured to store specific service configuration information of the OID object, and the service configuration information may be a uniform resource locator (URL, Uniform Resource Locator). ) Address and so on.
  • URL Uniform Resource Locator
  • Step 102 Store the resource record in a corresponding domain name system DNS database.
  • the OID is set to 1.2.156.102.8
  • the service type to be configured is COID
  • the corresponding DNS is 202.202.1.102.
  • the COID service is configured for the OID and stored in the DNS.
  • the resource records of the data entry of the DNS are as follows:
  • the owner name field in the resource record is “coid.8.102.156.2.1.oid-res.org.”, the owner name field is a DNS service mapping name, and “IN NAPTR” indicates a resource record storage OID.
  • the service configuration information of the object may be embodied by the RDATA field in the resource record, and the RDATA field is specifically “0 100"u”"ORS+OINF""! ⁇ .*$! /1/2/156/102/8! ".”.
  • the regular expression field is configured to store specific service configuration information of the OID object, and the service configuration information may specifically be a URL address or the like.
  • An embodiment of the present invention further provides a computer storage medium, where the computer storage medium
  • the computer executable instructions are stored for executing the data processing method applied to the configuration end according to the embodiment of the present invention.
  • the technical solution provided in this embodiment generates different DNS service mapping names by using different service types of the OID, so that when querying the specific service of the OID application, the DNS server does not need to return all the service configuration information related to the OID, on the one hand,
  • the query load of the DNS is reduced, and the configuration convergence speed is improved.
  • the transmission and processing processes are relatively convenient, and the transmission bearer, cache, and processing capability requirements of the ORS client are greatly reduced, and the applicability and More extensibility, faster convergence after modifying the configuration.
  • the embodiment of the invention further provides a data processing method, and the data processing method is applied to a client side.
  • 2 is a schematic flowchart of a data processing method according to Embodiment 2 of the present invention; as shown in FIG. 2, the data processing method includes:
  • Step 201 The client obtains the first service type request of the OID application, and generates a query domain name parameter according to the preset generation rule based on the first service type of the OID application; the query domain name parameter includes the first service type.
  • the client knows all the service types and the corresponding OID service name identifiers in advance.
  • the service type and the corresponding OID service name identifiers are as shown in Table 1, and are not described here.
  • the first service type request is a service type request corresponding to any one of the service types that are known in advance.
  • the client has pre-configured a DNS service mapping name generation rule;
  • the query domain name parameter in the embodiment is the DNS service mapping name.
  • the first service type based on the OID in the step is configured to generate a query domain name parameter according to a preset generation rule, including:
  • the DNS service mapping name may be in the following format:
  • DNS service mapping name OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
  • the OID is 1.2.156.102.8
  • the first service type is the COID.
  • the query domain name parameter can be generated as: coid.8.102.156.2.1. Oid-res.org.
  • Step 202 Query the corresponding DNS database based on the query domain name parameter, and obtain service configuration information corresponding to the query domain name parameter.
  • the querying the corresponding DNS database based on the query domain name parameter, and obtaining the service configuration information corresponding to the query domain name parameter includes:
  • the DNS NAPTR query request is sent to the DNS; the DNS obtains the DNS service mapping name of the first service type of the OID in the corresponding DNS database according to the query domain name, named owner name.
  • the resource record of the field, and the service configuration information is extracted from the resource record.
  • Step 203 Send the service configuration information to the OID application.
  • the service configuration information may specifically be a URL address or the like.
  • the OID application obtains the service configuration information
  • the OID service may be accessed according to the service configuration information (specifically, a URL address).
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the data processing method applied to the client according to the embodiment of the invention.
  • different DNS service mapping names are generated in advance by using different service types of the OID, so that when the specific service of the OID application is queried, the DNS server does not need to return all service configuration information related to the OID.
  • the query load of the DNS is greatly reduced, and the configuration convergence speed is improved.
  • the transmission and processing processes are relatively convenient, and the transmission bearer, cache, and processing capability requirements of the ORS client are greatly reduced, and the applicability is adopted. It is more scalable and converges faster after modifying the configuration.
  • the embodiment of the invention also provides a data processing method.
  • 3 is a schematic flowchart of a data processing method according to Embodiment 3 of the present invention; as shown in FIG. 3, the data processing method includes:
  • Step 301 The configuration end determines the service type that the OID needs to be configured, and generates a resource record corresponding to the service type.
  • the method further includes:
  • the OID service name identifier is pre-configured, and the OID service name identifier corresponds to the service type.
  • the configuration end determines N service types that need to be configured for the OID, where N is a positive integer.
  • the configuration end pre-configures N OID service name identifiers, and the N OID service name identifiers correspond to the N service types.
  • the OID service name identifier and the corresponding service type may be as shown in Table 1, and are not limited to the service type and the corresponding service name identifier shown in Table 1, and details are not described herein again.
  • the configured OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and other configuration identifiers in the DNS are not duplicated. In order to avoid conflicts.
  • the configurator does not need to configure the OID service name identifier corresponding to all service types as shown in Table 1 for each OID.
  • the service type of the OID needs to be configured according to the OID requirements, and is configured according to different OIDs.
  • the service type generates a resource record corresponding to the service type.
  • the generating the resource record corresponding to the service type includes:
  • each DNS service mapping name represents a service type
  • each service type may correspond to at least one resource record, that is, the DNS service mapping name corresponding to the service type and And the service configuration information, the resource record corresponding to the service type is generated, and at least one resource record corresponding to the service type is generated according to the DNS service mapping name and the service configuration information corresponding to the service type.
  • the DNS service mapping name is represented by the owner name field in the resource record, and is configured to distinguish different service types of the OID in the DNS.
  • the DNS service mapping name may be in the following format:
  • DNS service mapping name OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
  • the OID service name identifier may be a host identifier or a sub-domain identifier, and the OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and other configurations in the DNS.
  • the logo is not duplicated.
  • the OID service name identifier is specifically an OID service name label shown in Table 1.
  • OID OID service name label
  • COID COID
  • RINF RINF
  • OINF OINF
  • the domain name is reversed to 8.102.156.2.1.
  • the DNS root of the OID resolution system can be represented by "oid-res.org.”, which represents the root position of the ORS system in the DNS.
  • the DNS root of the OID resolution system can also be configured to other values.
  • the service configuration information in the resource record may be represented by a resource record of an IN NAPTR type.
  • the RDATA field further includes a regular expression field, where the regular expression field is configured to store specific service configuration information of the OID object, and the service configuration information may specifically be a URL address or the like.
  • Step 302 Store the resource record in a corresponding DNS database.
  • the OID is set to 1.2.156.102.8
  • the service type to be configured is COID
  • the corresponding DNS is 202.202.1.102.
  • the COID service is configured for the OID and stored in the DNS.
  • the resource records of the data entry of the DNS are as follows:
  • the owner name field in the resource record is “coid.8.102.156.2.1.oid-res.org.”, the owner name field is a DNS service mapping name, and “IN NAPTR” indicates a resource record storage OID.
  • the service configuration information of the object may be embodied by the RDATA field in the resource record, and the RDATA field is specifically “0 100"u”"ORS+OINF""! ⁇ .*$! /1/2/156/102/8! ".”.
  • Step 303 The client obtains the first service type request of the OID application, and generates a query domain name parameter according to the preset generation rule according to the first service type of the OID application;
  • the number includes the first service type.
  • the client knows all the service types and the corresponding OID service name identifiers in advance.
  • the service type and the corresponding OID service name identifiers are as shown in Table 1, and are not described here.
  • the client has pre-configured a DNS service mapping name generation rule;
  • the query domain name parameter in the embodiment is the DNS service mapping name.
  • the first service type based on the OID in the step is configured to generate a query domain name parameter according to a preset generation rule, including:
  • the query domain name parameter is generated according to the format of the preset DNS service mapping name based on the first service type of the OID.
  • the DNS service mapping name may be in the following format:
  • DNS service mapping name OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
  • the OID is 1.2.156.102.8
  • the first service type is the COID.
  • the query domain name parameter can be generated as: coid.8.102.156.2.1. Oid-res.org.
  • Step 304 Query the corresponding DNS database based on the query domain name parameter, and obtain service configuration information corresponding to the query domain name parameter.
  • the querying the corresponding DNS database based on the query domain name parameter to obtain the service configuration information corresponding to the query domain name includes:
  • the request includes the query domain name parameter in the DNS NAPTR query request.
  • the DNS NAPTR query request is sent to the DNS, and the DNS obtains the DNS service mapping name of the first service type of the OID in the corresponding DNS database according to the query domain name.
  • the resource record of the field, and the service configuration information is extracted from the resource record.
  • Step 305 Send the service configuration information to the OID application.
  • the service configuration information may specifically be a URL address or the like.
  • the OID application obtains the service configuration information
  • the OID service may be accessed according to the service configuration information (specifically, a URL address).
  • the technical solution provided by the embodiment of the present invention generates different DNS service mapping names by using different service types of the OID, and does not need to cause the DNS server to return all service configuration information related to the OID.
  • the query load of the DNS is greatly reduced, and the query is improved.
  • the transmission and processing are convenient, which greatly reduces the transmission bearer, cache, and processing capability requirements of the ORS client. The applicability and scalability are stronger. faster.
  • the embodiment of the invention also provides a data processing system.
  • 4 is a schematic structural diagram of a data processing system according to Embodiment 4 of the present invention; as shown in FIG. 4, the system includes: a configuration end device 41 and a client device 42;
  • the configuration end device 41 is configured to determine a service type that the OID needs to be configured, and generate a resource record corresponding to the service type; and store the resource record in the corresponding DNS database 43;
  • the client device 42 is configured to obtain a first service type request of the OID application, and generate a query domain name parameter according to a preset generation rule according to the first service type of the OID application; the query domain name parameter includes the first Querying the corresponding DNS database 43 based on the query domain name parameter, and obtaining service configuration information corresponding to the query domain name parameter; Configuration information is sent to the OID application.
  • the service type of the OID includes N, and N is a positive integer.
  • the configurator does not need to configure the OID service name identifier corresponding to all service types as shown in Table 1 for each OID.
  • the service type of the OID needs to be configured according to the OID requirements, and is configured according to different OIDs.
  • the service type generates a resource record corresponding to the service type.
  • the configuration end device 41 is configured to generate a DNS service mapping name for the service type, where the DNS service mapping name includes at least an OID service name identifier, and obtain service configuration information corresponding to the service type. And generating, according to the DNS service mapping name and the service configuration information, a resource record corresponding to the service type.
  • each DNS service mapping name represents a service type; each service type may correspond to at least one resource record, that is, the DNS service mapping name and the service corresponding to the service type.
  • the configuration information is generated, and the resource record corresponding to the service type is generated, and at least one resource record corresponding to the service type is generated according to the DNS service mapping name and the service configuration information corresponding to the service type.
  • the DNS service mapping name is represented by the owner name field in the resource record, and is configured to distinguish different service types of the OID in the DNS.
  • the DNS service mapping name may be in the following format:
  • DNS service mapping name OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
  • the OID service name identifier may be a host identifier or a sub-domain identifier, and the OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and other configurations in the DNS.
  • the logo is not duplicated.
  • the OID service name identifier is specifically an OID service name identifier, such as COID, RINF, OINF, and the like, as shown in Table 1.
  • the domain name is determined by taking an OID of 1.2.156.102.8 as an example.
  • the reverse order is 8.102.156.2.1; the OID resolution system DNS root can be used "oid-res.org.” indicates that it represents the root position of the ORS system in the DNS.
  • the OID resolution system DNS root can also be configured to other values.
  • the service configuration information in the resource record may be represented by a resource record of an IN NAPTR type.
  • the RDATA field further includes a regular expression field, where the regular expression field is configured to store specific service configuration information of the OID object, and the service configuration information may specifically be a URL address or the like.
  • the client device 42 knows all the service types and the corresponding OID service name identifiers in advance.
  • the service type and the corresponding OID service name identifiers are as shown in Table 1, and are not described here.
  • the client device 42 has pre-configured a DNS service mapping name generation rule; the query domain name parameter described in this embodiment is the DNS service mapping name.
  • the configuration end device 41 is further configured to pre-configure an OID service name identifier before the object identifier OID needs to be configured, and the OID service name identifier corresponds to the service type.
  • the configuration end determines N service types that need to be configured for the OID, where N is a positive integer.
  • the configuration end pre-configures N OID service name identifiers, and the N OID service name identifiers correspond to the N service types.
  • the OID service name identifier is pre-configured in the configuration end device 41, and the OID service name identifier is corresponding to the service type.
  • the OID service name identifier and the corresponding service type may be as shown in Table 1, and details are not described herein again.
  • the OID service name identifier and the corresponding service type are not limited to the service type and the corresponding service name identifier shown in Table 1.
  • the configured OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and Other configuration identifiers in the DNS are not duplicated to avoid conflicts.
  • the client device 42 is configured to generate a query domain name parameter according to a format of a preset DNS service mapping name based on the first service type of the OID.
  • the DNS service mapping name may be in the following format:
  • DNS service mapping name OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
  • the OID is 1.2.156.102.8
  • the first service type is the COID.
  • the query domain name parameter can be generated as: coid.8.102.156.2.1. Oid-res.org.
  • the client device 42 is configured to determine, according to the query domain name parameter, the DNS 44 corresponding to the query domain name parameter, and obtain the resource record corresponding to the query domain name parameter by using the database 43 of the DNS 44, where the resource record is Include service configuration information; extract service configuration information in the resource record.
  • the DNS NAPTR query request is sent to the DNS, and the DNS obtains the DNS of the first service type of the OID in the DNS database 43 corresponding to the DNS 44 according to the query domain name parameter.
  • the service maps a resource record named owner name field, and extracts service configuration information from the resource record.
  • An embodiment of the present invention further provides a device, where the device is a configuration end device.
  • 5 is a schematic structural diagram of a device according to Embodiment 5 of the present invention; as shown in FIG. 5, the configuration end device includes: a determining unit 411, a first generating unit 412, and a writing unit 413;
  • the determining unit 411 is configured to determine a service type that the object identifier OID needs to be configured
  • the first generating unit 412 is configured to generate a resource record corresponding to the service type determined by the determining unit 411;
  • the writing unit 413 is configured to store the resource record generated by the first generating unit 412 in a corresponding DNS database.
  • the first generating unit 412 is configured to generate a DNS service mapping name for the service type, where the DNS service mapping name includes at least an OID service name identifier, and obtain a service configuration corresponding to the service type. And generating, according to the DNS service mapping name and the service configuration information, a resource record corresponding to the service type.
  • the device further includes a configuration unit 414 configured to pre-configure an OID service name identifier, the OID service name identifier corresponding to the service type.
  • the determining unit 411, the first generating unit 412, and the configuring unit 414 in the configuration end device may be processed by a central processing unit (CPU, Central Processing Unit) and digital signal in the device in an actual application.
  • the DSP (Digital Signal Processor) or the Field-Programmable Gate Array (FPGA) is implemented; the writing unit 413 can be implemented by a transmitter or a transmitter in the device in practical applications.
  • FIG. 6 is a schematic structural diagram of a device according to Embodiment 6 of the present invention; as shown in FIG. 6, the configuration end device includes: an obtaining unit 421, a second generating unit 422, a query unit 423, and a sending unit 424;
  • the obtaining unit 421 is configured to obtain a first service type request of the OID application
  • the second generating unit 422 is configured to generate a query domain name parameter according to a preset generation rule according to the first service type of the OID application acquired by the acquiring unit 421; the query domain name parameter includes the first service type;
  • the query unit 423 is configured to be based on the query generated by the second generating unit 422
  • the domain name parameter queries the corresponding DNS database, and obtains service configuration information corresponding to the query domain name;
  • the sending unit 424 is configured to send the service configuration information obtained by the query unit 423 to the OID application.
  • the second generating unit 422 is configured to generate a query domain name parameter in a format of a preset DNS service mapping name based on the first service type of the OID.
  • the query unit 423 is configured to determine a DNS corresponding to the query domain name parameter according to the query domain name parameter, and obtain a resource record corresponding to the query domain name parameter by using the database of the DNS,
  • the resource record includes service configuration information; and the service configuration information in the resource record is extracted.
  • the second generating unit 422 in the client device may be implemented by a CPU, a DSP or an FPGA in the device in an actual application; the query unit 423 and the sending unit 424 may be used in an actual application.
  • the transmitter or transmitter in the device is implemented; in an actual application, the acquisition unit 421 can be implemented by a receiver or receiver in the device.
  • FIG. 7 is a schematic flowchart of a data processing method according to Embodiment 7 of the present invention. As shown in FIG. 7, the data processing method includes:
  • Step 701 The configuration end reserves N OID service name identifiers, where N is a positive integer.
  • N OID service name identifiers may be specifically shown in Table 1, and are not described herein again.
  • Step 702 The configuration end configures three service types of services for the OID to be configured, generates three resource records corresponding to the three service types, and writes the three resource records into the corresponding DNS database.
  • the configuration end configures three service types of services for the OID to be configured, and generates three resource records corresponding to the three service types, that is, each service type corresponds to one resource record;
  • Each service type is not limited to one resource record, and each service type may correspond to M resource records, and M is a positive integer.
  • the DNS service mapping name is represented by the owner name field in the resource record, and is configured to distinguish different service types of the OID in the DNS.
  • the DNS service mapping name may be in the following format:
  • DNS service mapping name OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
  • the OID service name identifier may be a host identifier or a sub-domain identifier, and the OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and other configurations in the DNS.
  • the logo is not duplicated.
  • the DNS root of the OID resolution system can be represented by "oid-res.org.”, which represents the root position of the ORS system in the DNS.
  • the DNS root of the OID resolution system can also be configured to other values.
  • the service configuration information in the resource record may be represented by a resource record of the IN NAPTR type.
  • the RDATA field further includes a regular expression field, where the regular expression field is configured to store specific service configuration information of the OID object, and the service configuration information may specifically be a URL address or the like.
  • the to-be-configured OID is 1.2.156.102.8
  • the service type to be configured is: COID, RINF, OINF, and the corresponding DNS is 202.202.1.102
  • the resource records in the DNS database are as follows:
  • the owner name field in the resource record of the COID service type is "coid.8.102.156.2.1.oid-res.org.”
  • the owner name field is the DNS service.
  • the name of the mapping; "IN NAPTR” indicates that the resource record stores the service configuration information of the OID object; the specific service configuration information may be represented by the RDATA field in the resource record, and the RDATA field is specifically "0 100"u”"ORS+ OINF""! ⁇ .*$! /1/2/156/102/8! ".”.
  • Step 703 The client receives an instruction to query the OINF information of the OID, and generates a query domain name parameter.
  • the client knows all the service types and the corresponding OID service name identifiers in advance.
  • the service type and the corresponding OID service name identifiers are as shown in Table 1, and are not described here.
  • the client has pre-configured a DNS service mapping name generation rule; the query domain name parameter in the embodiment is the DNS service mapping name.
  • the DNS service mapping name may be in the following format:
  • DNS service mapping name OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
  • the query domain name parameter corresponding to the COID service type is generated as: coid.8.102.156.2.1.oid-res.org.
  • Step 704 The client is directed to the DNS corresponding to the query domain name parameter according to the query domain name parameter, and obtains the resource record corresponding to the query domain name parameter by using the database corresponding to the DNS.
  • Step 705 The client extracts the service configuration information in the resource record, and sends the service configuration information to the OID application, so that the OID application can perform subsequent processing according to the service configuration information.
  • the DNS NAPTR query request is sent to the DNS, and the DNS obtains the resource record named the owner name field of the first service type of the OID according to the query domain name parameter.
  • the service configuration information is extracted from the resource record.
  • the technical solution provided by the embodiment of the present invention generates different DNS service mapping names by using different service types of the OID, and does not need to cause the DNS server to return all service configuration information related to the OID.
  • the query load of the DNS is greatly reduced, and the query is improved.
  • the transmission and processing are convenient, which greatly reduces the transmission bearer, cache, and processing capability requirements of the ORS client. The applicability and scalability are stronger. faster.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; You can choose some of them according to your actual needs. Or all of the units 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 module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration
  • the unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disk or an optical disk.
  • optical disk A medium that can store program code.
  • the embodiment of the present invention generates different DNS service mapping names by using different service types of the OID, and does not need to cause the DNS server to return all service configuration information related to the OID.
  • the query load of the DNS is greatly reduced, and the configuration convergence speed is improved;
  • the transmission and processing are more convenient, which greatly reduces the transmission bearer, cache and processing capability requirements of the ORS client, and the applicability and scalability are stronger, and the convergence speed is faster after the configuration is modified.

Abstract

Disclosed are a data processing method, device and system, and a computer storage medium. The method comprises: a configuration end determines a service type to be configured for an OID, and generates a resource record corresponding to the service type; store the resource record into a corresponding DNS database; a client acquires a first service type request of an OID application, and generates a query domain name parameter according to a first service type of the OID application and a preset generating rule, the query domain name parameter comprising the first service type; query the corresponding DNS database according to the query domain name parameter, and obtain service configuration information corresponding to the query domain name parameter; and send the service configuration information to the OID application.

Description

一种数据处理方法、设备、系统及计算机存储介质Data processing method, device, system and computer storage medium 技术领域Technical field
本发明涉及数据处理技术,具体涉及一种数据处理方法、设备、系统及计算机存储介质。The present invention relates to data processing technologies, and in particular, to a data processing method, device, system, and computer storage medium.
背景技术Background technique
对象标识符(OID,Object Identifier)是由国际标准化组织(ISO,International Organization for Standardization)/国际电工委员会(IEC,International Electrotechnical Commission)、国际电信联盟(ITU,International Telecommunication Union)联合提出的标识机制,采用分层树形结构对任何类型的对象进行全球无歧义、唯一命名。OID具有分层灵活、扩展性强、管理机制清晰等优势,并可兼容现有标识机制,已经广泛应用于信息安全、医疗卫生、网络管理等领域,截止到2013年12月,国际OID树中已有891,938个顶级OID标识符完成注册。近些年,随着物联网等技术和产业的发展,急需对种类繁多的对象进行标识管理和信息管理,OID受到进一步关注。无论从管理机制、技术优越性、技术成熟度,还是应用推广、国际、国内标准化等各方面情况来看,OID都是对象标识管理最合适的方案。The object identifier (OID, Object Identifier) is an identification mechanism jointly proposed by the International Organization for Standardization (ISO), the International Electrotechnical Commission (IEC), and the International Telecommunication Union (ITU). Use a hierarchical tree structure to globally unambiguously and uniquely name any type of object. OID has the advantages of layered flexibility, strong scalability, clear management mechanism, and is compatible with existing identification mechanisms. It has been widely used in information security, medical and health, network management and other fields. As of December 2013, the international OID tree 891,938 top OID identifiers have been registered. In recent years, with the development of technologies and industries such as the Internet of Things, there is an urgent need for identity management and information management for a wide variety of objects, and OID has received further attention. Regardless of management mechanism, technical superiority, technology maturity, application promotion, international and domestic standardization, OID is the most suitable solution for object identification management.
OID编码体系是一个分级的符号体系,相对应的,为解决OID对应对象的信息的统一查询问题,国际标准组织定义了一套OID解析系统(ORS),使用DNS技术,将全球的OID通过互联网组织成一个分级的数据库系统,其中上级DNS与下级DNS之间,通过NS类型的资源记录进行授权连接。每个DNS通过NAPTR类型的资源记录保存对应的OID对象的服务配置信息。The OID coding system is a hierarchical symbology. Correspondingly, in order to solve the unified query problem of the information corresponding to the OID, the International Standards Organization defines an OID Resolution System (ORS), which uses the DNS technology to pass the global OID through the Internet. Organized into a hierarchical database system, in which an upper-level DNS and a lower-level DNS perform an authorized connection through an NS-type resource record. Each DNS saves the service configuration information of the corresponding OID object through the resource record of the NAPTR type.
在现有技术中,在某个OID对象对应的DNS中,通常使用同一个DNS 映射名来配置所有的OID服务类型,这就使得在OID应用解析过程中,DNS服务器会返回该OID相关的所有服务配置信息,这会导致以下问题:In the prior art, in the DNS corresponding to an OID object, the same DNS is usually used. The mapping name is used to configure all OID service types, which causes the DNS server to return all service configuration information related to the OID during the OID application parsing process, which causes the following problems:
1、由于DNS存在缓存,冗余的服务数据扩散,将导致修改配置时的收敛速度降低;1. Due to the cache of the DNS, the redundant service data is spread, which will cause the convergence speed to be reduced when the configuration is modified.
2、随着OID服务类型的扩展,DNS查询结果也越来越大,过大的响应包,导致客户端处理难度加大;2. With the expansion of the OID service type, the DNS query result is also getting larger and larger, and the response package is too large, which makes the client processing more difficult;
3、OID对应的DNS系统负荷增加。3. The DNS system load corresponding to the OID increases.
发明内容Summary of the invention
为解决现有存在的技术问题,本发明实施例提供一种数据处理方法、设备、系统及计算机存储介质,能够降低DNS的查询负荷,降低对ORS客户端的传输承载、缓存以及处理能力要求。In order to solve the existing technical problems, the embodiments of the present invention provide a data processing method, device, system, and computer storage medium, which can reduce the query load of the DNS and reduce the transmission bearer, cache, and processing capability requirements of the ORS client.
为达到上述目的,本发明实施例的技术方案是这样实现的:To achieve the above objective, the technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供了一种数据处理方法,所述方法包括:An embodiment of the present invention provides a data processing method, where the method includes:
配置端确定对象标识符OID需要配置的服务类型,生成所述服务类型对应的资源记录;The configuration end determines the service type that the object identifier OID needs to be configured, and generates a resource record corresponding to the service type;
将所述资源记录存入对应的域名系统DNS数据库中。The resource record is stored in the corresponding domain name system DNS database.
在另一实施例中,所述生成所述服务类型对应的资源记录,包括:In another embodiment, the generating the resource record corresponding to the service type includes:
为所述服务类型生成DNS服务映射名,所述DNS服务映射名至少包括OID服务名称标识;Generating a DNS service mapping name for the service type, where the DNS service mapping name includes at least an OID service name identifier;
获取所述服务类型对应的服务配置信息;Obtaining service configuration information corresponding to the service type;
根据所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的资源记录。And generating, according to the DNS service mapping name and the service configuration information, a resource record corresponding to the service type.
在另一实施例中,所述确定OID需要配置的服务类型之前,所述方法还包括:In another embodiment, before the determining the type of service that the OID needs to be configured, the method further includes:
预先配置OID服务名称标识,所述OID服务名称标识对应所述服务类 型。Pre-configuring an OID service name identifier, where the OID service name identifier corresponds to the service class type.
本发明实施例还提供了一种数据处理方法,所述方法包括:The embodiment of the invention further provides a data processing method, the method comprising:
客户端获取到OID应用的第一服务类型请求,基于所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参数包括所述第一服务类型;The client obtains the first service type request of the OID application, and generates a query domain name parameter according to the preset generation rule based on the first service type of the OID application; the query domain name parameter includes the first service type;
基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息;Querying a corresponding DNS database based on the query domain name parameter, and obtaining service configuration information corresponding to the query domain name parameter;
将所述服务配置信息发送至所述OID应用。The service configuration information is sent to the OID application.
在另一实施例中,所述基于所述OID的第一服务类型按预设生成规则生成查询域名参数,包括:In another embodiment, the first service type based on the OID generates a query domain name parameter according to a preset generation rule, including:
基于所述OID的第一服务类型按预设的DNS服务映射名的格式生成查询域名参数。The query domain name parameter is generated according to the format of the preset DNS service mapping name based on the first service type of the OID.
在另一实施例中,所述基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息,包括:In another embodiment, the querying the corresponding DNS database based on the query domain name parameter to obtain the service configuration information corresponding to the query domain name parameter includes:
根据所述查询域名参数确定所述查询域名参数对应的DNS,通过所述DNS的数据库获得所述查询域名参数对应的资源记录,所述资源记录中包括服务配置信息;Determining the DNS corresponding to the query domain name parameter according to the query domain name parameter, and obtaining the resource record corresponding to the query domain name parameter by using the database of the DNS, where the resource record includes service configuration information;
提取所述资源记录中的服务配置信息。Extracting service configuration information in the resource record.
本发明实施例还提供了一种数据处理方法,所述方法包括:The embodiment of the invention further provides a data processing method, the method comprising:
配置端确定对象标识符OID需要配置的服务类型,生成所述服务类型对应的资源记录;The configuration end determines the service type that the object identifier OID needs to be configured, and generates a resource record corresponding to the service type;
将所述资源记录存入对应的域名系统DNS数据库中;Depositing the resource record in a corresponding domain name system DNS database;
客户端获取到OID应用的第一服务类型请求,基于所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参数包括所述第一服务类型; The client obtains the first service type request of the OID application, and generates a query domain name parameter according to the preset generation rule based on the first service type of the OID application; the query domain name parameter includes the first service type;
基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息;Querying a corresponding DNS database based on the query domain name parameter, and obtaining service configuration information corresponding to the query domain name parameter;
将所述服务配置信息发送至所述OID应用。The service configuration information is sent to the OID application.
本发明实施例还提供了一种设备,所述设备为配置端设备,所述配置端设备包括:确定单元、第一生成单元和写入单元;其中,The embodiment of the present invention further provides a device, where the device is a configuration device, and the configuration device includes: a determining unit, a first generating unit, and a writing unit;
所述确定单元,配置为确定对象标识符OID需要配置的服务类型;The determining unit is configured to determine a service type that the object identifier OID needs to be configured;
所述第一生成单元,配置为生成所述确定单元确定的所述服务类型对应的资源记录;The first generating unit is configured to generate a resource record corresponding to the service type determined by the determining unit;
所述写入单元,配置为将所述第一生成单元生成的所述资源记录存入对应的域名系统DNS数据库中。The writing unit is configured to store the resource record generated by the first generating unit in a corresponding domain name system DNS database.
在另一实施例中,所述第一生成单元,配置为为所述服务类型生成DNS服务映射名,所述DNS服务映射名至少包括OID服务名称标识;获取所述服务类型对应的服务配置信息;根据所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的资源记录。In another embodiment, the first generating unit is configured to generate a DNS service mapping name for the service type, where the DNS service mapping name includes at least an OID service name identifier, and obtain service configuration information corresponding to the service type. And generating, according to the DNS service mapping name and the service configuration information, a resource record corresponding to the service type.
在另一实施例中,所述设备还包括配置单元,配置为预先配置OID服务名称标识,所述OID服务名称标识对应所述服务类型。In another embodiment, the device further includes a configuration unit configured to pre-configure an OID service name identifier, the OID service name identifier corresponding to the service type.
本发明实施例还提供了一种设备,所述设备为客户端设备,所述客户端设备包括:获取单元、第二生成单元、查询单元和发送单元;其中,The embodiment of the present invention further provides a device, where the device is a client device, where the client device includes: an acquiring unit, a second generating unit, a querying unit, and a sending unit;
所述获取单元,配置为获取到OID应用的第一服务类型请求;The obtaining unit is configured to obtain a first service type request of the OID application;
所述第二生成单元,配置为基于所述获取单元获取的所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参数包括所述第一服务类型;The second generating unit is configured to generate a query domain name parameter according to a preset generation rule according to the first service type of the OID application acquired by the acquiring unit, where the query domain name parameter includes the first service type;
所述查询单元,配置为基于所述第二生成单元生成的所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息;The querying unit is configured to query the corresponding DNS database based on the query domain name parameter generated by the second generating unit, and obtain service configuration information corresponding to the query domain name parameter;
所述发送单元,配置为将所述查询单元获得的所述服务配置信息发送 至所述OID应用。The sending unit is configured to send the service configuration information obtained by the query unit To the OID application.
在另一实施例中,所述第二生成单元,配置为基于所述OID的第一服务类型按预设的DNS服务映射名的格式生成查询域名参数。In another embodiment, the second generating unit is configured to generate a query domain name parameter in a format of a preset DNS service mapping name based on the first service type of the OID.
在另一实施例中,所述查询单元,配置为根据所述查询域名参数确定所述查询域名参数对应的DNS,通过所述DNS的数据库获得所述查询域名参数对应的资源记录,所述资源记录中包括服务配置信息;提取所述资源记录中的服务配置信息。In another embodiment, the querying unit is configured to determine a DNS corresponding to the query domain name parameter according to the query domain name parameter, and obtain a resource record corresponding to the query domain name parameter by using the database of the DNS, where the resource is The record includes service configuration information; and the service configuration information in the resource record is extracted.
本发明实施例还提供了一种数据处理系统,所述系统包括:配置端设备和客户端设备;其中,The embodiment of the present invention further provides a data processing system, where the system includes: a configuration end device and a client device;
所述配置端设备,配置为确定对象标识符OID需要配置的服务类型,生成所述服务类型对应的资源记录;将所述资源记录存入对应的域名系统DNS数据库中;The configuration end device is configured to determine a service type that needs to be configured by the object identifier OID, and generate a resource record corresponding to the service type; and store the resource record in a corresponding domain name system DNS database;
所述客户端设备,配置为获取到OID应用的第一服务类型请求,基于所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参数包括所述第一服务类型;基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息;将所述服务配置信息发送至所述OID应用。The client device is configured to obtain a first service type request to the OID application, and generate a query domain name parameter according to a preset generation rule according to the first service type of the OID application; the query domain name parameter includes the first service Querying the corresponding DNS database based on the query domain name parameter, and obtaining the service configuration information corresponding to the query domain name parameter; and sending the service configuration information to the OID application.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的应用于配置端的数据处理方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the data processing method applied to the configuration end according to the embodiment of the invention.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的应用于客户端的数据处理方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the data processing method applied to the client according to the embodiment of the invention.
本发明实施例提供的数据处理方法、设备、系统及计算机存储介质,通过配置端确定OID需要配置的服务类型,生成所述服务类型对应的资源 记录;将所述资源记录存入对应的DNS数据库中;客户端获取到OID应用的第一服务类型请求,基于所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参数包括所述第一服务类型;基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息;将所述服务配置信息发送至所述OID应用。采用本发明实施例的技术方案,通过OID不同的服务类型生成不同的DNS服务映射名,无需使DNS服务器返回该OID相关的所有服务配置信息,一方面,大大降低了DNS的查询负荷,提高了配置收敛速度;另一方面,由于查询结果比较小,传输和处理过程都比较方便,大大降低了对ORS客户端的传输承载、缓存以及处理能力要求,适用性和扩展性更强,修改配置后收敛速度更快。The data processing method, the device, the system, and the computer storage medium provided by the embodiment of the present invention determine the service type that the OID needs to be configured by the configuration end, and generate the resource corresponding to the service type. Recording; storing the resource record in the corresponding DNS database; the client obtains the first service type request of the OID application, and generates a query domain name parameter according to the preset generation rule based on the first service type of the OID application; Querying the domain name parameter includes the first service type; querying the corresponding DNS database based on the query domain name parameter, obtaining service configuration information corresponding to the query domain name parameter; and sending the service configuration information to the OID application. According to the technical solution of the embodiment of the present invention, different DNS service mapping names are generated by using different service types of the OID, and the DNS server does not need to return all the service configuration information related to the OID. On the one hand, the query load of the DNS is greatly reduced, and the query load is improved. On the other hand, because the query result is relatively small, the transmission and processing are convenient, which greatly reduces the transmission bearer, cache, and processing capability requirements of the ORS client. The applicability and scalability are stronger. faster.
附图说明DRAWINGS
图1为本发明实施例一的数据处理方法的流程示意图;1 is a schematic flowchart of a data processing method according to Embodiment 1 of the present invention;
图2为本发明实施例二的数据处理方法的流程示意图;2 is a schematic flowchart of a data processing method according to Embodiment 2 of the present invention;
图3为本发明实施例三的数据处理方法的流程示意图;3 is a schematic flowchart of a data processing method according to Embodiment 3 of the present invention;
图4为本发明实施例四的数据处理系统的组成结构示意图;4 is a schematic structural diagram of a data processing system according to Embodiment 4 of the present invention;
图5为本发明实施例五的设备的组成结构示意图;5 is a schematic structural diagram of a device according to Embodiment 5 of the present invention;
图6为本发明实施例六的设备的组成结构示意图;6 is a schematic structural diagram of a device according to Embodiment 6 of the present invention;
图7为本发明实施例七的数据处理方法的流程示意图。FIG. 7 is a schematic flowchart diagram of a data processing method according to Embodiment 7 of the present invention.
具体实施方式detailed description
下面结合附图及具体实施例对本发明作进一步详细的说明。The present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
实施例一Embodiment 1
本发明实施例提供了一种数据处理方法,所述数据处理方法应用于配置端侧。图1为本发明实施例一的数据处理方法的流程示意图;如图1所示,所述数据处理方法包括: The embodiment of the invention provides a data processing method, and the data processing method is applied to the configuration end side. 1 is a schematic flowchart of a data processing method according to Embodiment 1 of the present invention; as shown in FIG. 1, the data processing method includes:
步骤101:配置端确定对象标识符(OID)需要配置的服务类型,生成所述服务类型对应的资源记录。Step 101: The configuration end determines an object identifier (OID) that needs to be configured, and generates a resource record corresponding to the service type.
这里,所述确定OID需要配置的服务类型之前,所述方法还包括:Here, before the determining the type of service that the OID needs to be configured, the method further includes:
预先配置OID服务名称标识,所述OID服务名称标识对应所述服务类型。The OID service name identifier is pre-configured, and the OID service name identifier corresponds to the service type.
本实施例中,所述配置端确定OID需要配置的N个服务类型,其中,N为正整数。则相应的,所述配置端预先配置N个OID服务名称标识,所述N个OID服务名称标识对应所述N个服务类型。In this embodiment, the configuration end determines N service types that need to be configured for the OID, where N is a positive integer. Correspondingly, the configuration end pre-configures N OID service name identifiers, and the N OID service name identifiers correspond to the N service types.
具体的,在实际应用中,所述OID服务名称标识及对应的服务类型可如表1所示,当然不限于表1中所示的服务类型及对应的服务名称标识。其中,所配置的OID服务名称标识区别于DNS中的其他配置标识,即所述OID服务名称标识与所述DNS中的其他配置标识不重名,以免发生冲突。Specifically, in an actual application, the OID service name identifier and the corresponding service type may be as shown in Table 1, and are of course not limited to the service type and the corresponding service name identifier shown in Table 1. The configured OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and other configuration identifiers in the DNS are not duplicated to avoid conflicts.
服务类型Service type OID服务名称标识OID service name identifier
正规OID服务Formal OID service COIDCOID
注册信息服务Registration information service RINFRINF
对象信息服务Object information service OINFOINF
子OID列表服务Sub OID list service CINFCINF
子节点分配方案服务Child node allocation scheme service COASCOAS
模块信息服务Module information service MINFMINF
……...... ……......
表1Table 1
在实际应用中,配置者无需针对每个OID配置如表1所示的所有服务类型对应的OID服务名称标识,可根据OID的需要,确定OID需要配置的服务类型,并根据不同的OID需要配置的服务类型生成所述服务类型对应的资源记录。 In the actual application, the configurator does not need to configure the OID service name identifier corresponding to all service types as shown in Table 1 for each OID. The service type of the OID needs to be configured according to the OID requirements, and is configured according to different OIDs. The service type generates a resource record corresponding to the service type.
本步骤中,所述生成所述服务类型对应的资源记录,包括:In this step, the generating the resource record corresponding to the service type includes:
为所述服务类型生成DNS服务映射名,所述DNS服务映射名至少包括OID服务名称标识;Generating a DNS service mapping name for the service type, where the DNS service mapping name includes at least an OID service name identifier;
获取所述服务类型对应的服务配置信息;Obtaining service configuration information corresponding to the service type;
根据所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的资源记录。And generating, according to the DNS service mapping name and the service configuration information, a resource record corresponding to the service type.
具体的,本实施例中,每个DNS服务映射名表征一种服务类型;每个服务类型可以对应至少一条资源记录,也就是说,所述根据所述服务类型对应的所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的资源记录,为:根据所述服务类型对应的所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的至少一条资源记录。Specifically, in this embodiment, each DNS service mapping name represents a service type; each service type may correspond to at least one resource record, that is, the DNS service mapping name corresponding to the service type and And the service configuration information, the resource record corresponding to the service type is generated, and at least one resource record corresponding to the service type is generated according to the DNS service mapping name and the service configuration information corresponding to the service type.
其中,所述DNS服务映射名在所述资源记录中通过owner name字段表示,配置为在DNS中区分所述OID的不同服务类型。具体的,所述DNS服务映射名可采用如下格式:The DNS service mapping name is represented by the owner name field in the resource record, and is configured to distinguish different service types of the OID in the DNS. Specifically, the DNS service mapping name may be in the following format:
DNS服务映射名=OID服务名称标识.+域名化倒序(dot-notation OID).+OID解析系统DNS根。DNS service mapping name = OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
其中,所述OID服务名称标识可以是主机标识,也可以是子域标识,所述OID服务名称标识区别于DNS中的其他配置标识,即所述OID服务名称标识与所述DNS中的其他配置标识不重名。The OID service name identifier may be a host identifier or a sub-domain identifier, and the OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and other configurations in the DNS. The logo is not duplicated.
具体的,所述OID服务名称标识具体为表1中所示的OID服务名称标识,如COID、RINF、OINF等等;以待配置的OID为1.2.156.102.8为例,则所述域名化倒序为8.102.156.2.1;所述OID解析系统DNS根可以用“oid-res.org.”表示,代表ORS系统在DNS中的根位置,当然,所述OID解析系统DNS根也可以配置成其他值。Specifically, the OID service name identifier is specifically an OID service name identifier, such as COID, RINF, OINF, and the like, as shown in Table 1. The domain name is determined by taking an OID of 1.2.156.102.8 as an example. The reverse order is 8.102.156.2.1; the OID resolution system DNS root can be represented by "oid-res.org.", which represents the root position of the ORS system in the DNS. Of course, the OID resolution system DNS root can also be configured as Other values.
具体的,所述资源记录中的服务配置信息可通过IN NAPTR类型的资 源记录表示。所述IN NAPTR代表DNS中采用Class=IN、Type=NAPTR的资源记录存储OID对象的服务配置信息,所述服务配置信息可通过所述资源记录中的RDATA字段体现。Specifically, the service configuration information in the resource record may be through an IN NAPTR type resource. Source record representation. The IN NAPTR represents a service record information of a resource record storing an OID object using Class=IN, Type=NAPTR in the DNS, and the service configuration information may be embodied by an RDATA field in the resource record.
其中,所述RDATA字段中至少还包括Regular expression字段;其中,所述Regular expression字段配置为存储OID对象的具体服务配置信息,所述服务配置信息具体可以是统一资源定位符(URL,Uniform Resource Locator)地址等等。The RDATA field includes at least a regular expression field, where the regular expression field is configured to store specific service configuration information of the OID object, and the service configuration information may be a uniform resource locator (URL, Uniform Resource Locator). ) Address and so on.
步骤102:将所述资源记录存入对应的域名系统DNS数据库中。Step 102: Store the resource record in a corresponding domain name system DNS database.
具体的,以待配置的OID为1.2.156.102.8、待配置的服务类型为COID、对应的DNS为202.202.1.102为例,为所述OID配置所述COID服务,并存入所述DNS的数据库中,所述DNS的数据库存入的资源记录如下:Specifically, the OID is set to 1.2.156.102.8, the service type to be configured is COID, and the corresponding DNS is 202.202.1.102. The COID service is configured for the OID and stored in the DNS. In the database, the resource records of the data entry of the DNS are as follows:
coid.8.102.156.2.1.oid-res.org.IN NAPTR 0 100"u""ORS+OINF""!^.*$!/1/2/156/102/8!".。coid.8.102.156.2.1.oid-res.org.IN NAPTR 0 100"u""ORS+OINF""!^.*$!/1/2/156/102/8!".
其中,所述资源记录中的owner name字段为“coid.8.102.156.2.1.oid-res.org.”,所述owner name字段即为DNS服务映射名;“IN NAPTR”表示资源记录存储OID对象的服务配置信息;具体的服务配置信息可通过所述资源记录中的RDATA字段体现,所述RDATA字段具体为“0 100"u""ORS+OINF""!^.*$!/1/2/156/102/8!".”。The owner name field in the resource record is “coid.8.102.156.2.1.oid-res.org.”, the owner name field is a DNS service mapping name, and “IN NAPTR” indicates a resource record storage OID. The service configuration information of the object; the specific service configuration information may be embodied by the RDATA field in the resource record, and the RDATA field is specifically “0 100"u""ORS+OINF""! ^.*$! /1/2/156/102/8! ".".
其中,在所述RDATA字段中包括的字段及相应的字段赋值如表2所示:The fields included in the RDATA field and the corresponding field assignments are as shown in Table 2:
Figure PCTCN2015081681-appb-000001
Figure PCTCN2015081681-appb-000001
表2Table 2
其中,Regular expression字段配置为存储OID对象的具体服务配置信息,所述服务配置信息具体可以是URL地址等等。The regular expression field is configured to store specific service configuration information of the OID object, and the service configuration information may specifically be a URL address or the like.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中 存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的应用于配置端的数据处理方法。An embodiment of the present invention further provides a computer storage medium, where the computer storage medium The computer executable instructions are stored for executing the data processing method applied to the configuration end according to the embodiment of the present invention.
本实施例提供的技术方案,通过OID不同的服务类型生成不同的DNS服务映射名,使得在查询OID应用的特定服务时,无需使DNS服务器返回该OID相关的所有服务配置信息,一方面,大大降低了DNS的查询负荷,提高了配置收敛速度;另一方面,由于查询结果比较小,传输和处理过程都比较方便,大大降低了对ORS客户端的传输承载、缓存以及处理能力要求,适用性和扩展性更强,修改配置后收敛速度更快。The technical solution provided in this embodiment generates different DNS service mapping names by using different service types of the OID, so that when querying the specific service of the OID application, the DNS server does not need to return all the service configuration information related to the OID, on the one hand, The query load of the DNS is reduced, and the configuration convergence speed is improved. On the other hand, since the query result is relatively small, the transmission and processing processes are relatively convenient, and the transmission bearer, cache, and processing capability requirements of the ORS client are greatly reduced, and the applicability and More extensibility, faster convergence after modifying the configuration.
实施例二Embodiment 2
本发明实施例还提供了一种数据处理方法,所述数据处理方法应用于客户端侧。图2为本发明实施例二的数据处理方法的流程示意图;如图2所示,所述数据处理方法包括:The embodiment of the invention further provides a data processing method, and the data processing method is applied to a client side. 2 is a schematic flowchart of a data processing method according to Embodiment 2 of the present invention; as shown in FIG. 2, the data processing method includes:
步骤201:客户端获取到OID应用的第一服务类型请求,基于所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参数包括所述第一服务类型。Step 201: The client obtains the first service type request of the OID application, and generates a query domain name parameter according to the preset generation rule based on the first service type of the OID application; the query domain name parameter includes the first service type.
本实施例中,所述客户端预先获知所有的服务类型以及对应的OID服务名称标识,所述服务类型以及对应的OID服务名称标识可如表1所示,这里不再赘述。In this embodiment, the client knows all the service types and the corresponding OID service name identifiers in advance. The service type and the corresponding OID service name identifiers are as shown in Table 1, and are not described here.
其中,所述第一服务类型请求为所述预先获知的所有的服务类型中任一服务类型所对应的服务类型请求。The first service type request is a service type request corresponding to any one of the service types that are known in advance.
本实施例中,所述客户端已预先配置DNS服务映射名的生成规则;本实施例中所述的查询域名参数为所述DNS服务映射名。相应的,本步骤中所述基于所述OID的第一服务类型按预设生成规则生成查询域名参数,包括:In this embodiment, the client has pre-configured a DNS service mapping name generation rule; the query domain name parameter in the embodiment is the DNS service mapping name. Correspondingly, the first service type based on the OID in the step is configured to generate a query domain name parameter according to a preset generation rule, including:
基于所述OID的第一服务类型按预设的DNS服务映射名的格式生成查 询域名参数。Generating a check based on a format of a preset DNS service map name based on the first service type of the OID Ask for domain name parameters.
其中,所述DNS服务映射名可采用如下格式:The DNS service mapping name may be in the following format:
DNS服务映射名=OID服务名称标识.+域名化倒序(dot-notation OID).+OID解析系统DNS根。DNS service mapping name = OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
具体的,以OID为1.2.156.102.8、所述第一服务类型为COID为例,基于上述DNS服务映射名的格式,则所述查询域名参数可生成为:coid.8.102.156.2.1.oid-res.org.。Specifically, the OID is 1.2.156.102.8, and the first service type is the COID. The query domain name parameter can be generated as: coid.8.102.156.2.1. Oid-res.org.
步骤202:基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息。Step 202: Query the corresponding DNS database based on the query domain name parameter, and obtain service configuration information corresponding to the query domain name parameter.
这里,所述基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息,包括:Here, the querying the corresponding DNS database based on the query domain name parameter, and obtaining the service configuration information corresponding to the query domain name parameter, includes:
根据所述查询域名参数确定所述查询域名参数对应的DNS,通过所述DNS的数据库获得所述查询域名参数对应的资源记录,所述资源记录中包括服务配置信息;提取所述资源记录中的服务配置信息。Determining, according to the query domain name parameter, the DNS corresponding to the query domain name parameter, obtaining a resource record corresponding to the query domain name parameter by using the database of the DNS, where the resource record includes service configuration information; and extracting the resource record Service configuration information.
具体的,所述客户端获得所述查询域名参数后,以CLASS=IN,TYPE=NAPTR作为查询条件,发起DNS查询,即发送DNS NAPTR查询请求,所述DNS NAPTR查询请求中包括所述查询域名参数。在本实施例中,所述DNS NAPTR查询请求发送至DNS中;所述DNS再根据所述查询域名参数获取对应的DNS数据库中以所述OID的第一服务类型的DNS服务映射名为owner name字段的资源记录,再从所述资源记录中提取出服务配置信息。Specifically, after obtaining the query domain name parameter, the client initiates a DNS query by using CLASS=IN, TYPE=NAPTR as a query condition, that is, sending a DNS NAPTR query request, where the DNS NAPTR query request includes the query domain name. parameter. In this embodiment, the DNS NAPTR query request is sent to the DNS; the DNS obtains the DNS service mapping name of the first service type of the OID in the corresponding DNS database according to the query domain name, named owner name. The resource record of the field, and the service configuration information is extracted from the resource record.
步骤203:将所述服务配置信息发送至所述OID应用。Step 203: Send the service configuration information to the OID application.
这里,所述服务配置信息具体可以是URL地址等等。则所述OID应用获得所述服务配置信息后,可根据所述服务配置信息(具体可以是URL地址)访问相应的OID服务。 Here, the service configuration information may specifically be a URL address or the like. After the OID application obtains the service configuration information, the OID service may be accessed according to the service configuration information (specifically, a URL address).
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的应用于客户端的数据处理方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the data processing method applied to the client according to the embodiment of the invention.
本实施例提供的技术方案,通过OID不同的服务类型预先生成不同的DNS服务映射名,使得在查询OID应用的特定服务时,无需使DNS服务器返回该OID相关的所有服务配置信息,一方面,大大降低了DNS的查询负荷,提高了配置收敛速度;另一方面,由于查询结果比较小,传输和处理过程都比较方便,大大降低了对ORS客户端的传输承载、缓存以及处理能力要求,适用性和扩展性更强,修改配置后收敛速度更快。In the technical solution provided by the embodiment, different DNS service mapping names are generated in advance by using different service types of the OID, so that when the specific service of the OID application is queried, the DNS server does not need to return all service configuration information related to the OID. The query load of the DNS is greatly reduced, and the configuration convergence speed is improved. On the other hand, since the query result is relatively small, the transmission and processing processes are relatively convenient, and the transmission bearer, cache, and processing capability requirements of the ORS client are greatly reduced, and the applicability is adopted. It is more scalable and converges faster after modifying the configuration.
实施例三Embodiment 3
本发明实施例还提供了一种数据处理方法。图3为本发明实施例三的数据处理方法的流程示意图;如图3所示,所述数据处理方法包括:The embodiment of the invention also provides a data processing method. 3 is a schematic flowchart of a data processing method according to Embodiment 3 of the present invention; as shown in FIG. 3, the data processing method includes:
步骤301:配置端确定OID需要配置的服务类型,生成所述服务类型对应的资源记录。Step 301: The configuration end determines the service type that the OID needs to be configured, and generates a resource record corresponding to the service type.
这里,所述确定对象标识符OID需要配置的服务类型之前,所述方法还包括:Here, before the determining the object identifier OID needs to be configured, the method further includes:
预先配置OID服务名称标识,所述OID服务名称标识对应所述服务类型。The OID service name identifier is pre-configured, and the OID service name identifier corresponds to the service type.
本实施例中,所述配置端确定OID需要配置的N个服务类型,其中,N为正整数。则相应的,所述配置端预先配置N个OID服务名称标识,所述N个OID服务名称标识对应所述N个服务类型。In this embodiment, the configuration end determines N service types that need to be configured for the OID, where N is a positive integer. Correspondingly, the configuration end pre-configures N OID service name identifiers, and the N OID service name identifiers correspond to the N service types.
具体的,在实际应用中,所述OID服务名称标识及对应的服务类型可如表1所示,当然不限于表1中所示的服务类型及对应的服务名称标识,这里不再赘述。其中,所配置的OID服务名称标识区别于DNS中的其他配置标识,即所述OID服务名称标识与所述DNS中的其他配置标识不重名, 以免发生冲突。Specifically, in the actual application, the OID service name identifier and the corresponding service type may be as shown in Table 1, and are not limited to the service type and the corresponding service name identifier shown in Table 1, and details are not described herein again. The configured OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and other configuration identifiers in the DNS are not duplicated. In order to avoid conflicts.
在实际应用中,配置者无需针对每个OID配置如表1所示的所有服务类型对应的OID服务名称标识,可根据OID的需要,确定OID需要配置的服务类型,并根据不同的OID需要配置的服务类型生成所述服务类型对应的资源记录。In the actual application, the configurator does not need to configure the OID service name identifier corresponding to all service types as shown in Table 1 for each OID. The service type of the OID needs to be configured according to the OID requirements, and is configured according to different OIDs. The service type generates a resource record corresponding to the service type.
本步骤中,所述生成所述服务类型对应的资源记录,包括:In this step, the generating the resource record corresponding to the service type includes:
为所述服务类型生成DNS服务映射名,所述DNS服务映射名至少包括OID服务名称标识;Generating a DNS service mapping name for the service type, where the DNS service mapping name includes at least an OID service name identifier;
获取所述服务类型对应的服务配置信息;Obtaining service configuration information corresponding to the service type;
根据所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的资源记录。And generating, according to the DNS service mapping name and the service configuration information, a resource record corresponding to the service type.
具体的,本实施例中,每个DNS服务映射名表征一种服务类型;每个服务类型可以对应至少一条资源记录,也就是说,所述根据所述服务类型对应的所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的资源记录,为:根据所述服务类型对应的所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的至少一条资源记录。Specifically, in this embodiment, each DNS service mapping name represents a service type; each service type may correspond to at least one resource record, that is, the DNS service mapping name corresponding to the service type and And the service configuration information, the resource record corresponding to the service type is generated, and at least one resource record corresponding to the service type is generated according to the DNS service mapping name and the service configuration information corresponding to the service type.
其中,所述DNS服务映射名在所述资源记录中通过owner name字段表示,配置为在DNS中区分所述OID的不同服务类型。具体的,所述DNS服务映射名可采用如下格式:The DNS service mapping name is represented by the owner name field in the resource record, and is configured to distinguish different service types of the OID in the DNS. Specifically, the DNS service mapping name may be in the following format:
DNS服务映射名=OID服务名称标识.+域名化倒序(dot-notation OID).+OID解析系统DNS根。DNS service mapping name = OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
其中,所述OID服务名称标识可以是主机标识,也可以是子域标识,所述OID服务名称标识区别于DNS中的其他配置标识,即所述OID服务名称标识与所述DNS中的其他配置标识不重名。The OID service name identifier may be a host identifier or a sub-domain identifier, and the OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and other configurations in the DNS. The logo is not duplicated.
具体的,所述OID服务名称标识具体为表1中所示的OID服务名称标 识,如COID、RINF、OINF等等;以待配置的OID为1.2.156.102.8为例,则所述域名化倒序为8.102.156.2.1。所述OID解析系统DNS根可以用“oid-res.org.”表示,代表ORS系统在DNS中的根位置,当然,所述OID解析系统DNS根也可以配置成其他值。Specifically, the OID service name identifier is specifically an OID service name label shown in Table 1. For example, COID, RINF, OINF, etc.; taking the OID to be configured as 1.2.156.102.8 as an example, the domain name is reversed to 8.102.156.2.1. The DNS root of the OID resolution system can be represented by "oid-res.org.", which represents the root position of the ORS system in the DNS. Of course, the DNS root of the OID resolution system can also be configured to other values.
具体的,所述资源记录中的服务配置信息可通过IN NAPTR类型的资源记录表示。所述IN NAPTR代表DNS中采用Class=IN、Type=NAPTR的资源记录存储OID对象的服务配置信息,所述服务配置信息可通过所述资源记录中的RDATA字段体现。Specifically, the service configuration information in the resource record may be represented by a resource record of an IN NAPTR type. The IN NAPTR represents a service record information of a resource record storing an OID object using Class=IN, Type=NAPTR in the DNS, and the service configuration information may be embodied by an RDATA field in the resource record.
其中,所述RDATA字段中至少还包括Regular expression字段;其中,所述Regular expression字段配置为存储OID对象的具体服务配置信息,所述服务配置信息具体可以是URL地址等等。The RDATA field further includes a regular expression field, where the regular expression field is configured to store specific service configuration information of the OID object, and the service configuration information may specifically be a URL address or the like.
步骤302:将所述资源记录存入对应的DNS数据库中。Step 302: Store the resource record in a corresponding DNS database.
具体的,以待配置的OID为1.2.156.102.8、待配置的服务类型为COID、对应的DNS为202.202.1.102为例,为所述OID配置所述COID服务,并存入所述DNS的数据库中,所述DNS的数据库存入的资源记录如下:Specifically, the OID is set to 1.2.156.102.8, the service type to be configured is COID, and the corresponding DNS is 202.202.1.102. The COID service is configured for the OID and stored in the DNS. In the database, the resource records of the data entry of the DNS are as follows:
coid.8.102.156.2.1.oid-res.org.IN NAPTR 0 100"u""ORS+OINF""!^.*$!/1/2/156/102/8!".。coid.8.102.156.2.1.oid-res.org.IN NAPTR 0 100"u""ORS+OINF""!^.*$!/1/2/156/102/8!".
其中,所述资源记录中的owner name字段为“coid.8.102.156.2.1.oid-res.org.”,所述owner name字段即为DNS服务映射名;“IN NAPTR”表示资源记录存储OID对象的服务配置信息;具体的服务配置信息可通过所述资源记录中的RDATA字段体现,所述RDATA字段具体为“0 100"u""ORS+OINF""!^.*$!/1/2/156/102/8!".”。The owner name field in the resource record is “coid.8.102.156.2.1.oid-res.org.”, the owner name field is a DNS service mapping name, and “IN NAPTR” indicates a resource record storage OID. The service configuration information of the object; the specific service configuration information may be embodied by the RDATA field in the resource record, and the RDATA field is specifically “0 100"u""ORS+OINF""! ^.*$! /1/2/156/102/8! ".".
其中,在所述RDATA字段中包括的字段及相应的字段赋值如表2所示,这里不再赘述。The fields included in the RDATA field and the corresponding field assignments are as shown in Table 2, and are not described here.
步骤303:客户端获取到OID应用的第一服务类型请求,基于所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参 数包括所述第一服务类型。Step 303: The client obtains the first service type request of the OID application, and generates a query domain name parameter according to the preset generation rule according to the first service type of the OID application; The number includes the first service type.
本实施例中,所述客户端预先获知所有的服务类型以及对应的OID服务名称标识,所述服务类型以及对应的OID服务名称标识可如表1所示,这里不再赘述。In this embodiment, the client knows all the service types and the corresponding OID service name identifiers in advance. The service type and the corresponding OID service name identifiers are as shown in Table 1, and are not described here.
本实施例中,所述客户端已预先配置DNS服务映射名的生成规则;本实施例中所述的查询域名参数为所述DNS服务映射名。相应的,本步骤中所述基于所述OID的第一服务类型按预设生成规则生成查询域名参数,包括:In this embodiment, the client has pre-configured a DNS service mapping name generation rule; the query domain name parameter in the embodiment is the DNS service mapping name. Correspondingly, the first service type based on the OID in the step is configured to generate a query domain name parameter according to a preset generation rule, including:
基于所述OID的第一服务类型按预设的DNS服务映射名的格式生成查询域名参数。The query domain name parameter is generated according to the format of the preset DNS service mapping name based on the first service type of the OID.
其中,所述DNS服务映射名可采用如下格式:The DNS service mapping name may be in the following format:
DNS服务映射名=OID服务名称标识.+域名化倒序(dot-notation OID).+OID解析系统DNS根。DNS service mapping name = OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
具体的,以OID为1.2.156.102.8、所述第一服务类型为COID为例,基于上述DNS服务映射名的格式,则所述查询域名参数可生成为:coid.8.102.156.2.1.oid-res.org.。Specifically, the OID is 1.2.156.102.8, and the first service type is the COID. The query domain name parameter can be generated as: coid.8.102.156.2.1. Oid-res.org.
步骤304:基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息。Step 304: Query the corresponding DNS database based on the query domain name parameter, and obtain service configuration information corresponding to the query domain name parameter.
这里,所述基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名对应的服务配置信息,包括:Here, the querying the corresponding DNS database based on the query domain name parameter to obtain the service configuration information corresponding to the query domain name includes:
根据所述查询域名参数确定所述查询域名参数对应的DNS,通过所述DNS的数据库获得所述查询域名参数对应的资源记录,所述资源记录中包括服务配置信息;提取所述资源记录中的服务配置信息。Determining, according to the query domain name parameter, the DNS corresponding to the query domain name parameter, obtaining a resource record corresponding to the query domain name parameter by using the database of the DNS, where the resource record includes service configuration information; and extracting the resource record Service configuration information.
具体的,所述客户端获得所述查询域名参数后,以CLASS=IN,TYPE=NAPTR作为查询条件,发起DNS查询,即发送DNS NAPTR查询 请求,所述DNS NAPTR查询请求中包括所述查询域名参数。在本实施例中,所述DNS NAPTR查询请求发送至DNS中,所述DNS再根据所述查询域名参数获取对应的DNS数据库中以所述OID的第一服务类型的DNS服务映射名为owner name字段的资源记录,再从所述资源记录中提取出服务配置信息。Specifically, after obtaining the query domain name parameter, the client uses CLASS=IN, TYPE=NAPTR as a query condition, and initiates a DNS query, that is, sends a DNS NAPTR query. The request includes the query domain name parameter in the DNS NAPTR query request. In this embodiment, the DNS NAPTR query request is sent to the DNS, and the DNS obtains the DNS service mapping name of the first service type of the OID in the corresponding DNS database according to the query domain name. The resource record of the field, and the service configuration information is extracted from the resource record.
步骤305:将所述服务配置信息发送至所述OID应用。Step 305: Send the service configuration information to the OID application.
这里,所述服务配置信息具体可以是URL地址等等。则所述OID应用获得所述服务配置信息后,可根据所述服务配置信息(具体可以是URL地址)访问相应的OID服务。Here, the service configuration information may specifically be a URL address or the like. After the OID application obtains the service configuration information, the OID service may be accessed according to the service configuration information (specifically, a URL address).
本发明实施例提供的技术方案,通过OID不同的服务类型生成不同的DNS服务映射名,无需使DNS服务器返回该OID相关的所有服务配置信息,一方面,大大降低了DNS的查询负荷,提高了配置收敛速度;另一方面,由于查询结果比较小,传输和处理过程都比较方便,大大降低了对ORS客户端的传输承载、缓存以及处理能力要求,适用性和扩展性更强,修改配置后收敛速度更快。The technical solution provided by the embodiment of the present invention generates different DNS service mapping names by using different service types of the OID, and does not need to cause the DNS server to return all service configuration information related to the OID. On the one hand, the query load of the DNS is greatly reduced, and the query is improved. On the other hand, because the query result is relatively small, the transmission and processing are convenient, which greatly reduces the transmission bearer, cache, and processing capability requirements of the ORS client. The applicability and scalability are stronger. faster.
实施例四Embodiment 4
本发明实施例还提供了一种数据处理系统。图4为本发明实施例四的数据处理系统的组成结构示意图;如图4所示,所述系统包括:配置端设备41和客户端设备42;其中,The embodiment of the invention also provides a data processing system. 4 is a schematic structural diagram of a data processing system according to Embodiment 4 of the present invention; as shown in FIG. 4, the system includes: a configuration end device 41 and a client device 42;
所述配置端设备41,配置为确定OID需要配置的服务类型,生成所述服务类型对应的资源记录;将所述资源记录存入对应的DNS数据库43中;The configuration end device 41 is configured to determine a service type that the OID needs to be configured, and generate a resource record corresponding to the service type; and store the resource record in the corresponding DNS database 43;
所述客户端设备42,配置为获取到OID应用的第一服务类型请求,基于所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参数包括所述第一服务类型;基于所述查询域名参数查询对应的DNS数据库43,获得所述查询域名参数对应的服务配置信息;将所述服务 配置信息发送至所述OID应用。The client device 42 is configured to obtain a first service type request of the OID application, and generate a query domain name parameter according to a preset generation rule according to the first service type of the OID application; the query domain name parameter includes the first Querying the corresponding DNS database 43 based on the query domain name parameter, and obtaining service configuration information corresponding to the query domain name parameter; Configuration information is sent to the OID application.
这里,所述OID的服务类型包括N个,N为正整数。在实际应用中,配置者无需针对每个OID配置如表1所示的所有服务类型对应的OID服务名称标识,可根据OID的需要,确定OID需要配置的服务类型,并根据不同的OID需要配置的服务类型生成所述服务类型对应的资源记录。Here, the service type of the OID includes N, and N is a positive integer. In the actual application, the configurator does not need to configure the OID service name identifier corresponding to all service types as shown in Table 1 for each OID. The service type of the OID needs to be configured according to the OID requirements, and is configured according to different OIDs. The service type generates a resource record corresponding to the service type.
在另一实施例中,所述配置端设备41,配置为为所述服务类型生成DNS服务映射名,所述DNS服务映射名至少包括OID服务名称标识;获取所述服务类型对应的服务配置信息;根据所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的资源记录。In another embodiment, the configuration end device 41 is configured to generate a DNS service mapping name for the service type, where the DNS service mapping name includes at least an OID service name identifier, and obtain service configuration information corresponding to the service type. And generating, according to the DNS service mapping name and the service configuration information, a resource record corresponding to the service type.
本实施例中,每个DNS服务映射名表征一种服务类型;每个服务类型可以对应至少一条资源记录,也就是说,所述根据所述服务类型对应的所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的资源记录,为:根据所述服务类型对应的所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的至少一条资源记录。In this embodiment, each DNS service mapping name represents a service type; each service type may correspond to at least one resource record, that is, the DNS service mapping name and the service corresponding to the service type. The configuration information is generated, and the resource record corresponding to the service type is generated, and at least one resource record corresponding to the service type is generated according to the DNS service mapping name and the service configuration information corresponding to the service type.
其中,所述DNS服务映射名在所述资源记录中通过owner name字段表示,配置为在DNS中区分所述OID的不同服务类型。具体的,所述DNS服务映射名可采用如下格式:The DNS service mapping name is represented by the owner name field in the resource record, and is configured to distinguish different service types of the OID in the DNS. Specifically, the DNS service mapping name may be in the following format:
DNS服务映射名=OID服务名称标识.+域名化倒序(dot-notation OID).+OID解析系统DNS根。DNS service mapping name = OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
其中,所述OID服务名称标识可以是主机标识,也可以是子域标识,所述OID服务名称标识区别于DNS中的其他配置标识,即所述OID服务名称标识与所述DNS中的其他配置标识不重名。The OID service name identifier may be a host identifier or a sub-domain identifier, and the OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and other configurations in the DNS. The logo is not duplicated.
具体的,所述OID服务名称标识具体为表1中所示的OID服务名称标识,如COID、RINF、OINF等等;以待配置的OID为1.2.156.102.8为例,则所述域名化倒序为8.102.156.2.1;所述OID解析系统DNS根可以用 “oid-res.org.”表示,代表ORS系统在DNS中的根位置,当然,所述OID解析系统DNS根也可以配置成其他值。Specifically, the OID service name identifier is specifically an OID service name identifier, such as COID, RINF, OINF, and the like, as shown in Table 1. The domain name is determined by taking an OID of 1.2.156.102.8 as an example. The reverse order is 8.102.156.2.1; the OID resolution system DNS root can be used "oid-res.org." indicates that it represents the root position of the ORS system in the DNS. Of course, the OID resolution system DNS root can also be configured to other values.
具体的,所述资源记录中的服务配置信息可通过IN NAPTR类型的资源记录表示。所述IN NAPTR代表DNS中采用Class=IN、Type=NAPTR的资源记录存储OID对象的服务配置信息,所述服务配置信息可通过所述资源记录中的RDATA字段体现。Specifically, the service configuration information in the resource record may be represented by a resource record of an IN NAPTR type. The IN NAPTR represents a service record information of a resource record storing an OID object using Class=IN, Type=NAPTR in the DNS, and the service configuration information may be embodied by an RDATA field in the resource record.
其中,所述RDATA字段中至少还包括Regular expression字段;其中,所述Regular expression字段配置为存储OID对象的具体服务配置信息,所述服务配置信息具体可以是URL地址等等。The RDATA field further includes a regular expression field, where the regular expression field is configured to store specific service configuration information of the OID object, and the service configuration information may specifically be a URL address or the like.
本实施例中,所述客户端设备42预先获知所有的服务类型以及对应的OID服务名称标识,所述服务类型以及对应的OID服务名称标识可如表1所示,这里不再赘述。In this embodiment, the client device 42 knows all the service types and the corresponding OID service name identifiers in advance. The service type and the corresponding OID service name identifiers are as shown in Table 1, and are not described here.
本实施例中,所述客户端设备42已预先配置DNS服务映射名的生成规则;本实施例中所述的查询域名参数为所述DNS服务映射名。In this embodiment, the client device 42 has pre-configured a DNS service mapping name generation rule; the query domain name parameter described in this embodiment is the DNS service mapping name.
在另一实施例中,所述配置端设备41,还配置为确定对象标识符OID需要配置的服务类型之前,预先配置OID服务名称标识,所述OID服务名称标识对应所述服务类型。In another embodiment, the configuration end device 41 is further configured to pre-configure an OID service name identifier before the object identifier OID needs to be configured, and the OID service name identifier corresponds to the service type.
本实施例中,所述配置端确定OID需要配置的N个服务类型,其中,N为正整数。则相应的,所述配置端预先配置N个OID服务名称标识,所述N个OID服务名称标识对应所述N个服务类型。In this embodiment, the configuration end determines N service types that need to be configured for the OID, where N is a positive integer. Correspondingly, the configuration end pre-configures N OID service name identifiers, and the N OID service name identifiers correspond to the N service types.
所述配置端设备41中预先配置OID服务名称标识,所述OID服务名称标识对应所述服务类型,所述OID服务名称标识及对应的服务类型可如表1所示,这里不再赘述。当然所述OID服务名称标识及对应的服务类型不限于表1中所示的服务类型及对应的服务名称标识。其中,所配置的OID服务名称标识区别于DNS中的其他配置标识,即所述OID服务名称标识与 所述DNS中的其他配置标识不重名,以免发生冲突。The OID service name identifier is pre-configured in the configuration end device 41, and the OID service name identifier is corresponding to the service type. The OID service name identifier and the corresponding service type may be as shown in Table 1, and details are not described herein again. Of course, the OID service name identifier and the corresponding service type are not limited to the service type and the corresponding service name identifier shown in Table 1. The configured OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and Other configuration identifiers in the DNS are not duplicated to avoid conflicts.
所述客户端设备42,配置为基于所述OID的第一服务类型按预设的DNS服务映射名的格式生成查询域名参数。The client device 42 is configured to generate a query domain name parameter according to a format of a preset DNS service mapping name based on the first service type of the OID.
其中,所述DNS服务映射名可采用如下格式:The DNS service mapping name may be in the following format:
DNS服务映射名=OID服务名称标识.+域名化倒序(dot-notation OID).+OID解析系统DNS根。DNS service mapping name = OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
具体的,以OID为1.2.156.102.8、所述第一服务类型为COID为例,基于上述DNS服务映射名的格式,则所述查询域名参数可生成为:coid.8.102.156.2.1.oid-res.org.。Specifically, the OID is 1.2.156.102.8, and the first service type is the COID. The query domain name parameter can be generated as: coid.8.102.156.2.1. Oid-res.org.
所述客户端设备42,配置为根据所述查询域名参数确定所述查询域名参数对应的DNS 44,通过所述DNS 44的数据库43获得所述查询域名参数对应的资源记录,所述资源记录中包括服务配置信息;提取所述资源记录中的服务配置信息。The client device 42 is configured to determine, according to the query domain name parameter, the DNS 44 corresponding to the query domain name parameter, and obtain the resource record corresponding to the query domain name parameter by using the database 43 of the DNS 44, where the resource record is Include service configuration information; extract service configuration information in the resource record.
具体的,所述客户端设备42获得所述查询域名参数后,以CLASS=IN,TYPE=NAPTR作为查询条件,发起DNS查询,即发送DNS NAPTR查询请求,所述DNS NAPTR查询请求中包括所述查询域名参数。在本实施例中,所述DNS NAPTR查询请求发送至DNS中,所述DNS再根据所述查询域名参数获取所述DNS 44对应的DNS数据库43中的以所述OID的第一服务类型的DNS服务映射名为owner name字段的资源记录,再从所述资源记录中提取出服务配置信息。Specifically, after obtaining the query domain name parameter, the client device 42 initiates a DNS query by using CLASS=IN, TYPE=NAPTR as a query condition, that is, sending a DNS NAPTR query request, where the DNS NAPTR query request includes the Query the domain name parameters. In this embodiment, the DNS NAPTR query request is sent to the DNS, and the DNS obtains the DNS of the first service type of the OID in the DNS database 43 corresponding to the DNS 44 according to the query domain name parameter. The service maps a resource record named owner name field, and extracts service configuration information from the resource record.
实施例五Embodiment 5
本发明实施例还提供了一种设备,所述设备为配置端设备。图5为本发明实施例五的设备的组成结构示意图;如图5所示,所述配置端设备包括:确定单元411、第一生成单元412和写入单元413;其中,An embodiment of the present invention further provides a device, where the device is a configuration end device. 5 is a schematic structural diagram of a device according to Embodiment 5 of the present invention; as shown in FIG. 5, the configuration end device includes: a determining unit 411, a first generating unit 412, and a writing unit 413;
所述确定单元411,配置为确定对象标识符OID需要配置的服务类型; The determining unit 411 is configured to determine a service type that the object identifier OID needs to be configured;
所述第一生成单元412,配置为生成所述确定单元411确定的所述服务类型对应的资源记录;The first generating unit 412 is configured to generate a resource record corresponding to the service type determined by the determining unit 411;
所述写入单元413,配置为将所述第一生成单元412生成的所述资源记录存入对应的DNS数据库中。The writing unit 413 is configured to store the resource record generated by the first generating unit 412 in a corresponding DNS database.
在另一实施例中,所述第一生成单元412,配置为为所述服务类型生成DNS服务映射名,所述DNS服务映射名至少包括OID服务名称标识;获取所述服务类型对应的服务配置信息;根据所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的资源记录。In another embodiment, the first generating unit 412 is configured to generate a DNS service mapping name for the service type, where the DNS service mapping name includes at least an OID service name identifier, and obtain a service configuration corresponding to the service type. And generating, according to the DNS service mapping name and the service configuration information, a resource record corresponding to the service type.
在另一实施例中,所述设备还包括配置单元414,配置为预先配置OID服务名称标识,所述OID服务名称标识对应所述服务类型。In another embodiment, the device further includes a configuration unit 414 configured to pre-configure an OID service name identifier, the OID service name identifier corresponding to the service type.
本实施例中,所述配置端设备中的确定单元411、第一生成单元412和配置单元414在实际应用中,可由所述设备中的中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)或可编程门阵列(FPGA,Field-Programmable Gate Array)实现;所述写入单元413在实际应用中,可由所述设备中的发射机或发射器实现。In this embodiment, the determining unit 411, the first generating unit 412, and the configuring unit 414 in the configuration end device may be processed by a central processing unit (CPU, Central Processing Unit) and digital signal in the device in an actual application. The DSP (Digital Signal Processor) or the Field-Programmable Gate Array (FPGA) is implemented; the writing unit 413 can be implemented by a transmitter or a transmitter in the device in practical applications.
实施例六Embodiment 6
本发明实施例还提供了一种设备,所述设备为客户端设备。图6为本发明实施例六的设备的组成结构示意图;如图6所示,所述配置端设备包括:获取单元421、第二生成单元422、查询单元423和发送单元424;其中,The embodiment of the invention further provides a device, which is a client device. FIG. 6 is a schematic structural diagram of a device according to Embodiment 6 of the present invention; as shown in FIG. 6, the configuration end device includes: an obtaining unit 421, a second generating unit 422, a query unit 423, and a sending unit 424;
所述获取单元421,配置为获取到OID应用的第一服务类型请求;The obtaining unit 421 is configured to obtain a first service type request of the OID application;
所述第二生成单元422,配置为基于所述获取单元421获取的所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参数包括所述第一服务类型;The second generating unit 422 is configured to generate a query domain name parameter according to a preset generation rule according to the first service type of the OID application acquired by the acquiring unit 421; the query domain name parameter includes the first service type;
所述查询单元423,配置为基于所述第二生成单元422生成的所述查询 域名参数查询对应的DNS数据库,获得所述查询域名对应的服务配置信息;The query unit 423 is configured to be based on the query generated by the second generating unit 422 The domain name parameter queries the corresponding DNS database, and obtains service configuration information corresponding to the query domain name;
所述发送单元424,配置为将所述查询单元423获得的所述服务配置信息发送至所述OID应用。The sending unit 424 is configured to send the service configuration information obtained by the query unit 423 to the OID application.
在另一实施例中,所述第二生成单元422,配置为基于所述OID的第一服务类型按预设的DNS服务映射名的格式生成查询域名参数。In another embodiment, the second generating unit 422 is configured to generate a query domain name parameter in a format of a preset DNS service mapping name based on the first service type of the OID.
在另一实施例中,所述查询单元423,配置为根据所述查询域名参数确定所述查询域名参数对应的DNS,通过所述DNS的数据库获得所述查询域名参数对应的资源记录,所述资源记录中包括服务配置信息;提取所述资源记录中的服务配置信息。In another embodiment, the query unit 423 is configured to determine a DNS corresponding to the query domain name parameter according to the query domain name parameter, and obtain a resource record corresponding to the query domain name parameter by using the database of the DNS, The resource record includes service configuration information; and the service configuration information in the resource record is extracted.
本实施例中,所述客户端设备中的第二生成单元422在实际应用中,可由所述设备中的CPU、DSP或FPGA实现;所述查询单元423和发送单元424在实际应用中,可由所述设备中的发射机或发射器实现;所述获取单元421在实际应用中,可由所述设备中的接收机或接收器实现。In the embodiment, the second generating unit 422 in the client device may be implemented by a CPU, a DSP or an FPGA in the device in an actual application; the query unit 423 and the sending unit 424 may be used in an actual application. The transmitter or transmitter in the device is implemented; in an actual application, the acquisition unit 421 can be implemented by a receiver or receiver in the device.
实施例七Example 7
本实施例在具体应用场景下结合具体实施例对本发明作进一步详细的说明。本实施例的具体应用场景在授权机构为某酒厂、OID节点为:1.2.156.102、对应的DNS为:202.202.1.102、待配置OID为:1.2.156.102.8、待配置的服务类型为:COID、RINF、OINF;在上述应用场景下,图7为本发明实施例七的数据处理方法的流程示意图,如图7所示,所述数据处理方法包括:This embodiment describes the present invention in further detail in conjunction with specific embodiments in a specific application scenario. The specific application scenario of the embodiment is that the authorized institution is a winery, the OID node is: 1.2.156.102, the corresponding DNS is 202.202.1.102, and the to-be-configured OID is 1.2.156.102.8. The service type to be configured is: COID, RINF, OINF; in the above application scenario, FIG. 7 is a schematic flowchart of a data processing method according to Embodiment 7 of the present invention. As shown in FIG. 7, the data processing method includes:
步骤701:配置端预留N个OID服务名称标识,N为正整数。Step 701: The configuration end reserves N OID service name identifiers, where N is a positive integer.
这里,所述N个OID服务名称标识具体可如表1所示,这里不再赘述。Here, the N OID service name identifiers may be specifically shown in Table 1, and are not described herein again.
步骤702:配置端为待配置OID配置三种服务类型的服务,生成所述三种服务类型对应的三个资源记录,将所述三个资源记录写入对应的DNS数据库中。 Step 702: The configuration end configures three service types of services for the OID to be configured, generates three resource records corresponding to the three service types, and writes the three resource records into the corresponding DNS database.
在本实施例中,所述配置端为待配置OID配置三种服务类型的服务,生成所述三种服务类型对应的三个资源记录,即每个服务类型对应一个资源记录;在其它实施方式中,每个服务类型不限于对应一个资源记录,每个服务类型可对应M个资源记录,M为正整数。In this embodiment, the configuration end configures three service types of services for the OID to be configured, and generates three resource records corresponding to the three service types, that is, each service type corresponds to one resource record; Each service type is not limited to one resource record, and each service type may correspond to M resource records, and M is a positive integer.
其中,所述DNS服务映射名在所述资源记录中通过owner name字段表示,配置为在DNS中区分所述OID的不同服务类型。具体的,所述DNS服务映射名可采用如下格式:The DNS service mapping name is represented by the owner name field in the resource record, and is configured to distinguish different service types of the OID in the DNS. Specifically, the DNS service mapping name may be in the following format:
DNS服务映射名=OID服务名称标识.+域名化倒序(dot-notation OID).+OID解析系统DNS根。DNS service mapping name = OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
其中,所述OID服务名称标识可以是主机标识,也可以是子域标识,所述OID服务名称标识区别于DNS中的其他配置标识,即所述OID服务名称标识与所述DNS中的其他配置标识不重名。The OID service name identifier may be a host identifier or a sub-domain identifier, and the OID service name identifier is different from other configuration identifiers in the DNS, that is, the OID service name identifier and other configurations in the DNS. The logo is not duplicated.
所述OID解析系统DNS根可以用“oid-res.org.”表示,代表ORS系统在DNS中的根位置,当然,所述OID解析系统DNS根也可以配置成其他值。The DNS root of the OID resolution system can be represented by "oid-res.org.", which represents the root position of the ORS system in the DNS. Of course, the DNS root of the OID resolution system can also be configured to other values.
所述资源记录中的服务配置信息可通过IN NAPTR类型的资源记录表示。所述IN NAPTR代表DNS中采用Class=IN、Type=NAPTR的资源记录存储OID对象的服务配置信息,所述服务配置信息可通过所述资源记录中的RDATA字段体现。The service configuration information in the resource record may be represented by a resource record of the IN NAPTR type. The IN NAPTR represents a service record information of a resource record storing an OID object using Class=IN, Type=NAPTR in the DNS, and the service configuration information may be embodied by an RDATA field in the resource record.
其中,所述RDATA字段中至少还包括Regular expression字段;其中,所述Regular expression字段配置为存储OID对象的具体服务配置信息,所述服务配置信息具体可以是URL地址等等。The RDATA field further includes a regular expression field, where the regular expression field is configured to store specific service configuration information of the OID object, and the service configuration information may specifically be a URL address or the like.
具体的,所述待配置OID为1.2.156.102.8,待配置的服务类型为:COID、RINF、OINF,对应的DNS为:202.202.1.102,则所述DNS数据库中的资源记录如下所示:Specifically, the to-be-configured OID is 1.2.156.102.8, and the service type to be configured is: COID, RINF, OINF, and the corresponding DNS is 202.202.1.102, and the resource records in the DNS database are as follows:
coid.8.102.156.2.1.oid-res.org.IN NAPTR 0 100"u""ORS+OINF" "!^.*$!/1/2/156/102/8!".;coid.8.102.156.2.1.oid-res.org.IN NAPTR 0 100"u""ORS+OINF" "!^.*$!/1/2/156/102/8!".;
rinf.8.102.156.2.1.oid-res.org.IN NAPTR 0 100"u""ORS+RINF""!^.*$!http://www.maotai.com/oid/rinf-1.2.156.102.8.xml!".;rinf.8.102.156.2.1.oid-res.org.IN NAPTR 0 100"u""ORS+RINF""!^.*$!http://www.maotai.com/oid/rinf-1.2.156.102 .8.xml!".;
oinf.8.102.156.2.1.oid-res.org.IN NAPTR 0 100"u""ORS+OINF""!^.*$!http://www.maotai.com/oid/oinf-1.2.156.102.8.xml!".;oinf.8.102.156.2.1.oid-res.org.IN NAPTR 0 100"u""ORS+OINF""!^.*$!http://www.maotai.com/oid/oinf-1.2.156.102 .8.xml!".;
以COID服务类型为例进行说明,则所述COID服务类型的资源记录中的owner name字段为“coid.8.102.156.2.1.oid-res.org.”,所述owner name字段即为DNS服务映射名;“IN NAPTR”表示资源记录存储OID对象的服务配置信息;具体的服务配置信息可通过所述资源记录中的RDATA字段体现,所述RDATA字段具体为“0 100"u""ORS+OINF""!^.*$!/1/2/156/102/8!".”。Taking the COID service type as an example, the owner name field in the resource record of the COID service type is "coid.8.102.156.2.1.oid-res.org.", and the owner name field is the DNS service. The name of the mapping; "IN NAPTR" indicates that the resource record stores the service configuration information of the OID object; the specific service configuration information may be represented by the RDATA field in the resource record, and the RDATA field is specifically "0 100"u""ORS+ OINF""! ^.*$! /1/2/156/102/8! ".".
步骤703:客户端接收到查询所述OID的OINF信息的指令,生成查询域名参数。Step 703: The client receives an instruction to query the OINF information of the OID, and generates a query domain name parameter.
本实施例中,所述客户端预先获知所有的服务类型以及对应的OID服务名称标识,所述服务类型以及对应的OID服务名称标识可如表1所示,这里不再赘述。In this embodiment, the client knows all the service types and the corresponding OID service name identifiers in advance. The service type and the corresponding OID service name identifiers are as shown in Table 1, and are not described here.
本实施例中,所述客户端已预先配置DNS服务映射名的生成规则;本实施例中所述的查询域名参数为所述DNS服务映射名。In this embodiment, the client has pre-configured a DNS service mapping name generation rule; the query domain name parameter in the embodiment is the DNS service mapping name.
其中,所述DNS服务映射名可采用如下格式:The DNS service mapping name may be in the following format:
DNS服务映射名=OID服务名称标识.+域名化倒序(dot-notation OID).+OID解析系统DNS根。DNS service mapping name = OID service name identifier. + dot-notation OID. + OID resolution system DNS root.
基于本实施例所述的应用场景,则COID服务类型对应的所述查询域名参数生成为:coid.8.102.156.2.1.oid-res.org.。Based on the application scenario described in this embodiment, the query domain name parameter corresponding to the COID service type is generated as: coid.8.102.156.2.1.oid-res.org.
步骤704:客户端根据所述查询域名参数,定向至所述查询域名参数对应的DNS,通过所述DNS对应的数据库获得与所述查询域名参数对应的资源记录。 Step 704: The client is directed to the DNS corresponding to the query domain name parameter according to the query domain name parameter, and obtains the resource record corresponding to the query domain name parameter by using the database corresponding to the DNS.
步骤705:客户端提取出所述资源记录中的服务配置信息,将所述服务配置信息发送至OID应用,以便所述OID应用可根据所述服务配置信息进行后续处理。Step 705: The client extracts the service configuration information in the resource record, and sends the service configuration information to the OID application, so that the OID application can perform subsequent processing according to the service configuration information.
具体的,所述客户端获得所述查询域名参数后,以CLASS=IN,TYPE=NAPTR作为查询条件,发起DNS查询,即发送DNS NAPTR查询请求,所述DNS NAPTR查询请求中包括所述查询域名参数。在本实施例中,所述DNS NAPTR查询请求发送至DNS中,所述DNS再根据所述查询域名参数获取以所述OID的第一服务类型的DNS服务映射名为owner name字段的资源记录,再从所述资源记录中提取出服务配置信息。Specifically, after obtaining the query domain name parameter, the client initiates a DNS query by using CLASS=IN, TYPE=NAPTR as a query condition, that is, sending a DNS NAPTR query request, where the DNS NAPTR query request includes the query domain name. parameter. In this embodiment, the DNS NAPTR query request is sent to the DNS, and the DNS obtains the resource record named the owner name field of the first service type of the OID according to the query domain name parameter. The service configuration information is extracted from the resource record.
本发明实施例提供的技术方案,通过OID不同的服务类型生成不同的DNS服务映射名,无需使DNS服务器返回该OID相关的所有服务配置信息,一方面,大大降低了DNS的查询负荷,提高了配置收敛速度;另一方面,由于查询结果比较小,传输和处理过程都比较方便,大大降低了对ORS客户端的传输承载、缓存以及处理能力要求,适用性和扩展性更强,修改配置后收敛速度更快。The technical solution provided by the embodiment of the present invention generates different DNS service mapping names by using different service types of the OID, and does not need to cause the DNS server to return all service configuration information related to the OID. On the one hand, the query load of the DNS is greatly reduced, and the query is improved. On the other hand, because the query result is relatively small, the transmission and processing are convenient, which greatly reduces the transmission bearer, cache, and processing capability requirements of the ORS client. The applicability and scalability are stronger. faster.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, such as: multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, or direct coupling, or communication connection of the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分 或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as the unit may or may not be physical units, that is, may be located in one place or distributed to multiple network units; You can choose some of them according to your actual needs. Or all of the units 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 module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the above integration The unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage medium includes: a mobile storage device, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. A medium that can store program code.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.
工业实用性Industrial applicability
本发明实施例通过OID不同的服务类型生成不同的DNS服务映射名,无需使DNS服务器返回该OID相关的所有服务配置信息,一方面,大大降低了DNS的查询负荷,提高了配置收敛速度;另一方面,由于查询结果比较小,传输和处理过程都比较方便,大大降低了对ORS客户端的传输承载、缓存以及处理能力要求,适用性和扩展性更强,修改配置后收敛速度更快。 The embodiment of the present invention generates different DNS service mapping names by using different service types of the OID, and does not need to cause the DNS server to return all service configuration information related to the OID. On the one hand, the query load of the DNS is greatly reduced, and the configuration convergence speed is improved; On the one hand, because the query result is relatively small, the transmission and processing are more convenient, which greatly reduces the transmission bearer, cache and processing capability requirements of the ORS client, and the applicability and scalability are stronger, and the convergence speed is faster after the configuration is modified.

Claims (16)

  1. 一种数据处理方法,所述方法包括:A data processing method, the method comprising:
    配置端确定对象标识符OID需要配置的服务类型,生成所述服务类型对应的资源记录;The configuration end determines the service type that the object identifier OID needs to be configured, and generates a resource record corresponding to the service type;
    将所述资源记录存入对应的域名系统DNS数据库中。The resource record is stored in the corresponding domain name system DNS database.
  2. 根据权利要求1所述的方法,其中,所述生成所述服务类型对应的资源记录,包括:The method of claim 1, wherein the generating the resource record corresponding to the service type comprises:
    为所述服务类型生成DNS服务映射名,所述DNS服务映射名至少包括OID服务名称标识;Generating a DNS service mapping name for the service type, where the DNS service mapping name includes at least an OID service name identifier;
    获取所述服务类型对应的服务配置信息;Obtaining service configuration information corresponding to the service type;
    根据所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的资源记录。And generating, according to the DNS service mapping name and the service configuration information, a resource record corresponding to the service type.
  3. 根据权利要求2所述的方法,其中,所述确定OID需要配置的服务类型之前,所述方法还包括:The method of claim 2, wherein before the determining the type of service that the OID needs to be configured, the method further comprises:
    预先配置OID服务名称标识,所述OID服务名称标识对应所述服务类型。The OID service name identifier is pre-configured, and the OID service name identifier corresponds to the service type.
  4. 一种数据处理方法,所述方法包括:A data processing method, the method comprising:
    客户端获取到OID应用的第一服务类型请求,基于所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参数包括所述第一服务类型;The client obtains the first service type request of the OID application, and generates a query domain name parameter according to the preset generation rule based on the first service type of the OID application; the query domain name parameter includes the first service type;
    基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息;Querying a corresponding DNS database based on the query domain name parameter, and obtaining service configuration information corresponding to the query domain name parameter;
    将所述服务配置信息发送至所述OID应用。The service configuration information is sent to the OID application.
  5. 根据权利要求4所述的方法,其中,所述基于所述OID的第一服务类型按预设生成规则生成查询域名参数,包括: The method according to claim 4, wherein the generating the query domain name parameter according to the preset generation rule by using the first service type of the OID comprises:
    基于所述OID的第一服务类型按预设的DNS服务映射名的格式生成查询域名参数。The query domain name parameter is generated according to the format of the preset DNS service mapping name based on the first service type of the OID.
  6. 根据权利要求4所述的方法,其中,所述基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息,包括:The method according to claim 4, wherein the querying the corresponding DNS database based on the query domain name parameter to obtain the service configuration information corresponding to the query domain name parameter includes:
    根据所述查询域名参数确定所述查询域名参数对应的DNS,通过所述DNS的数据库获得所述查询域名参数对应的资源记录,所述资源记录中包括服务配置信息;Determining the DNS corresponding to the query domain name parameter according to the query domain name parameter, and obtaining the resource record corresponding to the query domain name parameter by using the database of the DNS, where the resource record includes service configuration information;
    提取所述资源记录中的服务配置信息。Extracting service configuration information in the resource record.
  7. 一种数据处理方法,所述方法包括:A data processing method, the method comprising:
    配置端确定对象标识符OID需要配置的服务类型,生成所述服务类型对应的资源记录;The configuration end determines the service type that the object identifier OID needs to be configured, and generates a resource record corresponding to the service type;
    将所述资源记录存入对应的域名系统DNS数据库中;Depositing the resource record in a corresponding domain name system DNS database;
    客户端获取到OID应用的第一服务类型请求,基于所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参数包括所述第一服务类型;The client obtains the first service type request of the OID application, and generates a query domain name parameter according to the preset generation rule based on the first service type of the OID application; the query domain name parameter includes the first service type;
    基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息;Querying a corresponding DNS database based on the query domain name parameter, and obtaining service configuration information corresponding to the query domain name parameter;
    将所述服务配置信息发送至所述OID应用。The service configuration information is sent to the OID application.
  8. 一种设备,所述设备为配置端设备,所述配置端设备包括:确定单元、第一生成单元和写入单元;其中,An apparatus, the device is a configuration end device, and the configuration end device includes: a determining unit, a first generating unit, and a writing unit; wherein
    所述确定单元,配置为确定对象标识符OID需要配置的服务类型;The determining unit is configured to determine a service type that the object identifier OID needs to be configured;
    所述第一生成单元,配置为生成所述确定单元确定的所述服务类型对应的资源记录;The first generating unit is configured to generate a resource record corresponding to the service type determined by the determining unit;
    所述写入单元,配置为将所述第一生成单元生成的所述资源记录存入对应的域名系统DNS数据库中。 The writing unit is configured to store the resource record generated by the first generating unit in a corresponding domain name system DNS database.
  9. 根据权利要求8所述的设备,其中,所述第一生成单元,配置为为所述服务类型生成DNS服务映射名,所述DNS服务映射名至少包括OID服务名称标识;获取所述服务类型对应的服务配置信息;根据所述DNS服务映射名和所述服务配置信息,生成所述服务类型对应的资源记录。The device according to claim 8, wherein the first generating unit is configured to generate a DNS service mapping name for the service type, the DNS service mapping name includes at least an OID service name identifier, and obtain the service type corresponding to The service configuration information is generated, and the resource record corresponding to the service type is generated according to the DNS service mapping name and the service configuration information.
  10. 根据权利要求9所述的设备,其中,所述设备还包括配置单元,配置为预先配置OID服务名称标识,所述OID服务名称标识对应所述服务类型。The device according to claim 9, wherein the device further comprises a configuration unit configured to pre-configure an OID service name identifier, the OID service name identifier corresponding to the service type.
  11. 一种设备,所述设备为客户端设备,所述客户端设备包括:获取单元、第二生成单元、查询单元和发送单元;其中,A device, the device is a client device, and the client device includes: an obtaining unit, a second generating unit, a query unit, and a sending unit;
    所述获取单元,配置为获取到OID应用的第一服务类型请求;The obtaining unit is configured to obtain a first service type request of the OID application;
    所述第二生成单元,配置为基于所述获取单元获取的所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参数包括所述第一服务类型;The second generating unit is configured to generate a query domain name parameter according to a preset generation rule according to the first service type of the OID application acquired by the acquiring unit, where the query domain name parameter includes the first service type;
    所述查询单元,配置为基于所述第二生成单元生成的所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息;The querying unit is configured to query the corresponding DNS database based on the query domain name parameter generated by the second generating unit, and obtain service configuration information corresponding to the query domain name parameter;
    所述发送单元,配置为将所述查询单元获得的所述服务配置信息发送至所述OID应用。The sending unit is configured to send the service configuration information obtained by the query unit to the OID application.
  12. 根据权利要求11所述的设备,其中,所述第二生成单元,配置为基于所述OID的第一服务类型按预设的DNS服务映射名的格式生成查询域名参数。The device according to claim 11, wherein the second generating unit is configured to generate a query domain name parameter in a format of a preset DNS service mapping name based on the first service type of the OID.
  13. 根据权利要求11所述的设备,其中,所述查询单元,配置为根据所述查询域名参数确定所述查询域名参数对应的DNS,通过所述DNS的数据库获得所述查询域名参数对应的资源记录,所述资源记录中包括服务配置信息;提取所述资源记录中的服务配置信息。The device according to claim 11, wherein the query unit is configured to determine a DNS corresponding to the query domain name parameter according to the query domain name parameter, and obtain a resource record corresponding to the query domain name parameter by using the database of the DNS And the resource record includes service configuration information; and the service configuration information in the resource record is extracted.
  14. 一种数据处理系统,所述系统包括:配置端设备和客户端设备; 其中,A data processing system, the system comprising: a configuration end device and a client device; among them,
    所述配置端设备,配置为确定对象标识符OID需要配置的服务类型,生成所述服务类型对应的资源记录;将所述资源记录存入对应的域名系统DNS数据库中;The configuration end device is configured to determine a service type that needs to be configured by the object identifier OID, and generate a resource record corresponding to the service type; and store the resource record in a corresponding domain name system DNS database;
    所述客户端设备,配置为获取到OID应用的第一服务类型请求,基于所述OID应用的第一服务类型按预设生成规则生成查询域名参数;所述查询域名参数包括所述第一服务类型;基于所述查询域名参数查询对应的DNS数据库,获得所述查询域名参数对应的服务配置信息;将所述服务配置信息发送至所述OID应用。The client device is configured to obtain a first service type request to the OID application, and generate a query domain name parameter according to a preset generation rule according to the first service type of the OID application; the query domain name parameter includes the first service Querying the corresponding DNS database based on the query domain name parameter, and obtaining the service configuration information corresponding to the query domain name parameter; and sending the service configuration information to the OID application.
  15. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至3任一项所述的数据处理方法。A computer storage medium having stored therein computer executable instructions for performing the data processing method of any one of claims 1 to 3.
  16. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求4至6任一项所述的数据处理方法。 A computer storage medium having stored therein computer executable instructions for performing the data processing method of any one of claims 4 to 6.
PCT/CN2015/081681 2014-11-10 2015-06-17 Data processing method, device and system, and computer storage medium WO2016074477A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410629722.3A CN105608082A (en) 2014-11-10 2014-11-10 Data processing method, equipment and system
CN201410629722.3 2014-11-10

Publications (1)

Publication Number Publication Date
WO2016074477A1 true WO2016074477A1 (en) 2016-05-19

Family

ID=55953693

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/081681 WO2016074477A1 (en) 2014-11-10 2015-06-17 Data processing method, device and system, and computer storage medium

Country Status (2)

Country Link
CN (1) CN105608082A (en)
WO (1) WO2016074477A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110881064B (en) * 2018-09-06 2022-08-02 阿里巴巴集团控股有限公司 Domain name configuration method and device
CN110943975B (en) * 2019-11-07 2022-10-11 南方电网财务有限公司 Service registration method, device, computer equipment and storage medium
CN112367195B (en) * 2020-10-29 2022-07-26 新华三技术有限公司 Network configuration method, system and device
CN114827158A (en) * 2021-01-18 2022-07-29 网宿科技股份有限公司 Configuration information loading method, system and server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751432A (en) * 2008-12-19 2010-06-23 中国科学院计算机网络信息中心 Addressing method and system for internet of things
CN103455574A (en) * 2013-08-21 2013-12-18 中国物品编码中心 Multimode identification method and device for unified Internet of Things identification code
CN103957119A (en) * 2014-04-21 2014-07-30 南京信息职业技术学院 Method for managing network devices through MIB file and browser

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060080649A1 (en) * 2004-10-07 2006-04-13 Sharp Laboratories Of America, Inc. Object initializing for updating a system state
CN103458014B (en) * 2013-08-21 2015-06-03 中国物品编码中心 Internet of things uniform identification code analysis method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101751432A (en) * 2008-12-19 2010-06-23 中国科学院计算机网络信息中心 Addressing method and system for internet of things
CN103455574A (en) * 2013-08-21 2013-12-18 中国物品编码中心 Multimode identification method and device for unified Internet of Things identification code
CN103957119A (en) * 2014-04-21 2014-07-30 南京信息职业技术学院 Method for managing network devices through MIB file and browser

Also Published As

Publication number Publication date
CN105608082A (en) 2016-05-25

Similar Documents

Publication Publication Date Title
US7603474B2 (en) Efficient endpoint matching using a header-to-bit conversion table
US8918507B2 (en) Dynamic grouping of enterprise assets
JP2020508594A5 (en)
CN102685074B (en) Anti-phishing network communication system and method
US20100145963A1 (en) Methods, Systems, And Computer Program Products For Resolving A Network Identifier Based On A Geospatial Domain Space Harmonized With A Non-Geospatial Domain Space
WO2016074477A1 (en) Data processing method, device and system, and computer storage medium
US20160182446A1 (en) Method and system for resolving Internet of Things heterogeneous identifiers
US10193997B2 (en) Encoded URI references in restful requests to facilitate proxy aggregation
CN105554169B (en) OID configuration and analysis method, ORS client, OID node and database thereof
CN110753127A (en) Method for realizing request parameter conversion based on Kong API gateway
US10565169B2 (en) System and method for dynamic generation of a management information base through common information model class transformation
US20230082749A1 (en) Multiple provisioning object operation
CN104104926A (en) Universal plug and play (UPnP) monitoring terminal access method and access device
CN102546267A (en) Automatic configuration method of network device and management server
US20110302265A1 (en) Leader arbitration for provisioning services
CN102594885A (en) Sensor network analyzing intercommunicating platform, sensor network intercommunicating method and system
CN113507475A (en) Cross-domain access method and device
CN103023935A (en) M2M (machine-to-machine) platform cloud system and method for processing M2M service
CN107071079A (en) A kind of private net terminal obtains the method and system of public network IP
CN105007597A (en) Node packaging and accessing method of wireless sensor networks based on Restful configuration
JP2010506305A (en) Hierarchical federation metadata
KR101700198B1 (en) Method and device for expressing address of node for device management
CN108462759B (en) Domain name resolution method and device
WO2015131606A1 (en) Object information processing method, device and ors application gateway
CN111953931A (en) Data sharing method and device and storage 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: 15858588

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: 15858588

Country of ref document: EP

Kind code of ref document: A1