CN112152882A - Object-oriented protocol data paraphrasing module, method and device and concentrator - Google Patents

Object-oriented protocol data paraphrasing module, method and device and concentrator Download PDF

Info

Publication number
CN112152882A
CN112152882A CN202011042239.7A CN202011042239A CN112152882A CN 112152882 A CN112152882 A CN 112152882A CN 202011042239 A CN202011042239 A CN 202011042239A CN 112152882 A CN112152882 A CN 112152882A
Authority
CN
China
Prior art keywords
data
oriented protocol
paraphrasing
module
oriented
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011042239.7A
Other languages
Chinese (zh)
Inventor
白喜阳
程园
第五常青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Haoning Da Industrial Co ltd
Original Assignee
Guangdong Haoning Da Industrial Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Haoning Da Industrial Co ltd filed Critical Guangdong Haoning Da Industrial Co ltd
Priority to CN202011042239.7A priority Critical patent/CN112152882A/en
Publication of CN112152882A publication Critical patent/CN112152882A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Economics (AREA)
  • Water Supply & Treatment (AREA)
  • Strategic Management (AREA)
  • Public Health (AREA)
  • Computing Systems (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Medical Informatics (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Communication Control (AREA)

Abstract

The invention is suitable for the field of power communication, and provides an object-oriented protocol data paraphrasing module, a method, a device and a concentrator, wherein the object-oriented protocol data paraphrasing module is internally stored with a data mapping relation related to an object-oriented protocol and exchanges data with terminal equipment which does not support the object-oriented protocol through an application interface layer protocol; after the terminal equipment acquires the object-oriented protocol data, the object-oriented protocol data is sent to the object-oriented protocol data paraphrasing module, the object-oriented protocol data paraphrasing module carries out paraphrasing processing by using a data mapping relation and then returns the paraphrasing processing to the terminal equipment, and the support of the terminal equipment on the object-oriented protocol is realized. The invention ensures that the user can directly utilize the data paraphrasing module of the object-oriented protocol to realize the function of supporting the object-oriented protocol without paying attention to the object-oriented protocol and requiring the developed product to support the object-oriented protocol, thereby improving the development efficiency of the product.

Description

Object-oriented protocol data paraphrasing module, method and device and concentrator
Technical Field
The invention belongs to the field of power communication, and particularly relates to an object-oriented protocol data paraphrasing module, method and device and a concentrator.
Background
Object oriented protocols are communication protocols that have just emerged in the power industry in the last few years.
Because the existing object-oriented protocol is relatively flexible and complex, a user needs to master the object-oriented protocol when developing the object-oriented related product, and the object-oriented related product cannot be developed if the user does not know the object-oriented protocol. In addition, a large amount of manpower is needed for developing the product related to the object-oriented protocol, the development period is too long, and the market cannot be seized in the first time after the product development is completed.
Therefore, in the prior art, a user needs to be skilled in mastering the object-oriented protocol when the object-oriented protocol is developed, and the development period is long.
Disclosure of Invention
The embodiment of the invention aims to provide an object-oriented protocol data paraphrasing module, and aims to solve the technical problems that in the prior art, a user needs to be skilled in mastering an object-oriented protocol and the development period is long when the object-oriented protocol is developed.
The embodiment of the invention is realized by the following steps that an object-oriented protocol data paraphrasing module is internally pre-stored with a data mapping relation related to an object-oriented protocol; the data interpretation module of the object-oriented protocol exchanges data with equipment which does not support the object-oriented protocol through a preset application interface layer protocol; the preset application interface layer protocol means that interface parameters and data are transmitted by adopting a standard interactive interface format;
the device which does not support the object-oriented protocol is used for sending the object-oriented protocol data to the object-oriented protocol data paraphrasing module through the application interface layer protocol after the object-oriented protocol data is obtained;
the object-oriented protocol data paraphrasing module is used for performing paraphrasing processing on the object-oriented protocol data according to the data mapping relation, generating object-oriented protocol paraphrasing data and returning the object-oriented protocol paraphrasing data through the application interface layer protocol.
Another object of an embodiment of the present invention is to provide a method for paraphrasing data of an object-oriented protocol, which is applied to a device that does not support the object-oriented protocol, and specifically includes the following steps:
sending the acquired object-oriented protocol data to an object-oriented protocol data paraphrasing module through an application interface layer protocol; the application interface layer protocol means that interface parameters and data are transmitted by adopting a standard interactive interface format; the data interpretation module of the object-oriented protocol is pre-stored with a data mapping relation related to the object-oriented protocol;
receiving the object-oriented protocol paraphrase data returned by the object-oriented protocol data paraphrase module; the object-oriented protocol paraphrasing data is generated by paraphrasing the object-oriented protocol data according to the data mapping relation by an object-oriented protocol data paraphrasing module.
Another object of an embodiment of the present invention is to provide an apparatus for paraphrasing data of an object-oriented protocol, which is disposed on a device that does not support the object-oriented protocol, and specifically includes:
the object-oriented protocol data sending unit is used for sending the acquired object-oriented protocol data to the object-oriented protocol data paraphrasing module through an application interface layer protocol; the application interface layer protocol means that interface parameters and data are transmitted by adopting a standard interactive interface format; the data interpretation module of the object-oriented protocol is pre-stored with a data mapping relation related to the object-oriented protocol;
the object-oriented protocol paraphrase data receiving unit is used for receiving the object-oriented protocol paraphrase data returned by the object-oriented protocol data paraphrase module; the object-oriented protocol paraphrasing data is generated by paraphrasing the object-oriented protocol data according to the data mapping relation by an object-oriented protocol data paraphrasing module.
Another object of the embodiments of the present invention is to provide a concentrator, where the concentrator does not support an object-oriented protocol; the concentrator is provided with an object protocol data paraphrasing module; the explanation of the object-oriented protocol data is realized between the concentrator and the object-oriented protocol data explanation module through the object-oriented protocol data explanation method.
The object-oriented protocol data paraphrasing module provided by the embodiment of the invention does not need to pay attention to the object-oriented protocol when a user develops a product related to the object-oriented protocol by pre-storing a data mapping relation related to the object-oriented protocol, but can transmit the object-oriented protocol data paraphrasing module provided by the application through a preset application interface layer protocol by adopting a standard interactive interface format, after the object-oriented protocol data is obtained, the object-oriented protocol data is sent to the object-oriented protocol data paraphrasing module through the application interface layer protocol, the object-oriented protocol data is processed by utilizing the data mapping relation related to the object-oriented protocol in the object-oriented protocol data paraphrasing module, and a paraphrasing result is obtained, namely, the user does not need to pay attention to the object-oriented protocol, the object-oriented protocol data paraphrasing module provided by the invention can be directly utilized to realize the function of supporting the object-oriented protocol, so that a developer can put more energy on service development and the development efficiency of products is improved.
Drawings
FIG. 1 is a diagram of an application environment of an object-oriented protocol data paraphrasing module provided by an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a method for paraphrasing object-oriented protocol data according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of another object-oriented protocol data paraphrasing method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an object-oriented protocol data paraphrasing apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another object-oriented protocol data paraphrasing apparatus according to an embodiment of the present invention;
FIG. 6 is a diagram of an embodiment of an object-oriented protocol data paraphrasing module according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another. For example, a first xx script may be referred to as a second xx script, and similarly, a second xx script may be referred to as a first xx script, without departing from the scope of the present application.
Fig. 1 is a diagram of an application environment of an object-oriented protocol data paraphrasing module according to an embodiment of the present invention, as shown in fig. 1, in the application environment, an apparatus terminal 110 and an object-oriented protocol data paraphrasing module 120 are included, which are described in detail below.
In the embodiment of the present invention, the device terminal 110 is required to be a terminal device that needs to support an object-oriented protocol, for example, a concentrator in the field of power communication, but in the technical solution disclosed in the present invention, the device terminal 110 may not support the object-oriented protocol itself, but support the object-oriented protocol by the object-oriented protocol data paraphrasing module 120, specifically, the device terminal 110 acquires the object-oriented protocol data through other communication methods, sends the object-oriented protocol data to the object-oriented protocol data paraphrasing module 120 through an application interface layer protocol, the object-oriented protocol data paraphrasing module 120 paraphrases the object-oriented protocol data according to a data mapping relationship related to the object-oriented protocol stored in advance in the device terminal 120, generates object-oriented protocol paraphrasing data and returns the object-oriented protocol paraphrasing data to the device terminal 110 through the application interface layer protocol, in this way, the device terminal 110 has a function of supporting an object-oriented protocol.
As a preferred embodiment of the present invention, the device terminal 110 may further implement sending of the object-oriented protocol data through the object-oriented protocol data paraphrasing module, specifically, the device terminal 110 sends request data related to the object-oriented protocol data paraphrasing module 120 through an application interface layer protocol, and after the object-oriented protocol data paraphrasing module 120 processes the request data by using the data mapping relationship, the data conforming to the object-oriented protocol is generated and returned to the device terminal 110, so that the device terminal 110 may send the data conforming to the object-oriented protocol.
As another preferred embodiment of the present invention, the interface parameters and the data are transmitted in a standard interactive interface format, specifically, the interface parameters and the data are transmitted in a json format. That is, the json format is used for transmission between the device terminal 110 and the object-oriented protocol data paraphrasing module 120. The json format is considered to be a lightweight data exchange format, namely, the json format is easy to read and write by people and is also easy to analyze and generate by machines, and the json format is an ideal data exchange language.
As another preferred embodiment of the present invention, considering that the object-oriented protocol data paraphrasing module is an independent functional module, and therefore needs to have certain data transmission, data storage and data processing functions, specifically, the object-oriented protocol data paraphrasing module can be subdivided into a data mapping relationship initialization sub-module, an object-oriented protocol data receiving sub-module, an object-oriented protocol data pre-checking sub-module, an object-oriented protocol data unpacking sub-module, an object-oriented protocol data framing sub-module, an object-oriented protocol paraphrasing data packing sub-module and an object-oriented protocol paraphrasing data sending sub-module, each sub-module is respectively responsible for data transmission, data storage and data processing functions, for example, the object-oriented protocol data receiving sub-module and the object-oriented protocol paraphrasing data sending sub-module are mainly responsible for data transmission functions, the object-oriented protocol data pre-checking sub-module, the object-oriented protocol data unpacking sub-module, the object-oriented protocol data framing sub-module and the object-oriented protocol paraphrasing data packing sub-module are mainly responsible for data processing functions, specific implementation functions are related to names of the functions, when a person skilled in the art sees the function sub-modules, the functions performed by the sub-modules can be clear, meanwhile, the function sub-modules are determined by the form functions, and the specific structure also belongs to the common knowledge of the person skilled in the art.
It should be noted that the object-oriented protocol data paraphrasing module provided by the present invention may exist independently, that is, when a product related to the object-oriented protocol is developed subsequently, a conventional product may be developed directly without paying attention to the object-oriented protocol, and then data interaction is performed with the object-oriented protocol data paraphrasing module disclosed by the present invention to realize support for the object-oriented protocol. The object-oriented protocol data paraphrasing module provided by the invention can be generated in batch in advance, and then in the actual development process, the limitation on developers is less, so that the development of the object-oriented protocol related products can be realized on the premise of unskilled mastering the object-oriented protocol, and the development efficiency of the products is effectively improved.
The object-oriented protocol data paraphrasing module provided by the embodiment of the invention does not need to pay attention to the object-oriented protocol when a user develops a product related to the object-oriented protocol by pre-storing a data mapping relation related to the object-oriented protocol, but can transmit the object-oriented protocol data paraphrasing module provided by the application through a preset application interface layer protocol by adopting a standard interactive interface format, after the object-oriented protocol data is obtained, the object-oriented protocol data is sent to the object-oriented protocol data paraphrasing module through the application interface layer protocol, the object-oriented protocol data is processed by utilizing the data mapping relation related to the object-oriented protocol in the object-oriented protocol data paraphrasing module, and a paraphrasing result is obtained, namely, the user does not need to pay attention to the object-oriented protocol, the object-oriented protocol data paraphrasing module provided by the invention can be directly utilized to realize the function of supporting the object-oriented protocol, so that a developer can put more energy on service development and the development efficiency of products is improved.
As shown in fig. 2, a flowchart of steps of an object-oriented protocol data paraphrasing method provided in an embodiment of the present invention is mainly applied to the terminal device shown in fig. 1, and specifically includes the following steps:
step S202, the acquired object-oriented protocol data is sent to an object-oriented protocol data paraphrasing module through an application interface layer protocol.
In the embodiment of the invention, the data mapping relation related to the object-oriented protocol is stored in the object-oriented protocol data definition module in advance.
In the embodiment of the invention, the application interface layer protocol refers to that interface parameters and data are transmitted by adopting a standard interactive interface format.
Step S202, receiving the object oriented protocol paraphrase data returned by the object oriented protocol data paraphrase module.
In the embodiment of the invention, the object-oriented protocol paraphrasing data is generated by paraphrasing the object-oriented protocol data by an object-oriented protocol data paraphrasing module according to the data mapping relation.
In the embodiment of the present invention, since the object-oriented protocol data interpretation method provided by the present invention is mainly applied to the terminal device shown in fig. 1, the object-oriented protocol data interpretation method provided by the embodiment of the present invention can be understood by referring to the explanation of fig. 1 in detail, and the present invention is not described again.
In the object-oriented protocol data paraphrasing method provided by the embodiment of the invention, after the object-oriented protocol data is obtained, the object-oriented protocol data is sent to the object-oriented protocol data paraphrasing module through an application interface layer protocol, the object-oriented protocol data is processed by utilizing a pre-stored data mapping relation related to the object-oriented protocol in the object-oriented protocol data paraphrasing module, and a paraphrasing result is obtained, namely, a user does not need to pay attention to the object-oriented protocol and does not need to develop a product related to the object-oriented protocol to directly support the object-oriented protocol, so that more energy of a developer is put into service development, and the development efficiency of the product is improved.
As shown in fig. 3, a flowchart of steps of another method for paraphrasing object-oriented protocol data according to an embodiment of the present invention is mainly applied to the terminal device shown in fig. 1, and compared with the flowchart of steps of the method for paraphrasing object-oriented protocol data shown in fig. 2, the method further includes:
step S302, sending request data related to the object-oriented protocol data paraphrasing module through the application interface layer protocol.
Step S304, receiving the data which is returned by the object-oriented protocol data paraphrasing module and conforms to the object-oriented protocol.
In the embodiment of the invention, the data conforming to the object-oriented protocol is generated by processing the request data according to the data mapping relation by an object-oriented protocol data paraphrasing module.
The step flow chart of the object-oriented protocol data paraphrasing method provided by the embodiment of the invention realizes that the terminal equipment which does not support the object-oriented protocol sends the data which accords with the object-oriented protocol.
As shown in fig. 4, a schematic structural diagram of an object-oriented protocol data paraphrasing apparatus provided in an embodiment of the present invention is mainly configured on a terminal device shown in fig. 1, and specifically includes:
an object-oriented protocol data sending unit 410, configured to send the obtained object-oriented protocol data to the object-oriented protocol data paraphrasing module through an application interface layer protocol.
In the embodiment of the invention, the data mapping relation related to the object-oriented protocol is stored in the object-oriented protocol data definition module in advance.
In the embodiment of the invention, the application interface layer protocol refers to that interface parameters and data are transmitted by adopting a standard interactive interface format.
An object-oriented protocol paraphrase data receiving unit 420 for receiving the object-oriented protocol paraphrase data returned by the object-oriented protocol data paraphrase module
In the embodiment of the invention, the object-oriented protocol paraphrasing data is generated by paraphrasing the object-oriented protocol data by an object-oriented protocol data paraphrasing module according to the data mapping relation.
In the embodiment of the present invention, it should be noted that the object-oriented protocol data paraphrasing apparatus is disposed on the terminal device 110 as shown in fig. 1, and is related to the terminal device 110, and is different from the object-oriented protocol data paraphrasing module.
In the embodiment of the present invention, since the object-oriented protocol data interpretation method provided by the present invention is mainly applied to the terminal device shown in fig. 1, the object-oriented protocol data interpretation method provided by the embodiment of the present invention can be understood by referring to the explanation of fig. 1 in detail, and the present invention is not described again.
In the object-oriented protocol data paraphrasing device provided by the embodiment of the invention, after the object-oriented protocol data is acquired, the object-oriented protocol data is sent to the object-oriented protocol data paraphrasing module through an application interface layer protocol, the object-oriented protocol data is processed by utilizing a pre-stored data mapping relation related to the object-oriented protocol in the object-oriented protocol data paraphrasing module, and a paraphrasing result is acquired, that is, a user does not need to pay attention to the object-oriented protocol itself and does not need to develop a product related to the object-oriented protocol to directly support the object-oriented protocol itself, so that a developer can put more energy into service development and the development efficiency of the product is improved.
As shown in fig. 5, compared with the schematic structural diagram of the apparatus for paraphrasing object-oriented protocol data shown in fig. 4, the schematic structural diagram of the apparatus for paraphrasing object-oriented protocol data provided in the embodiment of the present invention further includes:
a request data sending unit 510, configured to send request data related to the object-oriented protocol data paraphrasing module through the application interface layer protocol.
An object-oriented protocol data receiving unit 520, configured to receive data conforming to the object-oriented protocol returned by the object-oriented protocol data paraphrasing module.
In the embodiment of the invention, the data conforming to the object-oriented protocol is generated by processing the request data according to the data mapping relation by an object-oriented protocol data paraphrasing module.
The structure schematic diagram of the object-oriented protocol data paraphrasing device provided by the embodiment of the invention realizes that the terminal equipment which does not support the object-oriented protocol sends the data which conforms to the object-oriented protocol.
The embodiment of the invention also provides a concentrator, wherein the concentrator does not support an object-oriented protocol; the concentrator is provided with an object protocol data paraphrasing module; the object-oriented protocol data is paraphrased between the concentrator and the object-oriented protocol data paraphrasing module by an object-oriented protocol data paraphrasing method as shown in fig. 2 or fig. 3.
To facilitate understanding of the object-oriented protocol data paraphrasing module provided by the present invention, as shown in fig. 6, a specific structure diagram of the object-oriented protocol data paraphrasing module is provided for the embodiment of the present invention, which is described in detail below.
In the embodiment of the invention, the object-oriented protocol data paraphrasing module comprises a physical layer, a link layer, an application layer, a data exchange layer and an object layer, wherein the object layer stores data attributes and format conversion functions.
In the embodiment of the present invention, the object-oriented protocol data paraphrasing module mainly relates to the downlink and uplink processes of data, and specifically, in the downlink process of one data, data interaction between layers is as follows: physical layer: and the system is responsible for acquiring downlink communication data and sending the downlink communication data to a link layer.
And a link layer: the method is responsible for checking the communication address of downlink communication data, then framing the link layer to obtain a legal application protocol data unit, and then forwarding the legal application protocol data unit to the application layer.
An application layer: the method is mainly used for realizing the processing of pre-connection, application connection, safe transmission, reporting, reading, setting, operation and proxy service. Wherein, each processing function is as follows:
pre-connection: the method is mainly used for establishing the link connection and maintaining the link connection.
Connecting applications; the method is mainly used for realizing default application connection information, performing application connection negotiation and security authentication with a main station, generating negotiated application connection information and maintaining application connection.
And (4) safe transmission: the method is mainly used for realizing the safety check of the application protocol data unit and transferring the application protocol data unit to other processing modules for processing.
Reading: the method is mainly used for realizing reading service processing and forwarding the object information to a data exchange layer.
Setting: the method is mainly used for realizing the setting service processing and forwarding the object information to the data exchange layer.
The operation is as follows: the method is mainly used for realizing operation service processing and forwarding the object information to the data exchange layer.
Reporting: the method is mainly used for the report confirmation of the main station and informing the report task of the confirmation information. The reporting task mainly comprises the scheduling of the reporting task and the generation of reporting data.
The agent: the method is mainly used for generating the proxy task. The agent task mainly refers to generating a meter reading relay task and acquiring meter reading data.
A data exchange layer: the method is mainly used for calling the corresponding access interface.
Object layer: the data attribute and the format conversion function are mainly stored, and the object information is processed through the data attribute and the format conversion function.
After data is downloaded to an object layer and object information is processed to obtain a processing result, the data needs to be sequentially uplink returned to a physical layer and sent through the physical layer, specifically, in the uplink process, data interaction among the layers is as follows:
object layer: after the processing of the object information is realized, the processing result is handed over to the data exchange layer.
A data exchange layer: the method is mainly used for generating the protocol data unit from the processing result and handing over the protocol data unit to an application layer.
An application layer: the method is mainly used for generating application protocol data units of various services and handing over to a link layer. The method specifically includes reporting, reading, setting, operating, acting and the like.
And a link layer: it is mainly responsible for generating link layer data frames according to the application protocol data units of various services and forwarding to the physical layer.
Physical layer: is mainly responsible for the transmission of link layer data frames.
In the embodiments of the present invention, it should be noted that some technical terms related to the embodiments belong to the common general knowledge well known to those skilled in the art, and the technical solutions of the present invention will be clearly known to those skilled in the art when reading the above solutions without specific description.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (9)

1. An object-oriented protocol data paraphrasing module is characterized in that a data mapping relation related to an object-oriented protocol is stored in the object-oriented protocol data paraphrasing module in advance; the data interpretation module of the object-oriented protocol exchanges data with equipment which does not support the object-oriented protocol through a preset application interface layer protocol; the preset application interface layer protocol means that interface parameters and data are transmitted by adopting a standard interactive interface format;
the device which does not support the object-oriented protocol is used for sending the object-oriented protocol data to the object-oriented protocol data paraphrasing module through the application interface layer protocol after the object-oriented protocol data is obtained;
the object-oriented protocol data paraphrasing module is used for performing paraphrasing processing on the object-oriented protocol data according to the data mapping relation, generating object-oriented protocol paraphrasing data and returning the object-oriented protocol paraphrasing data through the application interface layer protocol.
2. The object-oriented protocol data paraphrasing module of claim 1, wherein the device that does not support an object-oriented protocol is further configured to send request data related to the object-oriented protocol data paraphrasing module via the application interface layer protocol;
and the object-oriented protocol data paraphrasing module is also used for processing the request data according to the data mapping relation, generating data conforming to the object-oriented protocol and returning the data.
3. The object-oriented protocol data paraphrasing module of claim 1, wherein the interface parameters and the data are transmitted using a standard interactive interface format, in particular the interface parameters and the data are transmitted using a json format.
4. The object-oriented protocol data paraphrasing module of claim 1, wherein the object-oriented protocol data paraphrasing module comprises a data mapping relationship initialization sub-module, an object-oriented protocol data reception sub-module, an object-oriented protocol data pre-inspection sub-module, an object-oriented protocol data unpacking sub-module, an object-oriented protocol data framing sub-module, an object-oriented protocol paraphrasing data packing sub-module, and an object-oriented protocol paraphrasing data transmission sub-module.
5. A data paraphrasing method for an object-oriented protocol is characterized by being applied to equipment which does not support the object-oriented protocol, and specifically comprising the following steps:
sending the acquired object-oriented protocol data to an object-oriented protocol data paraphrasing module through an application interface layer protocol; the application interface layer protocol means that interface parameters and data are transmitted by adopting a standard interactive interface format; the data interpretation module of the object-oriented protocol is pre-stored with a data mapping relation related to the object-oriented protocol;
receiving the object-oriented protocol paraphrase data returned by the object-oriented protocol data paraphrase module; the object-oriented protocol paraphrasing data is generated by paraphrasing the object-oriented protocol data according to the data mapping relation by an object-oriented protocol data paraphrasing module.
6. The object-oriented protocol data paraphrasing method of claim 5, further comprising:
sending request data related to the object-oriented protocol data paraphrasing module through the application interface layer protocol;
receiving data which is returned by the data paraphrasing module of the object-oriented protocol and conforms to the object-oriented protocol; the data conforming to the object-oriented protocol is generated by processing the request data according to the data mapping relation by the object-oriented protocol data paraphrasing module.
7. An object-oriented protocol data paraphrasing device is arranged on equipment which does not support an object-oriented protocol, and specifically comprises:
the object-oriented protocol data sending unit is used for sending the acquired object-oriented protocol data to the object-oriented protocol data paraphrasing module through an application interface layer protocol; the application interface layer protocol means that interface parameters and data are transmitted by adopting a standard interactive interface format; the data interpretation module of the object-oriented protocol is pre-stored with a data mapping relation related to the object-oriented protocol;
the object-oriented protocol paraphrase data receiving unit is used for receiving the object-oriented protocol paraphrase data returned by the object-oriented protocol data paraphrase module; the object-oriented protocol paraphrasing data is generated by paraphrasing the object-oriented protocol data according to the data mapping relation by an object-oriented protocol data paraphrasing module.
8. The object oriented protocol data paraphrasing apparatus of claim 7, further comprising:
a request data sending unit, which is used for sending request data related to the object-oriented protocol data paraphrasing module through an application interface layer protocol;
the object-oriented protocol data receiving unit is used for receiving the data which is returned by the object-oriented protocol data paraphrasing module and conforms to the object-oriented protocol; the data conforming to the object-oriented protocol is generated by processing the request data according to the data mapping relation by the object-oriented protocol data paraphrasing module.
9. A concentrator, wherein the concentrator does not support an object oriented protocol; the concentrator is provided with an object protocol data paraphrasing module; the object oriented protocol data paraphrasing is realized between the concentrator and the object oriented protocol data paraphrasing module by the object oriented protocol data paraphrasing method as claimed in any one of claims 5 or 6.
CN202011042239.7A 2020-09-28 2020-09-28 Object-oriented protocol data paraphrasing module, method and device and concentrator Pending CN112152882A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011042239.7A CN112152882A (en) 2020-09-28 2020-09-28 Object-oriented protocol data paraphrasing module, method and device and concentrator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011042239.7A CN112152882A (en) 2020-09-28 2020-09-28 Object-oriented protocol data paraphrasing module, method and device and concentrator

Publications (1)

Publication Number Publication Date
CN112152882A true CN112152882A (en) 2020-12-29

Family

ID=73895779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011042239.7A Pending CN112152882A (en) 2020-09-28 2020-09-28 Object-oriented protocol data paraphrasing module, method and device and concentrator

Country Status (1)

Country Link
CN (1) CN112152882A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816049A (en) * 2005-02-04 2006-08-09 微软公司 Mapping between object oriented and service oriented representations of a distributed application
US20060242172A1 (en) * 2005-04-22 2006-10-26 Igor Tsyganskiy Systems and methods for transforming logic entities of a business application into an object-oriented model
CN201146538Y (en) * 2008-01-21 2008-11-05 上海可鲁系统软件有限公司 Apparatus for protocol conversion
US20120110028A1 (en) * 2010-11-01 2012-05-03 Athreya Arjun P Translating an object-oriented data model to a yang data model
US20140371878A1 (en) * 2013-06-13 2014-12-18 Samsung Electronics Co., Ltd. Communication apparatus and method of controlling the same
CN107612884A (en) * 2017-08-09 2018-01-19 国网浙江省电力公司 A kind of power information acquisition system electric energy meter consensus standard conversion method
CN109739863A (en) * 2019-01-22 2019-05-10 威胜集团有限公司 Electric energy meter data managing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816049A (en) * 2005-02-04 2006-08-09 微软公司 Mapping between object oriented and service oriented representations of a distributed application
US20060242172A1 (en) * 2005-04-22 2006-10-26 Igor Tsyganskiy Systems and methods for transforming logic entities of a business application into an object-oriented model
CN201146538Y (en) * 2008-01-21 2008-11-05 上海可鲁系统软件有限公司 Apparatus for protocol conversion
US20120110028A1 (en) * 2010-11-01 2012-05-03 Athreya Arjun P Translating an object-oriented data model to a yang data model
US20140371878A1 (en) * 2013-06-13 2014-12-18 Samsung Electronics Co., Ltd. Communication apparatus and method of controlling the same
CN107612884A (en) * 2017-08-09 2018-01-19 国网浙江省电力公司 A kind of power information acquisition system electric energy meter consensus standard conversion method
CN109739863A (en) * 2019-01-22 2019-05-10 威胜集团有限公司 Electric energy meter data managing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
巫钟兴等: "面向对象的用电信息数据交换协议应用方案研究", 《电测与仪表》 *

Similar Documents

Publication Publication Date Title
EP2333700A2 (en) System and method for installing smart card applet
CN102427451B (en) Method and system for acquiring service application
CN111629342B (en) Method and device for mapping Beidou short message terminal number
CN109891921B (en) Method, apparatus and computer-readable storage medium for authentication of next generation system
CN107392031A (en) The scan method and device of leak
JP2013069277A (en) Nfc reader device, nfc tag device, nfc system, and nfc method
CN111988418B (en) Data processing method, device, equipment and computer readable storage medium
CN105592019A (en) Method for bidirectional access to application between dual execution environments
CN112866193A (en) Equipment deployment method, device, equipment and storage medium
CN112152882A (en) Object-oriented protocol data paraphrasing module, method and device and concentrator
CN113691684B (en) Outbound method, device, system, computer equipment and storage medium
WO2022116696A1 (en) Method and apparatus for establishing communication connection
CN113282859A (en) Method and device for obtaining visitor identity information, electronic equipment and storage medium
CN113194137A (en) Data transmission method, device, system and storage medium
CN110008033B (en) Method for communicating with client and electronic equipment
CN110008032B (en) Communication mode realization method and electronic equipment
CN102325187A (en) System and method for integrating multiple function services
CN112073536A (en) Method for realizing safe data transmission and processing between networks incapable of direct inter-access
CN112579235A (en) Method, transcoding center, client, device and medium for internationalizing response data
CN114070824B (en) Registration method of Internet of things equipment, registration cloud server and medium
CN111064675A (en) Access flow control method, device, network equipment and storage medium
CN112217659A (en) Method and system for adding client terminal equipment in SD-WAN (secure digital-Wide area network) system
CN117155890B (en) Method and device for processing applet message and electronic equipment
CN110505258A (en) Webpage load and response method, device, computer equipment and storage medium
CN111756834B (en) Code scanning delay processing method and device

Legal Events

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

Application publication date: 20201229