CN110719245A - Internet of things data transmission method and system - Google Patents

Internet of things data transmission method and system Download PDF

Info

Publication number
CN110719245A
CN110719245A CN201810759544.4A CN201810759544A CN110719245A CN 110719245 A CN110719245 A CN 110719245A CN 201810759544 A CN201810759544 A CN 201810759544A CN 110719245 A CN110719245 A CN 110719245A
Authority
CN
China
Prior art keywords
data transmission
transmission unit
authentication
data
acquisition server
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.)
Pending
Application number
CN201810759544.4A
Other languages
Chinese (zh)
Inventor
金振
叶朝阳
林翀云
胡少清
牛坡
郭轩
邱雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Zhejiang Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Zhejiang Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Zhejiang Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810759544.4A priority Critical patent/CN110719245A/en
Publication of CN110719245A publication Critical patent/CN110719245A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/121Timestamp

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a data transmission method and system of an Internet of things. Receiving a registration authentication request of a data transmission unit, and authenticating the data transmission unit according to the registration authentication request; if the authentication is successful, a target data acquisition server is allocated for the data transmission unit, an authentication result is generated according to the target data acquisition server, and the authentication result is sent to the data transmission unit; the target data acquisition server is a data acquisition server with the utilization rate meeting preset requirements at the current time. The method provided by the invention realizes the framework separation and distributed deployment of the authentication management server and the data acquisition server on the cloud platform side of the Internet of things, supports the concurrent processing of a plurality of capacity nodes, guides the data transmission unit to upload the data to the capacity node with free resources, and supports the service characteristics of networking large-scale access and mass data stream processing.

Description

Internet of things data transmission method and system
Technical Field
The embodiment of the invention relates to the technical field of Internet of things, in particular to a method and a system for transmitting data of the Internet of things.
Background
The Internet of things is the key development direction of world mobile communication, and the end to end of the Internet of things system comprises a sensor, a data transmission unit, an authentication management server and a data acquisition server. The sensor belongs to the nerve endings of the Internet of things and becomes the most core element for the human to comprehensively perceive nature. The sensor converts various physical quantities, chemical quantities and biomass in nature into measurable electric signals, and transmits the acquired electric signals to the data transmission unit through communication interfaces such as a serial port. The authentication management server receives registration authentication requests of the data acquisition server and the data transmission unit, and authenticates the identity of the equipment according to an authentication key distributed in advance. The authentication management server schedules a data transmission request of the data transmission unit to the data acquisition server in an idle state, the data acquisition server interacts with the data transmission unit, judges the legality of the data request of the data transmission unit through an MD5 abstract algorithm, receives a data uplink request of the data transmission unit, and simultaneously issues a control command to the data transmission unit.
In the existing data transmission process of the internet of things, the data of the internet of things collected by a sensor is generally adopted; filtering the data of the Internet of things according to a preset data filtering identifier; and compressing and packaging the filtered Internet of things data and pushing the Internet of things data to a server side.
In the prior art, in the data transmission process of the internet of things, the data transmission unit needs to compress, package and push data to the server, so that the processing capability requirement of the data transmission unit is increased, and the data transmission unit is not suitable for the processing requirements of low power consumption and low processing capability required by the terminal of the internet of things in the data transmission process.
Disclosure of Invention
The embodiment of the invention provides a data transmission method and system of the Internet of things, which are used for solving the problems that in the prior art, in the data transmission process of the Internet of things, a data transmission unit needs to compress, package and push data to a server end, the processing capacity requirement of the data transmission unit is increased, and the data transmission unit is not suitable for the processing requirements of low power consumption and low processing capacity required by a terminal of the Internet of things in the data transmission process.
In a first aspect, an embodiment of the present invention provides an internet of things data transmission method, including: receiving a registration authentication request of a data transmission unit, and authenticating the data transmission unit according to the registration authentication request;
if the authentication is successful, a target data acquisition server is allocated for the data transmission unit, an authentication result is generated according to the target data acquisition server, and the authentication result is sent to the data transmission unit;
the target data acquisition server is a data acquisition server with the utilization rate meeting preset requirements at the current time.
In a second aspect, an embodiment of the present invention further provides an internet of things data transmission method, including: receiving a first data uploading request of a data transmission unit, and carrying out validity verification on the first data uploading request to obtain a verification result;
if the verification result is judged to be valid, receiving the information uploaded by the data transmission unit, and sending success response information to the data transmission unit;
the first data uploading request comprises an authentication result returned to the data transmission unit by the authentication management server. .
In a third aspect, an embodiment of the present invention further provides an internet of things data transmission system, including:
the authentication module is used for receiving a registration authentication request of a data transmission unit, authenticating the data transmission unit according to the registration authentication request, if the authentication is successful, distributing a target data acquisition server for the data transmission unit, and generating an authentication result according to the target data acquisition server;
the distribution module is used for distributing a target data acquisition server for the data transmission unit if the authentication is successful, generating an authentication result according to the target data acquisition server and sending the authentication result to the data transmission unit;
the target data acquisition server is a data acquisition server with the utilization rate meeting preset requirements at the current time.
In a fourth aspect, an embodiment of the present invention further provides an internet of things data transmission system, including: the verification module is used for receiving a first data uploading request of the data transmission unit, verifying the validity of the first data uploading request and obtaining a verification result;
and the receiving module is used for receiving the information uploaded by the data transmission unit and sending successful response information to the data transmission unit if the verification result is judged to be valid.
The first data uploading request comprises an authentication result returned to the data transmission unit by the authentication management server.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the program is executed by a processor to perform the steps of the data transmission method for the internet of things provided in the first aspect.
An embodiment of the present invention further provides an authentication management server, including:
at least one processor; and at least one memory coupled to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to perform the steps of the data transmission method for the internet of things provided by the first aspect.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the program is executed by a processor to perform the steps of the data transmission method for the internet of things provided in the second aspect.
An embodiment of the present invention further provides a data acquisition server, including:
at least one processor; and at least one memory coupled to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the steps of the data transmission method of the internet of things provided by the second aspect.
The method and the system for transmitting the data of the internet of things provided by the embodiment of the invention realize the framework separation and the distributed deployment of the authentication management server and the data acquisition server on the cloud platform side of the internet of things, support the concurrent processing of a plurality of capacity nodes, guide the data transmission unit to upload the data to the capacity node with idle resources, and realize the identity authentication and the validity period control of data uploading and the flexible allocation of computing resources of the data acquisition server. The support is connected with the Internet in a large scale, and the mass data stream is processed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data transmission method of the internet of things according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a data receiving flow in a data transmission method of the internet of things according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an authentication management server in an internet of things data transmission system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a data acquisition server in an internet of things data transmission system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an authentication management server according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data acquisition server according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a data transmission method of an internet of things according to an embodiment of the present invention, where the method includes:
s1, receiving a registration authentication request of a data transmission unit, and authenticating the data transmission unit according to the registration authentication request;
and S2, if the authentication is successful, allocating a target data acquisition server for the data transmission unit, generating an authentication result according to the target data acquisition server, and sending the authentication result to the data transmission unit.
The target data acquisition server is a data acquisition server which meets the preset requirement on the utilization rate at the current time.
Specifically, the authentication management server stores in advance the initialization character strings str and the corresponding key character strings key of all the data acquisition servers and the IP and service port information of each data acquisition server, and also stores the device unique identification codes dtuid and the corresponding device key character strings dtukey of all the data transmission units and the MAC address information of each data transmission unit.
And each data acquisition server preferentially adopts the key of the data acquisition server to perform authentication registration in the authentication management server, the authentication management server verifies the data acquisition server by judging whether the key character string key sent by the data acquisition server is correct or not and simultaneously judging whether the IP information of the data acquisition server is consistent with the prestored IP information or not, and when the verification is passed, the state of the data acquisition server is updated to be a service state.
When the data transmission unit has data to be uploaded to the data acquisition server, the data transmission unit firstly initiates a registration authentication request to the authentication management server, the authentication management server authenticates the authentication request, and if the authentication is successful, the data transmission unit is allocated with a target data acquisition server. And if the verification fails, returning authentication failure information to the data transmission unit.
After the verification is successful, when the authentication management unit allocates the target data acquisition server, the authentication management unit inquires the utilization rate of the data transmission units allocated to all the data acquisition servers, selects the data acquisition server with the utilization rate meeting the preset requirement as the target data acquisition server, and simultaneously returns an authentication result to the data acquisition unit, wherein the authentication result contains the information of the target data acquisition server. The data acquisition unit can send an upload request to the target data acquisition server according to the information of the target data acquisition server in the verification result.
By the method, the authentication management server, namely the management node, on the cloud platform side of the Internet of things is separated from the data acquisition server, namely the architecture of the capacity node, and distributed deployment is realized, concurrent processing of a plurality of capacity nodes is supported, the data transmission unit is guided to upload data to the capacity node with free resources, and the service characteristics of large-scale access and massive data stream processing of the Internet of things are supported.
On the basis of the foregoing embodiment, the receiving a registration authentication request of a data transmission unit, and authenticating the data transmission unit according to the registration authentication request specifically includes:
receiving a registration authentication request of the data transmission unit, acquiring registration information in the registration authentication request, comparing the registration information with initialization information stored locally, and if the registration information is consistent with the initialization information, successfully authenticating; wherein the registration information at least comprises: a device unique identification code of the data transmission unit, a key string of the data transmission unit, and a timestamp.
The allocating a target data acquisition server for the data transmission unit, and generating an authentication result according to the target data acquisition server specifically include:
after the data transmission unit is successfully authenticated, selecting a data acquisition server with the lowest utilization rate at the current time as a target data acquisition server for receiving a data uploading request of the data transmission unit, and simultaneously generating an authentication result; the authentication result at least comprises a timestamp, an authentication validity period, an equipment unique identification code of the data transmission unit and identification information of the target data acquisition server.
Specifically, in the verification process of the data acquisition unit, the authentication management server applies for a registration authentication request to the authentication management server by receiving the data transmission unit i, the request includes a device unique identification code dtuid _ i of the data transmission unit i, a key character string dtukey _ i of the data transmission unit and a timestamp time _ i, the authentication management server compares a field in the received request packet with the dtuid _ i, dtukey _ i and time _ i of the data transmission unit i stored in the authentication management server, and if the three types of character strings are consistent, the authentication is successful, and a subsequent process is entered. If the three types of character strings are inconsistent in comparison, the authentication management server does not accept the authentication request of the data transmission unit, and the authentication fails.
After the authentication is successful, the authentication management server returns an authentication result to the data acquisition server unit, and the contents in the bag body comprise: timestamp time _ i, authentication validity period dura _ i, dtuid _ i, identification information m of the data acquisition server, IP and service port of the data acquisition server m, and a 32-bit MD5 value: MD5_ i, where MD5_ i is a timestamp time _ i, an authentication validity period dura _ i, a device unique identifier dtuid _ i of the data transmission unit i, and an MD5 value obtained after MD5 operation is performed on an initialization string str _ m of the data acquisition server m, that is, MD5_ i is MD5(time _ i + dura _ i + dtuid _ i + str _ m). The dura _ i is the validity period of the current authentication of the first data transmission unit i, and the authentication management server can flexibly configure the numerical value in seconds according to the industry characteristics and the use scene of the data transmission unit. The data acquisition server can determine the validity period of providing the data acquisition service for the data transmission unit according to the time stamps time _ i and dura _ i.
When the authentication management server designates the data acquisition server for the data transmission unit i, calculation is performed according to the number of the data acquisition units currently connected with each data acquisition server, and the data acquisition server m which is connected with the data acquisition units in the least number in the current state is selected as the server for uploading data by the data transmission unit i.
By the method, identity authentication and validity period control of data uploading are realized, and computing resources of the data acquisition server are flexibly distributed.
Referring to fig. 2, fig. 2 is a schematic diagram of a data receiving flow in a data transmission method of the internet of things according to an embodiment of the present invention. The method provided by the embodiment comprises the following steps:
s21, receiving a first data uploading request of a data transmission unit, and carrying out validity verification on the first data uploading request to obtain a verification result;
s22, if the verification result is judged to be valid, receiving the information uploaded by the data transmission unit, and sending a successful response message to the data transmission unit;
the first data uploading request comprises an authentication result returned to the data transmission unit by the authentication management server.
Specifically, the data transmission unit i sends a data uploading request to the data acquisition server m, the data acquisition server m authenticates and responds to the request content, and when the uplink transmission of the data transmission unit i is judged to be effective, the information uploaded by the data transmission unit i is received, the subsequent application logic processing is performed, and a successful response is returned.
And if the data transmission unit i judges that the uplink transmission belongs to the illegal request, returning a corresponding error code, wherein the error code corresponds to the reason for the failure of the identification authentication.
On the basis of the above embodiment, the receiving a data upload request of a data transmission unit and verifying the validity of the data upload request specifically includes:
receiving a data uploading request of a data transmission unit, extracting verification information in the uploading request, and verifying the validity of the uploading request of the data transmission unit according to the authentication result; wherein the verification information includes at least: the first data uploading request comprises an authentication result returned to the data transmission unit by the authentication management server.
The verifying the validity of the upload request of the data transmission unit according to the authentication result specifically includes:
comparing the timestamp, the authentication validity period, the equipment unique identification code of the data transmission unit and the identification information of the data acquisition server in the verification information with the timestamp, the authentication validity period, the equipment unique identification code of the data transmission unit and the identification information of the target data acquisition server in the authentication result; and if the comparison result is consistent, and the time point of receiving the data uploading request is within the time range of the authentication validity period, judging that the verification result is valid.
Specifically, the data transmission unit i sends a data upload request to the IP and service port of the data acquisition server m, and the request packet includes: the timestamp time _ i, the authentication validity dura _ i, the device unique identification code dtuid _ i, md5_ i of the data transmission unit i, and the information to be uploaded.
The data acquisition server m extracts time _ i, dura _ i and dtuid _ i of the weight of the request packet and an initialization character string str _ m of the data acquisition server m, performs MD5 operation on the four values to obtain an MD5 value MD5_ C, namely MD5_ C is MD5(time _ i + dura _ i + dtuid _ i + str _ m), compares MD5_ C with MD5_ i in the request packet, and determines that the data transmission unit i uploads the request this time to be valid if MD5_ C is MD5_ i and the time of receiving the data uploading request is within the time range of dura _ i. For the determination of the transmission time, the specific manner may be that the timestamp time _ i is a time point, the authentication validity period dura _ i is a time length in seconds, and if the time of the current upload of the data transmission unit is within the time length range of dura _ i after the time point of time _ i, it indicates that the current upload request of the data transmission unit i may be received.
The information uploaded by the data transmission unit i is specifically that physical quantity, chemical quantity and biomass of various internet of things devices are converted into electric signals through sensors, the collected electric signals are transmitted to the data transmission unit i through communication interfaces such as a serial port, the data transmission unit i quantizes the received electric signals to form digitized sensing values, and the digitized sensing values are used as information uploaded in a primary uploading request.
By the method, the data acquisition server performs MD5 verification and comparison after information in the request packet is combined with the preset character string stored in the local, and performs validity verification on the uploading of the data transmission unit, so that identity authentication and validity period control of data uploading and flexible allocation of computing resources of the data acquisition server are realized.
On the basis of the above embodiment, the method further includes: receiving a second data uploading request of the data transmission unit; and if the time point of receiving the second data uploading request is judged and known to be within the time range of the authentication validity period, receiving second data information uploaded by the data transmission unit, and sending success response information to the data transmission unit.
Specifically, when the data transmission unit i needs to upload data again, the data acquisition server m judges a time point according to the time point of receiving the upload request when receiving a new data upload request, and if the request sending time is within the time length range of dura _ i after the time point of time _ i, validity verification of the data transmission unit i is not needed, and information uploaded by the data transmission unit i is directly received. And if the request sending time is beyond the time length range of the dura _ i after the time _ i, returning to the step of registration and authentication, the data transmission unit i initiates a registration and authentication request to the authentication management server again, and the authentication management server allocates a new data acquisition server to the data transmission unit i again.
In summary, the method provided by the invention realizes architecture separation and distributed deployment of the authentication management server and the data acquisition server on the cloud platform side of the internet of things, supports concurrent processing of a plurality of capacity nodes, guides the data transmission unit to upload data to the capacity node with free resources, and realizes identity authentication and validity period control of data uploading and flexible allocation of computing resources of the data acquisition server. And the service characteristics of large-scale access of the support networking and mass data stream processing are supported.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an authentication management server in an internet of things data transmission system according to an embodiment of the present invention, where the system includes: an authentication module 31 and an assignment module 32.
The authentication module 31 is configured to receive a registration authentication request of a data transmission unit, authenticate the data transmission unit according to the registration authentication request, allocate a target data collection server to the data transmission unit if the authentication is successful, and generate an authentication result according to the target data collection server.
The distribution module 32 is configured to, if the authentication is successful, distribute a target data collection server to the data transmission unit, generate an authentication result according to the target data collection server, and send the authentication result to the data transmission unit.
The target data acquisition server is a data acquisition server with the utilization rate meeting preset requirements at the current time.
Specifically, the authentication management server stores in advance the initialization character strings str and the corresponding key character strings key of all the data acquisition servers and the IP and service port information of each data acquisition server, and also stores the device unique identification codes dtuid and the corresponding device key character strings dtukey of all the data transmission units and the MAC address information of each data transmission unit.
And each data acquisition server preferentially adopts the key of the data acquisition server to perform authentication registration in the authentication management server, the authentication management server verifies the data acquisition server by judging whether the key character string key sent by the data acquisition server is correct or not and simultaneously judging whether the IP information of the data acquisition server is consistent with the prestored IP information or not, and when the verification is passed, the state of the data acquisition server is updated to be a service state.
When the data transmission unit has data to be uploaded to the data acquisition server, the data transmission unit firstly initiates a registration authentication request to the authentication management server, the authentication management server authenticates the authentication request, and if the authentication is successful, the data transmission unit is allocated with a target data acquisition server. And if the verification fails, returning authentication failure information to the data transmission unit.
After the verification is successful, when the authentication management unit allocates the target data acquisition server, the authentication management unit inquires the utilization rate of the data transmission units allocated to all the data acquisition servers, selects the data acquisition server with the lowest utilization rate as the target data acquisition server, and simultaneously returns an authentication result to the data acquisition unit, wherein the authentication result contains the information of the target data acquisition server. The data acquisition unit can send an upload request to the target data acquisition server according to the information of the target data acquisition server in the verification result.
By the system, the authentication management server, namely a management node, on the cloud platform side of the Internet of things is separated from the data acquisition server, namely the architecture of the capacity nodes, and distributed deployment is realized, concurrent processing of a plurality of capacity nodes is supported, the data transmission unit is guided to upload data to the capacity nodes with free resources, and the service characteristics of large-scale access and massive data stream processing of the Internet of things are supported.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a data acquisition server in an internet of things data transmission system according to an embodiment of the present invention, where the system includes: an authentication module 41 and a receiving module 42.
The verification module 41 is configured to receive a first data upload request of a data transmission unit, and perform validity verification on the first data upload request to obtain a verification result.
The receiving module 42 is configured to receive the information uploaded by the data transmission unit and send a successful response message to the data transmission unit if it is determined that the verification result is valid.
The first data uploading request comprises an authentication result returned to the data transmission unit by the authentication management server.
Specifically, the data transmission unit i sends a data uploading request to the data acquisition server m, the data acquisition server m authenticates and responds to the request content, and when the uplink transmission of the data transmission unit i is judged to be effective, the information uploaded by the data transmission unit i is received, the subsequent application logic processing is performed, and a successful response is returned. And if the data transmission unit i judges that the uplink transmission belongs to the illegal request, returning a corresponding error code, wherein the error code corresponds to the reason for the failure of the identification authentication.
Fig. 5 illustrates an entity structure diagram of an authentication management server, and as shown in fig. 5, the server may include: a processor (processor)510, a communication Interface (Communications Interface)520, a memory (memory)530, and a bus 540, wherein the processor 510, the communication Interface 520, and the memory 530 communicate with each other via the bus 540. The communication interface 540 may be used for information transmission between the server and the smart tv. Processor 510 may call logic instructions in memory 530 to perform the following method: receiving a registration authentication request of a data transmission unit, and authenticating the data transmission unit according to the registration authentication request; if the authentication is successful, a target data acquisition server is allocated for the data transmission unit, an authentication result is generated according to the target data acquisition server, and the authentication result is sent to the data transmission unit; the target data acquisition server is a data acquisition server with the utilization rate meeting preset requirements at the current time.
The present embodiments also provide a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, enable the computer to perform the methods provided by the above-described method embodiments, for example, including: receiving a registration authentication request of a data transmission unit, and authenticating the data transmission unit according to the registration authentication request; if the authentication is successful, a target data acquisition server is allocated for the data transmission unit, an authentication result is generated according to the target data acquisition server, and the authentication result is sent to the data transmission unit; the target data acquisition server is a data acquisition server with the utilization rate meeting preset requirements at the current time.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: receiving a registration authentication request of a data transmission unit, and authenticating the data transmission unit according to the registration authentication request; if the authentication is successful, a target data acquisition server is allocated for the data transmission unit, an authentication result is generated according to the target data acquisition server, and the authentication result is sent to the data transmission unit; the target data acquisition server is a data acquisition server with the utilization rate meeting preset requirements at the current time.
Fig. 6 illustrates a schematic entity structure diagram of a data acquisition server, and as shown in fig. 6, the server may include: a processor (processor)610, a communication Interface (Communications Interface)620, a memory (memory)630 and a bus 640, wherein the processor 610, the communication Interface 620 and the memory 630 complete communication with each other through the bus 640. The communication interface 640 may be used for information transmission between the server and the smart tv. The processor 610 may call logic instructions in the memory 630 to perform the following method: receiving a first data uploading request of a data transmission unit, and carrying out validity verification on the first data uploading request to obtain a verification result; and if the verification result is judged to be valid, receiving the information uploaded by the data transmission unit and sending success response information to the data transmission unit.
The present embodiments also provide a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, enable the computer to perform the methods provided by the above-described method embodiments, for example, including: receiving a first data uploading request of a data transmission unit, and carrying out validity verification on the first data uploading request to obtain a verification result; and if the verification result is judged to be valid, receiving the information uploaded by the data transmission unit and sending success response information to the data transmission unit.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the above method embodiments, for example, including: receiving a first data uploading request of a data transmission unit, and carrying out validity verification on the first data uploading request to obtain a verification result; and if the verification result is judged to be valid, receiving the information uploaded by the data transmission unit and sending success response information to the data transmission unit. .
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (13)

1. A data transmission method of the Internet of things is characterized by comprising the following steps:
receiving a registration authentication request of a data transmission unit, and authenticating the data transmission unit according to the registration authentication request;
if the authentication is successful, a target data acquisition server is allocated for the data transmission unit, an authentication result is generated according to the target data acquisition server, and the authentication result is sent to the data transmission unit;
the target data acquisition server is a data acquisition server which meets the preset requirement on the utilization rate at the current time.
2. The method according to claim 1, wherein the receiving a registration authentication request of a data transmission unit, and authenticating the data transmission unit according to the registration authentication request specifically comprises:
receiving a registration authentication request of the data transmission unit, acquiring registration information in the registration authentication request, comparing the registration information with initialization information stored locally, and if the registration information is consistent with the initialization information, successfully authenticating;
wherein the registration information at least comprises: a device unique identification code of the data transmission unit, a key string of the data transmission unit, and a timestamp.
3. The method according to claim 1, wherein the allocating a target data collection server to the data transmission unit and generating an authentication result according to the target data collection server specifically include:
after the data transmission unit is successfully authenticated, selecting a data acquisition server with the lowest utilization rate at the current time as a target data acquisition server for receiving a data uploading request of the data transmission unit, and simultaneously generating an authentication result;
the authentication result at least comprises a timestamp, an authentication validity period, an equipment unique identification code of the data transmission unit and identification information of the target data acquisition server.
4. A data transmission method of the Internet of things is characterized by comprising the following steps:
receiving a first data uploading request of a data transmission unit, and carrying out validity verification on the first data uploading request to obtain a verification result;
if the verification result is judged to be valid, receiving the information uploaded by the data transmission unit, and sending success response information to the data transmission unit;
the first data uploading request comprises an authentication result returned to the data transmission unit by the authentication management server.
5. The method according to claim 4, wherein the receiving a first data upload request of a data transmission unit and performing validity verification on the first data upload request specifically include:
receiving a first data uploading request of a data transmission unit, obtaining verification information in the first uploading request, and verifying the validity of the uploading request of the data transmission unit according to an authentication result in the verification information.
6. The method of claim 5, wherein the authentication information further comprises: a timestamp, an authentication validity period, and a device unique identifier of the data transmission unit;
correspondingly, the verifying the validity of the upload request of the data transmission unit according to the authentication result in the verification information to obtain a verification result specifically includes:
comparing the timestamp, the authentication validity period, the equipment unique identification code of the data transmission unit and the identification information of the data acquisition server in the verification information with the timestamp, the authentication validity period, the equipment unique identification code of the data transmission unit and the identification information of the target data acquisition server in the authentication result to obtain a comparison result;
and if the comparison result is consistent and the time point of receiving the first data uploading request is within the time range of the authentication validity period, judging that the verification result is valid.
7. The method of claim 5, further comprising:
receiving a second data uploading request of the data transmission unit;
and if the time point of receiving the second data uploading request is judged and known to be within the time range of the authentication validity period, receiving second data information uploaded by the data transmission unit, and sending success response information to the data transmission unit.
8. An internet of things data transmission system, comprising:
the authentication module is used for receiving a registration authentication request of a data transmission unit, authenticating the data transmission unit according to the registration authentication request, if the authentication is successful, distributing a target data acquisition server for the data transmission unit, and generating an authentication result according to the target data acquisition server;
the distribution module is used for distributing a target data acquisition server for the data transmission unit if the authentication is successful, generating an authentication result according to the target data acquisition server and sending the authentication result to the data transmission unit;
the target data acquisition server is a data acquisition server with the utilization rate meeting preset requirements at the current time.
9. An internet of things data transmission system, comprising:
the verification module is used for receiving a first data uploading request of the data transmission unit, verifying the validity of the first data uploading request and obtaining a verification result;
the receiving module is used for receiving the information uploaded by the data transmission unit and sending successful response information to the data transmission unit if the verification result is judged to be valid;
the first data uploading request comprises an authentication result returned to the data transmission unit by the authentication management server.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
11. An authentication management server, comprising:
at least one processor;
and at least one memory coupled to the processor, wherein:
the memory stores program instructions executable by the processor
Invoking the program instructions may perform the method of any of claims 1 to 3.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 4 to 7.
13. A data collection server, comprising:
at least one processor;
and at least one memory coupled to the processor, wherein:
the memory stores program instructions executable by the processor
Invoking the program instructions may perform the method of any of claims 4 to 7.
CN201810759544.4A 2018-07-11 2018-07-11 Internet of things data transmission method and system Pending CN110719245A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810759544.4A CN110719245A (en) 2018-07-11 2018-07-11 Internet of things data transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810759544.4A CN110719245A (en) 2018-07-11 2018-07-11 Internet of things data transmission method and system

Publications (1)

Publication Number Publication Date
CN110719245A true CN110719245A (en) 2020-01-21

Family

ID=69209042

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810759544.4A Pending CN110719245A (en) 2018-07-11 2018-07-11 Internet of things data transmission method and system

Country Status (1)

Country Link
CN (1) CN110719245A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510493A (en) * 2020-04-15 2020-08-07 中国工商银行股份有限公司 Distributed data transmission method and device
CN112804682A (en) * 2020-12-31 2021-05-14 新奥数能科技有限公司 Data transmission method and device, readable medium and electronic equipment
CN114401289A (en) * 2021-12-31 2022-04-26 深圳市麦谷科技有限公司 Task batch uploading method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699894A (en) * 2009-11-10 2010-04-28 广州杰赛科技股份有限公司 Method and device for processing authentication request in authentication server cluster
CN103731819A (en) * 2013-12-11 2014-04-16 中国电子科技集团公司第三十研究所 Authentication method of wireless sensor network nodes
US20160105445A1 (en) * 2014-10-10 2016-04-14 Yuuta Hamada Communications system, management server, and communications method
CN106254377A (en) * 2016-09-09 2016-12-21 四川长虹电器股份有限公司 Support soft load-balancing method and the system of the connection of magnanimity length
US20180124049A1 (en) * 2015-10-08 2018-05-03 Feitian Technologies Co., Ltd. Method and device for authenticating based on authenticating device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699894A (en) * 2009-11-10 2010-04-28 广州杰赛科技股份有限公司 Method and device for processing authentication request in authentication server cluster
CN103731819A (en) * 2013-12-11 2014-04-16 中国电子科技集团公司第三十研究所 Authentication method of wireless sensor network nodes
US20160105445A1 (en) * 2014-10-10 2016-04-14 Yuuta Hamada Communications system, management server, and communications method
US20180124049A1 (en) * 2015-10-08 2018-05-03 Feitian Technologies Co., Ltd. Method and device for authenticating based on authenticating device
CN106254377A (en) * 2016-09-09 2016-12-21 四川长虹电器股份有限公司 Support soft load-balancing method and the system of the connection of magnanimity length

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111510493A (en) * 2020-04-15 2020-08-07 中国工商银行股份有限公司 Distributed data transmission method and device
CN111510493B (en) * 2020-04-15 2023-09-26 中国工商银行股份有限公司 Distributed data transmission method and device
CN112804682A (en) * 2020-12-31 2021-05-14 新奥数能科技有限公司 Data transmission method and device, readable medium and electronic equipment
CN114401289A (en) * 2021-12-31 2022-04-26 深圳市麦谷科技有限公司 Task batch uploading method and system

Similar Documents

Publication Publication Date Title
CN109120679B (en) Task allocation method and device
CN108306877B (en) NODE JS-based user identity information verification method and device and storage medium
CN111464627B (en) Data processing method, edge server, center server and processing system
CN106470184B (en) Security authentication method, device and system
CN110719245A (en) Internet of things data transmission method and system
CN112559993B (en) Identity authentication method, device and system and electronic equipment
CN111447185A (en) Processing method of push information and related equipment
CN110120970B (en) Data processing method and device based on Internet of vehicles and gateway system
CN113015165A (en) Internet of things platform device access method, device and system
CN113676563B (en) Scheduling method, device, equipment and storage medium of content distribution network service
CN107705088B (en) Service processing method, open platform and computer readable storage medium
CN110493239B (en) Authentication method and device
CN106254377A (en) Support soft load-balancing method and the system of the connection of magnanimity length
CN109889454A (en) A kind of the message driving means and method of micro services framework
US9832198B2 (en) Service-based message access layer frame and implementation method thereof
CN109962892A (en) A kind of authentication method and client, server logging in application
JP2023165679A (en) Device for remotely managing apparatuses, method, and program therefor
CN110839071A (en) Information storage method, device and storage medium based on block chain
CN113361913A (en) Communication service arranging method, device, computer equipment and storage medium
CN115563600A (en) Data auditing method and device, electronic equipment and storage medium
CN109088918B (en) Interaction method, client device and server device
CN113163008B (en) Connection intelligent management method and device of network service system and related equipment thereof
CN106709768B (en) Method and system for asynchronously downloading invoice
CN112099964A (en) Interface calling method and device, storage medium and electronic device
CN103546495A (en) Device data sharing method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200121