CN111464322B - Communication method, device and equipment of Internet of things platform and equipment and storage medium - Google Patents

Communication method, device and equipment of Internet of things platform and equipment and storage medium Download PDF

Info

Publication number
CN111464322B
CN111464322B CN201910048274.0A CN201910048274A CN111464322B CN 111464322 B CN111464322 B CN 111464322B CN 201910048274 A CN201910048274 A CN 201910048274A CN 111464322 B CN111464322 B CN 111464322B
Authority
CN
China
Prior art keywords
equipment
message
tuning
parameter
protocol specification
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
CN201910048274.0A
Other languages
Chinese (zh)
Other versions
CN111464322A (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910048274.0A priority Critical patent/CN111464322B/en
Publication of CN111464322A publication Critical patent/CN111464322A/en
Application granted granted Critical
Publication of CN111464322B publication Critical patent/CN111464322B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a communication method, a device, equipment and a storage medium of an Internet of things platform and equipment. Receiving an uplink message sent by equipment; judging whether the equipment belongs to equipment to be tested; and under the condition that the equipment is judged to belong to the equipment to be tested, identifying a second testing parameter in the uplink message, configuring a third testing parameter for the equipment based on the protocol specification and the second testing parameter, and sending a testing message comprising the third testing parameter to the equipment. Therefore, the invention can open the parameters which can not be customized by the user, reassemble the message after the message is processed by the normal logic of the platform of the Internet of things, integrate the parameters customized by the user into the parameters by combining with specific protocol specifications to reprocess the parameters, realize the adjustable measurement requirement of the full downlink message required by the user, and meet the adjustment measurement and the robustness verification of the normal logic of the equipment.

Description

Communication method, device and equipment of Internet of things platform and equipment and storage medium
Technical Field
The present invention relates to the field of internet of things, and in particular, to a method, an apparatus, a device, and a storage medium for communication between an internet of things platform and a device.
Background
With the vigorous development of the internet of things technology, more and more internet of things devices need to be tested. Taking the dispatching and testing of factory equipment as an example, at present, a private dispatching and testing service is mainly built by equipment manufacturers to carry out dispatching and testing on the equipment, the cost requirement is high, the applicability of the private dispatching and testing service to an Internet of things platform cannot be guaranteed, and a large amount of labor cost is still required to register the Internet of things platform on the equipment after dispatching and testing is finished.
Thus, a more convenient modulation scheme is needed.
Disclosure of Invention
It is an object of the present invention to provide a more convenient device tuning scheme to solve at least one of the above problems.
According to a first aspect of the present invention, a communication method between an internet of things platform and a device is provided, including: receiving an uplink message sent by equipment; judging whether the equipment belongs to equipment to be tested; and under the condition that the equipment is judged to belong to the equipment to be tested, identifying a second testing parameter in the uplink message, configuring a third testing parameter for the equipment based on the protocol specification and the second testing parameter, and sending a testing message comprising the third testing parameter to the equipment.
Optionally, the method further comprises: and sending a downlink message to the device under the condition that the device is judged to belong to the online device.
Optionally, the method further comprises: maintaining a tag list, wherein a device identifier and a corresponding tag thereof are stored in an associated manner, and the step of judging whether the device belongs to the device to be tested comprises the following steps: and judging whether the equipment belongs to the equipment to be tested or not according to the mark corresponding to the equipment identifier of the equipment in the mark list.
Optionally, the method comprises: configuring a first tuning parameter for the device based on the protocol specification; and sending a modulation message comprising the first modulation parameter to the equipment.
Optionally, the device is a terminal device, and the step of configuring the third tuning parameter for the device includes: in response to identifying that the second tuning parameter includes a MAC instruction parameter, invoking an instruction reassembler in the tuning service, the instruction reassembler configured to reassemble fields in the MAC instruction based on the MAC instruction specification and the MAC instruction parameter in the first protocol specification; and/or in response to identifying that the second tuning parameter includes a message parameter in the first protocol specification, invoking a first protocol specification message reassembler in the tuning service, the first protocol specification message reassembler configured to reassemble fields in the message based on the message specification and the message parameter in the first protocol specification.
Optionally, the first protocol specification is a LoRaWAN protocol, and/or the MAC instruction parameters include parameters related to a MAC command, and/or the message parameters include at least one of: receiving window parameters, network access parameters, downlink frame parameters and service instruction parameters.
Optionally, the device is a gateway, and the step of configuring the third tuning parameter for the device includes: in response to identifying that the second tuning parameter includes a second protocol specification message parameter, invoking a second protocol specification message reassembler in the tuning service, the second protocol specification message reassembler configured to reassemble fields in a second protocol specification message based on the second protocol specification and the second protocol specification message parameter; and/or in response to identifying that the second tuning parameter includes a downlink message parameter in the second protocol specification, invoking a second protocol specification downlink message reassembler in the tuning service, the second protocol specification downlink message reassembler configured to reassemble fields in the downlink message of the second protocol specification based on the second protocol specification and the downlink message parameter in the second protocol specification.
Optionally, the second protocol specification is a GWMP protocol, and/or the second protocol specification message parameter includes at least one of: the version number, the security check code, the sequence number, and/or the downstream message parameters include parameters related to the downstream message in the second protocol specification.
Optionally, the communication method is performed by an internet of things platform, and the method further comprises: after the equipment is adjusted and tested, converting the equipment into on-line equipment in an Internet of things platform; or under the condition that the on-line equipment in the Internet of things platform has a problem, executing a communication method to test the on-line equipment with the problem in the Internet of things platform.
According to a second aspect of the present invention, there is also provided a communication method between an internet of things platform and a device, including: receiving an uplink message sent by equipment; judging whether the equipment belongs to equipment to be tested; and calling the debugging service to carry out debugging on the equipment under the condition that the equipment is judged to belong to the equipment to be tested.
Optionally, the method further comprises: judging whether the debugging service is available; and executing the step of calling the call testing service to test the equipment under the condition that the call testing service is judged to be available.
According to a third aspect of the present invention, there is also provided a communication method between an internet of things platform and a device, including: receiving an uplink message sent by equipment; identifying a second modulation parameter in the uplink message; calling a tuning service to configure a third tuning parameter for the device based on the protocol specification and the second tuning parameter; and sending a modulation message comprising the third modulation parameter to the equipment.
According to a fourth aspect of the present invention, there is also provided a communication method between an internet of things platform and a device, including: sending an uplink message to the Internet of things platform, wherein the uplink message comprises second adjustment parameters configured by a user; receiving a tuning message sent by the internet of things platform, wherein the tuning message comprises a third tuning parameter, and the third tuning parameter is configured by a device based on a protocol specification and the second tuning parameter by a tuning service in the internet of things platform; and adjusting the equipment based on the adjustment message.
Optionally, the device is a terminal device, the second tuning parameter includes a MAC instruction parameter, the third tuning parameter includes a parameter obtained by a command reassembler in the tuning service based on a MAC instruction specification and a MAC instruction parameter in the first protocol specification, and the field in the MAC instruction is reassembled, and/or the second tuning parameter includes a message parameter in the first protocol specification, and the third tuning parameter includes a parameter obtained by a message reassembler in the tuning service based on a message specification and a message parameter in the first protocol specification, and the field in the reassembled message.
Optionally, the device is a gateway, the second measurement parameter includes a second protocol specification message parameter, the third measurement parameter includes a parameter obtained by a second protocol specification message reassembler in the measurement service based on the second protocol specification and the second protocol specification message parameter, and/or the second measurement parameter includes a downlink message parameter in the second protocol specification, and the third measurement parameter includes a parameter obtained by a second protocol specification downlink message reassembler in the measurement service based on the second protocol specification and the downlink message parameter, and the field in the downlink message in the second protocol specification is reassembled.
According to a fifth aspect of the present invention, an internet of things platform is further provided, on which a measurement service is carried, and in response to receiving an uplink message sent by a device, the internet of things platform determines whether the device belongs to the device to be measured, and in the case that it is determined that the device belongs to the device to be measured, the internet of things platform invokes the measurement service to measure the device.
According to a sixth aspect of the present invention, there is also provided an internet of things system, including an internet of things platform and a plurality of devices, the internet of things platform receives an uplink message sent by the devices, determines whether the devices belong to the devices to be tested, and invokes a testing service to test the devices under the condition that the devices are determined to belong to the devices to be tested.
According to a seventh aspect of the present invention, there is also provided a communication apparatus of an internet of things platform and a device, including: the receiving module is used for receiving the uplink message sent by the equipment; the judging module is used for judging whether the equipment belongs to equipment to be tested; and the debugging module is used for calling the debugging service to carry out debugging on the equipment under the condition that the equipment is judged to belong to the equipment to be tested.
According to an eighth aspect of the present invention, there is also provided a communication apparatus of an internet of things platform and a device, including: the receiving module is used for receiving the uplink message sent by the equipment; the identification module is used for identifying a second modulation parameter in the uplink message; the configuration module is used for configuring a third modulation parameter for the equipment based on the protocol specification and the second modulation parameter; and the sending module is used for sending the modulation message comprising the third modulation parameter to the equipment.
According to a ninth aspect of the present invention, there is also provided a communication apparatus of an internet of things platform and a device, including: the sending module is used for sending an uplink message to the Internet of things platform, wherein the uplink message comprises second adjustment parameters configured by a user; the receiving module is used for receiving a modulation message sent by the Internet of things platform, wherein the modulation message comprises a third modulation parameter, and the third modulation parameter is configured for equipment by a modulation service in the Internet of things platform based on a protocol specification and the second modulation parameter; and the adjusting module is used for adjusting the equipment based on the third adjusting parameter.
According to a tenth aspect of the present invention, there is also presented a computing device comprising: a processor; and a memory having executable code stored thereon which, when executed by the processor, causes the processor to perform the method as described in any of the first to third aspects of the invention.
According to an eleventh aspect of the present invention there is also provided a non-transitory machine-readable storage medium having stored thereon executable code which, when executed by a processor of an electronic device, causes the processor to perform a method as set forth in any of the first to third aspects of the present invention.
According to the embodiment of the invention, the parameters which cannot be customized by a user can be opened, the message is reassembled after being processed through the normal logic of the Internet of things platform, the parameters which are customized by the user are incorporated into the message to be reprocessed by combining with specific protocol specifications, the adjustable measurement requirement of the full downlink message required by the user is realized, and the adjustment measurement and the robustness verification of the normal logic of the equipment are met.
The exemplary embodiment of the invention also enables the Internet of things platform to provide the equipment debugging service in addition to the communication service by mounting the debugging service capable of debugging the equipment on the Internet of things platform. The adjustment and measurement service can directly multiplex the link service of the Internet of things platform to communicate with the equipment, the version iteration of the Internet of things platform can directly enable the adjustment and measurement service, and after the adjustment and measurement is finished, the platform applicability is guaranteed.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following more particular descriptions of exemplary embodiments of the disclosure as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout exemplary embodiments of the disclosure.
Fig. 1 shows a schematic flow chart of a communication method of an internet of things platform and a device according to an embodiment of the invention.
Fig. 2 shows a schematic flow chart of a communication method of an internet of things platform and a device according to another embodiment of the invention.
Fig. 3 is a schematic structural diagram of a communication device of an internet of things platform and an apparatus according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a communication device of an internet of things platform and an apparatus according to another embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a communication device of an internet of things platform and an apparatus according to another embodiment of the present invention.
Fig. 6 is a schematic structural diagram of a computing device that may be used to implement the communication method of the internet of things platform and the device according to an embodiment of the present invention.
Detailed Description
Preferred embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the preferred embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[ PREPARATION ] A method for producing a polypeptide
LoRa: loRa is an abbreviation of English Long Range, and is one of low power consumption wide area network (Low PowerWide Area Network, LPWAN) communication technologies. Previously, prior to LPWAN generation, it appeared that a trade-off could be made between long distance and low power consumption. The LoRa wireless technology changes the compromise mode of transmission distance and power consumption, so that long-distance transmission can be realized, and the advantages of low power consumption and low cost are achieved.
LoRaWAN: loRaWAN is used for defining communication protocol and system architecture of network, and is a low-power consumption wide area network standard developed by LoRa alliance, and can effectively implement that LoRa physical layer supports long-distance communication. The protocol and architecture have profound effects on battery life, network capacity, quality of service, security, and suitable application scenarios of the terminal. In short, the lorewan is actually a network (wan= Wide Area Network).
LoRa Node: loRa node.
LoRa Gateway: the LoRa gateway, the equipment needed by the LoRa node to access the network, acts like a wireless router.
GWMP: the transmission protocol between the LoRa gateway and the server.
TXPK: downstream messages in the GWMP protocol.
DevEui: the unique number of the terminal device is a globally unique ID like ieee eui64, which is equivalent to the MAC address of the terminal device.
GwEui: the unique number of the gateway is a globally unique ID like IEEE EUI64, which is equivalent to the MAC address of the gateway.
[ scheme overview ]
In order to facilitate equipment debugging, the invention provides that equipment debugging service can be configured for the Internet of things platform, for example, the equipment debugging service capable of carrying out debugging on equipment can be mounted on the Internet of things platform, so that the Internet of things platform provides equipment debugging service in addition to communication service per se.
This can be achieved in that: 1. the debugging and testing service does not need to realize the core link service of the internet of things platform, and the version iteration of the internet of things platform can be directly energized to the debugging and testing service; 2. the platform is opened by the debugging service, and after the debugging is finished, the applicability of the platform is ensured; 3. the equipment manufacturer logs in the same system, can access to the same system at zero cost to perform the adjustment and measurement of the equipment, and can be converted into on-line formal equipment of the platform by one key after the adjustment and measurement is completed, so that the system is convenient and friendly to use, and the adjustment and measurement are effective and quick; 4. if the problem of the online equipment in the Internet of things platform is found, the online equipment needs to be tested, and the online equipment can be directly tested by using the multi-mount testing service.
The invention also provides that the uplink message sent by the device to the internet of things platform can comprise the user-defined tuning parameter (namely the second tuning parameter mentioned below), the user-defined tuning parameter can be identified after the uplink message is processed by the normal logic of the internet of things platform, and when the tuning service is called to configure the tuning parameter for the device, the user-defined tuning parameter can be included, and the specific protocol specification is combined to configure the tuning parameter for the device.
In the prior art, as protocol specifications (such as the LoRaWAN protocol and the GWMP protocol), other message fields except for the fields specifically exposed to the user are automatically processed by a computer according to the protocol, and the user cannot modify the message fields. According to the invention, the parameters which cannot be customized by the user can be opened, after the message is processed through the normal logic of the Internet of things platform, the dispatching and testing service is invoked for reassembling, so that the parameters which are customized by the user are incorporated into the message for reprocessing by combining with specific protocol specifications, the requirement of adjustable testing of the full downlink message required by the user is realized, and the dispatching and testing of the normal logic and the robustness verification of the equipment are satisfied.
The following will explain the scheme in detail with reference to the drawings and embodiments.
[ communication method of Internet of things platform and equipment ]
Fig. 1 shows a schematic flow chart of a communication method of an internet of things platform and a device according to an embodiment of the invention.
As shown in fig. 1, the internet of things platform 200 may be connected to a plurality of devices 100, and the internet of things platform 200 further mounts a measurement service, so that the internet of things platform 200 may further provide a measurement service for the devices 100 on the basis of communicating with the devices 100.
The device debugging refers to network access, uplink and downlink debugging or testing of the device capable of networking. The device 100 according to the present invention may be a terminal device (i.e., a node, for example, a LoRa node), or may be a gateway (for example, a LoRa gateway) for implementing communication between the terminal device and the internet of things platform. And the device 100 (terminal device or gateway) may be a factory device that is not registered for use in the internet of things platform, or may be an online device that is already registered for use in the internet of things platform.
In the case where the device 100 is a factory device, the device may be tested by using the testing service provided by the internet of things platform 200 to verify whether the device meets the protocol standard, meets the regional specification, and has stability. In addition, the compatibility of the internet of things platform 200 for the device can be verified through adjustment, so that after verification is passed, the device can be directly connected into the internet of things platform 200 and converted into online devices in the internet of things platform 200.
In the case where the device 100 is an online device that has been registered for use in the internet of things platform 200, the internet of things platform 200 may invoke a tuning service to tune the device when an abnormality in the device 100 requires troubleshooting. Regulatory aspects include, but are not limited to, whether device protocols are standard, whether region specifications are met, device stability, platform compatibility, and the like. After the adjustment and measurement are completed, the equipment can be converted into on-line equipment again and put into use.
An exemplary operation flow that may be performed by the internet of things platform 200 is described below in connection with fig. 1.
Referring to fig. 1, in step S210, an uplink message sent by a receiving device is received.
The device mentioned here may be an online device registered for use in the internet of things platform, or may be a device (such as a factory device) for performing adjustment when first accessing the internet of things platform.
In step S220, it is determined whether the device belongs to the device to be modulated.
After receiving the uplink message sent by the device, the internet of things platform can judge whether the device belongs to the device to be tested. The internet of things platform can judge whether the device is a measurement device according to a marking result of the device, for example, the device can be marked according to a unique number (DevEui or GwEui) of the device as a main key, for example, the device can be marked as a device to be measured or an on-line device according to actual conditions.
As an example of the present invention, the internet of things platform may maintain a list of tags. The tag list stores the device identifier (i.e., the unique number of the device) and its corresponding tag in association. The tag corresponding to the device identifier may include a type of tag of an online device, a device to be modulated, or the like. Therefore, whether the equipment belongs to the equipment to be tested can be judged according to the mark corresponding to the equipment identifier of the equipment in the mark list.
For the equipment which is connected to the internet of things platform for the first time, namely the equipment which is registered on the internet of things platform for the first time, the physical network platform can mark the equipment as equipment to be tested, and can mark the equipment as on-line equipment after the equipment is qualified in debugging. For the same type, model or batch of equipment, optionally one of the equipment can be subjected to adjustment and measurement, and after the adjustment and measurement are finished, the adjustment and measurement parameters are directly sent to other equipment.
For the equipment which is registered and used in the Internet of things platform, the physical network platform can mark the equipment as online equipment, when the online equipment is abnormal, the equipment can be marked as equipment to be modulated, and after the modulation is qualified, the equipment is re-marked as the online equipment.
In step S230, in the case that it is determined that the device belongs to the device to be tested, the testing service is invoked to test the device.
The modulation and measurement service is mounted in the Internet of things platform, and can multiplex uplink and downlink services of the Internet of things platform to communicate with the equipment. And the version iteration of the internet of things platform can be directly energized to the debugging service, namely the debugging service can open the internet of things platform, and after the completion of debugging, the applicability of the equipment to the internet of things platform can be ensured, so that the equipment can be converted into on-line formal equipment of the platform by one key after the completion of debugging, and the friendliness of equipment manufacturers is improved. In addition, when the online equipment in the Internet of things platform has a problem, the adjustment and measurement service can be directly called to carry out adjustment and measurement.
The internet of things platform side can set up and transfer and survey the service switch, and internet of things platform can be through transferring and survey the service switch control and transfer and survey whether the service is opened. Under the condition of abnormal debugging service, the switch can be closed to stop mounting, so that the stability of the platform is prevented from being influenced. In this way, if it is determined that the device belongs to the device to be tested, it may also be determined whether the testing service is available, and if it is determined that the testing service is available, step S230 is executed again, where the testing service is invoked to test the device.
In step S240, when it is determined that the device does not belong to the device to be modulated, for example, when it is determined that the device belongs to the platform online device, a downlink message is returned. The internet of things platform can process the uplink message based on the service processing logic of the internet of things platform and send the downlink message to the equipment under the condition that the downlink message needs to be sent.
The following illustrates the implementation principle of the tuning service for tuning the device.
As shown in fig. 1, in step S231, a tuning parameter may be configured by a tuning service.
The tuning service may configure tuning parameters (which may be referred to as "first tuning parameters" for ease of distinction) for the device based on a particular protocol specification. For example, where the device is a LoRa node, the tuning service may configure the first tuning parameter based on the LoRa wan protocol. In the case where the device is a LoRa gateway, the tuning service may configure the first tuning parameter based on the GWMP protocol. For specific types of configured tuning parameters, reference may be made to the following description, which is not repeated here.
In steps S232 and S233, a debug message is sent to the device. The tuning message includes the configured tuning parameters.
As shown in fig. 1, the tuning service may send a tuning message to the internet of things platform, where the internet of things platform sends the tuning message to the device, so that the link service of the internet of things platform may be reused, and the cost of the tuning service is reduced.
In one embodiment of the present invention, the uplink packet sent by the device may include a tuning parameter (which may be referred to as a "second tuning parameter" for convenience of distinction) that is configured by a user in a user-defined manner. The internet of things platform can process according to normal logic to identify the second modulation parameter in the uplink message. The tuning parameters (which may be referred to as "third tuning parameters" for ease of distinction) may then be configured for the device by the tuning service based on the protocol specification and the second tuning parameters, and the third tuning parameters may be assembled into a tuning message that is sent to the device. Wherein the third tuning parameter may include the second tuning parameter and other parameters determined based on the protocol specification.
Therefore, the invention can open the parameters which can not be customized by the user, and call the debugging service to reassemble after the message is processed by the normal logic of the platform of the Internet of things, so as to incorporate the parameters customized by the user into the system for reprocessing by combining with specific protocol specifications, thereby realizing the adjustable testing requirement of the full downlink message required by the user and meeting the debugging and robustness verification of the normal logic of the equipment.
In the invention, the parameters related to network access, uplink and downlink messages and the like of the equipment can be modulated and measured by using the modulation and measurement service. And specific tuning parameters are different according to the types of the devices. In the following, the device to be tested is exemplified by a terminal device (such as a LoRa node) and a gateway (such as a LoRa gateway), respectively, and the testing process and the type of the testing parameters are described as examples, and it should be understood that, for other protocol type devices, the testing can also be performed by referring to the testing principle of the present invention.
The call testing service described in the present invention may be implemented as a reorganizer. The reassembler may reassemble the related measured parameters according to the corresponding protocol specifications (such as the lorewan protocol and the GWMP protocol) based on the identified second measured parameters, and send the reassembled measured parameters (the third measured parameters) to the device through the internet of things platform in the form of a measured message.
As an example, the reassembler may include one or more of an instruction reassembler, a first protocol specification reassembler, a second protocol specification reassembler, and a second protocol specification downstream reassembler. The instruction re-assembly device and the first protocol specification message re-assembly device are used for adjusting and measuring the terminal equipment, and the second protocol specification message re-assembly device and the second protocol specification downlink message re-assembly device are used for adjusting and measuring the gateway.
Tuning for terminal equipment
1. Instruction reassembly
In response to identifying that the second tuning parameter includes a MAC instruction parameter, an instruction reassembler may be invoked for reassembling fields in the MAC instruction based on the MAC instruction specification and the MAC instruction parameter in the first protocol specification.
Taking the example that the terminal device is a LoRa node and the first protocol specification is a LoRa wan protocol, the MAC command includes a MAC command stored in Fopts or FrmPayload. Wherein Fopts, frmPayload is used to characterize the location of MAC commands, MAC commands placed in FOpts cannot exceed 15 bytes. For Fopts, frmPayload, reference may be made to the description of the existing LoRaWAN protocol, which is not described here.
The MAC instructions for tuning the terminal device may include, but are not limited to, one or more of LinkADRReq (dataRate, txPower, chMask, chMaskCntl, nbTrans), dutyCycleReq (maxDutyCycle), rxaamsetpr eq (rx 1DROffset, rx2DataRate, frequency), devStatusReq, newChannelReq (chIndex, freq, maxDR, minDR), rxTimingSetupReq (settings), txaamsetpr eq (DownlinkDwellTime, uplinkDwellTime, maxEIRP), dic hannel req (chIndex, freq), pingSlotChannelReq (frequency, dataRate), beaconFreqReq (frequency). All of the above instructions can be described with reference to the existing LoRaWAN protocol. Only the MAC instruction described above will be schematically described below.
LinkADRReq indicates that a terminal is requested to change data rate, transmit power, retransmission rate, and channel. The dataRate field in LinkADRReq represents the data rate, txPower field represents the maximum downlink power consumption, chMask field represents the uplink channel number, chMask cntl field represents a layer of interpretation control based on chMask, including global control of channel switch under a specific modulation mode, and nbTrans field represents the total number of transmissions required for uplink messages.
DutyCycleReq represents the maximum duty cycle at which transmissions are set to the terminal. Rxaamsetupreq indicates setting of the receive slot parameter to the terminal. The rx1DROffset field in rxaamsetupeq indicates that an offset between the uplink data rate and the downlink data rate is set, and the rx2DataRate field indicates that the second receive window defines the downlink data rate.
DevStatusReq represents querying the terminal for its status. NewChannelReq indicates the creation or modification of 1 radio frequency channel definition. The chIndex field in NewChannelReq indicates the index that the channel is being created or modified, and the Freq field is a 24-bit unsigned integer. The maxDR (maximum data rate) field specifies the highest upstream data rate and the minDR (minimum data rate) field specifies the lowest upstream data rate allowed by the channel.
RxTimingSetupReq represents the time at which the receive slot is set. Txprasamsetupreq denotes the maximum value and maximum EIRP (equivalent omni-directional radiated power) with which the network server sets the terminal device residence time. The DownlinkDwellTime field in txalamsetrpreq defines a maximum downlink dwell time, the UplinkDwellTime field defines a maximum uplink dwell time, and the MaxEIRP field defines a maximum EIRP value.
The dic hannelreq indicates an RX1 downlink channel. The PingSlotChannelReq indicates that the gateway requests from the node to change the device's ping slot downlink frequency or data rate. Beacon FreqReq represents a command for the network server to modify the frequency at which the terminal device expects to receive beacon broadcasts.
In response to the MAC instruction parameters configured by the user for any one or more of the MAC instructions included in the uplink packet, the instruction reassembly device may reassemble the fields in the MAC instruction based on the relevant protocol specification for the MAC instruction in the lowwan protocol, in combination with the MAC instruction parameters configured by the user.
2. First protocol standard message recombination device
And in response to identifying that the second tuning parameter comprises a message parameter in a first protocol specification, invoking a first protocol specification message reassembler in the tuning service, the first protocol specification message reassembler configured to reassemble fields in the message based on the message specification and the message parameter in the first protocol specification.
Taking the terminal device as the LoRa node and the first protocol specification as the LoRa wan protocol as an example, the parameters of the message (LoRa wan message) used for adjusting the terminal device may include, but are not limited to, at least one of the following: receiving window parameters, network access parameters, downlink frame parameters and service instruction parameters.
The receive window parameters may include, but are not limited to, RX1 (first receive window), RX2 (second receive window), RXOffset (window offset). The network access parameters may include, but are not limited to, one or more of Mytpe (message type), RFU (Reserved For Future Use reserved for future reuse), major (master version of the lorewan specification followed by frame encoding), appNonce (unique ID), netID (network ID), devAddr (device address), DLSettings (rate to set the downstream accept serial ports of RX1 and RX 2). The DLSettings includes one or more of RFU field, RX1DRoffset field (for setting an offset between an uplink data rate and a downlink data rate), RX2DataRate field (for setting a data rate of RX 2), rxdata field (time from transmission completion to opening of RX1 accept serial port), CFList field (typically 0 byte), MIC field (message integrity code).
The downstream frame parameters may include, but are not limited to, one or more of Mytpe (message type), RFU (Reserved For Future Use reserved for future reuse), major (master version of the LoRaWAN specification followed by frame encoding), devAddr (device address), FCtrl (frame control byte). The FCtrl includes an ADR field (adaptive data rate control in frame header), an RFU field, an ACK (field message acknowledgement bit), an fpinding field (frame waiting bit), a FOptsLen field (frame option length), and a MIC field (message integrity code), among others.
The service instruction may include Fport (channel number of MAC layer data) and/or Content.
In response to a message parameter configured by a user for any one or more of the above message parameters included in the uplink message, the first protocol specification message reassembler may reassemble fields in the message based on relevant protocol specifications for the message in the lorewan protocol in combination with the message parameter configured by the user.
Modulation and measurement for gateway
1. Second protocol standard message recombination device
And in response to identifying that the second tuning parameter comprises a second protocol specification message parameter, invoking a second protocol specification message reassembler in the tuning service, the second protocol specification message reassembler configured to reassemble fields in the second protocol specification message based on the second protocol specification and the second protocol specification message parameter. The second protocol specification message refers to a message transmitted between a Gateway (GW) and a network server (e.g., may be an internet of things platform according to the present invention).
Taking the second protocol specification as the GWMP protocol as an example, the second protocol specification packet refers to the GWMP packet, and parameters of the second protocol specification packet used for modulating the gateway may include, but are not limited to, a version number (ver), a security check code (token), and a sequence number (id).
In response to the uplink message including parameters configured by the user for any one or more of the above second protocol specification message parameters, the second protocol specification message reassembler may reassemble fields in the second protocol specification message based on the GWMP protocol in combination with the second protocol specification message parameters configured by the user.
2. Second protocol standard downlink message recombination device
And in response to identifying that the second measurement parameters include downlink message parameters in a second protocol specification, invoking a second protocol specification downlink message reassembler in the measurement service, the second protocol specification downlink message reassembler configured to reassemble fields in downlink messages of the second protocol specification based on the second protocol specification and the downlink message parameters in the second protocol specification. The downlink message refers to a message sent by the gateway to the terminal device (i.e., node).
The downstream message parameters include parameters associated with downstream messages in the second protocol specification. Taking the second protocol specification as an example of the GWMP protocol, the downlink message parameters used for modulating the gateway may include, but are not limited to, an imme field (boolean value, characterizing immediate issue when the value is true), a tmst field (unsigned integer, characterizing the internal time count of the gateway), a freq field (unsigned floating point, characterizing the downlink frequency point), an rfch field (unsigned integer, characterizing the downlink antenna number), a powe field (unsigned integer, characterizing the downlink signal power), a modu field (string type, characterizing the signal modulation mode), a datr field (string type, characterizing the signal rate), a codr field (string type, characterizing the ECC rate), an ipol field (boolean value, commanding the gateway to invert the polarity when the value is true), a size field (unsigned integer, characterizing the number of frame bytes), and a ncrc field (boolean value, when the value is true), and turning off the physical layer CRC generation.
In response to the uplink message including parameters configured by the user for any one or more of the above downlink message parameters, the second protocol specification downlink message reassembler may reassemble fields in the downlink message of the second protocol specification based on the GWMP protocol in combination with the downlink message parameters configured by the user.
An exemplary description of an operational flow that may be performed by the device 100 is described below in connection with fig. 1.
Referring to fig. 1, in step S310, an uplink message is sent to the internet of things platform.
In the case that the device needs to perform the tuning, the uplink packet sent may include the tuning parameter configured by the user (i.e., the second tuning parameter mentioned above). For the configurable tuning parameters, reference is made to the above related description, and no further description is given here.
In step S320, a tuning message sent by the internet of things platform is received.
The tuning message includes tuning parameters (i.e., the third tuning parameters mentioned above) obtained by the internet of things platform by calling the tuning service to perform parameter configuration. The third tuning parameter is configured for the device by the tuning service in the internet of things platform based on the protocol specification and the second tuning parameter. The specific configuration process may be referred to in the above related description, and will not be described herein.
In step S330, the device is adjusted based on the adjustment message.
After the device receives the tuning message, the parameters stored on the device side can be adjusted based on the parameters in the tuning message (i.e., the third tuning parameter). Optionally, the device side may also perform corresponding responses according to the protocol specification, such as controlling actions of various sensors connected to the device, triggering uplink specific messages, dormancy of the device, mode change, and other corresponding events on the device side. The specific processing logic on the device side is related to the actual scenario, and will not be described herein.
Fig. 2 shows a schematic flow chart of a communication method of an internet of things platform and a device according to another embodiment of the invention. The method shown in fig. 2 may be performed by an internet of things platform.
Referring to fig. 2, in step S410, an uplink message sent by a receiving device is received. Reference may be made specifically to the description above in connection with step S210 in fig. 1, and details are not repeated here.
In step S420, the second tuning parameter in the uplink message is identified.
For the second tuning parameter, reference may be made to the above related description, and no further description is given here.
In step S430, the call-out service configures a third call-out parameter for the device based on the protocol specification and the second call-out parameter.
Specific configuration procedures may be found in the above related description and will not be described here again.
In step S440, a tuning message including the third tuning parameter is sent to the device.
[ Internet of things platform ]
As can be seen from the above description, the present invention may be implemented as an internet of things platform. And the Internet of things platform is provided with a debugging service, and can judge whether the equipment belongs to the equipment to be tested or not in response to receiving the uplink message sent by the equipment, and can invoke the debugging service to debug the equipment under the condition that the equipment is judged to belong to the equipment to be tested.
For the operations that the internet of things platform may also perform, reference may be made to the above related description, which is not repeated here.
[ Internet of things System ]
The invention can also be realized as an internet of things system. The internet of things system comprises an internet of things platform and a plurality of devices, wherein the internet of things platform receives an uplink message sent by the devices, judges whether the devices belong to the to-be-regulated device, and calls a regulating and measuring service to regulate and measure the devices under the condition that the devices are judged to belong to the to-be-regulated device. Regarding operations that may be further performed by the internet of things platform and the device, reference may be made to the above related description, which is not repeated here.
[ communication device ]
Fig. 3 is a schematic structural diagram of a communication device of an internet of things platform and an apparatus according to an embodiment of the present invention. Wherein the functional modules of the communication device may be implemented by hardware, software, or a combination of hardware and software implementing the principles of the present invention. Those skilled in the art will appreciate that the functional modules depicted in fig. 3 may be combined or divided into sub-modules to implement the principles of the invention described above. Accordingly, the description herein may support any possible combination, or division, or even further definition of the functional modules described herein.
The functional modules that the communication device may have and the operations that each functional module may perform are briefly described, and details related thereto are referred to the above related description and are not repeated herein.
Referring to fig. 3, the communication apparatus 300 includes a receiving module 310, a judging module 320, and a tuning module 330. The communication device 300 may be disposed on the internet of things platform side.
The receiving module 310 is configured to receive an uplink message sent by a device. The determining module 320 is configured to determine whether the device belongs to a device to be tested. The tuning module 330 is configured to invoke a tuning service to tune the device if it is determined that the device belongs to the device to be tuned.
Optionally, the communication device 300 may further comprise a transmitting module. The sending module is configured to send a downlink message to the device if the judging module 320 judges that the device belongs to the online device.
Optionally, the communication device 300 may further comprise a maintenance module. The maintenance module is used for maintaining a mark list, and the mark list stores the device identifier and the corresponding mark in an associated mode. The determining module 320 may determine whether the device belongs to the device to be tested according to the tag corresponding to the device identifier of the device in the tag list.
In one embodiment of the present invention, the tuning module 330 may configure the first tuning parameter for the device based on the protocol specification and send a tuning message including the first tuning parameter to the device.
In another embodiment of the present invention, the tuning module 330 may identify a second tuning parameter in the uplink packet, configure a third tuning parameter for the device based on the protocol specification and the second tuning parameter, and send a tuning packet including the third tuning parameter to the device. Specific tuning procedures can be found in the above related descriptions, and are not repeated here.
Fig. 4 is a schematic structural diagram of a communication device of an internet of things platform and an apparatus according to another embodiment of the present invention. Wherein the functional modules of the communication device may be implemented by hardware, software, or a combination of hardware and software implementing the principles of the present invention. Those skilled in the art will appreciate that the functional modules depicted in fig. 4 may be combined or divided into sub-modules to implement the principles of the invention described above. Accordingly, the description herein may support any possible combination, or division, or even further definition of the functional modules described herein.
The functional modules that the communication device may have and the operations that each functional module may perform are briefly described, and details related thereto are referred to the above related description and are not repeated herein.
Referring to fig. 4, the communication apparatus 400 includes a receiving module 410, an identifying module 420, a configuring module 430, and a transmitting module 440. The communication device 400 may be disposed on the internet of things platform side.
The receiving module 410 is configured to receive an uplink message sent by a device. The identifying module 420 is configured to identify a second tuning parameter in the uplink packet. The configuration module 430 is configured to configure a third tuning parameter for the device based on the protocol specification and the second tuning parameter. The sending module 440 is configured to send a tuning message including the third tuning parameter to the device. For a specific implementation of the configuration module 430, reference may be made to the above related description, which is not repeated here.
Fig. 5 is a schematic structural diagram of a communication device of an internet of things platform and an apparatus according to another embodiment of the present invention. Wherein the functional modules of the communication device may be implemented by hardware, software, or a combination of hardware and software implementing the principles of the present invention. Those skilled in the art will appreciate that the functional modules depicted in fig. 5 may be combined or divided into sub-modules to implement the principles of the invention described above. Accordingly, the description herein may support any possible combination, or division, or even further definition of the functional modules described herein.
The functional modules that the communication device may have and the operations that each functional module may perform are briefly described, and details related thereto are referred to the above related description and are not repeated herein.
Referring to fig. 5, the communication apparatus 500 includes a transmitting module 510, a receiving module 520, and an adjusting module 530. Wherein the communication apparatus 500 may be provided at the device side.
The sending module 510 is configured to send an uplink message to the internet of things platform, where the uplink message includes a second measurement parameter configured by the user. The receiving module 520 is configured to receive a tuning message sent by the internet of things platform, where the tuning message includes a third tuning parameter, and the third tuning parameter is configured by a tuning service in the internet of things platform for the device based on a protocol specification and the second tuning parameter. The adjustment module 530 is configured to adjust the device based on the third tuning parameter.
The adjustment module 530 may adjust the parameters stored on the device side based on the parameters in the adjustment message (i.e., the third adjustment parameter). Optionally, the device side may also perform corresponding responses according to the protocol specification, such as controlling actions of various sensors connected to the device, triggering uplink specific messages, dormancy of the device, mode change, and other corresponding events on the device side. The specific processing logic on the device side is related to the actual scenario, and will not be described herein.
For example, when a factory device needs to verify whether the protocol standard is met, whether the regional specification is met, and the device stability is met, adjustment and measurement are needed; when a device needs to be connected to a universal Internet of things platform to verify the compatibility of the platform, adjustment and measurement are also needed; when the equipment connected to the Internet of things platform is abnormal and the problem is to be checked, the equipment also needs to be adjusted and tested.
When the equipment manufacturer needs to adjust the factory equipment, the equipment can be directly realized by 1. 2. The platform is opened by the debugging service, and the applicability of the platform is ensured after the debugging is finished. And 3, logging in the same system by a LoRa equipment manufacturer, performing adjustment and measurement of the LoRa equipment at zero cost, and converting the LoRa equipment into on-line formal equipment of the platform by one key after the adjustment and measurement are finished, so that the system is convenient and friendly to use, and effective and quick in adjustment and measurement. If the problem is found for the on-line equipment, the on-line equipment can be switched to the debugging mode of the 2 nd-6 th flow by one key, and the service is used for debugging again.
[ computing device ]
Fig. 6 is a schematic structural diagram of a computing device that may be used to implement the communication method of the internet of things platform and the device according to an embodiment of the present invention.
Referring to fig. 5, a computing device 600 includes a memory 610 and a processor 620.
Processor 620 may be a multi-core processor or may include multiple processors. In some embodiments, processor 620 may include a general-purpose host processor and one or more special coprocessors, such as a Graphics Processor (GPU), digital Signal Processor (DSP), etc. In some embodiments, the processor 620 may be implemented using custom circuitry, for example, an application specific integrated circuit (ASIC, application Specific Integrated Circuit) or a field programmable gate array (FPGA, field Programmable Gate Arrays).
Memory 610 may include various types of storage units, such as system memory, read Only Memory (ROM), and persistent storage. Where the ROM may store static data or instructions that are required by the processor 620 or other modules of the computer. The persistent storage may be a readable and writable storage. The persistent storage may be a non-volatile memory device that does not lose stored instructions and data even after the computer is powered down. In some embodiments, the persistent storage device employs a mass storage device (e.g., magnetic or optical disk, flash memory) as the persistent storage device. In other embodiments, the persistent storage may be a removable storage device (e.g., diskette, optical drive). The system memory may be a read-write memory device or a volatile read-write memory device, such as dynamic random access memory. The system memory may store instructions and data that are required by some or all of the processors at runtime. Furthermore, memory 610 may include any combination of computer-readable storage media including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), magnetic disks, and/or optical disks may also be employed. In some implementations, memory 610 may include readable and/or writable removable storage devices such as Compact Discs (CDs), digital versatile discs (e.g., DVD-ROMs, dual-layer DVD-ROMs), blu-ray discs read only, super-density discs, flash memory cards (e.g., SD cards, min SD cards, micro-SD cards, etc.), magnetic floppy disks, and the like. The computer readable storage medium does not contain a carrier wave or an instantaneous electronic signal transmitted by wireless or wired transmission.
The memory 610 stores executable code that, when processed by the processor 620, causes the processor 620 to perform the above-described communication method between the internet of things platform and the device.
The communication method of the internet of things platform and the device, the internet of things platform, the internet of things system, the communication device and the computing device according to the invention have been described in detail above with reference to the accompanying drawings.
According to the exemplary embodiments of the present invention, the following advantageous effects can be achieved.
1. The adjustment and measurement service is realized in a mounting mode without realizing a core link service of the Internet of things platform, and the version iteration of the Internet of things platform is directly energized to the adjustment and measurement service.
2. The platform is opened by the debugging service, and the applicability of the platform is ensured after the debugging is finished.
3. Equipment manufacturers (such as LoRa equipment manufacturers) log in the same system, can be accessed in zero cost to perform adjustment and measurement of equipment (such as LoRa equipment), and can be converted into on-line formal equipment of the platform by one key after the adjustment and measurement are completed, so that the system is convenient and friendly to use, and the adjustment and measurement are effective and quick. If the problem of the on-line equipment is found, the on-line equipment can be switched to the debugging mode by one key, and the debugging service is called for debugging.
4. The internet of things platform side is provided with a regulating and testing service switch, and whether the regulating and testing service is opened can be controlled through the switch. Under the abnormal condition, the mounted test adjustment service can stop mounting by closing the switch, so that the stability of the platform is prevented from being influenced.
5. Four recombiners are introduced, the messages are reassembled according to the modulation requirement by four layers (such as an instruction, loRaWAN message, TXPK and GWMP), the requirement of adjustable measurement of the full downlink message is completed, the assembling capability of a platform is directly multiplexed for the layer without modulation configuration, the repetition of codes is reduced, and the iteration speed of the platform and the modulation service version is improved.
Furthermore, the method according to the invention may also be implemented as a computer program or computer program product comprising computer program code instructions for performing the steps defined in the above-mentioned method of the invention.
Alternatively, the invention may also be embodied as a non-transitory machine-readable storage medium (or computer-readable storage medium, or machine-readable storage medium) having stored thereon executable code (or a computer program, or computer instruction code) which, when executed by a processor of an electronic device (or computing device, server, etc.), causes the processor to perform the steps of the above-described method according to the invention.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems and methods according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing description of embodiments of the invention 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 improvement of technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.

Claims (21)

1. The communication method of the Internet of things platform and the equipment is characterized by comprising the following steps:
receiving an uplink message sent by equipment;
judging whether the equipment belongs to equipment to be tested or not;
identifying a second tuning parameter custom-configured by a user in the uplink message when the equipment is determined to belong to the equipment to be tuned, configuring a third tuning parameter for the equipment based on a protocol specification corresponding to the second tuning parameter and the second tuning parameter, sending a tuning message comprising the third tuning parameter to the equipment, wherein the third tuning parameter comprises the second tuning parameter,
wherein configuring a third tuning parameter for the device based on a protocol specification corresponding to the second tuning parameter and the second tuning parameter, comprises: and re-assembling the field for debugging based on the protocol specification corresponding to the second debugging parameter and the second debugging parameter, so that the field after re-assembly comprises the second debugging parameter.
2. The communication method according to claim 1, characterized by further comprising:
and sending a downlink message to the equipment under the condition that the equipment is judged to belong to the online equipment.
3. The communication method according to claim 1, characterized by further comprising: maintaining a tag list in which device identifiers and their corresponding tags are stored in association,
the step of judging whether the equipment belongs to equipment to be tested comprises the following steps:
and judging whether the equipment belongs to the equipment to be tested or not according to the mark corresponding to the equipment identifier of the equipment in the mark list.
4. The communication method according to claim 1, characterized by further comprising:
configuring a first tuning parameter for the device based on a protocol specification;
and sending a modulation message comprising the first modulation parameter to the equipment.
5. The communication method according to claim 1, wherein the device is a terminal device, and the re-assembling the fields for modulation based on the protocol specification and the second modulation parameter comprises:
in response to identifying that the second tuning parameter includes a MAC instruction parameter, invoking an instruction reassembler in a tuning service, the instruction reassembler configured to reassemble fields in a MAC instruction based on a MAC instruction specification in a first protocol specification and the MAC instruction parameter; and/or
And in response to identifying that the second measurement parameter comprises a message parameter in a first protocol specification, invoking a first protocol specification message reassembler in a measurement service, wherein the first protocol specification message reassembler is used for reassembling fields in a message based on a message specification in the first protocol specification and the message Wen Canshu.
6. The communication method according to claim 5, wherein,
the first protocol specification is LoRaWAN protocol, and/or
The MAC instruction parameters include parameters related to the MAC command, and/or
The message parameters include at least one of the following: receiving window parameters, network access parameters, downlink frame parameters and service instruction parameters.
7. The communication method according to claim 1, wherein the device is a gateway, and re-assembling the fields for modulation based on the protocol specification and the second modulation parameter comprises:
in response to identifying that the second tuning parameter includes a second protocol specification message parameter, invoking a second protocol specification message reassembler in a tuning service, the second protocol specification message reassembler configured to reassemble fields in a second protocol specification message based on the second protocol specification and the second protocol specification message parameter; and/or
And in response to identifying that the second measurement parameters include downlink message parameters in a second protocol specification, invoking a second protocol specification downlink message reassembler in a measurement service, wherein the second protocol specification downlink message reassembler is used for reassembling fields in a downlink message of a second protocol specification based on the second protocol specification and the downlink message parameters.
8. The communication method according to claim 7, wherein,
the second protocol specification is a GWMP protocol, and/or
The second protocol specification message parameter includes at least one of the following: version number, security check code, sequence number, and/or
The downstream message parameters include parameters related to downstream messages in the second protocol specification.
9. The communication method according to claim 1, characterized by further comprising:
after the equipment is adjusted and tested, converting the equipment into on-line equipment in the Internet of things platform; or alternatively
And executing the communication method under the condition that the on-line equipment in the Internet of things platform is in question, so as to test the on-line equipment in the Internet of things platform in question.
10. The communication method of the Internet of things platform and the equipment is characterized by comprising the following steps:
receiving an uplink message sent by equipment;
judging whether the equipment belongs to equipment to be tested or not;
and under the condition that the equipment belongs to equipment to be tested, calling a testing service to test the equipment, wherein the testing service is configured to reassemble fields for testing based on a protocol specification corresponding to second testing parameters which are configured by a user in the uplink message and the second testing parameters in the uplink message, so that the reassembled fields comprise the second testing parameters.
11. The communication method according to claim 10, characterized by further comprising:
judging whether the modulation service is available or not;
and executing the step of calling the call testing service to test the equipment under the condition that the call testing service is judged to be available.
12. The communication method of the Internet of things platform and the equipment is characterized by comprising the following steps:
receiving an uplink message sent by equipment;
identifying a second modulation parameter which is configured by user definition in the uplink message;
calling a tuning service to configure a third tuning parameter for the device based on a protocol specification corresponding to the second tuning parameter and the second tuning parameter, wherein the third tuning parameter comprises the second tuning parameter, and the tuning service is configured to reassemble a field for tuning based on the protocol specification corresponding to the second tuning parameter and the second tuning parameter in the uplink message, so that the reassembled field comprises the second tuning parameter;
and sending a modulation message comprising the third modulation parameter to the equipment.
13. The communication method of the Internet of things platform and the equipment is characterized by comprising the following steps:
sending an uplink message to an Internet of things platform, wherein the uplink message comprises second adjustment parameters configured by a user in a self-defined manner;
Receiving a tuning message sent by the internet of things platform, wherein the tuning message comprises a third tuning parameter, the third tuning parameter is configured by a tuning service in the internet of things platform for the device based on a protocol specification corresponding to the second tuning parameter and the second tuning parameter, the third tuning parameter comprises the second tuning parameter, and the tuning service is configured to reassemble a field for tuning based on the protocol specification corresponding to the second tuning parameter and the second tuning parameter in the uplink message, so that the reassembled field comprises the second tuning parameter;
and adjusting the equipment based on the adjustment message.
14. The communication method according to claim 13, wherein,
the device is a terminal device which is provided with a communication interface,
the second tuning parameters include MAC instruction parameters, and the third tuning parameters include parameters obtained by an instruction reassembler in the tuning service based on the MAC instruction specification and the MAC instruction parameters in the first protocol specification, fields in a reassembled MAC instruction, and/or,
the second tuning parameters include message parameters in a first protocol specification, and the third tuning parameters include parameters obtained by a first protocol specification message reassembler in the tuning service based on the message specification in the first protocol specification and the message Wen Canshu, and the fields in the reassembled message.
15. The communication method according to claim 13, wherein,
the device is a gateway which is configured to receive a message,
the second tuning parameters include second protocol specification message parameters, the third tuning parameters include parameters obtained by a second protocol specification message reassembler in the tuning service based on the second protocol specification and the second protocol specification message parameters, and/or,
the second tuning parameters include downlink message parameters in a second protocol specification, and the third tuning parameters include parameters obtained by a second protocol specification downlink message reassembler in the tuning service by reassembling fields in a downlink message of the second protocol specification based on the second protocol specification and the downlink message parameters.
16. The Internet of things platform is characterized in that a modulation service is carried on the Internet of things platform, in response to receiving an uplink message sent by equipment, the Internet of things platform judges whether the equipment belongs to equipment to be modulated, and under the condition that the equipment is judged to belong to the equipment to be modulated, the Internet of things platform invokes the modulation service to modulate the equipment, and the modulation service is configured to reconfigure fields for modulation based on protocol specifications corresponding to second modulation parameters configured by a user in the uplink message and the second modulation parameters in the uplink message, so that the fields after the recombination comprise the second modulation parameters.
17. The Internet of things system comprises an Internet of things platform and a plurality of devices, wherein the Internet of things platform receives an uplink message sent by the devices, judges whether the devices belong to the devices to be tested, and calls a testing service to test the devices under the condition that the devices belong to the devices to be tested, and the testing service is configured to reassemble fields for testing based on protocol specifications corresponding to second testing parameters configured by user definition in the uplink message and the second testing parameters in the uplink message, so that the reassembled fields comprise the second testing parameters.
18. A communication apparatus between an internet of things platform and a device, comprising:
the receiving module is used for receiving the uplink message sent by the equipment;
the judging module is used for judging whether the equipment belongs to equipment to be tested or not;
and the debugging module is used for calling a debugging service to carry out debugging on the equipment under the condition that the equipment is judged to belong to the equipment to be tested, and the debugging service is configured to reassemble the field for debugging based on a protocol specification corresponding to the second debugging parameter which is configured by the user in the uplink message and the second debugging parameter in the uplink message, so that the reassembled field comprises the second debugging parameter.
19. A communication apparatus between an internet of things platform and a device, comprising:
the sending module is used for sending an uplink message to the Internet of things platform, wherein the uplink message comprises second adjustment parameters configured by a user in a self-defined manner;
the receiving module is configured to receive a tuning message sent by the internet of things platform, where the tuning message includes a third tuning parameter, the third tuning parameter is configured by a tuning service in the internet of things platform for the device based on a protocol specification corresponding to the second tuning parameter and the second tuning parameter, the third tuning parameter includes the second tuning parameter, and the tuning service is configured to reassemble a field for tuning based on the protocol specification corresponding to the second tuning parameter and the second tuning parameter in the uplink message, so that the reassembled field includes the second tuning parameter;
and the adjusting module is used for adjusting the equipment based on the third adjusting parameter.
20. A computing device, comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor causes the processor to perform the method of any of claims 1 to 15.
21. A non-transitory machine-readable storage medium having stored thereon executable code, which when executed by a processor of an electronic device, causes the processor to perform the method of any of claims 1 to 15.
CN201910048274.0A 2019-01-18 2019-01-18 Communication method, device and equipment of Internet of things platform and equipment and storage medium Active CN111464322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910048274.0A CN111464322B (en) 2019-01-18 2019-01-18 Communication method, device and equipment of Internet of things platform and equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910048274.0A CN111464322B (en) 2019-01-18 2019-01-18 Communication method, device and equipment of Internet of things platform and equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111464322A CN111464322A (en) 2020-07-28
CN111464322B true CN111464322B (en) 2023-05-26

Family

ID=71679766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910048274.0A Active CN111464322B (en) 2019-01-18 2019-01-18 Communication method, device and equipment of Internet of things platform and equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111464322B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112105008B (en) * 2020-08-21 2023-02-17 云南瀚哲科技有限公司 LoRaWAN gateway node data interaction method based on data unit
CN112367249B (en) * 2020-09-30 2022-12-06 三维通信股份有限公司 Communication method of LoRa device, loRaWAN system, electronic apparatus, and storage medium
CN113329064B (en) * 2021-05-13 2022-11-25 河南中州智慧水利研究院有限公司 Communication method of Internet of things interaction protocol based on water conservancy data acquisition and control
CN114040427B (en) * 2021-10-28 2023-07-07 中国联合网络通信集团有限公司 Adjustment and measurement method, device, equipment and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018045521A1 (en) * 2016-09-08 2018-03-15 华为技术有限公司 Method and device for transmitting signaling in wireless network

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095609A (en) * 2013-01-09 2013-05-08 大唐软件技术股份有限公司 Access adaptive method and device based on Internet of things terminals
US10540190B2 (en) * 2017-03-21 2020-01-21 International Business Machines Corporation Generic connector module capable of integrating multiple applications into an integration platform
CN108768786A (en) * 2018-06-14 2018-11-06 厦门理工学院 A kind of device detection system, method, terminal and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018045521A1 (en) * 2016-09-08 2018-03-15 华为技术有限公司 Method and device for transmitting signaling in wireless network

Also Published As

Publication number Publication date
CN111464322A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
CN111464322B (en) Communication method, device and equipment of Internet of things platform and equipment and storage medium
US11172399B2 (en) Default quality of service (QoS) control method and device
CN114567875A (en) Techniques for radio equipment network space security and multiple radio interface testing
US20120224491A1 (en) Method and apparatus for adaptive traffic management in a resource- constrained network
TWI757390B (en) Method, device and system for beam selection
CN114008993B (en) Method, apparatus and system for session establishment in a wireless communication network
WO2021121001A1 (en) Communication parameter configuration method and apparatus, device and storage medium
CN109923836A (en) For using non-link test resource from the method for wireless equipment under test transmission test result
CN105634977A (en) Method and device for discovering a path maximum transmission unit (PMTU)
US11785560B2 (en) Data transmission method and device, and system
CN113660127B (en) Networking control method, device and equipment based on easy mesh networking
US20190159022A1 (en) Packet forwarding in a wireless mesh network
CN116614172A (en) Satellite communication method, nonvolatile storage medium, and electronic device
CN115021852B (en) Method, device and system for configuring port state
CN116346294A (en) Communication method, device, related equipment and storage medium
RU2744479C1 (en) Data transmission method, transmitting terminal and receiving terminal
CN113709015A (en) Data transmission method, electronic device and storage medium
WO2024031570A1 (en) Csi-rs resource configuration method and apparatus, and device and medium
CN113015114B (en) Method and device for perfecting terminal information base and computing equipment
US11784884B2 (en) Code activation management method for network slicing solutions, and corresponding entity, server and computer program
RU2774296C2 (en) Terminal device, base station device and method
CN112367249B (en) Communication method of LoRa device, loRaWAN system, electronic apparatus, and storage medium
WO2024067046A1 (en) Communication method and apparatus
WO2024045171A1 (en) Information indication method and apparatus, device and storage medium
WO2023044761A1 (en) Information reporting method and apparatus, 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40034085

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant