A wireless access point device, device access method, device and storage medium

Through the design of wireless access point devices, communication control and data protocol packages are used to automatically connect and parse data, which solves the problems of long development cycle and high modification cost when terminal sensors are connected to the cloud platform, achieving rapid access and reducing costs. Effect.

CN114554618BActive Publication Date: 2024-10-18CHENGDU SKSPRUCE TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210174951.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-24
Publication Date
2024-10-18
Estimated Expiration
2042-02-24

AI Technical Summary

Technical Problem

The existing technology requires a long development cycle when connecting terminal sensors to the cloud platform, and every time a new type of terminal sensor is connected, the gateway and terminal need to be modified and upgraded, resulting in high modification costs.

Method used

Design a wireless access point device, including a device connection module, a data receiving module, a data parsing module and a data sending module. By receiving the communication control protocol packet and data protocol packet sent by the cloud platform, it automatically connects to the device to be accessed and parses it. and sending target data, supporting multiple protocols and hardware types, reducing the need for access point modification and debugging.

Benefits of technology

It realizes rapid access to the cloud platform for devices to be connected, shortens the access cycle, reduces modification costs, and avoids modification, debugging, and upgrade operations every time a new type of device is connected.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114554618B_ABST
    Figure CN114554618B_ABST
Patent Text Reader

Abstract

The present application discloses a wireless access point device, a device access method, a device and a storage medium, including: receiving a communication control protocol packet, a data protocol packet and information of a device to be accessed sent by a cloud platform, and connecting with the device to be accessed based on the communication control protocol packet; wherein the communication control protocol packet and the data protocol packet are protocol packets determined based on the information of the device to be accessed; receiving target data sent by the cloud platform or the device to be accessed; parsing the target data based on the data protocol packet to obtain the parsed target data; and sending the parsed target data to the device to be accessed or the cloud platform. The present application is based on a wireless access point device managed by a cloud platform, and realizes a fast connection between the device to be accessed and the cloud platform through the wireless access point device, effectively shortening the access cycle, avoiding the need to modify, debug and upgrade the access point every time a new type of device to be accessed is accessed, thereby reducing the modification cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a wireless access point device, a device access method, a device and a storage medium. Background Art

[0002] Currently, the connection and data exchange between the terminal sensor and the cloud platform is achieved by developing an interface for connecting to the cloud platform according to the cloud platform's connection specifications on the terminal sensor or the gateway to which the terminal sensor is connected, or by integrating the SDK provided by the cloud platform into the device to be connected. In order to meet the needs of terminal sensor access to the cloud platform, the existing technology usually performs relevant development work on the gateway or sensor terminal hardware, which has the disadvantage of a long overall development cycle, and each time a new terminal sensor is connected, the terminal and gateway need to be modified and upgraded accordingly, and any changes in the platform interface require the terminal to be modified accordingly, resulting in a large impact and high modification cost. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a wireless access point device, a device access method, a device and a storage medium, which can realize the rapid access of the device to be accessed to the cloud platform, effectively shorten the access cycle, and avoid the need to modify, debug and upgrade the access point every time a new type of device to be accessed is accessed, thereby reducing the modification cost. The specific scheme is as follows:

[0004] In a first aspect, the present application discloses a wireless access point device, comprising:

[0005] A device connection module, used to receive a communication control protocol packet, a data protocol packet and information of a device to be connected sent by a cloud platform, and to connect to a device to be connected corresponding to the communication control protocol packet and the information of the device to be connected; the communication control protocol packet and the data protocol packet are protocol packets determined based on the information of the device to be connected;

[0006] A data receiving module, used to receive target data sent by the cloud platform or the device to be connected;

[0007] A data parsing module, used for parsing the target data based on the data protocol packet to obtain the parsed target data;

[0008] A data sending module is used to send the parsed target data to the device to be connected or the cloud platform.

[0009] Optionally, the wireless access point device further includes:

[0010] The data forwarding module is used to forward the parsed target data to a third-party application or a third-party system according to the preset configuration of the cloud platform.

[0011] Optionally, the data parsing module includes:

[0012] The format conversion module is used to convert the target data into a target format based on the data protocol packet to obtain converted target data corresponding to the target format.

[0013] Optionally, the format conversion module includes:

[0014] A first conversion module, configured to convert the device data sent by the to-be-connected device into a first target format corresponding to the cloud platform based on the data protocol packet to obtain the converted device data;

[0015] And / or, a second conversion module, used to convert the platform data sent by the cloud platform into a second target format corresponding to the device to be connected based on the data protocol packet to obtain the converted platform data.

[0016] Optionally, the device connection module includes:

[0017] A channel management unit, used to manage a connection channel and a configuration channel with the cloud platform to receive target configuration and target commands sent by the cloud platform;

[0018] A type determination unit, configured to determine a corresponding device type and data type based on the target configuration and the target command;

[0019] An access management unit is used to connect and communicate with the device to be accessed corresponding to the device type based on the communication control protocol packet.

[0020] Optionally, the data receiving module includes:

[0021] A data receiving unit is used to receive target data corresponding to the data type sent by the cloud platform or the device to be connected.

[0022] Optionally, the data transmission module includes:

[0023] A data transmission unit is used to send the parsed target data corresponding to the data type to the device to be connected or the cloud platform.

[0024] In a second aspect, the present application discloses a device access method, comprising:

[0025] Receive a communication control protocol packet, a data protocol packet and information of a device to be connected sent by the cloud platform, and connect to the device to be connected corresponding to the information of the device to be connected based on the communication control protocol packet and the information of the device to be connected; wherein the communication control protocol packet and the data protocol packet are protocol packets determined based on the information of the device to be connected;

[0026] Receiving target data sent by the cloud platform or the device to be connected;

[0027] Parsing the target data based on the data protocol packet to obtain parsed target data;

[0028] The parsed target data is sent to the device to be connected or the cloud platform.

[0029] In a third aspect, the present application discloses an electronic device, comprising:

[0030] Memory, used to store computer programs;

[0031] The processor is used to execute the computer program to implement the steps of the device access method disclosed above.

[0032] In a fourth aspect, the present application discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed device access method are implemented.

[0033] It can be seen that the present application provides a wireless access point device, including: a device connection module, used to receive the communication control protocol packet and the data protocol packet sent by the cloud platform and connect with the device to be accessed based on the communication control protocol packet; wherein the communication control protocol packet and the data protocol packet are protocol packets determined based on the configuration information corresponding to the device to be accessed; a data receiving module, used to receive the target data sent by the cloud platform or the device to be accessed; a data parsing module, used to parse the target data based on the data protocol packet to obtain the parsed target data; a data sending module, used to send the parsed target data to the device to be accessed or the cloud platform. It can be seen that the present application manages the wireless access point device based on the cloud platform, and realizes the rapid connection between the device to be accessed and the cloud platform through the wireless access point device, effectively shortens the access cycle, avoids the need to modify, debug and upgrade the access point every time a new type of device to be accessed is accessed, thereby reducing the modification cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0035] Figure 1 A schematic diagram of the structure of a wireless access point device disclosed in this application;

[0036] Figure 2 A schematic diagram of a specific wireless access point device structure disclosed in this application;

[0037] Figure 3 A topological diagram of a wireless access point device accessing a terminal sensor disclosed in the present application;

[0038] Figure 4 A schematic diagram of a cloud platform component module disclosed in this application;

[0039] Figure 5 A schematic diagram of the interaction between a protocol package and a hardware expansion module disclosed in this application;

[0040] Figure 6 A flow chart of a device access method disclosed in this application;

[0041] Figure 7 This is a structural diagram of an electronic device disclosed in this application. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0043] At present, the existing technology usually performs relevant development work on the gateway or sensor terminal hardware to realize the connection between the terminal sensor and the cloud platform, which leads to a long overall development cycle, and the need to connect new terminal sensors requires corresponding modifications and upgrades to the terminal and gateway, and any changes to the platform interface require corresponding modifications to the terminal, resulting in large modification impacts and high modification costs. To this end, the present application provides a device access solution that can realize the rapid access of the device to be accessed to the cloud platform, effectively shorten the access cycle, and avoid the need to modify, debug and upgrade the access point for each new type of device to be accessed, thereby reducing the modification cost.

[0044] The embodiment of the present invention discloses a wireless access point device, see Figure 1 As shown, the device comprises:

[0045] The device connection module 11 is used to receive the communication control protocol packet, the data protocol packet and the information of the device to be connected sent by the cloud platform, and connect the device to be connected corresponding to the communication control protocol packet and the information of the device to be connected; the communication control protocol packet and the data protocol packet are protocol packets determined based on the information of the device to be connected;

[0046] A data receiving module 12 is used to receive target data sent by the cloud platform or the device to be connected;

[0047] A data parsing module 13, configured to parse the target data based on the data protocol packet to obtain the parsed target data;

[0048] The data sending module 14 is used to send the parsed target data to the device to be connected or the cloud platform.

[0049] For further information, see Figure 2 As shown, the wireless access point device may further specifically include:

[0050] The data forwarding module 15 is used to forward the parsed target data to a third-party application or a third-party system according to the preset configuration of the cloud platform.

[0051] It should be pointed out that the above-mentioned access device in this embodiment can be various sensors that collect data from the physical world, such as temperature and humidity sensors, smoke sensors, light sensors, etc. The above-mentioned cloud platform mainly communicates with the above-mentioned wireless access point device and parses the data reported by the wireless access point device, and stores the data in the database corresponding to the cloud platform, and sends control instructions and sensor access models to the above-mentioned wireless access point device, so that the wireless access point device can connect with various sensors and transmit the data to the cloud platform in a format recognized by the cloud platform. Figure 3The topology of realizing rapid access to terminal sensors by wireless access point devices controlled by cloud platforms is shown, wherein the wireless access point device 200 is equivalent to a gateway, and the wireless access point device 200 can support multiple protocols to access sensors 100 through its own hardware characteristics and through the expansion of hardware modules, that is, the wireless access point device 200 has the ability to expand other types of hardware access. The above-mentioned protocols may include but are not limited to communication protocols such as Bluetooth, WiFi, and ZigBee. The above-mentioned wireless access point device 200 can quickly access new devices to be accessed through the communication control protocol package and data protocol package issued by the cloud platform 300, that is, based on the above-mentioned communication control protocol package, the above-mentioned wireless access point device can support the access of new sensor devices, and perform data parsing based on the data protocol package. Then the parsed data is reported to the cloud platform in a format recognizable by the cloud platform or forwarded to the third-party application or third-party system 400 for further analysis and processing. Among them, the third-party application or third-party system can use the platform data or receive and forward data from the platform for processing. The function of forwarding data of the above-mentioned wireless access point device is set accordingly through the cloud platform.

[0052] The components of the above 300 cloud platform are as follows: Figure 4As shown, 301 model management: used to manage the physical model of the device to be accessed, and to add, delete, check and modify various physical models. The above physical model mainly includes the description data of the device to be accessed, such as the attributes of the device to be accessed, the supported commands / data and other information; 302 device management: used to realize the cloud platform to add, delete, check and modify the topological relationship management of the device to be accessed; 303 application access: used to provide external API access management, and provide an interface for third-party applications or third-party systems to obtain management from the cloud platform; 304 protocol package management: used to manage protocol packages, wherein the protocol packages are mainly of two types, one is a communication control protocol package, which realizes the docking support of the underlying communication protocol, such as WiFi, Bluetooth, ZigBee and other access communication protocols; wherein the communication control protocol package is related to the hardware model of the device to be accessed, so that the wireless access point device can automatically match the corresponding model of the device to be accessed, and the wireless access point device provides a framework and interface for hardware communication capability expansion, and supports different access protocols through different communication control protocol packages and extended communication modules. When a new extended communication protocol is needed, it is necessary to develop and upload a protocol package based on the hardware model, and the protocol base package provided by the platform can be adjusted appropriately. The other is a data protocol package, which is used to obtain and parse the data generated by the corresponding type of sensor; when a new sensor type needs to be connected, the corresponding data protocol package also needs to be added. If a similar data protocol package already exists, it can be directly reused or adjusted for use. 305 Operation and maintenance management: used to record the status of the device, such as online and offline, alarm management, and related records of logs, commands and responses; 306 Data analysis: perform data analysis and processing of various dimensions on various data reported by the access device and output various indicators; 307 Connection management and configuration: used to manage the connection channel between the access point and the cloud platform, the configuration and command issuance channel, the connection topology management on the access point, etc.; 308 Data analysis: used to parse and further enrich the data reported by the wireless access point device, and send it to the message queue for subsequent processing; 309 Data forwarding: used to forward data to a third-party platform or application system according to user settings; 310 Diagnostic log: used to send a command to the wireless access point device so that the wireless access point device reports diagnostic log data. The cloud platform can locate the device access problem of the device to be accessed through the diagnostic data.

[0053] In a specific implementation, the data parsing module specifically includes:

[0054] The format conversion unit is used to convert the target format of the target data based on the data protocol packet to obtain converted target data corresponding to the target format.

[0055] In a specific implementation, the format conversion unit specifically includes:

[0056] A first conversion subunit, configured to convert the device data sent by the to-be-connected device into a first target format corresponding to the cloud platform based on the data protocol packet to obtain the converted device data;

[0057] And / or, a second conversion subunit is used to convert the platform data sent by the cloud platform into a second target format corresponding to the device to be connected based on the data protocol packet to obtain the converted platform data.

[0058] That is, the wireless access point device obtains the data sent by the cloud platform or the device to be connected based on the data protocol packet, and performs format conversion on the data. In other words, the format of the data to be sent to the cloud platform is converted into a data format that the cloud platform can recognize, or the format of the data to be sent to the sensor is converted into a data format recognized by the sensor.

[0059] In a specific implementation, the device connection module specifically includes:

[0060] A channel management unit, used to manage a connection channel and a configuration channel with the cloud platform to receive target configuration and target commands sent by the cloud platform;

[0061] A type determination unit, configured to determine a corresponding device type and data type based on the target configuration and the target command;

[0062] An access management unit is used to connect and communicate with the device to be accessed corresponding to the device type based on the communication control protocol packet.

[0063] In a specific implementation, the data receiving module specifically includes:

[0064] A data receiving unit is used to receive target data corresponding to the data type sent by the cloud platform or the device to be connected.

[0065] In a specific implementation, the data transmission module specifically includes:

[0066] A data transmission unit is used to send the parsed target data corresponding to the data type to the device to be connected or the cloud platform.

[0067] In an embodiment of the present application, when the wireless access point device receives the communication control protocol package and the data protocol package issued by the cloud platform, the protocol package runs on the wireless access point device to realize the mutual communication between the sensor and the wireless access point device, and realizes data interaction through the communication control protocol package. The communication protocol package includes configuration information, configuration control and protocol application, wherein the configuration information includes the protocol parameters and configurations required for the operation of the hardware module such as port, working mode, channel power, etc. The configuration information and the configuration control realize the communication connection between the wireless access point device and the device to be accessed and ensure that the hardware expansion module on the wireless access point device operates according to the set parameters and working mode. The hardware expansion module may include but is not limited to modules such as WiFi / Bluetooth / ZigBee. The protocol application is an interface for the wireless access point device to interact with the protocol package, and the service organization information is passed to the hardware expansion module or the parsed device data is obtained through the protocol application.

[0068] In this embodiment, the operating state of the hardware expansion module in itself is set according to the communication control protocol package, and then the target configuration and target command sent by the cloud platform are received through the above connection channel and the above configuration channel to determine the device type and data type of the device to be connected, so as to connect and communicate with the device to be connected corresponding to the device type and complete the corresponding data interaction. Figure 5 As shown, when the extended hardware module in the wireless access point device is Bluetooth, the configuration information in the communication control protocol package includes the Bluetooth operation mode, connection interval, maximum transmission unit (MTU) and other configuration information required for the operation of the Bluetooth protocol; the protocol application in the communication control protocol package mainly informs the above Bluetooth to connect to what device, obtain or send what data information through the configuration control module in the communication control protocol package according to the sensor information sent by the cloud platform. The above sensor information may include but is not limited to the device name (ID), the device generic attribute profile (Generic Attribute Profile), etc., and the above device generic attribute profile contains the service and feature information of the sensor device to be read and written. Among them, the above configuration control module mainly applies the above configuration information to the above extended hardware module by calling the protocol interface of the above extended hardware module, and also sends the control command to the above extended hardware module, such as connecting a specific sensor, obtaining specific feature data, and sending the received data to the data analysis module for subsequent processing. If the data to be sent to the sensor needs to be encoded into a data format recognized by the sensor through the data analysis module and then sent through the protocol interface of the configuration control above extended hardware module.

[0069] The wireless access point device may also include: a log recording module for recording the interaction log between the cloud platform and the device to be accessed; and a log uploading module for uploading the interaction log to the cloud platform to determine the corresponding device access problem. The wireless access point device records the interaction log and uploads the interaction log to the cloud platform for subsequent maintenance.

[0070] It can be seen that the embodiment of the present application can realize sensor access to the cloud platform without modifying the wireless access point device, and the implementation is convenient and fast. In other words, it is only necessary to upload the developed communication control protocol package and data protocol package to the cloud platform, and then the cloud platform will send the communication control protocol package and the data protocol package to the above-mentioned wireless access point device to realize the access expansion of the device to be accessed, wherein the protocol package can be adjusted according to the existing basic package on the cloud platform to complete the development, shortening the access cycle. In addition, this embodiment also avoids the need to modify, debug and upgrade the wireless access point device every time a new type of sensor is connected. It only needs to adjust and use the matching extension hardware module and protocol package to quickly deal with the problem of sensor hardware upgrade or new function hardware version replacement without making other modifications. It can be seen that the larger the scale, the greater the cost savings.

[0071] See also Figure 6 As shown, an embodiment of the present invention discloses a specific device access method, which includes:

[0072] Step S11: receiving a communication control protocol packet, a data protocol packet and information of a device to be connected sent by the cloud platform, and connecting to the device to be connected corresponding to the information of the device to be connected based on the communication control protocol packet; wherein the communication control protocol packet and the data protocol packet are protocol packets determined based on the information of the device to be connected;

[0073] Step S12: receiving target data sent by the cloud platform or the device to be connected;

[0074] Step S13: parsing the target data based on the data protocol packet to obtain parsed target data;

[0075] Step S14: sending the parsed target data to the device to be connected or the cloud platform.

[0076] In a specific embodiment, the method further includes: forwarding the parsed target data to a third-party application or a third-party system according to a preset configuration of the cloud platform.

[0077] In a specific embodiment, parsing the target data based on the data protocol packet to obtain parsed target data includes: converting the target data to a target format based on the data protocol packet to obtain converted target data corresponding to the target format.

[0078] In a specific embodiment, the conversion of the target format of the target data based on the data protocol packet to obtain converted target data corresponding to the target format includes: converting the device data sent by the device to be connected into a first target format corresponding to the cloud platform based on the data protocol packet to obtain converted device data; and / or, converting the platform data sent by the cloud platform into a second target format corresponding to the device to be connected based on the data protocol packet to obtain converted platform data.

[0079] In a specific embodiment, the communication control protocol packet and the data protocol packet sent by the receiving cloud platform are connected with the device to be connected based on the communication control protocol packet; wherein the communication control protocol packet and the data protocol packet are protocol packets determined based on the configuration information corresponding to the device to be connected, including: managing the connection channel and the configuration channel with the cloud platform to receive the target configuration and the target command sent by the cloud platform; determining the corresponding device type and data type based on the target configuration and the target command; and connecting and communicating with the device to be connected corresponding to the device type based on the communication control protocol packet.

[0080] In a specific embodiment, the receiving target data sent by the cloud platform or the device to be connected includes: receiving target data corresponding to the data type sent by the cloud platform or the device to be connected.

[0081] In a specific embodiment, the sending of the parsed target data to the device to be connected or the cloud platform includes: sending the parsed target data corresponding to the data type to the device to be connected or the cloud platform

[0082] It can be seen that the present application is based on a wireless access point device managed by a cloud platform, and realizes a fast connection between the device to be accessed and the cloud platform through the wireless access point device, that is, the present application controls the connection with the device to be accessed based on the protocol package issued by the cloud platform, thereby effectively shortening the access cycle and avoiding the need to modify, debug and upgrade the access point every time a new type of device to be accessed is accessed, thereby reducing the modification cost.

[0083] Furthermore, an embodiment of the present application also provides an electronic device. Figure 7This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0084] Figure 7 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the device access method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0085] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0086] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0087] The operating system 221 is used to manage and control the hardware devices on the electronic device 20 and the computer program 222, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the device access method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0088] Furthermore, an embodiment of the present application also discloses a storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the steps of the device access method disclosed in any of the aforementioned embodiments are implemented.

[0089] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0090] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0091] The wireless access point device, device access method, device and storage medium provided by the present invention are described in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present invention.

Claims

1. A wireless access point device, characterized in that: include: A device connection module, used to receive a communication control protocol packet, a data protocol packet and information of a device to be connected sent by a cloud platform, and to connect to a device to be connected corresponding to the communication control protocol packet and the information of the device to be connected; the communication control protocol packet and the data protocol packet are protocol packets determined based on the information of the device to be connected; A data receiving module, used to receive target data sent by the cloud platform or the device to be connected; A data parsing module, used for parsing the target data based on the data protocol packet to obtain the parsed target data; A data sending module, used for sending the parsed target data to the device to be connected or the cloud platform; Wherein, the device connection module includes: A channel management unit, used to manage a connection channel and a configuration channel with the cloud platform to receive target configuration and target commands sent by the cloud platform; A type determination unit, configured to determine a corresponding device type and data type based on the target configuration and the target command; An access management unit, configured to connect and communicate with the device to be accessed corresponding to the device type based on the communication control protocol packet; The data receiving module comprises: A data receiving unit, configured to receive target data corresponding to the data type sent by the cloud platform or the device to be connected; The data sending module comprises: A data transmission unit is used to send the parsed target data corresponding to the data type to the device to be connected or the cloud platform.

2. The wireless access point device according to claim 1, characterized in that: Also includes: The data forwarding module is used to forward the parsed target data to a third-party application or a third-party system according to the preset configuration of the cloud platform.

3. The wireless access point device according to claim 1, characterized in that: The data parsing module comprises: The format conversion unit is used to convert the target format of the target data based on the data protocol packet to obtain converted target data corresponding to the target format.

4. The wireless access point device according to claim 3, characterized in that: The format conversion unit comprises: A first conversion subunit, configured to convert the device data sent by the to-be-connected device into a first target format corresponding to the cloud platform based on the data protocol packet to obtain the converted device data; And / or, a second conversion subunit is used to convert the platform data sent by the cloud platform into a second target format corresponding to the device to be connected based on the data protocol packet to obtain the converted platform data.

5. A device access method, characterized in that: include: Receiving a communication control protocol packet, a data protocol packet and information of a device to be connected sent by the cloud platform, and connecting to the device to be connected corresponding to the information of the device to be connected based on the communication control protocol packet; wherein the communication control protocol packet and the data protocol packet are protocol packets determined based on the information of the device to be connected; Receiving target data sent by the cloud platform or the device to be connected; Parsing the target data based on the data protocol packet to obtain parsed target data; Sending the parsed target data to the device to be connected or the cloud platform; The receiving of the communication control protocol packet and the data protocol packet sent by the cloud platform and the connection with the device to be connected based on the communication control protocol packet; wherein the communication control protocol packet and the data protocol packet are protocol packets determined based on the configuration information corresponding to the device to be connected, including: managing the connection channel and the configuration channel with the cloud platform to receive the target configuration and the target command sent by the cloud platform; determining the corresponding device type and data type based on the target configuration and the target command; connecting and communicating with the device to be connected corresponding to the device type based on the communication control protocol packet; The receiving target data sent by the cloud platform or the device to be connected includes: receiving target data corresponding to the data type sent by the cloud platform or the device to be connected; The sending the parsed target data to the device to be connected or the cloud platform includes: sending the parsed target data corresponding to the data type to the device to be connected or the cloud platform.

6. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor is used to execute the computer program to implement the steps of the device access method as claimed in claim 5.

7. A computer-readable storage medium, characterized in that: Used to store computer programs; wherein, when the computer program is executed by a processor, the steps of the device access method as claimed in claim 5 are implemented.

Citation Information

Patent Citations

  • Lightweight internet video gateway secure access system and method

    CN107911362A

  • Protocol conversion method, device and system, electronic equipment and storage medium

    CN113067811A

  • Universal access method of Internet-of-things platform, network equipment and readable storage medium

    CN114024990A