CN213586317U - Gateway and electronic equipment - Google Patents

Gateway and electronic equipment Download PDF

Info

Publication number
CN213586317U
CN213586317U CN202023198971.1U CN202023198971U CN213586317U CN 213586317 U CN213586317 U CN 213586317U CN 202023198971 U CN202023198971 U CN 202023198971U CN 213586317 U CN213586317 U CN 213586317U
Authority
CN
China
Prior art keywords
module
data
gateway
processing module
user software
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
CN202023198971.1U
Other languages
Chinese (zh)
Inventor
李冉冉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Hongxun Software Development Co ltd
Original Assignee
Ningbo Hongxun Software Development 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 Ningbo Hongxun Software Development Co ltd filed Critical Ningbo Hongxun Software Development Co ltd
Priority to CN202023198971.1U priority Critical patent/CN213586317U/en
Application granted granted Critical
Publication of CN213586317U publication Critical patent/CN213586317U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The utility model discloses a gateway and electronic equipment, including communication module and processing module, wherein communication module is used for gathering the first data of node equipment, and processing module carries out the coding to the first data of node equipment and handles in order to send to user software to the second data that sends user software decodes the processing and in order to send to the node equipment that corresponds with the second equipment. It can be seen that, in the application, in consideration of the fact that the types of the first data of the node device and the data which can be identified by the user software may be different, the processing module is provided, the processing module can encode the first data of the node device, and can format the first data into data which can be identified by the user software through encoding, so that the first data can be directly uploaded to the user software, and the second data sent by the user software can also be decoded and sent to the node device corresponding to the second data, a server is not required to be used, and the dependency on the server is avoided.

Description

Gateway and electronic equipment
Technical Field
The utility model relates to the field of communication, especially, relate to a gateway and electronic equipment.
Background
The gateway in the prior art is a communication bridge between the node device and the server, and specifically, the gateway collects data of the node device and uploads the data to the server, and the server performs formatting processing on the received data and then uploads the data to the user software. However, in the prior art, the gateway can only collect and pack data of the node device, and then upload the data to the user software after formatting processing is performed by the server, so that the gateway has high dependency on the server. If the data of the node device is not uploaded to the server and is directly uploaded to the user software, the data of the node device cannot be formatted, at this time, the user software may not recognize the received data of the node device because the data of the node device and the data of the user software can be recognized in different formats, for example, the user software generally recognizes only the data uploaded in the TCPIP format, but the collected data of the node device is not necessarily in the format, and at this time, the data of the node device cannot be processed. Therefore, the gateway in the prior art has high dependency on the server, and if only one node device needs to be subjected to data acquisition in a large area, a corresponding server needs to be set, so that the cost is high.
SUMMERY OF THE UTILITY MODEL
The utility model aims at providing a gateway and electronic equipment can carry out the coding to node equipment's first data and handle, can be with the first data formatting into the recognizable data of user software through the code to can be directly upload user software with first data, and also can decode the second data that user software sent and send to the node equipment that corresponds with second data, need not use the server, avoided the dependency to the server.
In order to solve the technical problem, the utility model provides a gateway, include:
the communication module is used for acquiring first data of the node equipment, transmitting the encoded first data to user software and transmitting the decoded second data to the node equipment corresponding to the second data;
the processing module is connected with the communication module and is used for encoding the first data and sending the first data to user software; and decoding second data sent by the user software and sending the second data to the node equipment corresponding to the second data through the communication module.
Preferably, the method further comprises the following steps:
and the storage module is connected with the processing module and is used for storing the first data, the encoded first data, the second data and the decoded second data.
Preferably, the method further comprises the following steps:
and the position detection module is connected with the processing module and is used for positioning the position of the gateway and sending the position information to the processing module and/or the communication module so that the processing module and/or the communication module can send the position information to the user software.
Preferably, the processing module is a Micro Control Unit (MCU).
Preferably, the communication module comprises one or more of a combination of a LoRa module, a WI-Fi module, a 4G module, a 5G module, an Ethernet module and a reservation extension module.
Preferably, the method further comprises the following steps:
and the power supply module is respectively connected with the power supply end of the communication module and the power supply end of the processing module and is used for supplying power to the communication module and the processing module.
Preferably, the power supply module includes:
the direct current input interface is used for transmitting external direct current to the conversion module;
and the conversion module is used for converting the voltage of the direct current to supply power for the communication module and the processing module.
Preferably, the power supply module further includes:
the rechargeable power supply is connected with the direct current input interface at one end and the conversion module at the other end and is used for charging the converter module through the direct current input interface when direct current is input; and when no direct current input exists, the conversion module supplies power to the communication module and the processing module.
Preferably, the power supply module further includes:
one end of the charging management module is connected with the rechargeable power supply, and the other end of the charging management module is connected with the processing module and used for detecting the electric quantity of the rechargeable power supply and sending charging reminding information to the processing module when the electric quantity is lower than the preset electric quantity.
In order to solve the technical problem, the application further provides an electronic device, which includes the gateway.
The application provides a gateway, which comprises a communication module and a processing module, wherein the communication module is used for collecting first data of node equipment, the processing module is used for coding the first data of the node equipment so as to send the first data to user software, and decoding second data sent by the user software so as to send the second data to the node equipment corresponding to the second equipment. It can be seen that, in the application, in consideration of the fact that the types of the first data of the node device and the data which can be identified by the user software may be different, the processing module is provided, the processing module can encode the first data of the node device, and can format the first data into data which can be identified by the user software through encoding, so that the first data can be directly uploaded to the user software, and the second data sent by the user software can also be decoded and sent to the node device corresponding to the second data, a server is not required to be used, and the dependency on the server is avoided.
The application also provides an electronic device, which has the same beneficial effects as the gateway described above.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required in the prior art and the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a block diagram of a gateway according to the present invention;
fig. 2 is a block diagram of another gateway according to the present invention.
Detailed Description
The core of the utility model is to provide a gateway and electronic equipment, can carry out the coding to node equipment's first data and handle, can be with the data that first data formatting becomes user software discernable through the code to can be directly upload user software with first data, and also can decode the second data that user software sent and send to the node equipment who corresponds with the second data, need not use the server, avoided the dependency to the server.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a block diagram of a gateway according to the present invention, the gateway includes:
the communication module 1 is used for collecting first data of the node equipment, sending the coded first data to user software, and sending decoded second data to the node equipment corresponding to the second data;
the processing module 2 is connected with the communication module 1 and is used for encoding the first data and sending the first data to the user software; and decoding the second data sent by the user software and sending the second data to the node equipment corresponding to the second data through the communication module 1.
The gateway in the prior art can only collect and pack data of each node device, but cannot format the collected data of the node devices, after the gateway collects and packs the data of the node devices, the data is transmitted to the server in a wired or wireless mode, so that the server formats the data, formats the data of the node devices into a data format which can be identified and processed by user software, and then transmits the formatted data to the user software.
The design idea of the application is to set a module in the gateway so that the module can format the collected data, and therefore the data after the formatting can be directly transmitted to the user software, and the data transmission between the node equipment and the user software can be realized without using a server.
Based on this, the processing module 2 is arranged in the gateway, and the processing module 2 can perform encoding processing (also called formatting processing) on first data (also called data of the node device acquired by the communication module 1), encode the first data into a data format that can be recognized and processed by user software, so that the first data can be directly transmitted to the user software. Therefore, in the application, the encoding of the first data and the decoding of the second data can be realized by arranging the processing module 2, and then the direct transmission between the gateway and the user software is realized by the communication module 1 without using a server, so that the cost is saved.
It should be noted that, the gateway in the present application may collect data of the node device in a wired or wireless manner, or may perform data interaction with the user software through wired or wireless data, which is determined according to an actual situation and a type of the node device, and the present application is not limited herein.
In addition, the user software in the present application may be mobile phone software or a platform system, which may monitor the first data and the working state of each node device, and may control each node device through a gateway or analyze the first data of each node device and then control the working state of each node device.
It can be seen that, in the application, in consideration of the fact that the types of the first data of the node device and the data which can be identified by the user software may be different, the processing module 2 is provided, the processing module 2 can encode the first data of the node device, and the first data can be formatted into data which can be identified by the user software through encoding, so that the first data can be directly uploaded to the user software, and the second data sent by the user software can also be decoded and sent to the node device corresponding to the second data, a server is not needed, and the dependency on the server is avoided.
On the basis of the above-described embodiment:
referring to fig. 2, fig. 2 is a block diagram of another gateway according to the present invention.
As a preferred embodiment, the method further comprises the following steps:
and the storage module 3 is connected with the processing module 2 and is used for storing the first data, the encoded first data, the second data and the decoded second data.
Considering that when the processing module 2 directly processes data, since the storage space of the processing module 2 itself is limited, if the storage module 3 of the processing module 2 itself is used, the space of the processing module 2 for processing data may be small, thereby affecting the data processing capability and rate of the processing module 2, such as the data processing rate of the processing module 2 is reduced.
In order to solve the technical problem, in the gateway of the present application, a storage module 3 is additionally arranged, the first data encoded by the processing module 2 is stored in the storage module 3, the storage capability of the gateway is increased, and the storage space of the processing module 2 is released, so that the processing module 2 has a larger storage space for data processing, and the data processing speed of the processing module 2 is increased.
It should be noted that, the storage module 3 in this application may further store communication parameters corresponding to the node devices, for example, the communication parameters are data formats that can be processed by the plurality of node devices respectively, so as to facilitate decoding the second data and transmitting the second data to the corresponding node devices.
In addition, storage module 3 in this application can be for having the storage module 3 of hot cache function, can be automatically with the hot data cache that the access performance required height at local, will postpone insensitive cold data to upload to the high in the clouds and preserve, realizes the cold and hot separation to data, simultaneously, when cold and hot data proportion changes, can expand or contract the proportion of the data of local buffer and high in the clouds storage as required at any time, reduces use cost.
In summary, the independent storage module 3 is arranged, so that the storage capacity of the gateway is increased, and the storage space of the processing module 2 is released, so as to improve the data processing rate of the processing module 2.
As a preferred embodiment, the method further comprises the following steps:
and the position detection module 4 is connected with the processing module 2 and is used for positioning the position of the gateway and sending the position information to the processing module 2 and/or the communication module 1 so that the processing module 2 and/or the communication module 1 sends the position information to the user software.
In consideration of the fact that the gateway can not be normally used due to the fact that the gateway possibly breaks down, in order to enable workers to find out the broken gateway conveniently, the position detection module 4 is further arranged and used for locating the position of the gateway and sending the position information to the processing module 2 and/or the communication module 1, then the processing module 2 and/or the communication module 1 sends the position information to the user software, and therefore when the gateway breaks down, the user software can obtain the position information of the gateway, and the broken gateway can be maintained in time.
It should be noted that the position detection module 4 may include, but is not limited to, a GPS (Global Positioning System) module or a GPRS (General packet radio service) module, and the like, and the present application is not limited thereto.
It can be seen that this application can realize the accurate location to the gateway through setting up position detection module 4, when the gateway breaks down, is convenient for fix a position the gateway to in time maintain or change etc. the gateway of trouble.
As a preferred embodiment, the processing module 2 is an MCU (micro controller Unit).
This embodiment aims at providing a processing module 2's concrete implementation, specifically, processing module 2 in this application is MCU, and MCU passes through the procedure and can realize processing module 2's in this application function, and MCU's cost and volume are all less, and the simple easily realization of connected mode.
Of course, the processing module 2 in the present application is not limited to be an MCU, and may also be other devices that can implement the functions of the processing module 2 in the present application, and the present application is not limited thereto.
As a preferred embodiment, the communication module 1 includes one or more of a LoRa module, a WI-Fi module, a 4G module, a 5G module, an Ethernet module, and a reservation extension module.
The embodiment aims to provide a specific implementation manner of the communication module 1, and specifically, the communication module includes one or more combinations of a LoRa module, a WI-Fi module, a 4G module, a 5G module, an Ethernet module and a reserved expansion module, wherein when the communication module 1 includes the LoRa module, the LoRa module communicates with first data of a node device for acquiring LoRa through a LoRa radio frequency, and when the LoRa module is used for data transmission, the communication module has the advantages of long transmission distance and low power consumption. Of course, the data of the corresponding node device can be acquired through the WI-Fi module, the 4G module, the 5G module, the Ethernet module and the reserved expansion module, so that various communication modes are provided, and the types of data which can be acquired and processed by the gateway are improved. In addition, the communication module 1 can also transmit the encoded data to the user software through the WI-Fi module, the 4G module, the 5G module, the Ethernet module and the reservation extension module. Therefore, the communication module 1 in the application can communicate in multiple communication modes, diversity of node equipment capable of being collected is improved, reliability of data transmission is guaranteed, and user experience is improved.
As a preferred embodiment, the method further comprises the following steps:
and the power supply module 5 is respectively connected with the power supply end of the communication module 1 and the power supply end of the processing module 2 and is used for supplying power to the communication module 1 and the processing module 2.
In order to guarantee the stability of gateway power supply, this application has still set up solitary power module 5, for communication module 1 and processing module 2 power supply, to the concrete implementation of power module 5 in this application, this application no longer prescribes a limit, as long as can satisfy to processing module 2 and communication module 1 power supply can.
In addition, when the gateway in the present application further includes the storage module 3 and the position detection module 4, the power module 5 in the present application also supplies power to the storage module 3 and the position detection module 4.
Therefore, the unified power supply module 5 is used for supplying power to all modules in the gateway, and the reliability of power supply is improved.
As a preferred embodiment, the power supply module 5 includes:
the direct current input interface is used for transmitting external direct current to the conversion module;
and the conversion module is used for converting the voltage of the direct current to supply power for the communication module 1 and the processing module 2.
The embodiment aims to provide a specific implementation manner of the power module 5, specifically, the energy-carrying module includes a dc input interface and a conversion module, and is configured to use external dc to supply power to the communication module 1 and the processing module 2, and considering that the voltage of the dc may be different from the voltage required by the processing module 2 and the communication module 1, the conversion module is further configured to convert the voltage of the dc to supply power to the communication module 1 and the processing module 2, so as to prevent the communication module and the processing module 2 from being unable to work or being damaged due to the fact that the voltage of the dc is not consistent with the voltages of the communication module 1 and the processing module 2.
It can be seen that, through the specific implementation manner of the power module 5 in this embodiment, power supply to the communication module 1 and the processing module 2 can be realized, the safety and reliability of power supply are ensured, and the communication module 1 and the processing module 2 are prevented from being damaged.
As a preferred embodiment, the power module 5 further includes:
the rechargeable power supply is connected with the direct current input interface at one end and the conversion module at the other end and is used for charging the rechargeable power supply through the direct current input interface when direct current is input; when no direct current input exists, the power is supplied to the communication module 1 and the processing module 2 through the conversion module.
Considering that if the gateway can only supply power to the communication module 1 and the processing module 2 in the gateway through the direct current, the gateway has a high requirement on an operation site, and needs to be connected with a fixed power socket to obtain stable direct current to supply power to the gateway, that is, the gateway needs to be arranged near the power socket, so that the installation position cannot be flexibly changed, and inconvenience is brought to a user.
In order to solve the technical problem, the power module 5 in the present application is further provided with a rechargeable power supply, and when the direct current is input, the rechargeable power supply can be charged through the direct current input interface to keep sufficient electric quantity at the moment of the rechargeable power supply; when no direct current input is available, the communication module 1 and the processing module 2 are powered by the rechargeable power supply, so that the gateway can be normally used at a position far away from a power socket.
Of course, the rechargeable power source in the present application may be, but is not limited to, a battery, and the material of the battery may be, but is not limited to, a lithium battery, and the present application is not limited thereto.
Therefore, the gateway in the application can supply power to the gateway by using direct current and also can supply power to the gateway by using a rechargeable power supply, so that the flexibility of the installation position of the gateway is improved, and the gateway is convenient for users to use.
As a preferred embodiment, the power module 5 further includes:
the charging management module is connected with the rechargeable power supply at one end and the processing module 2 at the other end, and is used for detecting the electric quantity of the rechargeable power supply and sending charging reminding information to the processing module 2 when the electric quantity is lower than the preset electric quantity.
When the power module 5 includes the rechargeable power supply, the user can conveniently know the electric quantity of the rechargeable power supply in time, so that the situation that the electric quantity of the rechargeable power supply is too low to supply power to the communication module 1 and the processing module 2 in the gateway, and the normal use of the gateway is influenced is avoided.
In order to solve the technical problem, the power module 5 of the present application further includes a charging management module, which detects the electric quantity of the rechargeable power supply, and sends charging reminding information to the processing module 2 when the electric quantity of the rechargeable power supply is lower than a preset electric quantity, so that the processing module 2 sends the charging reminding information to the user software to remind the user of charging the rechargeable power supply in the gateway.
It should be noted that the preset electric quantity in the present application may be 0% or 10%, and the present application is not particularly limited herein.
Therefore, the charging management module in the application can detect the electric quantity of the rechargeable power supply, so that the electric quantity of the rechargeable power supply is sufficient, the gateway is prevented from being incapable of being used due to insufficient electric quantity, and the use feeling of a user is improved.
In addition, the charging management module in the present application may also send the charging completion information to the processing module 2 when the electric quantity of the rechargeable power supply is higher than another preset electric quantity, so that the processing module 2 sends the charging completion information to the user software, so that the user knows the charging completion state of the rechargeable power supply.
In order to solve the technical problem, the application further provides an electronic device, which includes the gateway.
The utility model also provides an electronic equipment, please refer to above-mentioned embodiment to electronic equipment's introduction, itself please not redundantly here.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A gateway, comprising:
the communication module is used for acquiring first data of the node equipment, transmitting the encoded first data to user software and transmitting the decoded second data to the node equipment corresponding to the second data;
the processing module is connected with the communication module and is used for encoding the first data and sending the first data to the user software; and decoding the second data sent by the user software and sending the second data to the node equipment corresponding to the second data through the communication module.
2. The gateway of claim 1, further comprising:
and the storage module is connected with the processing module and is used for storing the first data, the encoded first data, the second data and the decoded second data.
3. The gateway of claim 1, further comprising:
and the position detection module is connected with the processing module and is used for positioning the position of the gateway and sending the position information to the processing module and/or the communication module so that the processing module and/or the communication module can send the position information to the user software.
4. The gateway of claim 1, wherein the processing module is a Micro Control Unit (MCU).
5. The gateway of claim 1, wherein the communication module comprises a combination of one or more of a LoRa module, a WI-Fi module, a 4G module, a 5G module, an Ethernet module, and a reservation extension module.
6. The gateway according to any of claims 1-5, further comprising:
and the power supply module is respectively connected with the power supply end of the communication module and the power supply end of the processing module and is used for supplying power to the communication module and the processing module.
7. The gateway of claim 6, wherein the power module comprises:
the direct current input interface is used for transmitting external direct current to the conversion module;
and the conversion module is used for converting the voltage of the direct current to supply power for the communication module and the processing module.
8. The gateway of claim 7, wherein the power module further comprises:
the rechargeable power supply is connected with the direct current input interface at one end and the conversion module at the other end and is used for charging the converter module through the direct current input interface when direct current is input; and when no direct current input exists, the conversion module supplies power to the communication module and the processing module.
9. The gateway of claim 8, wherein the power module further comprises:
one end of the charging management module is connected with the rechargeable power supply, and the other end of the charging management module is connected with the processing module and used for detecting the electric quantity of the rechargeable power supply and sending charging reminding information to the processing module when the electric quantity is lower than the preset electric quantity.
10. An electronic device, characterized in that it comprises a gateway according to any of claims 1-9.
CN202023198971.1U 2020-12-25 2020-12-25 Gateway and electronic equipment Active CN213586317U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202023198971.1U CN213586317U (en) 2020-12-25 2020-12-25 Gateway and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202023198971.1U CN213586317U (en) 2020-12-25 2020-12-25 Gateway and electronic equipment

Publications (1)

Publication Number Publication Date
CN213586317U true CN213586317U (en) 2021-06-29

Family

ID=76552860

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202023198971.1U Active CN213586317U (en) 2020-12-25 2020-12-25 Gateway and electronic equipment

Country Status (1)

Country Link
CN (1) CN213586317U (en)

Similar Documents

Publication Publication Date Title
CN101853563B (en) Terminal and method for acquiring power utilization information
CN213586317U (en) Gateway and electronic equipment
EP3236667B1 (en) Electronic device and method
WO2013131236A1 (en) Power supply circuit and electrical device
EP2232907B1 (en) Telecommunication system and method
JP2020023026A (en) Tool, communication device, tool system and communication method
CN210605411U (en) Separated remote terminal control system
CN103487640A (en) Current monitoring method for enterprise electric equipment based on distributed type network
CN114206661A (en) Portable accumulator, server device and related operating method
CN104238711A (en) Voltage source stack system
CN113920678B (en) Remote smoke alarm system on M5311 chip based on middle moving object
CN107091953B (en) Intelligent electric energy metering device
TWI538283B (en) Battery monitoring system
CN201467237U (en) CAN bus-based voice communication device
CN210577896U (en) Intelligent self-service charging system of outdoor lithium ion battery pack
CN205486064U (en) Serial port communication debug system
CN204795614U (en) Mine hydrologic monitoring appearance based on short information of cell phone remote sensing control
CN214564755U (en) Power battery intelligent tracking system under electric automobile battery replacement mode
CN109450061A (en) A kind of wireless management system of charging equipment
CN104155922A (en) Household electrical appliance monitoring system based on ZigBee
CN219800984U (en) Battery pack and data transmission system
CN210327645U (en) Battery record information management system
CN214100962U (en) NBIOT-supported low-power-consumption intelligent management front end
JP6851010B2 (en) Charging device, communication system
CN212012262U (en) Wireless operation and maintenance device of electric energy collector of transformer substation based on bluetooth communication

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant