Method, device, equipment and medium for uplink and downlink control of Internet of Things platform data

Generating data assurance strategies through terminal network analysis models solves the problem of low data transmission efficiency of terminal equipment in public cloud platforms in the Internet of Things, and realizes efficient and reliable data transmission, especially in the private network scenario, effectively avoids the impact of network congestion.

CN118590934BActive Publication Date: 2024-11-22E SURFING IOT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411064988.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-11-22
Estimated Expiration
2044-08-05

AI Technical Summary

Technical Problem

In the public cloud platform of the Internet of Things, the data transmission efficiency between the terminal devices and the platform is low and unstable, especially in the private network scenario, which is susceptible to public network congestion, resulting in a decline in user experience.

Method used

Through the preset terminal network analysis model, analyze terminal attributes and types, generate a terminal database, and generate a data guarantee strategy based on the analysis results, control the data upstream and downstream channels between the terminal and the Internet of Things platform, and select appropriate transmission methods to improve transmission efficiency.

Benefits of technology

It significantly improves the data transmission efficiency between the terminal and the public cloud platform of the Internet of Things, ensures the reliability and stability of data transmission, and avoids the impact of public network congestion on private network terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590934B_ABST
    Figure CN118590934B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment and medium for controlling the uplink and downlink of data on an Internet of Things platform. The method comprises: when a terminal accesses the Internet of Things platform, controlling a preset terminal network analysis model to analyze the attributes and types of the terminal to generate a corresponding terminal database; generating a corresponding data protection strategy according to the analysis results of the terminal recorded in the terminal database; and controlling the uplink and downlink of data between the terminal and the Internet of Things platform according to the data protection strategy. By implementing the method of the present invention, the problem that data cannot be efficiently and reliably transmitted between terminal devices and the Internet of Things public cloud platform in the prior art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things terminals, and in particular to an uplink and downlink control method, device, equipment and medium for Internet of Things platform data. Background Art

[0002] With the rapid advancement of science and technology, the popularity of IoT technology and the sharp increase in application demand have prompted the emergence of IoT public cloud platforms, which aim to provide enterprises and individuals with efficient and economical IoT data analysis, device management, service deployment and application development solutions. However, under the current public cloud platform architecture, multiple devices interact with the platform through short or long connections. This mixed mode causes interference between long and short connection devices, and also increases the consumption cost of cloud resources. Moreover, for terminal data transmission in private network scenarios, its uplink and downlink processes are extremely susceptible to public network congestion, which in turn affects the access stability of the IoT platform, directly resulting in a significant reduction in the user experience of private network terminals. This series of problems has caused the IoT public cloud platform to be unable to transmit terminal data efficiently and reliably. Summary of the invention

[0003] The embodiments of the present invention provide a method, device, equipment and medium for uplink and downlink control of Internet of Things platform data, aiming to solve the problem in the prior art that data cannot be efficiently and reliably transmitted between terminal devices and Internet of Things public cloud platforms.

[0004] In the first aspect, an embodiment of the present invention provides a method for controlling uplink and downlink data of an Internet of Things platform, comprising: when a terminal accesses the Internet of Things platform, controlling a preset terminal network analysis model to analyze the attributes and type of the terminal to generate a corresponding terminal database; generating a corresponding data protection policy based on the analysis results of the terminal recorded in the terminal database; and controlling the uplink and downlink data of the terminal and the Internet of Things platform according to the data protection policy.

[0005] In the second aspect, an embodiment of the present invention also provides an uplink and downlink control device for Internet of Things platform data, which includes: an analysis unit, which is used to control a preset terminal network analysis model to analyze the attributes and type of the terminal to generate a corresponding terminal database when the terminal is connected to the Internet of Things platform; a generation unit, which is used to generate a corresponding data protection policy based on the analysis results of the terminal recorded in the terminal database; and a control unit, which is used to control the uplink and downlink data of the terminal and the Internet of Things platform according to the data protection policy.

[0006] In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the above method when executing the computer program.

[0007] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program includes program instructions, and the program instructions can implement the above method when executed by a processor.

[0008] The embodiment of the present invention provides a method, device, equipment and medium for controlling the uplink and downlink of Internet of Things platform data. Among them, the method includes: when a terminal is connected to the Internet of Things platform, controlling the preset terminal network analysis model to analyze the attributes and type of the terminal to generate a corresponding terminal database; generating a corresponding data protection policy according to the analysis results of the terminal recorded in the terminal database; and controlling the uplink and downlink of the terminal and the Internet of Things platform data according to the data protection policy. The embodiment of the present invention analyzes the attributes and types of the terminal through a preset terminal network analysis model, obtains terminal information and generates a terminal database based on it to facilitate viewing the terminal information at any time, and generates a data protection policy for the terminal based on the corresponding information in the terminal database. The terminal data uplink and downlink channel selection can be automatically completed according to the policy generated for the current terminal to control the transmission efficiency between the Internet of Things platform data and the terminal data, significantly improving the data transmission efficiency between the terminal and the Internet of Things public cloud. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0010] Figure 1 A schematic diagram of the flow of the uplink and downlink control method of the Internet of Things platform data provided by an embodiment of the present invention;

[0011] Figure 2 A schematic diagram of a sub-process of an uplink and downlink control method of Internet of Things platform data provided by an embodiment of the present invention;

[0012] Figure 3 A schematic diagram of a sub-process of an uplink and downlink control method of Internet of Things platform data provided by an embodiment of the present invention;

[0013] Figure 4 A schematic diagram of a sub-process of an uplink and downlink control method of Internet of Things platform data provided by an embodiment of the present invention;

[0014] Figure 5 A schematic diagram of a sub-process of an uplink and downlink control method of Internet of Things platform data provided by an embodiment of the present invention;

[0015] Figure 6A schematic diagram of a sub-process of an uplink and downlink control method of Internet of Things platform data provided by an embodiment of the present invention;

[0016] Figure 7 A schematic block diagram of an uplink and downlink control device for Internet of Things platform data provided by an embodiment of the present invention;

[0017] Figure 8 A schematic block diagram of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

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

[0019] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0020] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0021] It should be further understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0022] See also Figure 1 , Figure 1 A flow chart of an uplink and downlink control method for IoT platform data provided by an embodiment of the present invention. The uplink and downlink control method for IoT platform data in this embodiment can be applied to the control of terminals connected to an IoT public cloud platform. The method of the present invention is configured in the platform to control the uplink and downlink of data between the platform and the terminal according to the analysis results of the terminal, so as to improve the data transmission efficiency between the terminal and the IoT public cloud platform.

[0023] Figure 1The figure is a flow chart of the uplink and downlink control method of the Internet of Things platform data provided by the embodiment of the present invention. As shown in the figure, the method includes the following steps S110-S130.

[0024] S110: When a terminal is connected to the Internet of Things platform, a preset terminal network analysis model is controlled to analyze the attributes and types of the terminal to generate a corresponding terminal database.

[0025] In this embodiment, the terminal is a device connected to the public platform of the Internet of Things. The Internet of Things platform is a public platform of the Internet of Things, which is a powerful and easily expandable application support platform that supports the adaptation and access of various types of sensing devices, is compatible with various existing transmission networks, and provides flexible application service deployment and business interaction sharing modes. The attributes are the basic information of the terminal, for example, the terminal information such as terminal ID, terminal category name, product ID, etc. are the attribute information of the terminal, and the type information is the information obtained by the preset terminal network analysis model after analyzing the terminal transmission network data, for example, information such as private network type, public network type, and congestion type. Control the preset terminal network analysis model to analyze the attributes and types of the terminal. Specifically, when the terminal is connected to the Internet of Things platform, the networking information of the terminal is obtained. The preset terminal network analysis model searches the terminal's networking information in the information database according to the preset search code to analyze it. For example, the network type information in the terminal networking information is retrieved in the preset private network database and the public network database to match the corresponding network information. If the matched network information is stored in the private network database, the network type information of the terminal is a private network. The search code is not limited and can be searched according to the information. And a database is constructed based on the analyzed terminal data to build a terminal database exclusive to the terminal. The terminal connected to the Internet of Things platform is analyzed by the preset terminal network analysis model and an exclusive terminal database is generated according to the analysis results, so that the Internet of Things platform can view the terminal information in real time.‌

[0026] In one embodiment, if Figure 2 As shown, the step S110 also includes steps S111-S112.

[0027] S111, controlling the preset terminal network analysis model to analyze the IP and core network interaction logs of the terminal to obtain corresponding attribute information and analysis information, wherein the analysis information includes terminal abnormality information, communication category information, network type information, and base station congestion information of the terminal;

[0028] S112: Store the analysis information under corresponding attribute information to generate a terminal database of the terminal.

[0029] In this embodiment, the core network interaction log is a log of data interaction between the terminal and the IoT platform. For example, the core network interaction log may record the number of times the terminal performs data uplink and downlink with the IoT platform within a preset time. Specifically, the preset terminal network analysis model may be controlled to search the core network interaction log corresponding to the terminal according to the IP of the terminal, and search and analyze the terminal data in the core network interaction log to obtain the attribute information and analysis information of the terminal. For example, if the communication category of the terminal is recorded as a telecommunications network in the core network interaction log, it can be determined that the communication category information of the terminal is a telecommunications network, or the base station to which the terminal belongs is obtained in the log, and the current data interaction of the base station is analyzed to be in a congested state. If the data uplink and downlink speed of the base station exceeds the preset data interaction speed within the specified time, the base station is determined to be in a congested state, and the base station congestion may be marked under the base station congestion information. By obtaining the attribute information and analysis information corresponding to the terminal, the analysis information is stored under the corresponding attribute information to generate a terminal database of the terminal. For example, the terminal ID in the terminal attribute information can be used as a key field to construct a terminal database system. In this database, one or more tables can be constructed to store various types of analysis information of the terminal. By constructing a dedicated database for the terminal based on the attribute information and analysis information of the terminal, the information of the terminal can be efficiently recorded and queried, and the public platform of the Internet of Things can view the information of the terminal in real time and make corresponding adjustments to it.

[0030] In one embodiment, if Figure 3 As shown, the step S111 also includes steps S1111-S1112.

[0031] S1111. Obtain the frequency of data uplink of the terminal per second in the core network interaction log;

[0032] S1112: If the frequency exceeds a preset uplink frequency, mark the terminal as an abnormal terminal in the terminal abnormality information.

[0033] In this embodiment, the uplink refers to the data stream sent by the sender. For example, the process of a browser downloading a web page from a server is data uplink. Because the core network interaction log records the information of the data interaction between the terminal and the IoT platform, the core network interaction log can be queried to obtain the frequency of data uplinks per second of the terminal, and to determine whether the frequency of data uplinks exceeds the preset uplink frequency. If the frequency exceeds the preset uplink frequency, it means that the terminal is likely to be abnormal. Therefore, the terminal is determined to be an abnormal terminal and marked as an abnormal terminal in the terminal abnormal information. For example, the preset uplink frequency can be obtained by averaging the frequency of data uplinks per second of several terminals, and the current second-level uplink frequency is judged against the preset uplink. Among them, the specific method for obtaining the preset uplink frequency is not limited, and the abnormal terminal can be effectively screened out. By judging whether the terminal is an abnormal terminal and marking it according to the frequency of data uplinks per second of the terminal recorded in the log, it is convenient to process the abnormal terminal later to ensure the security of data and platform.

[0034] S120: Generate a corresponding data protection policy according to the analysis result of the terminal recorded in the terminal database.

[0035] In this embodiment, the data protection strategy is a strategy for protecting the uplink and downlink data interaction between the terminal and the public platform of the Internet of Things. A data protection strategy exclusive to the terminal can be generated based on the analysis results of the terminal recorded in the terminal database, wherein the data protection strategy includes a private network protection strategy, a green protection strategy, and an abnormal protection strategy constructed for the network type, base station congestion information, communication category information, and abnormal information of the terminal. For example, if the network type information of the terminal shows that the terminal is a private network, the private network protection strategy can be triggered to generate a private network channel exclusive to the terminal, so that the terminal and the Internet of Things platform can interact with data through a dedicated channel and are not affected by the interactive data of the public network. By generating a corresponding data protection strategy based on the analysis results of the terminal, a suitable data interaction strategy is generated for the current terminal to improve the data transmission efficiency between the terminal and the public cloud of the Internet of Things.

[0036] S130: Control the uplink and downlink of data between the terminal and the Internet of Things platform according to the data protection policy.

[0037] In this embodiment, the up and down behavior refers to the direction of the data flow sent from one end to the other end in data communication. Specifically, the data flow sent from the sending end is uplink, and the data flow sent from the receiving end is downlink. For example, the process of a browser downloading a web page from a server is uplink; and the request sent by the browser to the server is downlink. The uplink and downlink of the data between the terminal and the Internet of Things platform are controlled according to the data security policy. Specifically, the data security policy will perform corresponding operations according to the analysis results of the terminal to control the uplink and downlink of the data between the terminal and the Internet of Things platform. For example, if the analysis results show that the terminal is an abnormal terminal, the data security policy will control the Internet of Things platform to forcibly disconnect the terminal to cut off the interaction between the terminal and the Internet of Things platform data to ensure the security of the Internet of Things platform and the data. If the network type information of the terminal shows that the terminal is a private network, the data security policy will generate a separate private network channel for the terminal to perform smooth uplink and downlink interactions. By controlling the uplink and downlink of the data between the terminal and the Internet of Things platform according to the data security policy, the data transmission efficiency between the terminal and the Internet of Things public cloud platform can be improved.

[0038] In one embodiment, if Figure 4 As shown, the step S130 also includes steps S131-S132.

[0039] S131, judging whether the terminal is of a preset communication category or an abnormal terminal according to the communication category information and the terminal abnormality information;

[0040] S132: If it is not a preset communication category or is an abnormal terminal, trigger the abnormal protection strategy to disconnect the terminal from the Internet of Things platform and block the uplink and downlink of data.

[0041] In this embodiment, the communication category information is information about the communication network of the terminal. For example, the communication category information can be marked as category information such as telecommunication network and mobile network. The preset communication category is a communication category set by the public platform of the Internet of Things that allows data uplink and downlink interaction. In this embodiment, the preset communication category can be a telecommunication network. According to the communication category information and the data marked in the terminal abnormal information, it is determined whether the terminal is a preset communication category or an abnormal terminal. If the communication category information and the terminal abnormal information mark the terminal as an abnormal terminal, or the marked communication category is not a preset communication category, the abnormal protection strategy in the data protection strategy is triggered. The abnormal protection strategy automatically identifies the terminal on the terminal management side and modifies the access status of the terminal on the Internet of Things platform, and changes it from an online state to an offline state, so as to kick the abnormal terminal offline, thereby disconnecting the terminal from the Internet of Things platform and blocking the uplink and downlink of data. By forcibly disconnecting the connection between the terminal device of the non-preset communication category or the abnormal terminal and the Internet of Things platform, the security of the data of the public platform of the Internet of Things is guaranteed, and the platform is prevented from being invaded or the abnormal terminal affects the uplink and downlink of data of other terminals, so as to improve the data transmission efficiency between the terminal and the public cloud platform of the Internet of Things.

[0042] In one embodiment, if Figure 5 As shown, the step S130 also includes steps S133-S134.

[0043] S133, judging whether the terminal is a private network according to the network type information;

[0044] S134. If the terminal is in a private network, trigger the private network security policy to generate a private network independent channel for the terminal, and control the terminal to perform data uplink and downlink through the private network independent channel.

[0045] In this embodiment, the network type information is information about the network connection type of the terminal, and the network type information includes a private network and a public network, wherein the public network refers to an open network that anyone can access, share and transmit information. A private network is a closed, private network that is only open to specific users or organizations. Access and use of a private network require strict authentication and authorization, and only authorized users can access private network resources. The network type information marks the network information of the terminal. If the network information is a public network, no additional channel is constructed for it. If the terminal is marked as a private network, the private network security policy in the data security policy is triggered to generate a private network independent channel for the terminal in the Internet of Things platform, and control the terminal to upload and download data with the Internet of Things platform through the private network independent channel. Specifically, in the private network independent channel, the terminal has independent instruction issuance services, independent capability gateway services, independent message middleware services, and independent message push services. By building an exclusive private network independent channel for the terminal of the private network to ensure that the terminal of the private network is not affected by the data interaction of the public network, and the terminal of the private network will not affect the data interaction of the public network, thereby improving the data transmission efficiency between the terminal and the Internet of Things public cloud platform. ‌‌

[0046] In one embodiment, the step S134 also includes step S1341.

[0047] S1341. Generate a private network independent configuration pool for the terminal, and configure private network independent resources to control the uplink and downlink of data between the terminal and the Internet of Things platform.

[0048] In this embodiment, the independent configuration pool for the private network is an independent configuration resource for the private network. Specifically, an independent VPC (Virtual Private Cloud) of the terminal is customized, wherein the VPC is a dynamic configuration pool of public cloud computing resources, which builds a logically isolated virtual network environment for cloud resources that is independently configured and managed by the user. This network environment transmits data between the terminal and the public cloud platform through encryption protocols, tunnel protocols and other security programs. Independent resources for the private network are configured to control the uplink and downlink of data between the terminal and the Internet of Things platform, wherein the independent resources for the private network are independent access modules for the private network. The independent configuration pool for the private network and the independent resources for the private network can enable the terminal marked as a private network to have independent instruction issuance services, independent capability gateway services, independent message middleware services and independent message push services. This improves the data transmission efficiency between the terminal and the public Internet of Things platform.

[0049] In one embodiment, if Figure 6 As shown, the step S130 also includes steps S135-S136.

[0050] S135. Determine whether the base station to which the terminal belongs is a congested base station according to the base station congestion information;

[0051] S136: If it is a congested base station, trigger the green protection strategy to send the terminal congestion time and the recommended terminal data uplink time to the terminal.

[0052] In this embodiment, the congested base station is a base station where the number of network users and the data traffic generated exceed the processing power and capacity of the base station, resulting in all incoming signals and data being unable to be processed in a timely manner. Whether the base station to which the terminal belongs is a congested base station is determined based on the content marked in the base station congestion information. If the base station to which the terminal belongs is marked as a congested base station, the green protection policy in the data protection policy is triggered to automatically trigger the terminal uplink and downlink instruction operation. Specifically, the terminal congestion time and the recommended terminal data uplink time are sent to the terminal so that the terminal can independently choose whether to change the data uplink time. When the base station to which the terminal belongs is a congested base station, information about the terminal's congestion time, predicted congestion time, and recommended terminal data uplink time is sent to the terminal to remind the terminal to change the data uplink time, thereby avoiding congestion periods, and indirectly improving the data transmission efficiency between the terminal and the Internet of Things platform.

[0053] Figure 7 FIG. 2 is a schematic block diagram of an uplink and downlink control device 200 for Internet of Things platform data provided by an embodiment of the present invention. Figure 7 As shown, corresponding to the above-mentioned uplink and downlink control method of the Internet of Things platform data, the present invention also provides an uplink and downlink control device for the Internet of Things platform data. The uplink and downlink control device for the Internet of Things platform data includes a unit for executing the above-mentioned uplink and downlink control method for the Internet of Things platform data, and the device can be configured in a desktop computer, a tablet computer, a laptop computer, and other terminals. Specifically, please refer to Figure 7 The uplink and downlink control device of the Internet of Things platform data includes an analysis unit 210, a generation unit 220, and a control unit 230.

[0054] The analysis unit 210 is used to control a preset terminal network analysis model to analyze the attributes and types of the terminal to generate a corresponding terminal database when the terminal is connected to the Internet of Things platform.

[0055] In one embodiment, the analysis unit 210 includes a control unit and a storage unit.

[0056] A control unit, configured to control the preset terminal network analysis model to analyze the IP and core network interaction logs of the terminal to obtain corresponding attribute information and analysis information, wherein the analysis information includes terminal abnormality information, communication category information, network type information, and base station congestion information of the terminal;

[0057] A storage unit is used to store the analysis information under the corresponding attribute information to generate a terminal database of the terminal.

[0058] In one embodiment, the analyzing unit 210 includes an acquiring unit and a marking unit.

[0059] An acquiring unit, configured to acquire the frequency of data uplink of the terminal per second in the core network interaction log;

[0060] A marking unit is used to mark the terminal as an abnormal terminal in the terminal abnormality information if the frequency exceeds a preset uplink frequency.

[0061] The generating unit 220 is configured to generate a corresponding data protection policy according to the analysis result of the terminal recorded in the terminal database.

[0062] The control unit 230 is used to control the uplink and downlink of data between the terminal and the Internet of Things platform according to the data protection policy.

[0063] In one embodiment, the control unit 230 includes a first determination unit and a blocking unit.

[0064] A first judging unit, configured to judge whether the terminal is of a preset communication category or an abnormal terminal according to the communication category information and the terminal abnormality information;

[0065] The blocking unit is used to trigger the abnormal protection strategy to disconnect the terminal from the Internet of Things platform and block the uplink and downlink of data if it is not a preset communication category or an abnormal terminal.

[0066] In one embodiment, the control unit 230 includes a second determination unit and an independent unit.

[0067] A second judging unit, configured to judge whether the terminal is a private network according to the network type information;

[0068] An independent unit is used to trigger the private network security strategy to generate a private network independent channel for the terminal if the terminal is in a private network, and control the terminal to perform data uplink and downlink through the private network independent channel.

[0069] In one embodiment, the control unit 230 includes a configuration unit.

[0070] A configuration unit is used to generate a private network independent configuration pool for the terminal and configure private network independent resources to control the uplink and downlink of data between the terminal and the Internet of Things platform.

[0071] In one embodiment, the control unit 230 includes a third determination unit and a sending unit.

[0072] A third judgment unit, configured to judge whether the base station to which the terminal belongs is a congested base station according to the base station congestion information;

[0073] The sending unit is used to trigger the green protection strategy if it is a congested base station, so as to send the terminal congestion time and the recommended terminal data uplink time to the terminal.

[0074] It should be noted that technical personnel in the relevant field can clearly understand that the specific implementation process of the uplink and downlink control device 200 and each unit of the above-mentioned Internet of Things platform data can refer to the corresponding description in the aforementioned method embodiment, and for the convenience and conciseness of the description, it will not be repeated here.

[0075] The above-mentioned uplink and downlink control device of the Internet of Things platform data can be implemented in the form of a computer program, which can be used in Figure 8 Runs on the computer device shown.

[0076] See also Figure 8 , Figure 8 5 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a terminal or a server, wherein the terminal may be an electronic device with communication functions such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a personal digital assistant, and a wearable device. The server may be an independent server or a server cluster composed of multiple servers.

[0077] See also Figure 8 The computer device 500 includes a processor 502 , a memory and a network interface 505 connected via a system bus 501 , wherein the memory may include a non-volatile storage medium 503 and an internal memory 504 .

[0078] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. The computer program 5032 includes program instructions, and when the program instructions are executed, the processor 502 can execute a method for controlling uplink and downlink of Internet of Things platform data.

[0079] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500 .

[0080] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute a method for uplink and downlink control of Internet of Things platform data.

[0081] The network interface 505 is used to communicate with other devices over the network. Figure 8 The structure shown in the figure is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0082] The processor 502 is used to run a computer program 5032 stored in the memory to implement the steps of the above method.

[0083] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0084] It can be understood by those skilled in the art that all or part of the processes in the method for implementing the above embodiment can be completed by instructing the relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, which is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the process steps of the embodiment of the above method.

[0085] Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a processor, the processor executes the steps of the above method.

[0086] The storage medium may be a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which are computer-readable storage media that can store program codes.

[0087] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0088] In the several embodiments provided by the present invention, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of each unit is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.

[0089] The steps in the method of the embodiment of the present invention can be adjusted in order, combined and deleted according to actual needs. The units in the device of the embodiment of the present invention can be combined, divided and deleted according to actual needs. In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0090] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention.

[0091] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for controlling uplink and downlink of Internet of Things platform data, characterized in that: The method comprises: When a terminal is connected to the Internet of Things platform, a preset terminal network analysis model is controlled to analyze the attributes and types of the terminal to generate a corresponding terminal database; Generating a corresponding data protection policy according to the analysis result of the terminal recorded in the terminal database; Control the uplink and downlink of data between the terminal and the Internet of Things platform according to the data security strategy; The step of controlling the preset terminal network analysis model to analyze the attributes and types of the terminal to generate a corresponding terminal database includes: Controlling the preset terminal network analysis model to analyze the IP and core network interaction logs of the terminal to obtain corresponding attribute information and analysis information, wherein the analysis information includes terminal abnormality information, communication category information, network type information and base station congestion information of the terminal, wherein the network type information is information about the network connection type of the terminal, and the network type information includes a private network and a public network; storing the analysis information under corresponding attribute information to generate a terminal database of the terminal; The step of controlling the uplink and downlink of data between the terminal and the Internet of Things platform according to the data security policy includes: Determine whether the terminal is a private network according to the network type information; If the terminal is a private network, trigger the private network security strategy to generate a private network independent channel for the terminal, and control the terminal to perform data uplink and downlink through the private network independent channel, wherein the data security strategy includes the private network security strategy; The step of generating a dedicated network independent channel for the terminal includes: Generate a private network independent configuration pool for the terminal, and configure private network independent resources to control the uplink and downlink of data between the terminal and the Internet of Things platform.

2. The method according to claim 1, characterized in that The step of controlling the preset terminal network analysis model to analyze the IP of the terminal and the core network interaction log to obtain corresponding attribute information and analysis information also includes: Obtain the frequency of data uplink of the terminal per second in the core network interaction log; If the frequency exceeds the preset uplink frequency, the terminal is marked as an abnormal terminal in the terminal abnormality information.

3. The method according to claim 2, characterized in that The data protection strategy includes an abnormal protection strategy, and the step of controlling the uplink and downlink of data between the terminal and the Internet of Things platform according to the data protection strategy includes: Determining whether the terminal is a preset communication category or an abnormal terminal according to the communication category information and the terminal abnormality information; If the terminal is not of the preset communication category, or the terminal is an abnormal terminal, the abnormal protection strategy is triggered to disconnect the terminal from the Internet of Things platform and block the uplink and downlink of data.

4. The method according to claim 1, characterized in that: The data protection strategy includes a green protection strategy, and the step of controlling the uplink and downlink of data between the terminal and the Internet of Things platform according to the data protection strategy includes: Determining whether the base station to which the terminal belongs is a congested base station according to the base station congestion information; If it is a congested base station, the green guarantee strategy is triggered to send the terminal congestion time and the recommended terminal data uplink time to the terminal.

5. A device for controlling uplink and downlink of Internet of Things platform data, characterized in that: The apparatus comprises means for executing the method according to any one of claims 1-4.

6. A computer device, characterized in that: The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 4 when executing the computer program.

7. A storage medium, characterized in that: The storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 4 can be implemented.