[go: up one dir, main page]

CN115842869B - Digital rural management method, device and control system based on Internet of things - Google Patents

Digital rural management method, device and control system based on Internet of things Download PDF

Info

Publication number
CN115842869B
CN115842869B CN202211475200.3A CN202211475200A CN115842869B CN 115842869 B CN115842869 B CN 115842869B CN 202211475200 A CN202211475200 A CN 202211475200A CN 115842869 B CN115842869 B CN 115842869B
Authority
CN
China
Prior art keywords
interface
equipment
information
access
type
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
CN202211475200.3A
Other languages
Chinese (zh)
Other versions
CN115842869A (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.)
Zhejiang Communications Services Co Ltd
Original Assignee
Zhejiang Communications Services 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 Zhejiang Communications Services Co Ltd filed Critical Zhejiang Communications Services Co Ltd
Priority to CN202211475200.3A priority Critical patent/CN115842869B/en
Publication of CN115842869A publication Critical patent/CN115842869A/en
Application granted granted Critical
Publication of CN115842869B publication Critical patent/CN115842869B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

The application relates to a digital village management method, a device and a control system based on the Internet of things, which are used for judging whether the interface type is in the interface mapping range of target equipment by acquiring the interface information of access equipment: if yes, establishing communication between the access equipment and the target equipment according to the protocol information; and if not, carrying out type conversion on the interface type of the access equipment according to the interface type of the target equipment, and establishing communication between the access equipment and the target equipment according to protocol information corresponding to the converted interface type. The method can comprehensively control and switch the access types of interfaces of the hardware and software equipment in the digital village, avoid the problem of interface mismatch caused by inconsistent equipment, avoid information interaction and transmission, overcome the barriers of data transmission and sharing to the greatest extent, and improve the utilization rate of the existing equipment in the digital village. And integrating the interface types of the access devices accessed to the digital rural platform, so that communication barriers do not exist between the devices.

Description

Digital rural management method, device and control system based on Internet of things
Technical Field
The disclosure relates to the field of internet of things and technology, in particular to a digital village management method, device and control system based on the internet of things.
Background
Along with the rapid development of the Internet of things and the Internet, along with the application of networking, informatization and digitalization in the development of agriculture rural economy and society, digital villages are also developed gradually. The effective guidance of the digital village can realize the improvement of the modern information skills of farmers and promote the modern development and transformation processes of the agricultural villages.
The development of digital villages requires the guidance of the upgrading and updating of the rural facilities. The specifications and specific parameters of the existing hardware and software resources in the village are mostly different facilities, the hardware equipment conditions of different villages are not completely the same, a plurality of barriers usually exist when data transmission and sharing are carried out, the transmission and sharing are unsmooth, the construction process of the digital village is reduced, the utilization rate of the existing equipment is low, and the participation enthusiasm of the village is low.
Therefore, it is necessary to overcome the data transmission and sharing obstacle to the greatest extent and improve the utilization rate of the existing devices in the country.
Disclosure of Invention
In order to solve the problems, the application provides a digital rural management method, device and control system based on the Internet of things.
In one aspect of the present application, a digital country management method based on the internet of things is provided, including the following steps:
Acquiring interface information of access equipment;
Analyzing the interface information to obtain the interface type and protocol information of the access equipment;
judging whether the interface type is in the interface mapping range of the target equipment or not:
if yes, establishing communication between the access equipment and the target equipment according to the protocol information;
And if not, carrying out type conversion on the interface type of the access equipment according to the interface type of the target equipment, and establishing communication between the access equipment and the target equipment according to protocol information corresponding to the converted interface type.
As an optional embodiment of the present application, optionally, the obtaining interface information of the access device includes:
Logging in a digital village management server;
Inquiring and acquiring equipment information of each access equipment accessed to the digital rural management server in real time through the digital rural management server;
the device information is exported, classified management is carried out on the device information, device interface information of each access device is obtained, the device interface information is compressed, and an interface information compressed packet is obtained;
Configuring real-time clock information for each interface information compression packet and storing the real-time clock information in the digital rural management server;
Wherein the queried access device is a device not in a digital country management state; each access device is equipped with several interface types and corresponding interface communication protocols.
As an optional implementation manner of the present application, optionally, analyzing the device interface information to obtain the interface type and protocol information of the device includes:
acquiring an interface information compression packet of each access device;
analyzing the interface information compression packet to obtain the interface type and protocol information of the access equipment;
and writing the interface type and the protocol information of the access equipment into a preset tree-shaped table in sequence according to the clock sequence.
As an optional embodiment of the present application, optionally, it is determined whether the interface type is within an interface mapping range of the target device: if yes, establishing communication between the access device and the target device according to the protocol information, including:
Inquiring and acquiring the interface type of the target equipment; the interface of the target equipment is configured with an interface mapping table, and the interface mapping table comprises a plurality of interface types;
Judging whether the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, if the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, mapping and connecting, and establishing a communication channel between the access equipment and the target equipment through the interface of the mapping and connecting.
As an optional embodiment of the present application, optionally, it is determined whether the interface type is within an interface mapping range of the target device: if not, performing type conversion on the interface type of the access device according to the interface type of the target device, including:
Inquiring and acquiring the interface type of the target equipment; the interface of the target equipment is configured with an interface mapping table, and the interface mapping table comprises a plurality of interface types;
Judging whether the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, if the interface type of the access equipment is not in the mapping range of the interface mapping table of the target equipment, sending the interface type of the access equipment to a digital rural management server, and calling a virtual data interface from a pre-configured interface protocol database to be used as a temporary interface of the access equipment so as to realize interface type conversion of the access equipment;
And the access equipment establishes communication with the target equipment through the converted new interface and the corresponding interface protocol.
In another aspect of the present application, a device for implementing the above-mentioned digital country management method based on the internet of things is provided, including:
the interface information acquisition module is used for acquiring interface information of the access equipment;
The analysis module is used for analyzing the interface information and obtaining the interface type and protocol information of the access equipment;
the interface docking module is used for judging whether the interface type is in the interface mapping range of the target equipment or not:
if yes, establishing communication between the access equipment and the target equipment according to the protocol information;
And if not, carrying out type conversion on the interface type of the access equipment according to the interface type of the target equipment, and establishing communication between the access equipment and the target equipment according to protocol information corresponding to the converted interface type.
As an optional embodiment of the present application, optionally, the interface information obtaining module includes:
the login module is used for logging in the digital rural management server;
The calling module is used for inquiring and acquiring the equipment information of each access equipment accessed to the digital rural management server in real time through the digital rural management server;
The compression module is used for exporting the equipment information, classifying and managing the equipment information to obtain the equipment interface information of each access equipment, and compressing the equipment interface information to obtain an interface information compression packet;
The clock module is used for configuring real-time clock information for each interface information compression packet and storing the real-time clock information in the digital rural management server;
Wherein the queried access device is a device not in a digital country management state; each access device is equipped with several interface types and corresponding interface communication protocols.
As an optional embodiment of the present application, optionally, the interface docking module includes a first interface mapping module;
The first interface mapping module is used for:
Inquiring and acquiring the interface type of the target equipment; the interface of the target equipment is configured with an interface mapping table, and the interface mapping table comprises a plurality of interface types;
Judging whether the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, if the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, mapping and connecting, and establishing a communication channel between the access equipment and the target equipment through the interface of the mapping and connecting.
As an optional embodiment of the present application, optionally, the interface docking module includes a second interface mapping module;
The second interface mapping module is configured to:
Inquiring and acquiring the interface type of the target equipment; the interface of the target equipment is configured with an interface mapping table, and the interface mapping table comprises a plurality of interface types;
Judging whether the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, if the interface type of the access equipment is not in the mapping range of the interface mapping table of the target equipment, sending the interface type of the access equipment to a digital rural management server, and calling a virtual data interface from a pre-configured interface protocol database to be used as a temporary interface of the access equipment so as to realize interface type conversion of the access equipment;
And the access equipment establishes communication with the target equipment through the converted new interface and the corresponding interface protocol.
In another aspect of the present application, there is also provided a control system including:
A processor;
A memory for storing processor-executable instructions;
The processor is configured to implement the above-mentioned digital country management method based on the internet of things when executing the executable instructions.
The invention has the technical effects that:
The application obtains the interface information of the access equipment; analyzing the interface information to obtain the interface type and protocol information of the access equipment; judging whether the interface type is in the interface mapping range of the target equipment or not: if yes, establishing communication between the access equipment and the target equipment according to the protocol information; and if not, carrying out type conversion on the interface type of the access equipment according to the interface type of the target equipment, and establishing communication between the access equipment and the target equipment according to protocol information corresponding to the converted interface type. The method can comprehensively control and switch the access types of interfaces of the hardware and software equipment in the digital village, avoid the problem of interface mismatch caused by inconsistent equipment, avoid information interaction and transmission, overcome the barriers of data transmission and sharing to the greatest extent, and improve the utilization rate of the existing equipment in the digital village. And integrating the interface types of the access devices accessed to the digital rural management platform, so that communication barriers are avoided between the access devices.
Other features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments, features and aspects of the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a schematic flow chart of an implementation of the digital rural management method based on the internet of things;
FIG. 2 is a schematic diagram of an application system for the digital rural platform of the present invention;
Fig. 3 is a schematic diagram of data transmission formats of an access device and a target device according to the present invention;
FIG. 4 is a schematic diagram of a timeline of interface information recorded in accordance with a tree form of the present invention;
fig. 5 shows a schematic diagram of an interface mapping between an access device and a target device according to the present invention.
Detailed Description
Various exemplary embodiments, features and aspects of the disclosure will be described in detail below with reference to the drawings. In the drawings, like reference numbers indicate identical or functionally similar elements. Although various aspects of the embodiments are illustrated in the accompanying drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
The word "exemplary" is used herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
In addition, numerous specific details are set forth in the following detailed description in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements, and circuits well known to those skilled in the art have not been described in detail in order not to obscure the present disclosure.
In this embodiment, the access device may be any one side device that needs to send data, and its interface type may be agreed by the digital rural platform; the target device, which is also a platform for accessing the digital rural platform, forms two subjects of information interaction with the access device. In this embodiment, the access device is used as a transmitting end, the target device is used as a receiving end, the access device communicates with the target device through the interface, and initiates data interaction, and the interaction logic is controlled by the digital rural management server in the digital rural platform, and the specific logic algorithm is not limited in this embodiment.
Examples
As shown in fig. 1, in one aspect of the present application, a digital country management method based on the internet of things is provided, including the following steps:
s1, acquiring interface information of access equipment;
As shown in fig. 2, when the target device has access to the digital rural platform, its interface information can be managed by a management server of the digital rural (digital rural management server). The interface compatible format of the target device can be stored in the management server in advance, and the management server obtains the interface type of the device after the access device is connected to the access platform.
As shown in fig. 3, the interface types of the access device may generally include centralized interface forms, such as TYPE, USB, SI interfaces, D-Sub, TIA, and the like, and the target device may also be compatible with interface types of multiple formats.
As an optional embodiment of the present application, optionally, the obtaining interface information of the access device includes:
Logging in a digital village management server;
Inquiring and acquiring equipment information of each access equipment accessed to the digital rural management server in real time through the digital rural management server;
the device information is exported, classified management is carried out on the device information, device interface information of each access device is obtained, the device interface information is compressed, and an interface information compressed packet is obtained;
Configuring real-time clock information for each interface information compression packet and storing the real-time clock information in the digital rural management server;
Wherein the queried access device is a device not in a digital country management state; each access device is equipped with several interface types and corresponding interface communication protocols.
The access device is accessed to the rural platform, the interface information of the access device is acquired by the server, the device information of each access device can be known, the device information is compressed and stored in a one-to-one correspondence mode after being managed and classified, in order to facilitate understanding of the access time of each access device, clock information is configured for each stored device information compression packet, real-time understanding of the access time of each device is facilitated, and the access time, the running time and the like of the device are facilitated to be known from the background of the server. The configuration of the clock information can be realized by adopting a mode that the system marks the time for the compressed package, and can also be marked by adopting a mode that a clock module records.
In this embodiment, the queried access device is a device not in the digital rural management state, and the accessed device is a device with an interface type matched with the target device, so that the device with unsuccessful access needs to be screened out to perform interface matching and conversion processing. Each access device is equipped with several interface types and corresponding interface communication protocols. Different interfaces communicate by adopting different protocols, and data transmission is performed based on the consistency of the protocols.
After the equipment is successfully docked, the digital platform can also distribute authentication information/values for the access equipment through a blockchain encryption technology for encrypted communication between the access equipment and the target equipment.
S2, analyzing the interface information to obtain the interface type and protocol information of the access equipment;
As an optional implementation manner of the present application, optionally, analyzing the device interface information to obtain the interface type and protocol information of the device includes:
acquiring an interface information compression packet of each access device;
analyzing the interface information compression packet to obtain the interface type and protocol information of the access equipment;
and writing the interface type and the protocol information of the access equipment into a preset tree-shaped table in sequence according to the clock sequence.
And analyzing the compressed packet to obtain the interface type and protocol information of each access device, and knowing the interface type of the current access device and the corresponding configured communication protocol. As shown in fig. 4, after the analysis, each access device is arranged according to the time sequence, and the interface type and protocol information of the access device are written in the tree form table of the time axis according to the time sequence. The tree form table, the father node is the type of each access device, the child node is used for saving the interface type and protocol information, and the tree form table is not limited in detail.
S3, judging whether the interface type is in an interface mapping range of the target equipment or not:
if yes, establishing communication between the access equipment and the target equipment according to the protocol information;
And if not, carrying out type conversion on the interface type of the access equipment according to the interface type of the target equipment, and establishing communication between the access equipment and the target equipment according to protocol information corresponding to the converted interface type.
As shown in fig. 2, an access device has its own interface format and corresponding communication protocol, and as such, the target device has its own interface format and corresponding communication protocol. When the access equipment and the target equipment have the same interface format and the corresponding communication protocol, a communication channel can be established between the access equipment and the target equipment, data interaction is carried out, and information sharing is achieved.
When the server knows the interface type, it builds the mapping table by mapping mode, and judges the interface type by the mapping table to see if the format matches the interface type mapping table of the target device. The mapping table is used for matching the interface type of the access device and judging the format type of the access port of the target device.
As shown in fig. 5, the interface mapping table may perform a matching determination on the interface type between the access device and the target device.
As an optional embodiment of the present application, optionally, it is determined whether the interface type is within an interface mapping range of the target device: if yes, establishing communication between the access device and the target device according to the protocol information, including:
Inquiring and acquiring the interface type of the target equipment; the interface of the target equipment is configured with an interface mapping table, and the interface mapping table comprises a plurality of interface types;
Judging whether the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, if the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, mapping and connecting, and establishing a communication channel between the access equipment and the target equipment through the interface of the mapping and connecting.
In this embodiment, for example, the interface type of the access device is a USB interface format (B1), the server executes a type judgment program, and discovers that the target device (B2) can access the data format of the USB from the interface mapping table, and indicates that the interface type of the access device matches the access type of the target device, and the access is passed. The interface mapping table is in principle built and configured in advance in the server, preferably for the target device (infrastructure) configuration. When the access equipment is accessed, judging whether the interface type is in the type range of the interface mapping table, if yes, mapping and connecting, and carrying out data communication by using an interface protocol.
In this embodiment, the method for constructing the interface mapping table is not limited in this embodiment.
As an optional embodiment of the present application, optionally, it is determined whether the interface type is within an interface mapping range of the target device: if not, performing type conversion on the interface type of the access device according to the interface type of the target device, including:
Inquiring and acquiring the interface type of the target equipment; the interface of the target equipment is configured with an interface mapping table, and the interface mapping table comprises a plurality of interface types;
Judging whether the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, if the interface type of the access equipment is not in the mapping range of the interface mapping table of the target equipment, sending the interface type of the access equipment to a digital rural management server, and calling a virtual data interface from a pre-configured interface protocol database to be used as a temporary interface of the access equipment so as to realize interface type conversion of the access equipment;
And the access equipment establishes communication with the target equipment through the converted new interface and the corresponding interface protocol.
Similarly, if the interface type of the access device is USB interface format (B1), the access format of the target device is SI format (C2) found from the interface mapping table, and the mapping matching connection cannot be mapped for communication. At this time, it is necessary to configure a virtual interface type that can communicate with the access format of the target device in SI format (C2) for the access device through the management server in case authentication verification of the access device is successful. Communication between the access device and the target device is achieved through a virtual interface (C1).
The manner of configuring the virtual interface in the server, such as the manner of an API, is determined by the virtual hardware condition supported by the platform, and is configured and supported by the platform, which is not limited in this embodiment.
And when the interface type of the access equipment is found not to be in the mapping range of the interface mapping table of the target equipment, the interface type of the access equipment is sent to a digital rural management server, and the digital rural management server calls a virtual data interface from a pre-configured interface protocol database (priority virtual interface) to be used as a temporary interface of the access equipment so as to realize the interface type conversion of the access equipment.
Therefore, by adopting the mode, the equipment applied to the management range of the digital village can realize digital sharing and equipment intercommunication.
It should be noted that, although the matching method of the above interface format is described by taking USB as an example, those skilled in the art will understand that the present disclosure should not be limited thereto. In fact, the user can flexibly set the interface format according to the actual application scene, so long as the technical function of the application can be realized according to the technical method.
Examples
Based on the implementation principle of embodiment 1, in another aspect, the present application provides an apparatus for implementing the above-mentioned digital country management method based on the internet of things, including:
the interface information acquisition module is used for acquiring interface information of the access equipment;
The analysis module is used for analyzing the interface information and obtaining the interface type and protocol information of the access equipment;
the interface docking module is used for judging whether the interface type is in the interface mapping range of the target equipment or not:
if yes, establishing communication between the access equipment and the target equipment according to the protocol information;
And if not, carrying out type conversion on the interface type of the access equipment according to the interface type of the target equipment, and establishing communication between the access equipment and the target equipment according to protocol information corresponding to the converted interface type.
As an optional embodiment of the present application, optionally, the interface information obtaining module includes:
the login module is used for logging in the digital rural management server;
The calling module is used for inquiring and acquiring the equipment information of each access equipment accessed to the digital rural management server in real time through the digital rural management server;
The compression module is used for exporting the equipment information, classifying and managing the equipment information to obtain the equipment interface information of each access equipment, and compressing the equipment interface information to obtain an interface information compression packet;
The clock module is used for configuring real-time clock information for each interface information compression packet and storing the real-time clock information in the digital rural management server;
Wherein the queried access device is a device not in a digital country management state; each access device is equipped with several interface types and corresponding interface communication protocols.
As an optional embodiment of the present application, optionally, the interface docking module includes a first interface mapping module;
The first interface mapping module is used for:
Inquiring and acquiring the interface type of the target equipment; the interface of the target equipment is configured with an interface mapping table, and the interface mapping table comprises a plurality of interface types;
Judging whether the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, if the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, mapping and connecting, and establishing a communication channel between the access equipment and the target equipment through the interface of the mapping and connecting.
As an optional embodiment of the present application, optionally, the interface docking module includes a second interface mapping module;
The second interface mapping module is configured to:
Inquiring and acquiring the interface type of the target equipment; the interface of the target equipment is configured with an interface mapping table, and the interface mapping table comprises a plurality of interface types;
Judging whether the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, if the interface type of the access equipment is not in the mapping range of the interface mapping table of the target equipment, sending the interface type of the access equipment to a digital rural management server, and calling a virtual data interface from a pre-configured interface protocol database to be used as a temporary interface of the access equipment so as to realize interface type conversion of the access equipment;
And the access equipment establishes communication with the target equipment through the converted new interface and the corresponding interface protocol.
For a specific application principle of each module described above, see the description of embodiment 1.
It should be apparent to those skilled in the art that the implementation of all or part of the above-described embodiments of the method may be implemented by a computer program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, and the program may include the steps of the embodiments of the control methods described above when executed. The modules or steps of the invention described above may be implemented in a general-purpose computing device, they may be centralized in a single computing device, or distributed across a network of computing devices, or they may alternatively be implemented in program code executable by a computing device, such that they may be stored in a memory device and executed by a computing device, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
It will be appreciated by those skilled in the art that implementing all or part of the above-described embodiment methods may be implemented by a computer program for instructing relevant hardware, and the program may be stored in a computer readable storage medium, and the program may include the embodiment flow of each control method as described above when executed. The storage medium may be a magnetic disk, an optical disk, a Read-only memory (ROM), a random access memory (RandomAccessMemory, RAM), a flash memory (flash memory), a hard disk (HARDDISKDRIVE, abbreviated as HDD), a Solid state disk (Solid-state STATEDRIVE, SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Examples
Still further, another aspect of the present application provides a control system, including:
A processor;
A memory for storing processor-executable instructions;
The processor is configured to implement the above-mentioned digital country management method based on the internet of things when executing the executable instructions.
Embodiments of the present disclosure control a system that includes a processor and a memory for storing processor-executable instructions. The processor is configured to implement any one of the above-described digital country management methods based on the internet of things when executing the executable instructions.
Here, it should be noted that the number of processors may be one or more. Meanwhile, in the control system of the embodiment of the present disclosure, an input device and an output device may be further included. The processor, the memory, the input device, and the output device may be connected by a bus, or may be connected by other means, which is not specifically limited herein.
The memory is a computer-readable storage medium that can be used to store software programs, computer-executable programs, and various modules, such as: the embodiment of the disclosure relates to a program or a module corresponding to a digital village management method based on the Internet of things. The processor executes various functional applications and data processing of the control system by running software programs or modules stored in the memory.
The input device may be used to receive an input number or signal. Wherein the signal may be a key signal generated in connection with user settings of the device/terminal/server and function control. The output means may comprise a display device such as a display screen.
The foregoing description of the embodiments of the present disclosure has been presented for purposes of illustration and description, and is not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the various embodiments described. The terminology used herein was chosen in order to best explain the principles of the embodiments, the practical application, or the technical improvement of the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (8)

1. The digital village management method based on the Internet of things is characterized by comprising the following steps of:
Acquiring interface information of access equipment;
Analyzing the interface information to obtain the interface type and protocol information of the access equipment;
judging whether the interface type is in the interface mapping range of the target equipment or not:
if yes, establishing communication between the access equipment and the target equipment according to the protocol information;
If not, performing type conversion on the interface type of the access device according to the interface type of the target device, and establishing communication between the access device and the target device according to protocol information corresponding to the converted interface type, including:
Inquiring and acquiring the interface type of the target equipment; the interface of the target equipment is configured with an interface mapping table, and the interface mapping table comprises a plurality of interface types;
judging whether the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, if the interface type of the access equipment is not in the mapping range of the interface mapping table of the target equipment, sending the interface type of the access equipment to a digital rural management server, and calling a virtual data interface from a pre-configured interface protocol database to be used as a temporary interface of the access equipment so as to realize interface type conversion of the access equipment; and the access equipment establishes communication with the target equipment through the converted new interface and the corresponding interface protocol.
2. The method for managing digital villages based on the internet of things according to claim 1, wherein the obtaining the interface information of the access device comprises:
Logging in a digital village management server;
Inquiring and acquiring equipment information of each access equipment accessed to the digital rural management server in real time through the digital rural management server;
the device information is exported, classified management is carried out on the device information, device interface information of each access device is obtained, the device interface information is compressed, and an interface information compressed packet is obtained;
Configuring real-time clock information for each interface information compression packet and storing the real-time clock information in the digital rural management server;
Wherein the queried access device is a device not in a digital country management state; each access device is equipped with several interface types and corresponding interface communication protocols.
3. The method for managing digital villages based on the internet of things according to claim 1, wherein analyzing the interface information of the device to obtain the interface type and protocol information of the device comprises:
acquiring an interface information compression packet of each access device;
analyzing the interface information compression packet to obtain the interface type and protocol information of the access equipment;
and writing the interface type and the protocol information of the access equipment into a preset tree-shaped table in sequence according to the clock sequence.
4. The digital rural management method based on the internet of things according to claim 1, wherein whether the interface type is within an interface mapping range of the target device is determined: if yes, establishing communication between the access device and the target device according to the protocol information, including:
Inquiring and acquiring the interface type of the target equipment; the interface of the target equipment is configured with an interface mapping table, and the interface mapping table comprises a plurality of interface types;
Judging whether the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, if the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, mapping and connecting, and establishing a communication channel between the access equipment and the target equipment through the interface of the mapping and connecting.
5. An apparatus for implementing the digital country management method based on the internet of things as set forth in any one of claims 1 to 4, comprising:
the interface information acquisition module is used for acquiring interface information of the access equipment;
The analysis module is used for analyzing the interface information and obtaining the interface type and protocol information of the access equipment;
the interface docking module is used for judging whether the interface type is in the interface mapping range of the target equipment or not: if yes, establishing communication between the access equipment and the target equipment according to the protocol information;
if not, performing type conversion on the interface type of the access equipment according to the interface type of the target equipment, and establishing communication between the access equipment and the target equipment according to protocol information corresponding to the converted interface type;
the interface docking module comprises:
A second interface mapping module;
The second interface mapping module is configured to:
Inquiring and acquiring the interface type of the target equipment; the interface of the target equipment is configured with an interface mapping table, and the interface mapping table comprises a plurality of interface types;
Judging whether the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, if the interface type of the access equipment is not in the mapping range of the interface mapping table of the target equipment, sending the interface type of the access equipment to a digital rural management server, and calling a virtual data interface from a pre-configured interface protocol database to be used as a temporary interface of the access equipment so as to realize interface type conversion of the access equipment;
And the access equipment establishes communication with the target equipment through the converted new interface and the corresponding interface protocol.
6. The apparatus of claim 5, wherein the interface information acquisition module comprises:
the login module is used for logging in the digital rural management server;
The calling module is used for inquiring and acquiring the equipment information of each access equipment accessed to the digital rural management server in real time through the digital rural management server;
The compression module is used for exporting the equipment information, classifying and managing the equipment information to obtain the equipment interface information of each access equipment, and compressing the equipment interface information to obtain an interface information compression packet;
The clock module is used for configuring real-time clock information for each interface information compression packet and storing the real-time clock information in the digital rural management server;
Wherein the queried access device is a device not in a digital country management state; each access device is equipped with several interface types and corresponding interface communication protocols.
7. The apparatus of claim 5, wherein the interface docking module comprises:
a first interface mapping module;
The first interface mapping module is used for:
Inquiring and acquiring the interface type of the target equipment; the interface of the target equipment is configured with an interface mapping table, and the interface mapping table comprises a plurality of interface types;
Judging whether the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, if the interface type of the access equipment is in the mapping range of the interface mapping table of the target equipment, mapping and connecting, and establishing a communication channel between the access equipment and the target equipment through the interface of the mapping and connecting.
8. A control system, comprising:
A processor;
A memory for storing processor-executable instructions;
Wherein the processor is configured to implement the digital country management method based on the internet of things of any one of claims 1 to 4 when executing the executable instructions.
CN202211475200.3A 2022-11-23 2022-11-23 Digital rural management method, device and control system based on Internet of things Active CN115842869B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211475200.3A CN115842869B (en) 2022-11-23 2022-11-23 Digital rural management method, device and control system based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211475200.3A CN115842869B (en) 2022-11-23 2022-11-23 Digital rural management method, device and control system based on Internet of things

Publications (2)

Publication Number Publication Date
CN115842869A CN115842869A (en) 2023-03-24
CN115842869B true CN115842869B (en) 2024-07-12

Family

ID=85575936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211475200.3A Active CN115842869B (en) 2022-11-23 2022-11-23 Digital rural management method, device and control system based on Internet of things

Country Status (1)

Country Link
CN (1) CN115842869B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979212A (en) * 2022-05-23 2022-08-30 京东方科技集团股份有限公司 Method, device and system for constructing proxy service for device access to Internet of Things platform

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060245533A1 (en) * 2005-04-28 2006-11-02 Arad Rostampour Virtualizing UART interfaces
DE102006059109A1 (en) * 2006-12-08 2008-06-12 Siemens Ag Arrangement for transmitting of data between control equipment and electrical equipment, has two control equipment and connecting mechanism connects electrical equipment over interfaces with control equipments
CN102136933B (en) * 2010-09-30 2013-08-28 华为技术有限公司 Equipment management method, middleware and machine communication platform, equipment and system
US9946565B2 (en) * 2015-06-30 2018-04-17 Vmware, Inc. Management of cloud-computing facility through a virtual infrastructure management server
WO2020014854A1 (en) * 2018-07-17 2020-01-23 大族激光科技产业集团股份有限公司 Bus communication signal conversion method and apparatus, medium, and numerical control machine tool control device
CN111585796B (en) * 2020-04-27 2022-06-21 青岛海信宽带多媒体技术有限公司 Interface switching method, message transmission method and gateway equipment
CN112087588A (en) * 2020-08-10 2020-12-15 西安万像电子科技有限公司 Interface conversion method and interface converter
CN112115190B (en) * 2020-08-20 2022-11-18 苏宁云计算有限公司 Method, device and system for converting interface message
CN112667720A (en) * 2020-12-28 2021-04-16 平安普惠企业管理有限公司 Conversion method, device, equipment and storage medium of interface data model

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979212A (en) * 2022-05-23 2022-08-30 京东方科技集团股份有限公司 Method, device and system for constructing proxy service for device access to Internet of Things platform

Also Published As

Publication number Publication date
CN115842869A (en) 2023-03-24

Similar Documents

Publication Publication Date Title
CN110061871B (en) Base station opening method and device, computer storage medium and equipment
CN110875850B (en) Firmware upgrading method and system, readable storage medium and terminal equipment
US20170163478A1 (en) Method,electronic device and system for updating client configuration in key-value pair database
CN112702213A (en) Network function NF management method and NF management equipment
CN113746692A (en) Network flow statistical method, electronic equipment and storage medium
CN112689316B (en) Binding method and device of intelligent equipment, storage medium and electronic device
CN114339719A (en) DPI data acquisition method and related device
US11770458B1 (en) Systems for exchanging data using intermediate devices
WO2019085723A1 (en) Wireless access authentication method
CN110601938A (en) Intelligent household appliance unique identification code writing method, network terminal device and system
CN110198533B (en) Method for remotely controlling BLE Bluetooth device and BLE Bluetooth device
CN115842869B (en) Digital rural management method, device and control system based on Internet of things
CN110077336A (en) Vehicle netbios
US11411797B2 (en) Device management method and related device
CN110430478B (en) Networking communication method, device, terminal equipment and storage medium
CN112788576A (en) Equipment offline processing method and system, storage medium and electronic device
CN109068343B (en) Base station opening method and device, computer storage medium and equipment
CN111914296A (en) Multi-platform authority unified management method, device, terminal and storage medium
CN111611134A (en) Time monitoring method and device, application terminal and storage medium
CN114978950B (en) Network algorithm calling method and system based on FPGA and CPU cooperation
CN111339189A (en) Data processing method and device and computer readable storage medium
CN114338271A (en) Data processing method, device, terminal and computer readable storage medium
CN113434190B (en) Data processing method and device, storage medium and electronic equipment
CN116980286A (en) Device configuration method, device control method, storage medium, and terminal
WO2021155529A1 (en) Resource deletion method, apparatus, and device, and storage medium

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