Method and device for transmitting information based on private network channel

By setting up a shared channel management module at the terminal, the problem of high cost and long cycles when realizing new IoT needs or communication content in existing private network IoT systems is solved, and the unsensible private network resource reuse is achieved, reducing the Renovation impact.

CN119402510AActive Publication Date: 2025-02-07CHINA MOBILE QUANTONG SYST INTEGRATION CO LTD +3
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202410531886.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-29
Publication Date
2025-02-07
Estimated Expiration
2044-04-29

AI Technical Summary

Technical Problem

When the existing technology realizes new IoT needs or communication content in the built private network IoT system, there are problems such as high cost, long transformation cycle and great impact.

Method used

By setting or connecting the first shared channel management module in the terminal, listening and intercepting the connection request of the target terminal, determining the shared channel and target information, so that the target terminal unconsciously reuses the supported private network connection channel to send information to the server.

Benefits of technology

It reduces the need for transformation of private networks, reduces costs and time, reduces the impact on existing systems, and achieves the goal of realizing new IoT needs or communication content in existing private network IoT systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402510A_ABST
    Figure CN119402510A_ABST
Patent Text Reader

Abstract

The invention discloses a method and a device for transmitting information based on a private network channel, which are applied to a terminal in a private network Internet of Things system, and the method comprises the following steps: when a first sharing channel management module monitors a first connection request sent by a target terminal in the private network Internet of Things system to a server, sending the first connection request to the server; determining a shared channel based on the first connection request through a first shared channel management module; wherein the first shared channel management module is arranged at a target terminal or connected to the target terminal; the shared channel is a private network connection channel corresponding to the supported terminal connected to the server, and the supported terminal is a terminal in an established private network Internet of Things system; based on the shared channel, determining target information to be sent to the server through a first shared channel management module; the target information comprises a target message having the same message format as that supported by the shared channel, and the target message comprises a target identifier identifying an analysis mode of the target message; and sending the target information to the server based on the shared channel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of Internet of Things, and specifically relates to a method and device for transmitting information based on a private network channel. Background Art

[0002] In the IoT scenario, users usually use private networks (i.e. dedicated networks) to communicate between terminals and servers, taking into account issues such as network and IoT security. They also often emphasize security and restrictions, ultimately forming a private network-based IoT system with fixed networks, policies, communication content, interfaces, and terminals, i.e., a private network IoT system.

[0003] As time goes by, new IoT demands or communication contents emerge. However, due to complex restrictions on communications between terminals and servers in the deployment of private networks, new IoT demands or communication contents often cannot be realized in the private network IoT systems that have been built.

[0004] In related technologies, the realization of new IoT needs or communication content is achieved by transforming private networks. However, due to the complexity of private network deployment and the transformation involving hardware, network and software, the cost of transforming private networks is high, the time period required is long, and the impact is greater.

[0005] In other words, the implementation solutions of related technologies for new IoT demands or communication contents arising from the already built private network IoT systems have the problems of high cost, long time consumption and great impact. Summary of the invention

[0006] The embodiments of the present application provide a method and device for transmitting information based on a private network channel, which can solve the problems of high cost, long transformation cycle and great impact in the implementation scheme of related technologies for new IoT needs or communication content that arise in the private network IoT system that has been built.

[0007] In a first aspect, an embodiment of the present application provides a method for transmitting information based on a private network channel, which is applied to a terminal in a private network Internet of Things system, and the method includes: when a first shared channel management module monitors a first connection request sent by a target terminal in the private network Internet of Things system to a server, determining a shared channel based on the first connection request through the first shared channel management module; wherein the first shared channel management module is arranged at the target terminal or connected to the target terminal; the shared channel is a private network connection channel corresponding to a supported terminal connected to the server, and the supported terminal is a terminal in an established private network Internet of Things system; based on the shared channel, determining the target information to be sent to the server through the first shared channel management module; the target information includes a target message with the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies the parsing method of the target message; based on the shared channel, sending the target information to the server.

[0008] In a second aspect, an embodiment of the present application provides a method for transmitting information based on a private network channel, which is applied to a server in a private network IoT system, the method comprising: receiving target information sent by a target terminal in the private network IoT system, and verifying whether the private network connection channel of the target information satisfies a preset private network connection channel, and verifying whether the terminal sending the target information is a preset terminal and whether the message format of the target message in the target information conforms to the preset message format; after the verification is passed, the target information is identified through a second shared channel management module to determine whether it includes a shared identifier, obtain a first identification result, and based on the first identification result, perform terminal verification on the target information; the first identification result indicates whether the target terminal is a terminal to be supported that has been pre-configured on the server, and the terminal to be supported is a terminal that is added after the private network IoT system has been built; the server is provided with a second shared channel management module; after the terminal verification is passed, the target information is identified through the second shared channel management module to determine whether it includes an extended identifier, obtain a second identification result, and based on the second identification result and the first identification result, parse the target information to obtain the target message content in the target message; the second identification result indicates whether the target terminal is a terminal with extended message content.

[0009] In the third aspect, an embodiment of the present application provides a device for transmitting information based on a private network channel, which is applied to a terminal in a private network Internet of Things system, and the device includes: a first determination module, which is used to determine a shared channel based on the first connection request sent by a target terminal in the private network Internet of Things system to a server through a first shared channel management module when a first shared channel management module monitors the first connection request sent by the target terminal in the private network Internet of Things system to the server; wherein the first shared channel management module is arranged at the target terminal or connected to the target terminal; the shared channel is a private network connection channel corresponding to the supported terminal connected to the server, and the supported terminal is a terminal in the built private network Internet of Things system; a second determination module is used to determine the target information to be sent to the server through the first shared channel management module based on the shared channel; the target information includes a target message with the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies the parsing method of the target message; a sending module is used to send the target information to the server based on the shared channel.

[0010] In a fourth aspect, an embodiment of the present application provides a device for transmitting information based on a private network channel, which is applied to a server in a private network Internet of Things system, and the device includes: a first verification module, which is used to receive target information sent by a target terminal in the private network Internet of Things system, and verify whether the private network connection channel of the target information satisfies a preset private network connection channel, and verify whether the terminal sending the target information is a preset terminal and whether the message format of the target message in the target information conforms to the preset message format; a second verification module, which is used to identify whether the target information includes a shared identifier through a second shared channel management module after the verification is passed, to obtain a first identification result, and based on the first identification result, to The target information is terminal verified; the first identification result indicates whether the target terminal is a terminal to be supported that has been pre-configured on the server side, and the terminal to be supported is a terminal that is added after the private network Internet of Things system has been built; the server side is provided with the second shared channel management module; the parsing module is used to identify whether the target information includes an extended identifier through the second shared channel management module after the terminal verification is passed, and obtain a second identification result, and parse the target information based on the second identification result and the first identification result to obtain the target message content in the target message; the second identification result indicates whether the target terminal is a terminal with extended message content.

[0011] In a fifth aspect, an embodiment of the present application provides an electronic device, the device comprising: a processor; and a memory arranged to store computer executable instructions, the executable instructions being configured to be executed by the processor, the executable instructions comprising instructions for executing a method for transmitting information based on a private network channel as in the first aspect, or for executing a method for transmitting information based on a private network channel as in the second aspect.

[0012] In a sixth aspect, an embodiment of the present application provides a storage medium, which is used to store computer-executable instructions, and the computer-executable instructions enable a computer to execute a method for transmitting information based on a private network channel as in the first aspect, or to execute a method for transmitting information based on a private network channel as in the second aspect.

[0013] In the seventh aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of transmitting information based on a private network channel as in the first aspect, or to implement the method of transmitting information based on a private network channel as in the second aspect.

[0014] In an eighth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method for transmitting information based on a private network channel as in the first aspect, or implements the method for transmitting information based on a private network channel as in the second aspect.

[0015] In an embodiment of the present application, when the first shared channel management module monitors the first connection request sent by the target terminal in the private network Internet of Things system to the server, the first shared channel management module determines the shared channel (the supported terminal is connected to the private network connection channel corresponding to the server, and the supported terminal is a terminal in the built private network Internet of Things system) based on the first connection request, wherein the first shared channel management module is arranged at the target terminal or connected to the target terminal, and based on the shared channel, the first shared channel management module determines the target information to be sent to the server, the target information includes a target message with the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies the parsing method of the target message; and then based on the shared channel, the target information is sent to the server. In this solution, in terms of the terminal (i.e., the target terminal), by setting or connecting a first shared channel management module on the target terminal, monitoring the communication initiated by the target terminal through the first shared channel management module, and when the target terminal initiates a connection request to the server, determining the shared channel and target information, so that the target terminal unconsciously reuses the private network connection channel (shared channel) that complies with the private network preset rules of the built private network Internet of Things system to send the target information to the server, and the message format of the target message in the target information is the same as the message format supported by the shared channel, that is, the target information also complies with the private network preset rules of the built private network Internet of Things system, ultimately enabling the target information to be received by the server, and the target identifier in the target information enables the target message to be correctly parsed by the server. Compared with the solution of directly transforming the private network in the related art, this solution only needs to set or connect the first shared channel management module to the target terminal, without the need to transform the private network in many aspects. It has low cost, short time and small impact. It solves the problem that the implementation solution of the related art for new IoT needs or communication content arising in the private network IoT system that has been built is high cost, long transformation cycle and great impact. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a flowchart of a method for transmitting information based on a private network channel for a terminal in a private network IoT system provided by an embodiment of the present application;

[0017] Figure 2 It is a flowchart of another method for transmitting information based on a private network channel for a terminal in a private network IoT system provided by an embodiment of the present application;

[0018] Figure 3 It is a flowchart of a method for transmitting information based on a private network channel at a server end in a private network IoT system provided by an embodiment of the present application;

[0019] Figure 4It is a flowchart of a method for transmitting information based on a private network channel and applied to a private network IoT system provided by an embodiment of the present application;

[0020] Figure 5 It is a structural diagram of a device for transmitting information based on a private network channel provided in an embodiment of the present application;

[0021] Figure 6 It is a structural diagram of another device for transmitting information based on a private network channel provided in an embodiment of the present application;

[0022] Figure 7 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0024] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0025] The following, in conjunction with the accompanying drawings, describes in detail the method and device for transmitting information based on a private network channel provided by the embodiments of the present application through specific embodiments and their application scenarios.

[0026] Figure 1 A method for transmitting information based on a private network channel provided by an embodiment of the present invention is shown, and the method can be executed by a terminal in a private network IoT system. In other words, the method can be executed by software or hardware installed in the terminal in the private network IoT system, and the method includes the following steps:

[0027] S102: When the first shared channel management module monitors a first connection request sent by a target terminal in the private network IoT system to a server, the first shared channel management module determines a shared channel based on the first connection request.

[0028] Among them, the first shared channel management module is set at the target terminal or connected to the target terminal; the shared channel is a private network connection channel corresponding to the supported terminal connecting to the server, and the supported terminal is a terminal in the established private network Internet of Things system.

[0029] In the deployment of the private network, complex restrictions are imposed on the communication between the terminal and the server. That is, after the private network IoT system has been built, the private network connection channel, message format and terminal are all fixed, which causes two problems: on the one hand, the newly added IoT devices (terminals added after the private network IoT system has been built, i.e., terminals to be supported) are different from the existing devices (supported terminals), for example, the information format of the transmission is different, which causes the newly added IoT devices to be intercepted and unable to connect due to the special control strategy of the private network; on the other hand, because the private network can only support messages with specially formulated message formats, the communication content outside the original message format cannot be transmitted. For example, the original message content of the existing device (supported terminal) only involves the data of the A collection point and the B collection point, but when the device can also collect the data of the C collection point and wants to transmit the data of the C collection point to the server, the data of the C collection point cannot be transmitted because the original specially formulated message format does not include the C collection point. In view of the above two problems, this solution designs a shared channel management module. Correspondingly, a first shared channel management module is designed for the terminal having the above two problems, namely the target terminal, wherein the target terminal may at least include a supported terminal with extended message content and a to-be-supported terminal pre-configured on the server.

[0030] It should be noted that this solution is to solve the problem that newly added and legal IoT devices cannot connect to the server and transmit data to the server due to the restrictions of private network IoT, rather than allowing unknown terminals to enter the private network environment through this means. Therefore, the terminals to be supported need to be pre-configured on the server. If the terminals to be supported are not pre-configured on the server, the server cannot use the shared channel to connect to the server and transmit data.

[0031] Optionally, the first shared channel management module may be hardware or software. For example, the first shared channel management module may be an intelligent gateway, an embedded hardware, or a software program that can be installed in a terminal.

[0032] The shared channel is a private network connection channel that supports the terminal to connect to the corresponding server. The private network connection channel complies with the private network preset rules corresponding to the built private network IoT system.

[0033] S104: Based on the shared channel, determine target information to be sent to the server through the first shared channel management module.

[0034] S106: Send target information to the server based on the shared channel.

[0035] The target information includes a target message having the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies a parsing method of the target message.

[0036] Optionally, the target identifier includes a shared identifier and / or an extended identifier. The shared identifier may indicate that the target message is data sent using a shared channel and the target terminal is a terminal to be supported; the extended identifier may indicate that the target message is a message with extended message content.

[0037] When the first shared channel management module is set to the target terminal or connected to the target terminal, the first shared channel management module can monitor whether the target terminal sends a first connection request to the server. When the first shared channel management module monitors that the target terminal sends a first connection request to the server, it intercepts the first connection request and determines the shared channel based on the first connection request, and determines the target information to be sent to the server based on the shared channel. Finally, the target terminal sends the target information through the determined shared channel. In this process, the monitoring, interception and modification of the first connection request by the first shared channel management module does not affect the terminal transmission of information, that is, the target terminal is not aware of it. In other words, the process of using the target terminal with the first shared channel management module is basically the same as that of using a normal supported terminal, and will not bring additional workload to the user.

[0038] The method for transmitting information based on a private network channel provided by an embodiment of the present invention is that when the first shared channel management module monitors the first connection request sent by the target terminal in the private network Internet of Things system to the server, the first shared channel management module determines the shared channel (the supported terminal is connected to the private network connection channel corresponding to the server, and the supported terminal is a terminal in the established private network Internet of Things system) based on the first connection request, wherein the first shared channel management module is set at the target terminal or connected to the target terminal, and based on the shared channel, the first shared channel management module determines the target information to be sent to the server, the target information includes a target message with the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies the parsing method of the target message; and then based on the shared channel, the target information is sent to the server. In terms of the terminal (i.e., the target terminal), this solution sets or connects a first shared channel management module on the target terminal, monitors the communication initiated by the target terminal through the first shared channel management module, and determines the shared channel and target information when the target terminal initiates a connection request to the server, so that the target terminal unconsciously reuses the private network connection channel (shared channel) that complies with the private network preset rules of the built private network Internet of Things system to send the target information to the server, and the message format of the target message in the target information is the same as the message format supported by the shared channel, that is, the target information also complies with the private network preset rules of the built private network Internet of Things system, ultimately enabling the target information to be received by the server, and the target identifier in the target information enables the target message to be correctly parsed by the server. Compared with the solution of directly transforming the private network in the related art, this solution only needs to set or connect the first shared channel management module to the target terminal, without the need to transform the private network in many aspects. It has low cost, short time and small impact. It solves the problem that the implementation solution of the related art for new IoT needs or communication content arising in the private network IoT system that has been built is high cost, long transformation cycle and great impact.

[0039] In one implementation, when the target terminal is a terminal to be supported that has been pre-configured on the server, the target identifier at least includes a shared identifier, and based on the shared channel, the target information to be sent to the server is determined by the first shared channel management module (i.e., S104), and the following steps A1 to A2 may be specifically performed:

[0040] Step A1: Based on the shared channel, a first shared channel management module is used to determine a first message, where the first message is a message in a message format supported by the shared channel.

[0041] For the supported terminals pre-configured on the server side, the first shared channel management module provides a first message that complies with the private network preset rules of the built private network IoT system to prevent the server from rejecting the connection due to different message formats.

[0042] Step A2: write the sharing identifier, the number information of the terminal to be supported and the first message content into the first message through the first shared channel management module to obtain the second message, and determine the target information based on the second message.

[0043] Among them, the terminals to be supported are the terminals that are added after the private network IoT system has been built.

[0044] Through the first shared channel management module, by using a shared identifier, the numbering information of the terminal to be supported and the first message content are written into the first message that complies with the private network preset rules of the established private network Internet of Things system.

[0045] Exemplarily, the supported first message may include:

[0046] {

[0047] "id":"eee22",

[0048] "value":"ssswwws"

[0049] }

[0050] The number information of the terminal to be supported and the first message content may include:

[0051] {

[0052] "id":"ee4422",

[0053] "value":"34444wws"

[0054] }

[0055] The shared identifier, the number information of the terminal to be supported, and the first message content are written into the first message, and the obtained second message may include:

[0056] {

[0057] "id":"eee22",

[0058] "value":"{\"realid\":\"e4422\",\"realvalue\":\"34444wws\"}"

[0059] }

[0060] Among them, the shared identifier is used to identify the parsing method of the target message. The shared identifier can include but is not limited to the form of the original message standard format name plus a fixed prefix of real, such as realid and realvalue in the above example. realid identifies how to process the target message, and realvalue identifies the actual parsed content.

[0061] Alternatively, when the target terminal is a supported terminal with extended message content, the target identifier is an extended identifier, and based on the shared channel, the target information to be sent to the server is determined by the first shared channel management module (ie, S104), and the following steps B1 to B2 may be specifically performed:

[0062] Step B1, based on the private network connection channel corresponding to the supported terminal being connected to the server, determine a third message through the first shared channel management module, the third message being a message in a message format supported by the private network connection channel corresponding to the supported terminal.

[0063] The shared channel determined by the first shared channel management module for the supported terminal is still the private network connection channel of the supported terminal itself, and therefore, the third message is also a message in the original message format corresponding to the supported terminal.

[0064] Step B2: write the extension identifier and the second message content into the third message through the first shared channel management module to obtain a fourth message, and determine the target information based on the fourth message.

[0065] Since the message content supported by the third message is smaller than the message data that the supported terminal actually wants to transmit (i.e., the second message content), the second message content is written into the third message through the first shared channel management module with the help of an extended identifier, thereby obtaining a fourth message that complies with the private network preset rules of the private network IoT system that has been constructed.

[0066] Exemplarily, the third message originally supported may include:

[0067] Point A, corresponding value: a;

[0068] Point B, corresponding value: b;

[0069] At present, it is supported that the terminal can additionally collect data of point C and want to transmit it to the server. Correspondingly, the second message content may include:

[0070] Point A, corresponding value: a;

[0071] Point B, corresponding value: b;

[0072] Point C, corresponding value: c;

[0073] The extended identifier and the second message content are written into the third message, and the fourth message obtained may include:

[0074] Point A, corresponding value: {Point A extension identifier 1 and corresponding value a, Point B extension identifier 2 and corresponding value b, and Point C extension identifier 3 corresponding value c}

[0075] Point B, corresponding value: extension identifier 4;

[0076] Among them, the extended identifier 4 identifies that the value corresponding to point A contains data of three collection points: point A, point B and point C.

[0077] Similarly, there may be a first message determined for the above-mentioned terminal to be supported, and the message content supported by it is also smaller than the message data that the terminal to be supported actually wants to transmit. In this case, the target identifier includes a shared identifier and an extended identifier. Correspondingly, step A2 can be executed as a1: through the first shared channel management module, the shared identifier, the extended identifier, the numbering information of the terminal to be supported, and the third message content are written into the first message to obtain a fifth message, and the target information is determined based on the fifth message. Correspondingly, the target terminal also includes a terminal to be supported with extended message content.

[0078] In one implementation, the following steps C1 may be performed to obtain the above-mentioned shared channel:

[0079] Step C1, recording the private network connection channel through the first shared channel management module, and if the server passes the verification of the second connection request, marking the private network connection channel corresponding to the server that supports the terminal to connect to the server as a shared channel.

[0080] The private network connection channel is a related connection file that supports the terminal to send a second connection request to the server based on the private network channel.

[0081] The private network connection channel, for example, supports the interaction between the terminal and the server through the Transmission Control Protocol (TCP) and the protocol established on the TCP protocol, wherein the established TCP connection or other connection is the private network connection channel.

[0082] The process of the supported terminal connecting to the server based on the private network is monitored by the first shared channel management module, and the relevant connection files in the process are obtained. If the connection is successful, it is marked as a shared channel and saved. It should be noted that the relevant connection files are recorded by the first shared channel management module, and the supported terminal reuses the relevant connection files for connection and transmission, rather than controlling the supported terminal to connect and transmit the target information of the supported terminal.

[0083] The above-mentioned shared channel can be tested and saved in advance by the first shared channel management module, or the first shared channel management module can start recording in response to the first connection request, that is, the above-mentioned step C1 can occur when the first shared channel management module monitors the first connection request sent by the target terminal in the private network Internet of Things system to the server, and before the first shared channel management module determines the shared channel based on the first connection request (that is, S102); it can also occur when the first shared channel management module monitors the first connection request sent by the target terminal in the private network Internet of Things system to the server, and the first shared channel management module determines the shared channel based on the first connection request (that is, S102).

[0084] In one implementation, the target information further includes a mapping relationship; determining the shared channel (ie, S102) based on the first connection request by the first shared channel management module can be specifically performed as step D1:

[0085] Step D1: Determine a shared channel based on a first connection request through a first shared channel management module, and record a mapping relationship.

[0086] The mapping relationship includes the physical information of the target terminal, the shared channel information corresponding to the shared channel used by the target terminal, and the correspondence between the physical information of the target terminal and the shared channel information. The physical information of the target terminal includes the physical device number of the terminal and the location information of the target terminal.

[0087] Specifically, the first connection request includes at least information about the server, and the first shared channel management module can determine the available shared channels based on the information about the server. Afterwards, a shared channel can be selected from multiple available shared channels. Optionally, the first shared channel management module can determine the shared channel from multiple shared channels using a hash algorithm or a random algorithm. For example, there are 10 shared channels with sequence numbers from 1 to 10 after sorting, and a random number between 1 and 10 can be obtained using a random algorithm, and the shared channel with the corresponding sequence number can be determined based on the random number. Alternatively, a hash algorithm can be used to take the remainder with the number of existing channels as the divisor. For example, the target terminal is the 101st terminal recorded by the first shared channel management module, and there are 10 shared channels with sequence numbers from 1 to 10 after sorting. Using the hash algorithm, 101 divided by 10 has a remainder of 1, and the shared channel with the sorting sequence number of 2 is selected.

[0088] In actual applications, since shared channels are shared, a shared channel may be used by terminal a or terminal b. In addition, there are multiple terminals and multiple private network connection channels in the entire private network IoT system. By recording the mapping relationship through the first shared channel management module, it can be determined whether a certain shared channel is used by terminal a or terminal b, and which shared channels are not occupied, so that the first shared channel management module can manage and allocate shared channels more conveniently.

[0089] In addition, the target information can be verified on the server side, and the target information includes the mapping relationship, that is, the target information includes the physical information of the target terminal and the shared channel information corresponding to the shared channel used by the target terminal. When the second shared channel management module on the server side performs verification, not only the terminal number information of the target message in the target information is verified, but also at least the physical information of the target terminal is verified (wherein the physical device number of the terminal is unique), so as to prevent the terminal number information in the target message from being leaked, and illegal data from forging the terminal number information and passing the verification, thereby improving security.

[0090] Figure 2 FIG. 1 is a flow chart of another method for transmitting information based on a private network channel provided in an embodiment of the present application. Figure 2 As shown, the method includes:

[0091] Step 202, the private network connection channel is recorded through the first shared channel management module, and when the server passes the verification of the second connection request, the private network connection channel corresponding to the server that supports the terminal to connect to is marked as a shared channel.

[0092] The private network connection channel is a related connection file that supports the terminal to send a second connection request to the server based on the private network channel.

[0093] Step 204, when the first shared channel management module monitors the first connection request sent by the target terminal in the private network IoT system to the server, the first shared channel management module determines the shared channel based on the first connection request and records the mapping relationship; the first shared channel management module is set at the target terminal or connected to the target terminal; the shared channel is a private network connection channel that supports the terminal to connect to the corresponding server.

[0094] Among them, the supported terminals are the terminals in the built private network Internet of Things system.

[0095] Step 206, based on the shared channel, determine the target information to be sent to the server through the first shared channel management module; the target information includes a target message with the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies the parsing method of the target message.

[0096] Step 208: Send target information to the server based on the shared channel.

[0097] The method for transmitting information based on a private network channel provided in this embodiment is that when the first shared channel management module monitors the first connection request sent by the target terminal in the private network Internet of Things system to the server, the first shared channel management module determines the shared channel (the private network connection channel corresponding to the supported terminal connecting to the server, and the supported terminal is a terminal in the established private network Internet of Things system) based on the first connection request, wherein the first shared channel management module is arranged at the target terminal or connected to the target terminal, and based on the shared channel, the first shared channel management module determines the target information to be sent to the server, the target information includes a target message with the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies the parsing method of the target message; and then based on the shared channel, the target information is sent to the server. In terms of the terminal (i.e., the target terminal), this solution sets or connects a first shared channel management module on the target terminal, monitors the communication initiated by the target terminal through the first shared channel management module, and determines the shared channel and target information when the target terminal initiates a connection request to the server, so that the target terminal unconsciously reuses the private network connection channel (shared channel) that complies with the private network preset rules of the built private network Internet of Things system to send the target information to the server, and the message format of the target message in the target information is the same as the message format supported by the shared channel, that is, the target information also complies with the private network preset rules of the built private network Internet of Things system, ultimately enabling the target information to be received by the server, and the target identifier in the target information enables the target message to be correctly parsed by the server. Compared with the solution of directly transforming the private network in the related art, this solution only needs to set or connect the first shared channel management module to the target terminal, without the need to transform the private network in many aspects. It has low cost, short time and small impact. It solves the problem that the implementation solution of the related art for new IoT needs or communication content arising in the private network IoT system that has been built is high cost, long transformation cycle and great impact.

[0098] Figure 3 A method for transmitting information based on a private network channel provided by an embodiment of the present invention is shown. The method can be executed by a server in a private network IoT system. In other words, the method can be executed by software or hardware installed on the server. The method includes the following steps:

[0099] S302: Receive the target information sent by the target terminal in the private network IoT system, and verify whether the private network connection channel of the target information meets the preset private network connection channel, and verify whether the terminal sending the target information is the preset terminal and whether the message format of the target message in the target information meets the preset message format.

[0100] The server verifies whether the target information meets the preset rules of the private network according to the security mechanism (rejection mechanism) set by the established private network IoT system, without changing the existing mechanism of the private network, thus ensuring the effectiveness of the original private network deployment in protecting network and IoT data.

[0101] Specifically, verifying whether the terminal sending the target information is a preset terminal may include: verifying whether the terminal sending the target information is a terminal configured on the server.

[0102] S304: After the verification is passed, the second shared channel management module is used to identify whether the target information includes a shared identifier, obtain a first identification result, and perform terminal verification on the target information based on the first identification result; the first identification result indicates whether the target terminal is a terminal to be supported that has been pre-configured on the server side, and the terminal to be supported is a terminal that is added after the private network IoT system has been built; the server side sets up a second shared channel management module.

[0103] S306: After the terminal verification is passed, the second shared channel management module is used to identify whether the target information includes an extended identifier, and a second identification result is obtained. Based on the second identification result and the first identification result, the target information is parsed to obtain the target message content in the target message; the second identification result indicates whether the target terminal is a terminal with extended message content.

[0104] Optionally, the second shared channel management module may be hardware or software, for example, may be embedded hardware or a software program installable to a terminal, for example, a shared channel management software development kit (Software Development Kit, SDK).

[0105] The second shared channel management module can identify the identifier in the incoming content (target information), distinguish the target terminal type according to the different identifiers in the target information, and process the target information differently according to different target terminal types. Correspondingly, the target information can be transmitted to different interfaces according to different target terminal types, and then processed differently. Specifically, first, according to whether the target information includes a shared identifier, determine whether the target terminal is a supported terminal or a terminal to be supported, and perform different terminal verifications for supported terminals and terminals to be supported:

[0106] When the first identification result is that the target terminal is a supported terminal, terminal verification is performed directly based on the number information of the supported terminal in the target information;

[0107] In the case where the first identification result is that the target terminal is a terminal to be supported that has been pre-configured on the server, the second shared channel management module determines the number information of the terminal to be supported in the target information based on the shared identifier, and performs terminal verification based on the number information of the terminal to be supported. It is determined whether the target terminal uses a shared channel and whether it is a newly added terminal to be supported.

[0108] Furthermore, the target information also includes a mapping relationship, and the second shared channel management module performs terminal verification based on the mapping relationship. The mapping relationship includes the physical information of the target terminal and the private network channel information corresponding to the private network channel used by the target terminal, as well as the correspondence between the physical information of the target terminal and the private network channel information, which can improve the security of terminal verification.

[0109] Afterwards, whether the target terminal is a terminal with extended message content is determined according to whether the target information includes an extended identifier, and different analyses are performed on the terminal with extended message content and the terminal without extended message content.

[0110] In addition, for target information that does not have a target identifier, the server will parse it according to the settings of the established private network IoT system.

[0111] The method for transmitting information based on a private network channel provided in the present embodiment receives target information sent by a target terminal in a private network IoT system, verifies whether the private network connection channel of the target information satisfies a preset private network connection channel, verifies whether the terminal sending the target information is a preset terminal and whether the message format of the target message in the target information conforms to the preset message format, and then after the verification is passed, identifies whether the target information includes a shared identifier through a second shared channel management module to obtain a first identification result, and performs terminal verification on the target information based on the first identification result, the first identification result indicates whether the target terminal is a terminal to be supported that has been pre-configured on the server side, the terminal to be supported is a terminal that is added after the private network IoT system has been built, and the server side sets a second shared channel management module, and then, after the terminal verification is passed, identifies whether the target information includes an extended identifier through the second shared channel management module to obtain a second identification result, and performs terminal verification on the target information based on the first identification result. Based on the second identification result and the first identification result, the target information is parsed to obtain the target message content in the target message. The second identification result indicates whether the target terminal is a terminal with extended message content. In terms of the server, on the one hand, the server verifies whether the target information meets the preset rules of the private network according to the security mechanism (rejection mechanism) set by the established private network IoT system, and does not change the existing mechanism of the private network, thereby ensuring the effectiveness of the original private network deployment in protecting the network and IoT data; on the other hand, by setting a second shared channel management module on the server, the second shared channel management module is used to identify the identifier (shared identifier, extended identifier) ​​in the incoming content (target information), and distinguish the target terminal type according to the different identifiers in the target information, and perform different processing on the target information according to different target terminal types, and perform terminal verification and parsing on the target information, thereby ensuring the accuracy of the message content obtained by parsing. Compared with the solution of directly transforming the private network in the related technology, this solution only needs to set up a second shared channel management module on the server side. There is no need to transform the private network in many aspects. It has low cost, short time and small impact. It solves the problem that the related technology has high cost, long transformation cycle and great impact in the implementation of new IoT needs or communication content in the private network IoT system that has been built.

[0112] In one implementation, based on the second recognition result and the first recognition result, the target information is parsed to obtain the target message content in the target message (ie, S306), which can be specifically performed as steps E1 to E2:

[0113] Step E1: Determine the target terminal type based on the second recognition result and the first recognition result through the second shared channel management module.

[0114] The target terminal types include terminals to be supported that are preconfigured on the server side, terminals to be supported with extended message content, supported terminals with extended message content, and supported terminals without extended message content.

[0115] Step E2, when the target terminal type is a to-be-supported terminal pre-configured on the server, a to-be-supported terminal with extended message content, or a supported terminal with extended message content, the target message in the target information is parsed by the second shared channel management module based on the pre-configured parsing method and target identifier corresponding to the target terminal type to obtain the target message content in the target message.

[0116] Among them, the supported terminals are terminals in the established private network Internet of Things system, and the target identifiers include shared identifiers and / or extended identifiers.

[0117] Specifically, in the case where the target terminal type is a to-be-supported terminal pre-configured on the server side, the target message in the target information is parsed based on the pre-configured parsing method and shared identifier corresponding to the to-be-supported terminal, and the target message content in the target message is obtained; in the case where the target terminal type is a to-be-supported terminal with extended message content, the target message in the target information is parsed based on the parsing method, shared identifier and extended identifier corresponding to the to-be-supported terminal with extended message content, and the target message content in the target message is obtained; in the case where the target terminal type is a supported terminal with extended message content, the target message in the target information is parsed based on the parsing method and extended identifier corresponding to the supported terminal with extended message content, and the target message content in the target message is obtained.

[0118] Figure 4 FIG. 1 is a flow chart of another method for transmitting information based on a private network channel provided in an embodiment of the present application. Figure 4 As shown, the method includes:

[0119] Step 402, when the first shared channel management module monitors the first connection request sent by the target terminal in the private network Internet of Things system to the server, the shared channel is determined based on the first connection request by the first shared channel management module; the first shared channel management module is set in the target terminal or connected to the target terminal; the shared channel is a private network connection channel that supports the terminal to connect to the corresponding server.

[0120] Among them, the supported terminals are the terminals in the built private network Internet of Things system.

[0121] Step 404, based on the shared channel, the target information to be sent to the server is determined by the first shared channel management module; the target information includes a target message with the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies a parsing method of the target message.

[0122] Step 406: The terminal sends target information to the server based on the shared channel.

[0123] In step 408, the server receives the target information sent by the target terminal in the private network IoT system, and verifies whether the private network connection channel of the target information meets the preset private network connection channel, and verifies whether the terminal sending the target information is the preset terminal and whether the message format of the target message in the target information meets the preset message format.

[0124] Step 410, after the verification is passed, the second shared channel management module is used to identify whether the target information includes a shared identifier, obtain a first identification result, and based on the first identification result, perform terminal verification on the target information; the first identification result indicates whether the target terminal is a supported terminal pre-configured on the server side; the server side sets up a second shared channel management module.

[0125] Step 412, after the terminal verification is passed, the second shared channel management module is used to identify whether the target information includes an extended identifier, and a second identification result is obtained. Based on the second identification result and the first identification result, the target information is parsed to obtain the target message content in the target message; the second identification result indicates whether the target terminal is a terminal with extended message content.

[0126] The method for transmitting information based on a private network channel provided in this embodiment is that when the terminal monitors the first connection request sent by the target terminal in the private network IoT system to the server through the first shared channel management module, the terminal determines the shared channel (the private network connection channel corresponding to the supported terminal connecting to the server, and the supported terminal is a terminal in the built private network IoT system) based on the first connection request through the first shared channel management module, wherein the first shared channel management module is set at the target terminal or connected to the target terminal, and based on the shared channel, the target information to be sent to the server is determined through the first shared channel management module, the target information includes a target message with the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies the parsing method of the target message, and the terminal then sends the target information to the server based on the shared channel, and the server receives the target information sent by the target terminal in the private network IoT system and verifies the private network connection of the target information. Whether the channel meets the preset private network connection channel, and whether the terminal sending the target information is the preset terminal and whether the message format of the target message in the target information conforms to the preset message format. After the verification is passed, the second shared channel management module is used to identify whether the target information includes a shared identifier to obtain a first identification result, and based on the first identification result, the target information is terminally verified. The first identification result indicates whether the target terminal is a terminal to be supported that has been pre-configured on the server side. The terminal to be supported is a terminal that is added after the private network Internet of Things system has been built. The server side sets a second shared channel management module. After that, after the terminal verification is passed, the second shared channel management module is used to identify whether the target information includes an extended identifier to obtain a second identification result. Based on the second identification result and the first identification result, the target information is parsed to obtain the target message content in the target message. The second identification result indicates whether the target terminal is a terminal with extended message content.In terms of the terminal (i.e., the target terminal), the present solution sets or connects a first shared channel management module at the target terminal, monitors the communication initiated by the target terminal through the first shared channel management module, and when the target terminal initiates a connection request to the server, determines the shared channel and the target information, so that the target terminal unconsciously reuses the private network connection channel (shared channel) that complies with the private network preset rules of the established private network Internet of Things system to send the target information to the server, and the message format of the target message in the target information is the same as the message format already supported by the shared channel, that is, the target information also complies with the private network preset rules of the established private network Internet of Things system, and finally enables the target information to be received by the server, and the target identifier in the target information enables the target message to be received by the server The server correctly parses the target information; on the server side, on the one hand, the server verifies whether the target information meets the preset rules of the private network according to the security mechanism (rejection mechanism) set by the built private network IoT system, does not change the existing mechanism of the private network, and ensures the effectiveness of the original private network deployment for the protection of network and IoT data; on the other hand, by setting a second shared channel management module on the server side, the second shared channel management module identifies the identifier (shared identifier, extended identifier) ​​in the incoming content (target information), distinguishes the target terminal type according to the different identifiers in the target information, and processes the target information differently according to different target terminal types, verifies and parses the target information, and ensures the accuracy of the parsed message content. Compared with the solution of directly transforming the private network in the related technology, this solution sets or connects the first shared channel management module to the target terminal, and sets the second shared channel management module on the server side. There is no need to transform the private network in many aspects, the cost is low, the time is short, and the impact is small. It solves the problem of high cost, long transformation cycle and great impact in the implementation of the related technology for new IoT requirements or communication content that have appeared in the built private network IoT system.

[0127] Corresponding to the method for transmitting information based on a private network channel for a terminal in a private network IoT system provided in the above embodiment, based on the same technical concept, an embodiment of the present invention further provides a device for transmitting information based on a private network channel. Figure 5 is a schematic diagram of a structure of a device for transmitting information based on a private network channel according to an embodiment of the present invention, wherein the device for transmitting information based on a private network channel is used to execute Figure 1 to Figure 2 The method described in the paper is to transmit information based on a private network channel, such as Figure 5 As shown, the device for transmitting information based on a private network channel includes: a first determining module 510, a second determining module 520 and a sending module 530.

[0128] The first determination module 510 is used to determine the shared channel based on the first connection request sent by the target terminal in the private network IoT system to the server through the first shared channel management module when the first shared channel management module monitors the first connection request sent by the target terminal in the private network IoT system to the server; wherein the first shared channel management module is set at the target terminal or connected to the target terminal; the shared channel is a private network connection channel corresponding to the server that supports the terminal to connect, and the supported terminal is a terminal in the established private network IoT system;

[0129] The second determination module 520 is used to determine the target information to be sent to the server through the first shared channel management module based on the shared channel; the target information includes a target message with the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies a parsing method of the target message;

[0130] The sending module 530 is used to send target information to the server based on the shared channel.

[0131] In one implementation, when the target terminal is a terminal to be supported that is pre-configured on the server, the target identifier at least includes a shared identifier, and the second determination module 520 is specifically configured to:

[0132] Based on the shared channel, determining a first message through a first shared channel management module, where the first message is a message in a message format supported by the shared channel;

[0133] Through the first shared channel management module, the shared identifier, the number information of the terminal to be supported and the content of the first message are written into the first message to obtain the second message, and the target information is determined based on the second message; the terminal to be supported is a terminal that is added after the private network Internet of Things system has been built.

[0134] Alternatively, when the target terminal is a supported terminal with extended message content, the target identifier is an extended identifier, and the second determining module 520 is specifically configured to:

[0135] Based on the supported terminal being connected to the private network connection channel corresponding to the server, determining a third message through the first shared channel management module, where the third message is a message in a message format supported by the private network connection channel corresponding to the supported terminal;

[0136] The extended identifier and the second message content are written into the third message through the first shared channel management module to obtain a fourth message, and the target information is determined based on the fourth message.

[0137] In one implementation, the device for transmitting information based on a private network channel further includes an adaptation module 540 .

[0138] The adaptation module 540 is specifically used for:

[0139] The private network connection channel is recorded by the first shared channel management module, and when the server passes the verification of the second connection request, the private network connection channel corresponding to the server that supports the terminal to connect to is marked as a shared channel;

[0140] The private network connection channel is a related connection file that supports the terminal to send a second connection request to the server based on the private network channel.

[0141] In one implementation, the target information also includes a mapping relationship. The first determination module 510 is specifically configured to:

[0142] The first shared channel management module determines the shared channel based on the first connection request and records the mapping relationship.

[0143] The mapping relationship includes the physical information of the target terminal, the shared channel information corresponding to the shared channel used by the target terminal, and the corresponding relationship between the physical information of the target terminal and the shared channel information.

[0144] The device for transmitting information based on a private network channel provided by an embodiment of the present invention determines a shared channel (a private network connection channel corresponding to a supported terminal connected to a server, and a supported terminal is a terminal in an established private network Internet of Things system) based on the first connection request when the first shared channel management module monitors the first connection request sent by the target terminal in the private network Internet of Things system to the server. The first shared channel management module is arranged at the target terminal or connected to the target terminal. Based on the shared channel, the first shared channel management module determines the target information to be sent to the server, the target information includes a target message with the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies the parsing method of the target message. Then, based on the shared channel, the target information is sent to the server. In terms of the terminal (i.e., the target terminal), this solution sets or connects a first shared channel management module on the target terminal, monitors the communication initiated by the target terminal through the first shared channel management module, and determines the shared channel and target information when the target terminal initiates a connection request to the server, so that the target terminal unconsciously reuses the private network connection channel (shared channel) that complies with the private network preset rules of the built private network Internet of Things system to send the target information to the server, and the message format of the target message in the target information is the same as the message format supported by the shared channel, that is, the target information also complies with the private network preset rules of the built private network Internet of Things system, ultimately enabling the target information to be received by the server, and the target identifier in the target information enables the target message to be correctly parsed by the server. Compared with the solution of directly transforming the private network in the related art, this solution only needs to set or connect the first shared channel management module to the target terminal, without the need to transform the private network in many aspects. It has low cost, short time and small impact. It solves the problem that the implementation solution of the related art for new IoT needs or communication content arising in the private network IoT system that has been built is high cost, long transformation cycle and great impact.

[0145] Those skilled in the art should understand that the above-mentioned device for transmitting information based on a private network channel can be used to implement the method for transmitting information based on a private network channel applied to a terminal in a private network Internet of Things system as mentioned above, and the detailed description thereof should be similar to that described in the previous method section. To avoid repetition, it will not be repeated here.

[0146] Corresponding to the method for transmitting information based on a private network channel at the server end in a private network IoT system provided in the above embodiment, based on the same technical concept, the embodiment of the present invention also provides another device for transmitting information based on a private network channel. Figure 6 is a schematic diagram of a structure of a device for transmitting information based on a private network channel according to an embodiment of the present invention, wherein the device for transmitting information based on a private network channel is used to execute Figure 3 The method described in the paper is to transmit information based on a private network channel, such as Figure 6As shown, the device for transmitting information based on a private network channel includes: a first verification module 610, a second verification module 620 and a parsing module 630.

[0147] The first verification module 610 is used to receive target information sent by a target terminal in the private network IoT system, and verify whether the private network connection channel of the target information meets the preset private network connection channel, and verify whether the terminal sending the target information is the preset terminal and whether the message format of the target message in the target information meets the preset message format;

[0148] The second verification module 620 is used to identify whether the target information includes a shared identifier through the second shared channel management module after the verification is passed, obtain a first identification result, and perform terminal verification on the target information based on the first identification result; the first identification result indicates whether the target terminal is a terminal to be supported that has been pre-configured on the server side, and the terminal to be supported is a terminal that is added after the private network IoT system has been built; the server side is provided with a second shared channel management module;

[0149] The parsing module 630 is used to identify whether the target information includes an extended identifier through the second shared channel management module after the terminal verification is passed, obtain a second identification result, and parse the target information based on the second identification result and the first identification result to obtain the target message content in the target message; the second identification result indicates whether the target terminal is a terminal with extended message content.

[0150] In one implementation, the parsing module 630 is specifically configured to:

[0151] Determining, by a second shared channel management module, a target terminal type based on the second identification result and the first identification result;

[0152] When the target terminal type is a to-be-supported terminal pre-configured on the server side, a to-be-supported terminal with extended message content, or a supported terminal with extended message content, the target message in the target information is parsed through the second shared channel management module based on the pre-configured parsing method and target identifier corresponding to the target terminal type, to obtain the target message content in the target message; wherein the supported terminal is a terminal in an already built private network Internet of Things system, and the target identifier includes a shared identifier and / or an extended identifier.

[0153] The device for transmitting information based on a private network channel provided by an embodiment of the present invention receives target information sent by a target terminal in a private network Internet of Things system, verifies whether the private network connection channel of the target information satisfies a preset private network connection channel, verifies whether the terminal sending the target information is a preset terminal and whether the message format of the target message in the target information conforms to the preset message format, and then after the verification is passed, identifies whether the target information includes a shared identifier through a second shared channel management module to obtain a first identification result, and performs terminal verification on the target information based on the first identification result, the first identification result indicates whether the target terminal is a terminal to be supported that has been pre-configured on the server side, the terminal to be supported is a terminal that is added after the private network Internet of Things system has been built, and the server side sets a second shared channel management module, and then, after the terminal verification is passed, identifies whether the target information includes an extended identifier through the second shared channel management module to obtain a second identification result, and Based on the second identification result and the first identification result, the target information is parsed to obtain the target message content in the target message. The second identification result indicates whether the target terminal is a terminal with extended message content. In terms of the server, on the one hand, the server verifies whether the target information meets the preset rules of the private network according to the security mechanism (rejection mechanism) set by the established private network IoT system, and does not change the existing mechanism of the private network, thereby ensuring the effectiveness of the original private network deployment in protecting the network and IoT data; on the other hand, by setting a second shared channel management module on the server, the second shared channel management module is used to identify the identifier (shared identifier, extended identifier) ​​in the incoming content (target information), and distinguish the target terminal type according to the different identifiers in the target information, and process the target information differently according to different target terminal types, and perform terminal verification and parsing on the target information, thereby ensuring the accuracy of the parsed message content. Compared with the solution of directly transforming the private network in the related technology, this solution only needs to set up a second shared channel management module on the server side. There is no need to transform the private network in many aspects. It has low cost, short time and small impact. It solves the problem that the related technology has high cost, long transformation cycle and great impact in the implementation of new IoT needs or communication content in the private network IoT system that has been built.

[0154] Those skilled in the art should understand that the above-mentioned device for transmitting information based on a private network channel can be used to implement the method for transmitting information based on a private network channel applied to the server side of the private network Internet of Things system mentioned above. The detailed description should be similar to the description of the method part mentioned above. To avoid repetition, it will not be repeated here.

[0155] Based on the same technical concept, an embodiment of the present application further provides an electronic device, which is used to execute the above-mentioned method for transmitting information based on a private network channel applied to a terminal in a private network IoT system, or to execute the above-mentioned method for transmitting information based on a private network channel applied to a server. Figure 7 A schematic diagram of the structure of an electronic device for implementing various embodiments of the present application. The electronic device may have relatively large differences due to different configurations or performances, and may include a processor (processor) 710, a communication interface (Communications Interface) 720, a memory (memory) 730 and a communication bus 740, wherein the processor 710, the communication interface 720, and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call a computer program stored in the memory 730 and executable on the processor 710 to perform the following steps:

[0156] In the case where the first shared channel management module monitors the first connection request sent by the target terminal in the private network IoT system to the server, the first shared channel management module determines the shared channel based on the first connection request; wherein the first shared channel management module is arranged at the target terminal or connected to the target terminal; the shared channel is a private network connection channel corresponding to the supported terminal connecting to the server, and the supported terminal is a terminal in the established private network IoT system;

[0157] Based on the shared channel, determining target information to be sent to the server through the first shared channel management module; the target information includes a target message having the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies a parsing method of the target message;

[0158] Send target information to the server based on the shared channel.

[0159] The solution provided by the embodiment of the present invention is that when the first shared channel management module monitors the first connection request sent by the target terminal in the private network Internet of Things system to the server, the first shared channel management module determines the shared channel (the private network connection channel corresponding to the supported terminal connecting to the server, and the supported terminal is a terminal in the established private network Internet of Things system) based on the first connection request, wherein the first shared channel management module is arranged at the target terminal or connected to the target terminal, and based on the shared channel, the first shared channel management module determines the target information to be sent to the server, the target information includes a target message with the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies the parsing method of the target message; and then based on the shared channel, the target information is sent to the server. In terms of the terminal (i.e., the target terminal), this solution sets or connects a first shared channel management module on the target terminal, monitors the communication initiated by the target terminal through the first shared channel management module, and determines the shared channel and target information when the target terminal initiates a connection request to the server, so that the target terminal unconsciously reuses the private network connection channel (shared channel) that complies with the private network preset rules of the built private network Internet of Things system to send the target information to the server, and the message format of the target message in the target information is the same as the message format supported by the shared channel, that is, the target information also complies with the private network preset rules of the built private network Internet of Things system, ultimately enabling the target information to be received by the server, and the target identifier in the target information enables the target message to be correctly parsed by the server. Compared with the solution of directly transforming the private network in the related art, this solution only needs to set or connect the first shared channel management module to the target terminal, without the need to transform the private network in many aspects. It has low cost, short time and small impact. It solves the problem that the implementation solution of the related art for new IoT needs or communication content arising in the private network IoT system that has been built is high cost, long transformation cycle and great impact.

[0160] The specific execution steps can refer to the various steps of the above-mentioned method embodiment for transmitting information based on a private network channel applied to a terminal, and the same technical effect can be achieved. To avoid repetition, they will not be repeated here.

[0161] Alternatively, follow these steps:

[0162] Receive the target information sent by the target terminal in the private network IoT system, and verify whether the private network connection channel of the target information meets the preset private network connection channel, and verify whether the terminal sending the target information is the preset terminal and whether the message format of the target message in the target information meets the preset message format;

[0163] After the verification is passed, the second shared channel management module is used to identify whether the target information includes a shared identifier, obtain a first identification result, and perform terminal verification on the target information based on the first identification result; the first identification result indicates whether the target terminal is a terminal to be supported that has been pre-configured on the server side, and the terminal to be supported is a terminal that is added after the private network IoT system has been built; the server side is provided with a second shared channel management module;

[0164] After the terminal verification is passed, the second shared channel management module is used to identify whether the target information includes an extended identifier, and a second identification result is obtained. Based on the second identification result and the first identification result, the target information is parsed to obtain the target message content in the target message; the second identification result indicates whether the target terminal is a terminal with extended message content.

[0165] The solution provided by the embodiment of the present invention receives the target information sent by the target terminal in the private network Internet of Things system, verifies whether the private network connection channel of the target information satisfies the preset private network connection channel, verifies whether the terminal sending the target information is the preset terminal and whether the message format of the target message in the target information conforms to the preset message format, and then after the verification is passed, identifies whether the target information includes a shared identifier through a second shared channel management module to obtain a first identification result, and performs terminal verification on the target information based on the first identification result, the first identification result indicates whether the target terminal is a terminal to be supported that has been pre-configured on the server side, the terminal to be supported is a terminal that is added after the private network Internet of Things system has been built, and the server side sets a second shared channel management module, and then, after the terminal verification is passed, identifies whether the target information includes an extended identifier through the second shared channel management module to obtain a second identification result, and based on the second identification result The target information is parsed according to the result and the first identification result to obtain the target message content in the target message. The second identification result indicates whether the target terminal is a terminal with extended message content. In terms of the server, on the one hand, the server verifies whether the target information meets the preset rules of the private network according to the security mechanism (rejection mechanism) set by the established private network IoT system, and does not change the existing mechanism of the private network, thereby ensuring the effectiveness of the original private network deployment in protecting the network and IoT data; on the other hand, by setting a second shared channel management module on the server, the second shared channel management module is used to identify the identifier (shared identifier, extended identifier) ​​in the incoming content (target information), and distinguish the target terminal type according to the different identifiers in the target information, and process the target information differently according to different target terminal types, perform terminal verification and parsing on the target information, thereby ensuring the accuracy of the parsed message content. Compared with the solution of directly transforming the private network in the related technology, this solution only needs to set up a second shared channel management module on the server side. There is no need to transform the private network in many aspects. It has low cost, short time and small impact. It solves the problem that the related technology has high cost, long transformation cycle and great impact in the implementation of new IoT needs or communication content in the private network IoT system that has been built.

[0166] The specific execution steps can refer to the various steps of the above-mentioned method embodiment for transmitting information based on a private network channel applied to the server, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.

[0167] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals or other devices except terminals.

[0168] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0169] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).

[0170] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.

[0171] An embodiment of the present application also provides a storage medium having computer executable instructions stored thereon. When the computer executable instructions are executed by a processor, the method for transmitting information based on a private network channel applied to the terminal described above can be implemented, or the various processes of the embodiment of the method for transmitting information based on a private network channel applied to the server described above can be implemented, and the same technical effect can be achieved. To avoid repetition, they will not be described here.

[0172] The processor is the processor in the electronic device in the above embodiment. Storage medium includes computer readable storage medium, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc.

[0173] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the above-mentioned method for transmitting information based on a private network channel applied to a terminal, or to implement the various processes of the above-mentioned method embodiment for transmitting information based on a private network channel applied to a server, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0174] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0175] An embodiment of the present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the above-mentioned method for transmitting information based on a private network channel applied to a terminal, or implements the various processes of the above-mentioned method embodiment for transmitting information based on a private network channel applied to a server, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0176] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0177] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of each embodiment of the present application.

[0178] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for transmitting information based on a private network channel, applied to a terminal in a private network IoT system, characterized in that: The method comprises: In the case where the first shared channel management module monitors the first connection request sent by the target terminal in the private network IoT system to the server, the first shared channel management module determines the shared channel based on the first connection request; wherein the first shared channel management module is arranged at the target terminal or connected to the target terminal; the shared channel is a private network connection channel corresponding to the server that supports the terminal to connect, and the supported terminal is a terminal in the established private network IoT system; Based on the shared channel, determining target information to be sent to the server through the first shared channel management module; the target information includes a target message having the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies a parsing method of the target message; Based on the shared channel, the target information is sent to the server.

2. The method according to claim 1, characterized in that: In the case where the target terminal is a terminal to be supported that is pre-configured on the server, the target identifier at least includes a shared identifier, and the determining, based on the shared channel, target information to be sent to the server by the first shared channel management module includes: Based on the shared channel, determining a first message by the first shared channel management module, where the first message is a message in a message format supported by the shared channel; By means of the first shared channel management module, the shared identifier, the number information of the terminal to be supported and the content of the first message are written into the first message to obtain a second message, and the target information is determined based on the second message; the terminal to be supported is a terminal added after the private network IoT system has been built; Alternatively, when the target terminal is the supported terminal with extended message content, the target identifier is an extended identifier, and the determining, based on the shared channel, the target information to be sent to the server by the first shared channel management module includes: Based on the supported terminal being connected to the private network connection channel corresponding to the server, determining a third message through the first shared channel management module, wherein the third message is a message in a message format supported by the private network connection channel corresponding to the supported terminal; The extension identifier and the second message content are written into the third message through the first shared channel management module to obtain a fourth message, and the target information is determined based on the fourth message.

3. The method according to claim 1, characterized in that The method further comprises: The dedicated network connection channel is recorded by the first shared channel management module, and when the server passes the verification of the second connection request, the dedicated network connection channel corresponding to the supported terminal connected to the server is marked as the shared channel; The private network connection channel is a related connection file for the supported terminal to send the second connection request to the server based on the private network channel.

4. The method according to claim 1, characterized in that The target information also includes a mapping relationship; and determining the shared channel based on the first connection request by the first shared channel management module includes: Determining the shared channel based on the first connection request by the first shared channel management module, and recording the mapping relationship; The mapping relationship includes the physical information of the target terminal, the shared channel information corresponding to the shared channel used by the target terminal, and the corresponding relationship between the physical information of the target terminal and the shared channel information.

5. A method for transmitting information based on a private network channel, applied to the server in a private network IoT system, characterized in that: The method comprises: Receive target information sent by a target terminal in a private network IoT system, and verify whether a private network connection channel of the target information satisfies a preset private network connection channel, and verify whether a terminal sending the target information is a preset terminal and whether a message format of a target message in the target information satisfies a preset message format; After the verification is passed, the second shared channel management module is used to identify whether the target information includes a shared identifier, obtain a first identification result, and perform terminal verification on the target information based on the first identification result; the first identification result indicates whether the target terminal is a terminal to be supported that has been pre-configured on the server side, and the terminal to be supported is a terminal that is added after the private network IoT system has been built; the server side is provided with the second shared channel management module; After the terminal verification is passed, the second shared channel management module is used to identify whether the target information includes an extended identifier, and a second identification result is obtained. Based on the second identification result and the first identification result, the target information is parsed to obtain the target message content in the target message; the second identification result indicates whether the target terminal is a terminal with extended message content.

6. The method according to claim 5, characterized in that The parsing the target information based on the second recognition result and the first recognition result to obtain the target message content in the target message includes: Determine, by the second shared channel management module, a target terminal type based on the second identification result and the first identification result; In the case that the target terminal type is a to-be-supported terminal pre-configured on the server, a to-be-supported terminal with extended message content, or a supported terminal with extended message content, the target message in the target information is parsed by the second shared channel management module based on the pre-configured parsing method and target identifier corresponding to the target terminal type to obtain the target message content in the target message; wherein the supported terminal is a terminal in an established private network Internet of Things system, and the target identifier includes the shared identifier and / or the extended identifier.

7. A device for transmitting information based on a private network channel, characterized in that: A terminal used in a private network IoT system, the device comprising: A first determination module is used to determine a shared channel based on a first connection request sent by a target terminal in a private network IoT system to a server through the first shared channel management module when the first shared channel management module monitors the first connection request; wherein the first shared channel management module is arranged at the target terminal or connected to the target terminal; the shared channel is a private network connection channel corresponding to the server that supports the connection of the terminal to the server, and the supported terminal is a terminal in the established private network IoT system; a second determination module, configured to determine, based on the shared channel, target information to be sent to the server through the first shared channel management module; the target information includes a target message having the same message format as that supported by the shared channel, and the target message includes a target identifier that identifies a parsing method of the target message; A sending module is used to send the target information to the server based on the shared channel.

8. An electronic device, characterized in that: include: processor; as well as A memory arranged to store computer executable instructions, wherein the executable instructions are configured to be executed by the processor, and the executable instructions include instructions for executing the method for transmitting information based on a private network channel as described in any one of claims 1-6.

9. A storage medium, characterized in that: The storage medium is used to store computer-executable instructions, and the computer-executable instructions enable a computer to execute the method for transmitting information based on a private network channel as described in any one of claims 1 to 6.

10. A computer program product, characterized in that It includes a computer program, which, when executed by a processor, implements the method for transmitting information based on a private network channel as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Data transmission method and device, electronic device and storage medium

    CN111083120A

  • Co-construction and sharing resource block configuration method and access network equipment

    CN113115372A

  • Data transmission method, identification analysis platform, electronic equipment and storage medium

    CN113852921A

  • Data transmission channel establishment method and device, data transmission method and device, equipment and medium

    CN114386075A

  • Data processing method and device and computer storage medium

    CN114710572A