Method and apparatus for transmitting information based on private network channel

By setting up a shared channel management module in the private network IoT system, listening to and sending target information that conforms to the private network rules, the problems of high cost and long cycle of transformation in the existing private network IoT system are solved, and low-cost and rapid realization of IoT needs and communication content are achieved.

CN119402510BActive Publication Date: 2025-11-04CHINA MOBILE QUANTONG SYST INTEGRATION CO LTD +3
View PDF 3 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

When new IoT needs or communication content emerge in an already constructed private network IoT system, the transformation costs are high, the cycle is long, and the impact is significant.

Method used

Set up or connect a shared channel management module on the target terminal and server. Listen for connection requests through the shared channel management module, determine the shared channel, and send target information that conforms to the private network's preset rules. The target information includes the target identifier with the identifier resolution method.

Benefits of technology

It eliminates the need for large-scale modifications to the private network, is low-cost and quick, enables the fulfillment of new IoT requirements or communication content, and does not affect the deployment of the original private network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402510B_ABST
    Figure CN119402510B_ABST
Patent Text Reader

Abstract

The application discloses a method and device for transmitting information based on a private network channel, and is applied to a terminal in a private network system. The method comprises the following steps: in the case that a first shared channel management module listens to a first connection request sent by a target terminal in the private network 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 in the target terminal or connected to the target terminal; the shared channel is a private network connection channel corresponding to the shared channel, which supports the connection of a terminal to the server; the terminal is a terminal in the private network system which has been built; determining target information to be sent to the server through the first shared channel management module based on the shared channel; the target information comprises target messages in the same message format as the shared channel; the target messages comprise target identifiers which identify the analysis mode of the target messages; 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 application belongs to the technical field of Internet of Things, and particularly relates to a method and device for transmitting information based on a private network channel. BACKGROUND

[0002] In the Internet of Things scenario, considering network and Internet of Things security and the like, a user usually adopts a private network (i.e., a dedicated network) to perform communication between a terminal and a server, and often emphasizes security and limitation, and finally forms a private network-based Internet of Things system in which network, strategy, communication content, interface and terminal are fixed, i.e., a private network Internet of Things system.

[0003] With the passage of time, new Internet of Things requirements or communication contents appear, and due to complex restrictions on communication between the terminal and the server in the deployment of the private network, the new Internet of Things requirements or communication contents cannot be implemented in the private network Internet of Things system that has been constructed.

[0004] In the related art, implementation of the new Internet of Things requirements or communication contents is achieved by modifying the private network, but due to the complex deployment of the private network, modification involves hardware, network and software, and therefore, modification of the private network has high cost, needs to spend a long time period, and has a large impact.

[0005] That is, the implementation scheme of the related art for the new Internet of Things requirements or communication contents appearing in the private network Internet of Things system that has been constructed has the problems of high cost, long time period and large impact. SUMMARY

[0006] The embodiments of the application provide a method and device for transmitting information based on a private network channel, which can solve the problems of high cost, long modification period and large impact of the implementation scheme of the related art for the new Internet of Things requirements or communication contents appearing in the private network Internet of Things system that has been constructed.

[0007] In a first aspect, the embodiments of the present application provide a method for transmitting information based on a private network channel, which is applied to a terminal in a private network system. The method comprises: in the case that a first shared channel management module in the terminal listens to a first connection request sent by a target terminal in the private network 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 in the target terminal or connected to the target terminal; the shared channel is a private network connection channel corresponding to the shared channel to which a supported terminal is connected; the supported terminal is a terminal in the private network system that has been built; determining target information to be sent to the server through the first shared channel management module based on the shared channel; the target information comprises a target message in the same message format as the shared channel supported; the target message comprises a target identifier identifying an analysis method of the target message; and sending the target information to the server based on the shared channel.

[0008] In a second aspect, the embodiments of the present application provide a method for transmitting information based on a private network channel, which is applied to a server in a private network system. The method comprises: receiving target information sent by a target terminal in the private network system, and verifying whether a private network connection channel of the target information meets a preset private network connection channel, whether a terminal sending the target information is a preset terminal, and whether a message format of a target message in the target information meets a preset message format; after the verification, identifying whether the target information comprises a shared identifier through a second shared channel management module to obtain a first identification result, and performing terminal verification on the target information based on the first identification result; the first identification result represents whether the target terminal is a to-be-supported terminal pre-configured in the server; the to-be-supported terminal is a terminal that is added after the private network system has been built; the server is provided with the second shared channel management module; after the terminal verification, identifying whether the target information comprises an extension identifier through the second shared channel management module to obtain a second identification result, and performing analysis on the target information based on the second identification result and the first identification result to obtain target message content in the target message; the second identification result represents whether the target terminal is an extension terminal of the message content.

[0009] In a third aspect, an embodiment of the present application provides a device for transmitting information based on a private network channel, applied to a terminal in a private network system. The device comprises: a first determination module configured to determine a shared channel based on a first connection request sent by a target terminal in the private network system to a server through a first shared channel management module, when the first shared channel management module listens to the first connection request; wherein the first shared channel management module is arranged in 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; the supported terminal is a terminal in the private network system that has been built; a second determination module configured to determine target information to be sent to the server through the first shared channel management module based on the shared channel; the target information comprises a target message in the same format as a message format supported by the shared channel; the target message comprises a target identifier identifying an analysis method of the target message; and a sending module configured 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, applied to a server in a private network system. The device comprises: a first verification module configured to receive target information sent by a target terminal in the private network system, and verify whether a private network connection channel of the target information meets a preset private network connection channel, whether a terminal sending the target information is a preset terminal, and whether a message format of a target message in the target information meets a preset message format; a second verification module configured to, after the verification passes, identify whether the target information comprises a shared identifier through a second shared channel management module, obtain a first identification result, and perform terminal verification on the target information based on the first identification result; the first identification result represents whether the target terminal is a supported terminal pre-configured in the server; the supported terminal is a terminal that joins the private network system after the private network system has been built; the server is provided with the second shared channel management module; an analysis module configured to, after the terminal verification passes, identify whether the target information comprises an extension identifier through the second shared channel management module, obtain a second identification result, and analyze the target message in the target information based on the second identification result and the first identification result, to obtain target message content in the target message; the second identification result represents whether the target terminal is a terminal that extends message content.

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

[0012] In a sixth aspect, an embodiment of the present application provides a storage medium, the storage medium being configured to store computer executable instructions, the computer executable instructions causing a computer to execute the method for transmitting information based on a private network channel according to the first aspect, or the method for transmitting information based on a private network channel according to the second aspect.

[0013] In a seventh aspect, an embodiment of the present application provides a chip, the chip comprising a processor and a communication interface, the communication interface being coupled to the processor, and the processor being configured to execute a program or an instruction, so as to implement the method for transmitting information based on a private network channel according to the first aspect, or the method for transmitting information based on a private network channel according to the second aspect.

[0014] In an eighth aspect, an embodiment of the present application provides a computer program product, the computer program product comprising a computer program, the computer program being configured to implement the method for transmitting information based on a private network channel according to the first aspect, or the method for transmitting information based on a private network channel according to the second aspect, when the computer program is executed by a processor.

[0015] In the embodiment of the present application, the first shared channel management module is set in or connected to the target terminal, and the target information to be sent to the server is determined based on the shared channel through the first shared channel management module. The target information includes a target message with the same message format as the supported message format of the shared channel, and the target message includes a target identifier identifying the analysis method of the target message. Then, the target information is sent to the server based on the shared channel. In the terminal (i.e. the target terminal), the first shared channel management module is set or connected to the target terminal, the communication initiated by the target terminal is listened to through the first shared channel management module, and when the target terminal initiates a connection request to the server, the shared channel and the target information are determined, so that the target terminal can reuse the special network connection channel (shared channel) that meets the special network preset rules of the constructed special network system to send the target information to the server without sensing, and the message format of the target message in the target information is the same as the supported message format of the shared channel, that is, the target information also meets the special network preset rules of the constructed special network system, so that the target information can 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 scheme of directly modifying the special network in the related art, the first shared channel management module is set to or connected to the target terminal, without the need to modify the special network in many aspects, which is low in cost, short in time and small in influence, and solves the problems of high cost, long modification period and large influence of the implementation scheme of the new demand or communication content of the constructed special network system in the related art. BRIEF DESCRIPTION OF DRAWINGS

[0016] Figure 1 is a flowchart of a method for transmitting information based on a special network channel provided by the embodiment of the present application and applied to a terminal in a special network system;

[0017] Figure 2 is a flowchart of another method for transmitting information based on a special network channel provided by the embodiment of the present application and applied to a terminal in a special network system;

[0018] Figure 3 is a flowchart of a method for transmitting information based on a special network channel provided by the embodiment of the present application and applied to a server in a special network system;

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

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

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

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

[0023] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.

[0024] The terms "first", "second", and the like 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 interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than that illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally a category, and are not limited to the number of objects, for example, the first object can be one or more. In addition, "and / or" in the specification and claims indicates at least one of the connected objects, and the character " / ", generally indicates that the front and rear associated objects are in an "or" relationship.

[0025] The method and apparatus for transmitting information based on a private network channel provided by the embodiments of the present application will be described in detail below with reference to the drawings and 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 application is shown, which can be executed by a terminal in a private network system. In other words, the method can be executed by software or hardware installed in the terminal in the private network system, and the method includes the following steps:

[0027] S102: In the case that the first shared channel management module listens to the first connection request sent by the target terminal in the private network system to the server, the shared channel is determined based on the first connection request through the first shared channel management module.

[0028] The first shared channel management module is located on or connected to the target terminal; the shared channel is a private network connection channel that supports terminals to connect to the server, and the supported terminals are terminals in the established private network IoT system.

[0029] Because the deployment of a dedicated network imposes complex restrictions on communication between terminals and servers, the connection channels, message formats, and terminals are fixed after the dedicated network IoT system is built. This causes two problems: First, newly added IoT devices (terminals added after the dedicated network IoT system is built, i.e., terminals to be supported) are different from existing devices (already supported terminals), for example, their information transmission formats are different. As a result, these new IoT devices are blocked from connecting due to the dedicated network's specific control policies. Second, because the dedicated network can only support specially defined message formats, communication content outside the original message format cannot be transmitted. For example, the original message content of an existing device (already supported terminal) only involves data from collection points A and B. However, when this device can also collect data from collection point C and wants to transmit that data to the server, it cannot transmit the data from collection point C because the original specially defined message format does not include collection point C. This solution addresses these two problems by designing a shared channel management module. Correspondingly, a first shared channel management module was designed for terminals exhibiting the aforementioned two issues, i.e., target terminals. These target terminals may include at least supported terminals with extended message content and terminals to be supported that have been pre-configured on the server side.

[0030] It should be noted that this solution addresses the issue of newly added and legitimate IoT devices being unable to connect to the server and transmit data due to limitations imposed by the private network, rather than allowing unknown terminals to enter the private network environment through this method. 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 will not be able to use the shared channel to connect to the server and transmit data.

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

[0032] The shared channel is a private network connection channel that already supports terminals connecting to the server. This private network connection channel conforms to the preset rules of the private network corresponding to the established private network IoT system.

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

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

[0035] The target information includes a target message in the same message format as the shared channel supports, and the target message includes a target identifier identifying a parsing manner of the target message.

[0036] Optionally, the target identifier includes a shared identifier and / or an extended identifier. The shared identifier can represent that the target message is data sent using the shared channel and the target terminal is a to-be-supported terminal; and the extended identifier can represent 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 listen whether the target terminal sends a first connection request to the server. When the first shared channel management module listens that the target terminal sends the first connection request to the server, the first shared channel management module intercepts or modifies the first connection request, determines the shared channel based on the first connection request, determines target information to be sent to the server based on the shared channel, and finally the target terminal sends the target information through the determined shared channel. In this process, the listening, intercepting and modifying of the first shared channel management module to the first connection request do not affect the terminal to deliver information, that is, the target terminal is not aware of it, that is, the process of using the target terminal with the first shared channel management module set and the normal supported terminal is basically the same, and does not bring additional work burden to the user.

[0038] The method for transmitting information based on a private network channel provided by the embodiment of the present application comprises the following steps: in the case that the first shared channel management module listens to the first connection request sent by a target terminal in a private network system to a server, the first shared channel management module determines a shared channel based on the first connection request (the shared channel supports the connection of a terminal to a private network connection channel corresponding to the server, and the terminal is a terminal in the private network system that has been built), the first shared channel management module is arranged in or connected to the target terminal, target information to be sent to the server is determined based on the shared channel by the first shared channel management module, the target information comprises a target message in the same format as a message format supported by the shared channel, and the target message comprises a target identifier identifying a parsing mode of the target message; and the target information is sent to the server based on the shared channel. In the terminal (i.e., the target terminal), the first shared channel management module is arranged in or connected to the target terminal, the first shared channel management module listens to the communication initiated by the target terminal, the shared channel and the target information are determined when the target terminal initiates the connection request to the server, so that the target terminal can reuse the private network connection channel (the shared channel) that meets the private network preset rule of the private network system that has been built to send the target information to the server without awareness, 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 meets the private network preset rule of the private network system that has been built, and finally the target information can 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 scheme of directly modifying the private network in the related art, the first shared channel management module is arranged in or connected to the target terminal, without the need to modify the private network in many aspects, the cost is low, the time cost is short, the influence is small, and the problem that the implementation scheme of the related art for the new demand of the private network system that has been built or the communication content exists high cost, long modification period and large influence is solved.

[0039] In one implementation manner, in the case that the target terminal is a to-be-supported terminal pre-configured on the server, the target identifier at least comprises a shared identifier, the target information to be sent to the server is determined based on the shared channel by the first shared channel management module (i.e., S104), which can specifically perform the following steps A1 to A2:

[0040] Step A1: determining a first message based on the shared channel by the first shared channel management module, the first message being a message in a message format supported by the shared channel.

[0041] For the to-be-supported terminal pre-configured on the server, the first shared channel management module provides the first message that meets the private network preset rule of the private network system that has been built, so as to prevent the case that the connection is refused by the server due to different message formats.

[0042] In step A2, the shared identifier, the number information of the terminal to be supported, and the first message content are written into the first message by the first shared channel management module, a second message is obtained, and target information is determined based on the second message.

[0043] The terminal to be supported is a terminal that joins after the private network system has been built.

[0044] By using the shared identifier, the number information of the terminal to be supported and the first message content are written into the first message that meets the preset rules of the built private network system by the first shared channel management module.

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

[0046] {

[0047] "id":"eee22",

[0048] "value":"ssswwws"

[0049] }

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

[0051] {

[0052] "id":"ee4422",

[0053] "value":"34444wws"

[0054] }

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

[0056] {

[0057] "id":"eee22",

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

[0059] }

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

[0061] Alternatively, in the case where the target terminal is an extended message content supported terminal, the target identifier is an extended identifier, 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), which can be specifically executed as follows: steps B1 to step B2:

[0062] Step B1, based on the supported terminal connecting to the corresponding private network connection channel of the server, the third message is determined by the first shared channel management module, and the third message is a message in the format of the message 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 the original message format message corresponding to the supported terminal.

[0064] Step B2, the extended identifier and the second message content are written into the third message by the first shared channel management module, the fourth message is obtained, and the target information is determined based on the fourth message.

[0065] Since the message content supported by the third message is less than the actual message data (i.e., the second message content) that the supported terminal wants to transmit, the second message content is written into the third message by the first shared channel management module with the help of the extended identifier, and the fourth message that meets the preset rules of the private network of the constructed private network system is obtained.

[0066] For example, the original supported third message can include:

[0067] Point A, corresponding value: a;

[0068] Point B, corresponding value: b;

[0069] Now, the supported terminal can additionally collect data of point C and want to transmit to the server, and correspondingly, the second message content can include:

[0070] Point A, corresponding value: a;

[0071] Point B, corresponding value: b;

[0072] Point C, corresponding value: c;

[0073] The fourth message obtained by writing the extended identifier and the second message content into the third message can include:

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

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

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

[0077] Similarly, there can be a first message determined for the above-mentioned terminal to be supported, and the supported message content is also less than the message data actually wanted to be transmitted by the terminal to be supported. In this case, the target identifier includes the shared identifier and the extended identifier. Correspondingly, the step A2 can be executed as a1: through the first shared channel management module, the shared identifier, the extended identifier, the number 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 the terminal to be supported with the extended message content.

[0078] In an implementation manner, the following step C1 can also be executed to obtain the above-mentioned shared channel:

[0079] The step C1 records the private network connection channel through the first shared channel management module, and in the case that the verification of the second connection request on the server is passed, identifies that the connection of the supported terminal to the private network connection channel corresponding to the server is a shared channel.

[0080] The private network connection channel is a connection file related to the sending of the second connection request by the supported terminal to the server based on the private network channel.

[0081] The private network connection channel is, for example, that the supported terminal and the server interact through the transmission control protocol (TCP) and the protocol established on the TCP protocol. The established TCP connection or other connection is the private network connection channel.

[0082] The first shared channel management module monitors the process of the connection of the supported terminal to the server based on the private network to obtain the connection file related to the process. If the connection is successful, it is identified as a shared channel and saved. It should be noted that the first shared channel management module records the connection file related to the process. The terminal to be supported reuses the connection file related to the process for connection and transmission, and does not control the supported terminal to connect and transmit the target information of the terminal to be supported.

[0083] The shared channel can be pre-tested and saved by the first shared channel management module, or can be recorded by the first shared channel management module in response to the first connection request. That is, the above step C1 can occur before the first shared channel management module determines the shared channel based on the first connection request (i.e., S102) after the first shared channel management module listens to the first connection request sent by the target terminal in the private network system to the server. Or it can occur during the determination of the shared channel by the first shared channel management module based on the first connection request (i.e., S102) after the first shared channel management module listens to the first connection request sent by the target terminal in the private network system to the server.

[0084] In an implementation manner, the target information further includes a mapping relationship; and the determination of the shared channel by the first shared channel management module based on the first connection request (i.e., S102) can be specifically performed as step D1:

[0085] Step D1: determining the shared channel by the first shared channel management module based on the first connection request, and recording the 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 at least includes the information of the server, and the first shared channel management module can determine the selectable shared channels according to the information of the server. Then, one shared channel can be selected from the plurality of selectable shared channels. Alternatively, the first shared channel management module can use a hash algorithm or a random algorithm to determine the shared channel from the plurality of shared channels. For example, there are 10 shared channels with sequence numbers 1 to 10 after sorting, a random number between 1 and 10 can be obtained by using a random algorithm, and the shared channel corresponding to the sequence number is determined according to the random number. Alternatively, a hash algorithm can be used to take the remainder of the divisor, for example, the target terminal is the 101st terminal recorded by the first shared channel management module, there are 10 shared channels with sequence numbers 1 to 10 after sorting, and the shared channel with sequence number 2 is selected by using the hash algorithm, 101 divided by 10 with a remainder of 1.

[0088] In actual application, since the shared channel is shared, one shared channel can be used by the terminal a or the terminal b, and there are multiple terminals and multiple private network connection channels in the whole private network system. The mapping relationship is recorded by the first shared channel management module, so as to determine whether the terminal a or the terminal b uses the shared channel, and which shared channels are not occupied, so that the first shared channel management module can more conveniently manage and allocate the shared channel.

[0089] In addition, the target information can be verified at the server side. The mapping relationship is included in the target information, that is, the physical information of the target terminal and the shared channel information corresponding to the shared channel used by the target terminal are included in the target information. When the second shared channel management module at the server side verifies, the terminal number information of the target message in the target information is verified, and at least the physical information of the target terminal (wherein the physical device number of the terminal is unique) is verified, so as to prevent the terminal number information in the target message from being leaked, and the terminal number information is verified to be passed by illegal data, thereby improving the security.

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

[0091] In step 202, the private network connection channel is recorded by the first shared channel management module, and in the case that the verification of the second connection request at the server side is passed, the terminal connection to the corresponding private network connection channel of the server side is identified as a shared channel.

[0092] The private network connection channel is a connection file related to the second connection request sent by the supported terminal to the server based on the private network channel.

[0093] In step 204, in the case that the first shared channel management module listens to the first connection request sent by the target terminal in the private network system to the server, the shared channel is determined based on the first connection request by the first shared channel management module, and the mapping relationship is recorded. The first shared channel management module is arranged in the target terminal or connected to the target terminal. The shared channel is a private network connection channel to which the supported terminal is connected to the server.

[0094] The supported terminal is a terminal in the established private network system.

[0095] In step 206, the target information to be sent to the server is determined by the first shared channel management module based on the shared channel. The target information includes a target message in the same message format as the shared channel supported, and the target message includes a target identifier identifying the analysis mode of the target message. ​

[0096] Step 208, based on the shared channel, sending the target information to the server.

[0097] The method for transmitting information based on the private network channel provided in this embodiment, when the first shared channel management module listens to the case that the target terminal in the private network system sends a first connection request to the server, determines the shared channel based on the first connection request (the terminal has supported the private network connection channel corresponding to the terminal in the private network system that has been built), wherein the first shared channel management module is set in the target terminal or connected to the target terminal, determines the target information to be sent to the server based on the shared channel through the first shared channel management module, the target information includes a target message with the same message format as the shared channel supported, and the target message includes a target identifier identifying the analysis method of the target message; and then based on the shared channel, the target information is sent to the server. In the terminal (i.e. the target terminal), by setting or connecting the first shared channel management module in the target terminal, the first shared channel management module listens to the communication initiated by the target terminal, determines the shared channel and the target information when the target terminal initiates a connection request to the server, so that the target terminal can reuse the private network connection channel (shared channel) that meets the private network preset rules of the built private network system to send the target information to the server without awareness, 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 meets the private network preset rules of the built private network system, so that the target information can 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 scheme of directly modifying the private network in the related art, the first shared channel management module is set to or connected to the target terminal, without the need for multiple modifications of the private network, which is low in cost, short in time and small in influence, and solves the problems of high cost, long modification period and large influence of the implementation scheme for new demands or communication contents in the built private network system in the related art.

[0098] Figure 3 An embodiment of the present application provides a method for transmitting information based on a private network channel, which can be executed by a server in a private network system. In other words, the method can be executed by software or hardware installed on the server, and the method includes the following steps:

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

[0100] The service end verifies whether the target information meets the preset rules of the private network according to the set security mechanism (rejection mechanism) of the built private network Internet of Things system, does not change the existing mechanism of the private network, and ensures the effectiveness of the protection of the original private network deployment on the network and Internet of Things data.

[0101] Specifically, verifying whether the terminal sending the target information is a preset terminal can include: verifying whether the terminal sending the target information is a terminal that has been configured on the service end.

[0102] S304: After verification, through the second shared channel management module, whether the target information includes a shared identifier is identified, a first identification result is obtained, and terminal verification is performed on the target information based on the first identification result; the first identification result indicates whether the target terminal is a pre-configured terminal to be supported on the service end, and the terminal to be supported is a terminal that is added after the private network Internet of Things system is built; the service end sets the second shared channel management module.

[0103] S306: After terminal verification, through the second shared channel management module, whether the target information includes an extended identifier is identified, a second identification result is obtained, and the target message content in the target message is obtained by analyzing the target information based on the second identification result and the first identification result; the second identification result indicates whether the target terminal is a terminal that extends the message content.

[0104] Optionally, the second shared channel management module can be hardware or software, for example, can be an embeddable hardware, or can be a software program that can be installed on 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 perform different processing on the target information according to different target terminal types. Correspondingly, the target information can be transmitted to different interfaces according to different target terminal types for subsequent different processing. Specifically, first, whether the target terminal is a supported terminal or a terminal to be supported is determined according to whether the target information includes a shared identifier, and different terminal verifications are performed on the supported terminal and the terminal to be supported:

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

[0107] In the case that the first identification result is that the target terminal is a to-be-supported terminal pre-configured on the service end, the second shared channel management module is used to determine the number information of the to-be-supported terminal in the target information based on the shared identifier, and terminal verification is performed based on the number information of the to-be-supported terminal. Whether the target terminal uses the shared channel and whether the target terminal is a newly-added to-be-supported terminal are determined.

[0108] Further, the target information further includes a mapping relationship, and terminal verification is performed based on the mapping relationship by the second shared channel management module. The mapping relationship includes the physical information of the target terminal, the special network channel information corresponding to the special network channel used by the target terminal, and the corresponding relationship between the physical information of the target terminal and the special network channel information, which can improve the security of terminal verification.

[0109] Then, whether the target terminal is a terminal with extended message content is determined according to whether the target information includes an extension identifier, and the terminal with extended message content and the terminal without extended message content are analyzed differently.

[0110] In addition, for the target information without the target identifier, the service end analyzes according to the settings of the special network object system that has been built.

[0111] The method for transmitting information based on a private network channel provided by the embodiment comprises the following steps: receiving target information sent by a target terminal in a private network system, verifying whether a private network connection channel of the target information meets a preset private network connection channel, verifying whether the terminal sending the target information is a preset terminal, and verifying whether a message format of a target message in the target information meets a preset message format; after the verification is passed, identifying whether the target information comprises a shared identifier through a second shared channel management module to obtain a first identification result, and performing terminal verification on the target information based on the first identification result, the first identification result indicating whether the target terminal is a to-be-supported terminal preconfigured on a server side, the to-be-supported terminal being a terminal that is added after the private network system is built, and the server side being provided with the second shared channel management module; after the terminal verification is passed, identifying whether the target information comprises an extended identifier through the second shared channel management module to obtain a second identification result, and performing analysis on the target information based on the second identification result and the first identification result to obtain target message content in the target message, the second identification result indicating whether the target terminal is an extended terminal. In the aspect of the server side, on one hand, the server side verifies whether the target information meets a preset rule of the private network according to a security mechanism (rejection mechanism) set by the built private network system, does not change the existing mechanism of the private network, and ensures the effectiveness of the protection of the original private network deployment on the network and the Internet of Things data; on the other hand, the second shared channel management module is set on the server side, the identifier (shared identifier and extended identifier) in the incoming content (target information) is identified through the second shared channel management module, the target terminal type is distinguished according to the different identifiers in the target information, and the target information is processed differently according to the different target terminal types, the terminal verification and the analysis are performed on the target information, and the accuracy of the analyzed message content is ensured. Compared with the scheme in the related art that directly modifies the private network, the second shared channel management module is set on the server side, the private network does not need to be modified in many aspects, the cost is relatively low, the time cost is relatively short, the influence is relatively small, and the problems that the implementation scheme in the related art for the new Internet of Things demand or communication content in the built private network system has a high cost, a long modification period, and a large influence are solved.

[0112] In an implementation manner, based on the second identification result and the first identification result, the target information is analyzed to obtain target message content in the target message (namely, S306), which can be specifically implemented as steps E1 to E2.

[0113] In step E1, based on the second identification result and the first identification result, the target terminal type is determined through the second shared channel management module.

[0114] The target terminal type includes a to-be-supported terminal pre-configured on the service end, a to-be-supported terminal with extended message content, a supported terminal with extended message content, and a supported terminal without extended message content.

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

[0116] The supported terminal is a terminal in the built private network system, and the target identifier includes a shared identifier and / or an extended identifier.

[0117] Specifically, when the target terminal type is the to-be-supported terminal pre-configured on the service end, the target message in the target information is parsed based on the pre-configured parsing mode corresponding to the to-be-supported terminal and the shared identifier, to obtain the target message content in the target message; when the target terminal type is the to-be-supported terminal with extended message content, the target message in the target information is parsed based on the parsing mode corresponding to the to-be-supported terminal with extended message content, the shared identifier, and the extended identifier, to obtain the target message content in the target message; and when the target terminal type is the supported terminal with extended message content, the target message in the target information is parsed based on the parsing mode corresponding to the supported terminal with extended message content and the extended identifier, to obtain the target message content in the target message.

[0118] Figure 4 is a flowchart of another method for delivering information based on a private network channel provided by an embodiment of the present application. As shown in Figure 4 the method includes:

[0119] In step 402, when the first shared channel management module listens to a first connection request sent by a target terminal in a private network system to a service end, 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 arranged in the target terminal or connected to the target terminal; and the shared channel is a private network connection channel corresponding to a supported terminal connected to the service end.

[0120] The supported terminal is a terminal in the built private network system.

[0121] In step 404, the target information to be sent to the service end is determined based on the shared channel by the first shared channel management module; the target information includes a target message in the same message format as the shared channel supported, and the target message includes a target identifier identifying a parsing mode of the target message.

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

[0123] Step 408, the server receives the target information sent by the target terminal in the private network system, and verifies whether the private network connection channel of the target information meets the preset private network connection channel, 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.

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

[0125] Step 412, after terminal verification, through the second shared channel management module, identify whether the target information includes an extended identifier to obtain a second identification result, and perform analysis on 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 represents whether the target terminal is a terminal that has extended the message content.

[0126] The method for transmitting information based on a private network channel provided by the embodiment comprises the following steps: a terminal determines a shared channel based on a first connection request through a first shared channel management module when the first shared channel management module listens to the first connection request sent by a target terminal in a private network system to a server, wherein the first shared channel management module is arranged in or connected to the target terminal; the target information to be sent to the server is determined through the first shared channel management module based on the shared channel, wherein the target information comprises a target message in the same message format as the shared channel, and the target message comprises a target identifier identifying the analysis mode of the target message; the terminal sends the target information to the server based on the shared channel; the server verifies whether the private network connection channel of the target information satisfies a preset private network connection channel, 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 a preset message format; after the verification, the server identifies whether the target information comprises 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, wherein the first identification result represents whether the target terminal is a terminal to be supported which is pre-configured in the server, and the terminal to be supported is a terminal which is added after the private network system is built; the server sets the second shared channel management module; after the terminal verification, the server identifies whether the target information comprises an extension identifier through the second shared channel management module to obtain a second identification result, and performs analysis on the target information based on the second identification result and the first identification result to obtain the target message content in the target message, wherein the second identification result represents whether the target terminal is a terminal which extends the message content.The scheme is in the aspect of a terminal (i.e., a target terminal), by setting or connecting a first shared channel management module at the target terminal, listening to a communication initiated by the target terminal through the first shared channel management module, when the target terminal initiates a connection request to a server, determining a shared channel and target information, so that the target terminal multiplexes a dedicated network connection channel (shared channel) that meets the preset rules of the dedicated network of the built dedicated network system to send the target information to the server without awareness, and the message format of the target message in the target information is the same as the supported message format of the shared channel, that is, the target information also meets the preset rules of the dedicated network of the built dedicated network system, so that the target information can be received by the server, and the target identifier in the target information enables the target message to be correctly parsed by the server; in the aspect of the server, on the one hand, the server verifies whether the target information meets the preset rules of the dedicated network according to the set security mechanism (rejection mechanism) of the built dedicated network system, does not change the existing mechanism of the dedicated network, and ensures the effectiveness of the protection of the original dedicated network deployment on the network and the data of the Internet of Things; on the other hand, by setting a second shared channel management module at the server, identifying the identifier (shared identifier, extended identifier) in the incoming content (target information) through the second shared channel management module, according to the different identifiers existing in the target information, distinguishing the types of the target terminals, and according to different target terminal types, processing the target information differently, terminal verification and parsing of the target information are performed to ensure the accuracy of the parsed message content. Compared with the scheme of directly modifying the dedicated network in the related art, the first shared channel management module is set to or connected to the target terminal, and the second shared channel management module is set at the server, without the need to modify the dedicated network in many aspects, the cost is low, the time cost is short, the influence is small, and the problems of high cost, long modification period and large influence of the implementation scheme for new Internet of Things demand or communication content in the built dedicated network system of the related art are solved.

[0127] According to the same technical concept, the application embodiment also provides a device for transmitting information based on a dedicated network channel, Figure 5 is a structural schematic diagram of the device for transmitting information based on a dedicated network channel according to the application embodiment, which is used to execute Figures 1 to 2 the method for transmitting information based on a dedicated network channel described above, as Figure 5 shown, the device for transmitting information based on a dedicated network channel includes a first determination module 510, a second determination module 520 and a sending module 530.

[0128] The first determination module 510 is configured to determine, by the first shared channel management module, the shared channel based on the first connection request in a case where the first shared channel management module listens to the first connection request sent by the target terminal in the private network system to the server; the first shared channel management module is arranged in the target terminal or connected to the target terminal; the shared channel is a private network connection channel corresponding to the shared channel to which the supported terminal is connected; and the supported terminal is a terminal in the private network system that has been built.

[0129] The second determination module 520 is configured to determine, by the first shared channel management module, target information to be sent to the server based on the shared channel; the target information includes a target message in the same message format as the shared channel supported message format; and the target message includes a target identifier that identifies the analysis mode of the target message.

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

[0131] In an implementation manner, in a case where the target terminal is a to-be-supported terminal 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] determine, by the first shared channel management module, a first message based on the shared channel; the first message is a message in the shared channel supported message format;

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

[0134] Alternatively, in a case where the target terminal is a supported terminal that has expanded the message content, the target identifier is an expansion identifier; and the second determination module 520 is specifically configured to:

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

[0136] write the expansion identifier and the second message content into the third message by the first shared channel management module to obtain a fourth message, and determine the target information based on the fourth message.

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

[0138] The adaptation module 540 is specifically configured to:

[0139] The first shared channel management module records the private network connection channel, and identifies that the supported terminal is connected to the corresponding private network connection channel of the server as a shared channel when the second connection request is verified by the server.

[0140] The private network connection channel is a connection file related to the sending of the second connection request by the supported terminal to the server based on the private network channel.

[0141] In an implementation manner, the target information further 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 in the embodiment of the present application comprises a first shared channel management module, a shared channel, a target information determination module and a target information sending module. The first shared channel management module is arranged in or connected to a target terminal. The shared channel is supported by the first shared channel management module. The target information determination module determines target information to be sent to a server based on the shared channel through the first shared channel management module. The target information comprises a target message in the same message format as a message format supported by the shared channel. The target message comprises a target identifier identifying a parsing mode of the target message. The target information sending module sends the target information to the server based on the shared channel. In the terminal (i.e., the target terminal), the first shared channel management module is arranged in or connected to the target terminal. The first shared channel management module listens to a communication initiated by the target terminal. When the target terminal initiates a connection request to the server, the shared channel and the target information are determined, so that the target terminal can send the target information to the server by reusing a private network connection channel (the shared channel) conforming to a private network preset rule of a private network Internet of Things system that has been built. The message format of the target message in the target information is the same as the message format supported by the shared channel, i.e., the target information also conforms to the private network preset rule of the private network Internet of Things system that has been built. Finally, the target information can 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 modifying the private network in the related art, the first shared channel management module is arranged in or connected to the target terminal, and the private network does not need to be modified in many aspects, so that the cost is low, the time cost is short, the influence is small, and the problem that the solution in the related art for a new Internet of Things demand or communication content in the private network Internet of Things system that has been built is high in cost, long in modification period and large in influence is solved.

[0145] Those skilled in the art should understand that the 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 described above, and the details are similar to those in the method part described above, which will not be described here again.

[0146] Corresponding to the method for transmitting information based on a private network channel applied to a server in a private network Internet of Things system provided in the above embodiment, based on the same technical concept, the embodiment of the present application also provides another device for transmitting information based on a private network channel, Figure 6 is a structural schematic diagram of the device for transmitting information based on a private network channel according to the embodiment of the present application, which is used to execute Figure 3 The method for transmitting information based on a private network channel is described as above, such as Figure 6As shown, the device for transmitting information based on the private network channel comprises a first verification module 610, a second verification module 620, and a parsing module 630.

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

[0148] The second verification module 620 is configured to, after the verification passes, identify whether the target information comprises a shared identifier through a second shared channel management module, 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 to-be-supported terminal preconfigured on a service end. The to-be-supported terminal is a terminal that is added after the private network system is built. The service end is provided with the second shared channel management module.

[0149] The parsing module 630 is configured to, after the terminal verification passes, identify whether the target information comprises an extended identifier through the second shared channel management module, obtain a second identification result, and perform parsing on the target information based on the second identification result and the first identification result to obtain target message content in the target message. The second identification result indicates whether the target terminal is an extended terminal.

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

[0151] determine a target terminal type based on the second identification result and the first identification result through the second shared channel management module.

[0152] In a case where the target terminal type is the to-be-supported terminal preconfigured on the service end, the extended to-be-supported terminal, or the extended to-be-supported terminal, the parsing module 630 is configured to parse a target message in the target information based on a preconfigured parsing manner corresponding to the target terminal type and a target identifier through the second shared channel management module to obtain target message content in the target message. The supported terminal is a terminal in the built private network system. The target identifier comprises the shared identifier and / or the extended identifier.

[0153] The device for transmitting information based on a private network channel provided by the embodiment of the present application receives target information sent by a target terminal in a private network system, verifies whether the private network connection channel of the target information meets a preset private network connection channel, 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 a preset message format, and after verification, through the second shared channel management module, identifies whether the target information includes a shared identifier to obtain a first identification result, and based on the first identification result, performs terminal verification on the target information, the first identification result indicating whether the target terminal is a to-be-supported terminal preconfigured on the server side, the to-be-supported terminal being a terminal that joins after the private network system has been built, and the server side setting the second shared channel management module, and then, after terminal verification, through the second shared channel management module, identifies whether the target information includes an extended identifier to obtain a second identification result, and based on the second identification result and the first identification result, analyzes the target information to obtain target message content in the target message, the second identification result indicating whether the target terminal is an extended terminal. In terms of the server side, on the one hand, the server side 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 system, does not change the existing mechanism of the private network, and ensures the effectiveness of the protection of the original private network deployment on the network and the Internet of Things data; on the other hand, by setting the 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), according to the different identifiers existing in the target information, distinguishes the types of target terminals, and according to different target terminal types, processes the target information differently, performs terminal verification and analysis on the target information, and ensures the accuracy of the analyzed message content. Compared with the scheme of directly modifying the private network in the related art, the present scheme only needs to set the second shared channel management module on the server side, without the need for multiple modifications of the private network, has low cost, takes less time, and has less impact, and solves the problems of high cost, long modification period, and large impact of the implementation scheme for new Internet of Things demands or communication content in the built private network system in the related art.

[0154] Those skilled in the art should understand that the 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 of the server side in the private network system as described above, and the detailed description is similar to the method part described above. To avoid repetition, it will not be described here.

[0155] Based on the same technical concept, the embodiments of the present application further provide an electronic device for executing the method for transmitting information based on a private network channel for a terminal applied to a private network system, or for executing the method for transmitting information based on a private network channel for a server, Figure 7 A structural schematic diagram of an electronic device for implementing various embodiments of the present application. The electronic device can have great differences due to different configurations or performances, and can include a processor 710, a communications interface 720, a memory 730, and a communications bus 740, wherein the processor 710, the communications interface 720, and the memory 730 complete mutual communication through the communications bus 740. The processor 710 can invoke a computer program stored on the memory 730 and executable on the processor 710 to execute the following steps:

[0156] In a case where the first shared channel management module listens to a first connection request sent by a target terminal in the private network system to the server, the first shared channel management module determines a shared channel based on the first connection request; wherein the first shared channel management module is arranged in the target terminal or connected to the target terminal; the shared channel is a private network connection channel corresponding to the shared channel that has supported the terminal to connect to the server, and the supported terminal is a terminal in the private network system that has been built;

[0157] Based on the shared channel, the first shared channel management module determines target information to be sent to the server; the target information includes a target message in the same message format as the shared channel has supported, and the target message includes a target identifier identifying a parsing mode of the target message;

[0158] Based on the shared channel, the target information is sent to the server.

[0159] The scheme provided by the embodiment of the application comprises the following steps: in the case that the first shared channel management module listens to the first connection request sent by a target terminal in a private network IOT system to a server, the first shared channel management module determines a shared channel based on the first connection request, wherein the shared channel supports the connection of a terminal to a private network connection channel corresponding to the server, and the terminal is a terminal in the private network IOT system that has been built; based on the shared channel, the first shared channel management module determines target information to be sent to the server, wherein the target information comprises a target message in the same format as a message format supported by the shared channel, and the target message comprises a target identifier that identifies an analysis mode of the target message; and based on the shared channel, the target information is sent to the server. In the terminal (i.e., the target terminal), the first shared channel management module is arranged in or connected to the target terminal, the first shared channel management module listens to the communication initiated by the target terminal, and when the target terminal initiates a connection request to the server, the shared channel and the target information are determined, so that the target terminal can send the target information to the server by reusing the private network connection channel (the shared channel) that meets the private network preset rule of the private network IOT system that has been built, 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 meets the private network preset rule of the private network IOT system that has been built, so that the target information can be received by the server, and the target identifier in the target information enables the target message to be correctly analyzed by the server. Compared with the scheme of directly modifying the private network in the related art, the first shared channel management module is arranged in or connected to the target terminal, so that the private network does not need to be modified in many aspects, the cost is low, the time cost is short, the influence is small, and the problem that the implementation scheme of the new IOT demand or communication content in the private network IOT system that has been built exists high cost, long modification period and large influence is solved.

[0160] The specific execution steps can refer to the steps of the method for transmitting information based on a private network channel applied to a terminal, and the same technical effects can be achieved. To avoid repetition, details are not described here.

[0161] Alternatively, the following steps are performed:

[0162] The target information sent by the target terminal in the private network IOT system is received, and it is verified whether the private network connection channel of the target information meets a preset private network connection channel, whether the terminal sending the target information is a preset terminal, and whether the message format of the target message in the target information meets a preset message format;

[0163] After verification, the target information is identified by the second shared channel management module whether it includes a shared identifier, a first identification result is obtained, and the target information is verified based on the first identification result; the first identification result indicates whether the target terminal is a to-be-supported terminal pre-configured on the server side, and the to-be-supported terminal is a terminal that joins after the special network system is built; the server side sets the second shared channel management module;

[0164] After terminal verification, the target information is identified by the second shared channel management module whether it includes an extended identifier, a second identification result is obtained, and the target information is parsed based on the second identification result and the first identification result, and the target message content in the target message is obtained; the second identification result indicates whether the target terminal is a terminal that extends the message content.

[0165] The scheme provided by the embodiment of the application comprises the following steps: receiving target information sent by a target terminal in a private network system, verifying whether a private network connection channel of the target information meets a preset private network connection channel, verifying whether the terminal sending the target information is a preset terminal, and verifying whether a message format of a target message in the target information meets a preset message format; after the verification is passed, identifying whether the target information comprises a shared identifier through a second shared channel management module to obtain a first identification result, and performing terminal verification on the target information based on the first identification result, the first identification result indicating whether the target terminal is a to-be-supported terminal preconfigured on a server side, the to-be-supported terminal being a terminal that is added after the private network system is built, and the server side setting the second shared channel management module; after the terminal verification is passed, identifying whether the target information comprises an extended identifier through the second shared channel management module to obtain a second identification result, and performing analysis on the target information based on the second identification result and the first identification result to obtain target message content in the target message, the second identification result indicating whether the target terminal is an extended terminal. In the scheme, on the server side, the server side verifies whether the target information meets a preset rule of the private network according to a security mechanism (rejection mechanism) set by the built private network system, without changing the existing mechanism of the private network, so that the effectiveness of the protection of the original private network deployment on the network and the Internet of Things data is ensured; on the other hand, the second shared channel management module is set on the server side, the second shared channel management module identifies identifiers (shared identifiers and extended identifiers) in the incoming content (target information), and different target terminal types are distinguished according to different identifiers in the target information, and different processing is performed on the target information according to different target terminal types, terminal verification and analysis are performed on the target information, and the accuracy of the analyzed message content is ensured. Compared with the scheme in the related art in which the private network is directly modified, the scheme only needs to set the second shared channel management module on the server side, without the need to modify the private network in many aspects, so that the cost is low, the time cost is short, the influence is small, and the problem that the implementation scheme for new Internet of Things demands or communication content in the built private network system in the related art has high cost, a long modification period, and great influence is solved.

[0166] The specific execution steps can refer to the steps of the method for transmitting information based on a private network channel applied to the server side, and the same technical effects can be achieved. To avoid repetition, details are not described herein.

[0167] It should be noted that the electronic device in the embodiment of the application includes a server, a terminal, or other devices other than the terminal.

[0168] The above electronic device structure does not constitute a limitation on the electronic device, which can include more or fewer components than those shown, or combine some components, or have different arrangements of components, for example, the input unit can include a Graphics Processing Unit (GPU) and a microphone, and the display unit can be configured in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes at least one of a touch panel and other input devices. The touch panel is also referred to as a touch screen. The other input devices can include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), a trackball, a mouse, a joystick, and the like, which will not be described here.

[0169] The memory can be used to store software programs and various data. The memory can mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area can store an operating system, application programs or instructions required by at least one function (such as a sound playing function, an image playing function, etc.), and the like. In addition, the memory can include a volatile memory or a non-volatile memory, or the memory can include both volatile and non-volatile memories. The non-volatile memory can be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically EPROM (EEPROM), or a flash memory. The volatile memory can be a Random Access Memory (RAM), a Static RAM (SRAM), a Dynamic RAM (DRAM), a Synchronous DRAM (SDRAM), a Double Data Rate SDRAM (DDR SDRAM), an Enhanced SDRAM (ESDRAM), a Synchlink DRAM (SLDRAM), and a Direct Rambus RAM (DRRAM).

[0170] The processor can 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 an operating system, a user interface, and an application program, and the modem processor mainly processes a wireless communication signal, such as a baseband processor. It can be understood that the above-mentioned modem processor can also not be integrated into the processor.

[0171] The embodiment of the present application further provides a storage medium, and the storage medium stores computer executable instructions. The computer executable instructions are executed by a processor to implement the above-mentioned method for transmitting information based on a private network channel applied to a terminal, or implement each process of the above-mentioned method for transmitting information based on a private network channel applied to a server, and achieve the same technical effects. To avoid repetition, details are not described herein.

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

[0173] The embodiment of the present application further provides a chip, and the chip includes a processor and a communication interface. The communication interface is coupled with the processor. The processor is configured to execute a program or an instruction to implement the above-mentioned method for transmitting information based on a private network channel applied to a terminal, or implement each process of the above-mentioned method for transmitting information based on a private network channel applied to a server, and achieve the same technical effects. To avoid repetition, details are not described herein.

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

[0175] The embodiment of the present application further provides a computer program product, and the computer program product includes a computer program. The computer program is executed by a processor to implement the above-mentioned method for transmitting information based on a private network channel applied to a terminal, or implement each process of the above-mentioned method for transmitting information based on a private network channel applied to a server, and achieve the same technical effects. To avoid repetition, details are not described herein.

[0176] It should be noted that, in the present document, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element. Furthermore, it is to be understood that the method and apparatus of the present application can be carried out by more than one process, method, article, or apparatus either simultaneously, concurrently, or with intervening action that are carried out at the same time, either in a simultaneous fashion or in a fashion that is interleaved in time. For example, the described methods can be performed in a different order from that described, and / or various steps can be combined or omitted, and / or additional steps can be added, without departing from the scope of the present application. Also, features described with respect to certain examples can be combined in other examples.

[0177] From the above description of the embodiments, it is apparent that the above-described method of the embodiments can be realized by means of software and general-purpose hardware platforms, and of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such an understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as a ROM / RAM, a magnetic disk, or an optical disk) and includes a number of instructions for causing a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the methods of the various embodiments of the present application.

[0178] The embodiments of the present application are described above with reference to the accompanying drawings, but the present application is not limited to the above-described specific embodiments, and the above-described specific embodiments are merely illustrative rather than limiting, and a person of ordinary skill in the art can make many forms under the inspiration of the present application without departing from the scope of the present application and the scope protected by the claims.

Claims

1. A method for transmitting information based on a private network channel, applied to terminals in a private network IoT system, characterized in that, The method includes: When the first shared channel management module detects a first connection request sent by a target terminal in the private network IoT system to the server, the first shared channel management module determines a shared channel based on the first connection request; wherein, the first shared channel management module is set on or connected to the target terminal; the shared channel is a private network connection channel that already supports terminals connecting to the server, and the supported terminals are terminals in an established private network IoT system; 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 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, the target information is sent to the server; The method further includes: The first shared channel management module records the private network connection channel, and when the server verifies the second connection request, it identifies the private network connection channel corresponding to the server that the supported terminal connects to as the shared channel. The private network connection channel is a connection file related to the terminal sending the second connection request to the server based on the private network channel.

2. The method according to claim 1, characterized in that, When the target terminal is a terminal to be supported that has been pre-configured on the server, the target identifier includes at least a shared identifier. The step of determining the target information to be sent to the server based on the shared channel, through the first shared channel management module, includes: Based on the shared channel, the first message is determined by the first shared channel management module. The first message is a message in a message format that the shared channel already supports. The first shared channel management module writes the shared identifier, the terminal number to be supported, and the content of the first message into the first message to obtain the second message, and determines the target information based on the second message; the terminal to be supported is a terminal added after the private network IoT system has been built; Alternatively, if the target terminal is a supported terminal with extended message content, the target identifier is an extended identifier, and the determination of the target information to be sent to the server based on the shared channel through the first shared channel management module includes: Based on the private network connection channel corresponding to the server that the supported terminal is connected to, the third message is determined by the first shared channel management module. The third message is a message in a message format that the private network connection channel corresponding to the supported terminal already supports. The first shared channel management module writes the extended identifier and the second message content into the third message to obtain the fourth message, and determines the target information based on the fourth message.

3. The method according to claim 1, characterized in that, The target information also includes a mapping relationship; the step of determining the shared channel based on the first connection request through the first shared channel management module includes: The first shared channel management module determines the shared channel based on the first connection request and records 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 correspondence between the physical information of the target terminal and the shared channel information.

4. A method for transmitting information based on a private network channel, applied to the server side of a private network IoT system, characterized in that, The method includes: The system receives target information sent by a target terminal in a private network IoT system. The target information includes a target message with the same message format as the message format already supported by the shared channel. The target message includes a target identifier that identifies the parsing method of the target message. The system also 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 a preset terminal and whether the message format of the target message in the target information conforms to the preset message format. After successful verification, the second shared channel management module identifies whether the target information includes a shared identifier, obtains 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 has been added after the private network IoT system has been built. The server side is equipped with the second shared channel management module. After the terminal verification is successful, the second shared channel management module identifies whether the target information includes an extended identifier, obtains a second identification result, and parses 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; The shared channel is a private network connection channel recorded by the first shared channel management module of the terminal. When the server verifies the second connection request, the supported terminal is identified as connecting to the private network connection channel corresponding to the server. The supported terminal is a terminal in the established private network IoT system. The private network connection channel is a connection file related to the supported terminal sending the second connection request to the server based on the private network channel.

5. The method according to claim 4, characterized in that, The step of parsing the target information based on the second identification result and the first identification result to obtain the target message content in the target message includes: The target terminal type is determined by the second shared channel management module based on the second identification result and the first identification result; When the target terminal type is a terminal to be supported that has been pre-configured on the server, a terminal to be supported with extended message content, or a supported terminal with extended message content, the second shared channel management module parses the target message in the target information 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 IoT system, and the target identifier includes the shared identifier and / or the extended identifier.

6. A device for transmitting information based on a private network channel, characterized in that, The device, used in a private network IoT system, comprises: The first determining module is used to determine a shared channel based on the first connection request when the first shared channel management module detects a first connection request sent by a target terminal in the private network IoT system to the server. The first shared channel management module is located at or connected to the target terminal. The shared channel is a private network connection channel that supports terminals connecting to the server. The supported terminals are terminals in an established private network IoT system. The second determining module is used to determine, based on the shared channel, 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 the message format already 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; The adaptation module is used to record the private network connection channel through the first shared channel management module, and when the server verifies the second connection request, identify the private network connection channel corresponding to the server that the supported terminal connects to the server as the shared channel. The private network connection channel is a connection file related to the terminal sending the second connection request to the server based on the private network channel.

7. An electronic device, characterized in that, include: processor; as well as A memory configured to store computer-executable instructions configured to be executed by the processor, the executable instructions including methods for performing information transmission based on a private network channel as described in any one of claims 1-5.

8. A storage medium, characterized in that, The storage medium is used to store computer-executable instructions that cause a computer to perform the method for transmitting information based on a private network channel as described in any one of claims 1-5.

9. 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-5.

Citation Information

Patent Citations

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

    CN114386075A

  • Method, device and system for sharing physical communication channel by multiple service applications

    CN115955519A

  • Data message sending method and device, storage medium and electronic equipment

    CN116436991A