[go: up one dir, main page]

CN114490473B - Edge computing gateway IO interface system and IO interface calling method - Google Patents

Edge computing gateway IO interface system and IO interface calling method Download PDF

Info

Publication number
CN114490473B
CN114490473B CN202111495325.8A CN202111495325A CN114490473B CN 114490473 B CN114490473 B CN 114490473B CN 202111495325 A CN202111495325 A CN 202111495325A CN 114490473 B CN114490473 B CN 114490473B
Authority
CN
China
Prior art keywords
information
layer
interface
middle layer
sends
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.)
Active
Application number
CN202111495325.8A
Other languages
Chinese (zh)
Other versions
CN114490473A (en
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.)
3onedata Co ltd
Original Assignee
3onedata 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 3onedata Co ltd filed Critical 3onedata Co ltd
Priority to CN202111495325.8A priority Critical patent/CN114490473B/en
Publication of CN114490473A publication Critical patent/CN114490473A/en
Application granted granted Critical
Publication of CN114490473B publication Critical patent/CN114490473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses an edge computing gateway IO interface system and an IO interface calling method, comprising an interface layer, a middle layer and an IO layer; the interface layer is connected with the intermediate layer, the intermediate layer is connected with the IO layer, and the intermediate layer is connected with the IO layer in a communication way; the interface layer is used for a user to connect and receive first information input by the user, the interface layer sends the first information to the middle layer, the middle layer plays a role in intercepting the first information input by all interface layers, analysis and judgment are carried out to generate second information which can be rapidly identified by the IO layer and send the second information to the IO layer, the IO layer calls a corresponding function module according to the second information to generate feedback information, the user does not need to directly program and call the function module of the IO layer through the arrangement of the interface layer and the middle layer, the effect of calling the IO layer can be achieved only by inputting the first information with characteristics, the technical problem that the IO function call difficulty of the conventional edge computing gateway is high is solved, and the technical effect of simply and rapidly calling the IO function is achieved.

Description

Edge computing gateway IO interface system and IO interface calling method
Technical Field
The invention belongs to the technical field of edge computing, and particularly relates to an edge computing gateway IO interface system and an IO interface calling method.
Background
The Edge computing Gateway (also called as the Edge computing Gateway of the Internet of things), which is simply called Edge-Gateway, is an industrial intelligent Gateway capable of running functions of local computing, message communication, data caching and the like on equipment, and can realize local linkage and data processing analysis of the equipment under the condition of no need of networking.
The common edge computing gateway can provide various IO interfaces which are used for connecting various functional devices, and the prior art basically uses the interfaces provided by an operating system to access programming to call the functional devices connected with the IO ports so as to realize various functional operations; the prior art has the problems of complicated method, non-uniform interface, high use and development threshold and low efficiency, namely higher use difficulty, because the programming call can be carried out only by needing to know an operating system and hardware to a certain extent.
Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide an IO interface system of an edge computing gateway, which aims to solve the technical problem that the IO function call difficulty of the existing edge computing gateway is high.
The invention adopts the following technical scheme to achieve the aim of the invention:
an edge computing gateway IO interface system, comprising: interface layer, intermediate layer and IO layer;
the interface layer is used for receiving the first information;
The intermediate layer is used for analyzing and processing the first information to generate second information;
the IO layer is used for calling a corresponding functional module according to the second information;
The interface layer is connected with the middle layer, the interface layer is in communication connection with the middle layer, the middle layer is connected with the IO layer, and the middle layer is in communication connection with the IO layer;
The interface layer sends the first information to the middle layer, the middle layer generates the second information according to the first information and sends the second information to the IO layer, and the IO layer calls the corresponding functional module according to the second information to generate feedback information and feeds the feedback information back to the interface layer through the middle layer.
Further, a data channel and a command channel are arranged between the interface layer and the middle layer, and the first information comprises data information and command information;
The data information is sent to the middle layer through a data channel;
The command information is sent to the middle layer through the command channel.
Further, the middle layer comprises a connection port and a service end;
the first end of the connection port is in communication connection with the interface layer, the second end of the connection port is in communication connection with the IO layer, and the third end of the connection port is in communication connection with the service end
The connection port sends the first information to the server, and the server analyzes and processes the first information to generate second information and sends the second information to the connection port.
Further, the connection port and the server communicate through tcp protocol.
Further, the IO layer comprises an IO interface and a kernel;
the IO interface is used for realizing information interaction between the kernel and the middle layer;
The kernel is used for calling the corresponding functional module according to the second information to generate feedback information;
the first end of the IO interface is in communication connection with the middle layer, and the second end of the IO interface is connected with the kernel.
Correspondingly, an IO interface calling method is also disclosed, which comprises the following steps:
the interface layer acquires first information and sends the first information to the middle layer;
the intermediate layer analyzes and processes the first information to generate second information, and sends the second information to the IO layer;
And the IO layer generates feedback information according to the second information.
Further, the step of analyzing the first information by the intermediate layer to generate second information and sending the second information to the IO layer includes:
the middle layer sends the first information to the server;
the server side extracts keywords from the first information, and generates and feeds back second information to the middle layer according to the keywords;
The intermediate layer sends the second information to the IO layer.
Further, the IO layer comprises a plurality of IO interfaces; the step of generating feedback information by the IO layer according to the second information comprises the following steps:
the intermediate layer sends the second information to the corresponding IO interface according to the interface information in the second information;
The IO interface sends the second information to the corresponding functional module;
And the functional module executes corresponding actions according to the second information and generates feedback information.
Correspondingly, the computer equipment also discloses a computer device which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the IO interface calling method when executing the computer program.
Correspondingly, a computer readable storage medium is also disclosed, and the computer readable storage medium stores a computer program for executing the IO interface calling method.
Compared with the prior art, the invention has the beneficial effects that:
The edge computing gateway IO interface system provided by the invention comprises: interface layer, intermediate layer and IO layer; the interface layer is connected with the middle layer, the interface layer is in communication connection with the middle layer, the middle layer is connected with the IO layer, and the middle layer is in communication connection with the IO layer; the interface layer is used for a user to connect and receive first information input by the user, the interface layer sends the first information to the middle layer, the middle layer generates second information according to the first information, the middle layer intercepts the first information input by all interface layers, analyzes and judges to generate second information which can be quickly identified by the IO layer, the second information is sent to the IO layer, the IO layer calls a corresponding function module according to the second information to generate feedback information, and feeds the feedback information back to the interface layer through the middle layer, so that the user can obtain the feedback information, and the user does not need to directly program and call the function module of the IO layer through the arrangement of the interface layer and the middle layer, but can realize the effect of calling the IO layer by only inputting the first information with characteristics or keywords, so that the technical problem that the IO function of the existing edge computing gateway is high in calling difficulty is solved, and the technical effect of simply and quickly calling the IO function is realized.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of an edge computing gateway IO interface system according to an embodiment of the present invention;
FIG. 2 is a flowchart of an IO interface call method according to an embodiment of the present invention.
Reference numerals illustrate:
Reference numerals Name of the name Reference numerals Name of the name
1 Interface layer 3 IO layer
2 Intermediate layer 31 IO interface
21 Connection port 32 Kernel
22 Service end
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to FIG. 1, an embodiment of the present invention provides an edge computing gateway IO interface system, comprising: interface layer 1, intermediate layer 2 and IO layer 3;
The interface layer 1 is used for receiving first information;
the intermediate layer 2 is used for analyzing and processing the first information to generate second information;
the IO layer 3 is used for calling a corresponding functional module according to the second information;
The interface layer 1 is connected with the intermediate layer 2, the interface layer 1 is in communication connection with the intermediate layer 2, the intermediate layer 2 is connected with the IO layer 3, and the intermediate layer 2 is in communication connection with the IO layer 3;
the interface layer 1 sends the first information to the middle layer 2, the middle layer 2 generates the second information according to the first information and sends the second information to the IO layer 3, the IO layer 3 calls the corresponding functional module according to the second information to generate feedback information, and the feedback information is fed back to the interface layer 1 through the middle layer 2.
Specifically, in the prior art, for the IO function call of the edge computing gateway, a standard programming call instruction can be directly input to the IO layer 3, where if the input instruction is wrong or is a problem instruction, the error of the edge computing gateway is caused or some system problems occur, so that at least two problems exist, on one hand, the difficulty of calling the IO layer 3 function is high, a certain knowledge on an operating system and hardware is required to write the standard programming call instruction, and on the other hand, the safety of the edge computing gateway is lower, because the standard programming call instruction can be directly communicated with the IO layer 3, some illegal molecules can input some malicious instructions, so that the functional equipment connected with the IO layer 3 has problems such as faults;
In this embodiment, the interface layer 1 is a development interface library for providing access to the user, and the interface layer 1 further includes multiple function methods for the user to directly call as the first information, so that the difficulty and time of self-editing can be saved; after the user accesses the interface layer 1, the first information can be input into the interface layer 1, wherein the content of the first information can include various types, such as standard programming call instructions, instructions including keywords, instructions including specific features, and the like, and all the first information is sent to the middle layer 2; the middle layer 2 shields and intercepts all information sent by the interface layer 1 and converts the first information into second information which can be directly identified by the IO layer 3, so that the middle layer 2 has the effect of identifying keywords or features in the first information, and simultaneously has the effect of filtering and protecting the IO layer 3, because all the first information can be converted into the second information and sent to the IO layer 3, the IO layer 3 can not directly receive instructions of the access layer, the middle layer 2 has the effect of information interception and screening, at least two effects are achieved, on one hand, the effect of filtering the first information is achieved, even if a user is not familiar with an operating system and hardware, the first information can be screened out by the middle layer 2 as long as the first information contains key information or features, and is converted into the second information which can be identified by the IO layer 3, on the other hand, because the middle layer 2 can intercept all the first information, some information and features are screened out, and the interface layer 3 can not directly receive instructions of an access layer, on the other hand, the interface layer 2 plays the role of intercepting and screening information in a preset range, and the effect of attacking the IO layer 3 is not in a certain malicious instructions, and the interface layer 3 has the effect of attacking the IO layer 3.
Further, a data channel and a command channel are arranged between the interface layer 1 and the middle layer 2, and the first information comprises data information and command information;
The data information is sent to the middle layer 2 through a data channel;
the command information is sent to the intermediate layer 2 via a command channel.
Specifically, in this embodiment, a message communication between the interface layer 1 and the middle layer 2 adopts a message command separation channel manner, so that data information in the first information is sent to the middle layer 2 through a data channel, and command information is sent to the middle layer 2 through a command channel, where the data information may include information that data of the IO layer 3 need to be acquired, such as reading and writing, or information that data is written into the IO layer 3, and the command information may include information that controls the IO layer 3 to perform specific action response, such as opening, closing or switching, so that the data information and the command information are separated to perform different channel transmission.
Further, the intermediate layer 2 includes a connection port 21 and a service end 22;
A first end of the connection port 21 is in communication connection with the interface layer 1, a second end of the connection port 21 is in communication connection with the IO layer 3, and a third end of the connection port 21 is in communication connection with the service end 22;
The connection port 21 sends the first information to the server 22, and the server 22 analyzes the first information, generates the second information, and sends the second information to the connection port 21.
Specifically, the middle layer 2 in this embodiment includes a connection port 21 and a server 22, where the middle layer 2 mainly plays roles of information acquisition and information transmission, and is used to acquire first information of the interface layer 1 and transmit second information to the IO layer 3, and the server 22 is used to analyze and process the first information to generate second information, and the server 22 analyzes characteristics and keywords of the first information to generate second information corresponding to the characteristics and keywords of the first information, and the second information can be directly identified by the IO layer 3, so as to play a role in controlling the stable operation of the IO layer 3 in a preset operation range.
Further, the connection port 21 and the server 22 communicate with each other through tcp protocol.
Specifically, TCP is a transmission control protocol (TCP, transmission Control Protocol) that is a connection-oriented, reliable, byte-stream-based transport layer communication protocol; in this embodiment, TCP communication is adopted between the connection port 21 and the server 22, and because the server 22 may be a device not belonging to an edge computing gateway system, or may be a device externally connected with multiple types of servers 22, a communication protocol facing to a wide area network needs to be performed through TCP, so as to achieve the effect of communication across multiple networks.
Further, the IO layer 3 includes an IO interface 31 and a kernel 32;
the IO interface 31 is used for realizing information interaction between the kernel 32 and the middle layer 2;
the kernel 32 is configured to invoke a corresponding function module to generate feedback information according to the second information;
A first end of the IO interface 31 is communicatively connected to the intermediate layer 2, and a second end of the IO interface 31 is connected to the core 32.
Specifically, in this embodiment, the device includes a plurality of IO interfaces 31, that is, corresponding cores 32, where the IO interfaces 31 may include interfaces such as CAN/service PORT/DI/DO, and the cores 32 are functional devices connected to the IO interfaces 31, after the intermediate layer 2 generates the second information, the second information is sent to the corresponding IO interfaces 31 according to the attribute of the second information, for example, the second information generated by the intermediate layer 2 is type information of the CAN interface, and then sent to the CAN interfaces, and other types of information are similar; the IO interface 31 is configured to implement information interaction between the kernel 32 and the intermediate layer 2, where the second information is sent to the kernel 32 through the IO interface 31, and the kernel 32 performs corresponding functional actions according to the second information, such as opening or closing a functional interface, reading and writing certain data information, and the like, and returns generated feedback information to the intermediate layer 2 through the IO interface 31, and the intermediate layer 2 sends the feedback information to the interface layer 1, where a user obtains the feedback information through the interface layer 1, so as to complete a complete calling process of the IO interface 31.
Therefore, through the edge computing gateway IO interface 31 system of the application, a user does not need to consider professional details of the implementation of the IO interface 31 when calling the IO interface 31, only the access interface layer 1 calls the function method provided by the interface layer 1 just like calling the system local API, and the interface layer 1 provides a general method similar to file operation, open/close/read/write and the like, thereby effectively reducing the learning cost of API use.
As a common user does not know the details of hardware generally, the software realized by the method can lead the user not to spend a great deal of time learning the details of the hardware interface and the operating system API, effectively improve the development efficiency and reduce the time required for debugging the hardware.
Correspondingly, referring to fig. 1, a method for calling the IO interface 31 is also disclosed, including:
Step S100, the interface layer 1 acquires first information and sends the first information to the middle layer 2;
step S200, the middle layer 2 analyzes and processes the first information to generate second information, and sends the second information to the IO layer 3;
In step S300, the IO layer 3 generates feedback information according to the second information.
The interface layer 1 is a development interface library for the user to access, and the interface layer 1 also comprises a plurality of function methods for the user to directly call as first information, so that the difficulty and time of self-editing can be saved; after the user accesses the interface layer 1, the first information can be input into the interface layer 1, wherein the content of the first information can include various types, such as standard programming call instructions, instructions including keywords, instructions including specific features, and the like, and all the first information is sent to the middle layer 2; the middle layer 2 shields and intercepts all information sent by the interface layer 1 and converts the first information into second information which can be directly identified by the IO layer 3, so that the middle layer 2 has the effect of identifying keywords or features in the first information, and simultaneously has the effect of filtering and protecting the IO layer 3, because all the first information can be converted into the second information and sent to the IO layer 3, the IO layer 3 can not directly receive instructions of the access layer, the middle layer 2 has the effect of information interception and screening, at least two effects are achieved, on one hand, the effect of filtering the first information is achieved, even if a user is not familiar with an operating system and hardware, the first information can be screened out by the middle layer 2 as long as the first information contains key information or features, and is converted into the second information which can be identified by the IO layer 3, on the other hand, because the middle layer 2 can intercept all the first information, some information and features are screened out, and the interface layer 3 can not directly receive instructions of an access layer, on the other hand, the interface layer 2 plays the role of intercepting and screening information in a preset range, and the effect of attacking the IO layer 3 is not in a certain malicious instructions, and the interface layer 3 has the effect of attacking the IO layer 3.
Further, in step S200, the step of analyzing the first information by the intermediate layer 2 to generate second information and transmitting the second information to the IO layer 3 includes:
step S210, the middle layer 2 sends the first information to the server 22;
Step S220, the server 22 extracts keywords from the first information, and generates and feeds back second information to the middle layer 2 according to the keywords;
In step S230, the intermediate layer 2 transmits the second information to the IO layer 3.
Specifically, the middle layer 2 in this embodiment includes a connection port 21 and a server 22, where the middle layer 2 mainly plays roles of information acquisition and information transmission, and is used to acquire first information of the interface layer 1 and transmit second information to the IO layer 3, and the server 22 is used to analyze and process the first information to generate second information, and the server 22 analyzes characteristics and keywords of the first information to generate second information corresponding to the characteristics and keywords of the first information, and the second information can be directly identified by the IO layer 3, so as to play a role in controlling the stable operation of the IO layer 3 in a preset operation range.
Further, the IO layer 3 includes a plurality of IO interfaces 31; in step S300, the step of generating feedback information by the IO layer 3 according to the second information includes:
step S310, the intermediate layer 2 sends the second information to the corresponding IO interface 31 according to the interface information in the second information;
Step S320, the IO interface 31 sends the second information to the corresponding functional module;
In step S330, the functional module performs a corresponding action according to the second information and generates feedback information.
Specifically, in this embodiment, the device includes a plurality of IO interfaces 31, that is, corresponding cores 32, where the IO interfaces 31 may include interfaces such as CAN/service PORT/DI/DO, and the cores 32 are functional devices connected to the IO interfaces 31, after the intermediate layer 2 generates the second information, the second information is sent to the corresponding IO interfaces 31 according to the attribute of the second information, for example, the second information generated by the intermediate layer 2 is type information of the CAN interface, and then sent to the CAN interfaces, and other types of information are similar; the IO interface 31 is configured to implement information interaction between the kernel 32 and the intermediate layer 2, where the second information is sent to the kernel 32 through the IO interface 31, and the kernel 32 performs corresponding functional actions according to the second information, such as opening or closing a functional interface, reading and writing certain data information, and the like, and returns generated feedback information to the intermediate layer 2 through the IO interface 31, and the intermediate layer 2 sends the feedback information to the interface layer 1, where a user obtains the feedback information through the interface layer 1, so as to complete a complete calling process of the IO interface 31.
Therefore, through the edge computing gateway IO interface 31 system of the application, a user does not need to consider professional details of the implementation of the IO interface 31 when calling the IO interface 31, only the access interface layer 1 calls the function method provided by the interface layer 1 just like calling the system local API, and the interface layer 1 provides a general method similar to file operation, open/close/read/write and the like, thereby effectively reducing the learning cost of API use.
As a common user does not know the details of hardware generally, the software realized by the method can lead the user not to spend a great deal of time learning the details of the hardware interface and the operating system API, effectively improve the development efficiency and reduce the time required for debugging the hardware.
Correspondingly, a computer device is also disclosed, comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the IO interface 31 calling method when executing the computer program.
Correspondingly, a computer readable storage medium is also disclosed, and the computer readable storage medium stores a computer program for executing the method for implementing the above-mentioned IO interface 31 call.
It should be noted that, other contents of the edge computing gateway IO interface 31 system disclosed in the present invention may be referred to the prior art, and will not be described herein.
In addition, it should be noted that, if there is a directional indication (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention, the directional indication is merely used to explain the relative positional relationship, movement condition, etc. between the components in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indication is correspondingly changed.
In addition, it should be noted that the description of "first", "second", etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
The foregoing description is only of the optional embodiments of the present invention, and is not intended to limit the scope of the invention, and all equivalent structural modifications made by the present description and accompanying drawings or direct/indirect application in other related technical fields are included in the scope of the present invention.

Claims (8)

1. An edge computing gateway IO interface system, comprising: interface layer, intermediate layer and IO layer;
the interface layer is used for receiving first information, wherein the first information comprises standard programming calling instructions, keyword instructions and specific characteristic instructions, and the first information also comprises a plurality of function methods directly called by a user from the interface layer;
The intermediate layer is used for analyzing and processing the first information to generate second information, wherein the intermediate layer is used for analyzing and processing the first information to screen key information and characteristics from the first information and filtering out some useless information or information which is not in a preset range;
The IO layer is used for calling a corresponding functional module according to the second information;
The interface layer is connected with the intermediate layer, the interface layer is in communication connection with the intermediate layer, the intermediate layer is connected with the IO layer, and the intermediate layer is in communication connection with the IO layer;
The interface layer sends the first information to the middle layer, the middle layer generates the second information according to the first information and sends the second information to the IO layer, and the IO layer calls a corresponding functional module according to the second information to generate feedback information and feeds the feedback information back to the interface layer through the middle layer;
A data channel and a command channel are arranged between the interface layer and the middle layer, the first information comprises data information and command information, wherein the data information is data needing to be acquired from the IO layer or data written into the IO layer, and the command information is information for controlling the IO layer to respond to specific actions;
the data information is sent to the middle layer through the data channel;
the command information is sent to the middle layer through the command channel;
the IO layer comprises an IO interface and a kernel;
The IO interface is used for realizing information interaction between the kernel and the middle layer;
the kernel is used for calling a corresponding functional module according to the second information to generate feedback information;
The first end of the IO interface is in communication connection with the middle layer, and the second end of the IO interface is connected with the kernel.
2. The edge computing gateway IO interface system of claim 1 wherein the middle tier comprises a connection port and a server;
The first end of the connection port is in communication connection with the interface layer, the second end of the connection port is in communication connection with the IO layer, and the third end of the connection port is in communication connection with the service end;
The connection port sends the first information to the server, and the server analyzes and processes the first information to generate second information and sends the second information to the connection port.
3. The edge computing gateway IO interface system of claim 2 wherein the connection port communicates with the server via tcp protocol.
4. An IO interface calling method, comprising:
The interface layer acquires first information and sends the first information to the middle layer, wherein the first information comprises standard programming calling instructions, keyword instructions and specific characteristic instructions;
The intermediate layer analyzes the first information to generate second information and sends the second information to the IO layer, wherein the intermediate layer analyzes the first information to screen key information and characteristics from the first information and filters out some useless information or information which is not in a preset range;
The IO layer generates feedback information according to the second information;
The first information comprises data information and command information, wherein the data information is data needing to be acquired from an IO layer or data needing to be written into the IO layer, and the command information is information for controlling the IO layer to respond to specific actions;
the data information is sent to the middle layer through a data channel arranged between the interface layer and the middle layer;
The command information is sent to the middle layer through a command channel arranged between the interface layer and the middle layer;
the IO layer comprises an IO interface and a kernel;
the IO interface realizes information interaction between the kernel and the middle layer;
The kernel calls a corresponding functional module to generate feedback information according to the second information;
The first end of the IO interface is in communication connection with the middle layer, and the second end of the IO interface is connected with the kernel.
5. The method for invoking an IO interface according to claim 4, wherein the step of analyzing the first information by the middle layer to generate second information and sending the second information to the IO layer comprises:
the middle layer sends the first information to a server;
The server side extracts keywords from the first information, and generates and feeds back second information to the middle layer according to the keywords;
The intermediate layer sends the second information to the IO layer.
6. The IO interface calling method of claim 5, wherein the IO layer comprises a plurality of IO interfaces; the step of generating feedback information by the IO layer according to the second information includes:
the intermediate layer sends the second information to a corresponding IO interface according to the interface information in the second information;
the IO interface sends the second information to a corresponding functional module;
And the functional module executes corresponding actions according to the second information and generates feedback information.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the IO interface invoking method of any of claims 4 to 6 when the computer program is executed by the processor.
8. A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for executing the IO interface calling method according to any one of claims 4 to 6.
CN202111495325.8A 2021-12-07 2021-12-07 Edge computing gateway IO interface system and IO interface calling method Active CN114490473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111495325.8A CN114490473B (en) 2021-12-07 2021-12-07 Edge computing gateway IO interface system and IO interface calling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111495325.8A CN114490473B (en) 2021-12-07 2021-12-07 Edge computing gateway IO interface system and IO interface calling method

Publications (2)

Publication Number Publication Date
CN114490473A CN114490473A (en) 2022-05-13
CN114490473B true CN114490473B (en) 2024-05-03

Family

ID=81492896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111495325.8A Active CN114490473B (en) 2021-12-07 2021-12-07 Edge computing gateway IO interface system and IO interface calling method

Country Status (1)

Country Link
CN (1) CN114490473B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119254721A (en) * 2024-09-27 2025-01-03 武汉新烽光电股份有限公司 Control system and method for edge gateway

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143143A (en) * 2010-10-15 2011-08-03 华为数字技术有限公司 Method and device for defending network attack, and router
CN106941484A (en) * 2017-01-23 2017-07-11 斑马信息科技有限公司 The multi-chip communication protocol system and its method of internet automobile
CN108111629A (en) * 2018-01-19 2018-06-01 京东方科技集团股份有限公司 Application Programming Interface service unit and Application Programming Interface service system
CN110807078A (en) * 2019-10-15 2020-02-18 镇瀚(江苏)科技有限公司 Citizen track big data service platform serving for civil planning
CN111314149A (en) * 2020-02-26 2020-06-19 赛特斯信息科技股份有限公司 System for realizing unified monitoring operation and maintenance management based on multiple edge cloud platforms
CN112948118A (en) * 2021-03-12 2021-06-11 上海哔哩哔哩科技有限公司 Edge calculation method, platform, computer device and readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8819311B2 (en) * 2007-05-23 2014-08-26 Rpx Corporation Universal user input/output application layers
US11551671B2 (en) * 2019-05-16 2023-01-10 Samsung Electronics Co., Ltd. Electronic device and method of controlling thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143143A (en) * 2010-10-15 2011-08-03 华为数字技术有限公司 Method and device for defending network attack, and router
CN106941484A (en) * 2017-01-23 2017-07-11 斑马信息科技有限公司 The multi-chip communication protocol system and its method of internet automobile
CN108111629A (en) * 2018-01-19 2018-06-01 京东方科技集团股份有限公司 Application Programming Interface service unit and Application Programming Interface service system
CN110807078A (en) * 2019-10-15 2020-02-18 镇瀚(江苏)科技有限公司 Citizen track big data service platform serving for civil planning
CN111314149A (en) * 2020-02-26 2020-06-19 赛特斯信息科技股份有限公司 System for realizing unified monitoring operation and maintenance management based on multiple edge cloud platforms
CN112948118A (en) * 2021-03-12 2021-06-11 上海哔哩哔哩科技有限公司 Edge calculation method, platform, computer device and readable storage medium

Also Published As

Publication number Publication date
CN114490473A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
US20240354408A1 (en) Automated threat model generation
US10044753B2 (en) Intercepting and supervising calls to transformed operations and objects
CN110806934A (en) RPA technology-based intelligent all-in-one machine development and multi-service rapid processing method
WO2021189257A1 (en) Malicious process detection method and apparatus, electronic device, and storage medium
CN109560996B (en) Automatic testing system and method for terminal of Internet of things
US12355644B2 (en) Incorporation of a trace visualization with a traffic graph visualization in a service mesh
CN114490473B (en) Edge computing gateway IO interface system and IO interface calling method
CN110147397A (en) System docking method, apparatus, management system and terminal device, storage medium
CN100574284C (en) An operation control method of a distributed router system
CN109995867A (en) One-stop insurance service system, implementation method and computer readable storage medium
CN114285659A (en) Reverse proxy method, device, equipment and storage medium
CN113900939A (en) Test environment access method and device, readable storage medium and computer equipment
CN101819524A (en) Access method of RFID (Radio Frequency Identification Device) reader and interface driving device thereof
US7107575B1 (en) Method and system for providing a single object instance per client-server session
CN110275701A (en) Data processing method, device, medium and calculating equipment
CN116886392A (en) Service processing method, device and network management system
CN102148755A (en) Mainframe injection component and method for manipulating data packets communicated between emulators and mainframes
CN119210772B (en) A method and terminal for protecting communication data processing
CN120128424B (en) Network traffic security audit and defense method based on process injection and related equipment
CN112202728A (en) Method and system for mobile terminal to call module through routing protocol
US20240403088A1 (en) Service virtualization platform
CN118694532A (en) An interactive network management system and method based on the Internet
CN120301763A (en) Network request processing method, device, electronic device, storage medium and program product
CN120762665A (en) Template component control method and system and computer readable medium
CN117874798A (en) BI visualization-based data security design 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
GR01 Patent grant
GR01 Patent grant