A method, system, terminal and storage medium for acquiring industrial Internet data

By obtaining the number and priority of requested devices in the industrial Internet and adjusting the download bandwidth, the problem of unreasonable allocation of data transmission bandwidth between devices is solved, and the timeliness and efficiency of data acquisition of important equipment is improved.

CN115834389BActive Publication Date: 2024-11-26SHENZHEN JITON INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211454415.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-21
Publication Date
2024-11-26
Estimated Expiration
2042-11-21

AI Technical Summary

Technical Problem

In the industrial Internet, the bandwidth allocation during data transmission between devices is unreasonable, resulting in delays in data acquisition of important devices.

Method used

By obtaining the number of requests and request priority of the requesting device, adjusting the download bandwidth, ensuring that high-priority devices obtain data in a timely manner, and optimizing data transmission using the maximum bandwidth download instructions and bandwidth adjustment instructions.

Benefits of technology

It improves the timeliness of data acquisition of important equipment and the rationality of bandwidth allocation, and reduces data transmission delay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115834389B_ABST
    Figure CN115834389B_ABST
Patent Text Reader

Abstract

The present application relates to a method, system, terminal and storage medium for obtaining industrial Internet data, and belongs to the technical field of data processing. The method includes: obtaining the number of requests of requesting devices for information sharing; obtaining the information of requesting devices for requesting to share, as requesting sharing information; when the number of requests is one, obtaining the maximum bandwidth download instruction; downloading the request sharing information to the requesting device based on the maximum bandwidth download instruction; when the number of requests is at least two, obtaining the request priority of the requesting device based on the request sharing information; obtaining the bandwidth adjustment instruction based on the request priority; adjusting the download bandwidth of the requesting device for downloading the corresponding request sharing information based on the bandwidth adjustment instruction. The present application has the effect of making the bandwidth allocation of devices more reasonable when acquiring data, and improving the timeliness of acquiring important equipment data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of data processing, and in particular, to a method, system, terminal and storage medium for acquiring industrial Internet data. Background Art

[0002] With the development of new-generation information technology, the industrial Internet has become an important enabling tool for the digital transformation of the real economy at home and abroad. Its core idea is to combine emerging information technology with traditional manufacturing, take information-physical systems as the core technology system, and realize comprehensive perception, dynamic transmission, real-time analysis of data in the production and operation processes of enterprises, scientific decision-making and intelligent control, so as to promote the upgrading and transformation of traditional industries.

[0003] The Industrial Internet can realize information transmission between different devices. However, when devices in the same Industrial Internet transmit information, the devices usually obtain data according to the maximum bandwidth, which will lead to unreasonable bandwidth allocation and the data of important equipment cannot be obtained in time. Summary of the invention

[0004] In order to make the bandwidth allocation when the device acquires data more reasonable and improve the timeliness of the acquisition of important equipment data, the present application provides an industrial Internet data acquisition method, system, terminal and storage medium.

[0005] In the first aspect, the present application provides a method for acquiring industrial Internet data, which can perform the steps of any of the above methods and adopt the following technical solutions:

[0006] A method for acquiring industrial Internet data, comprising:

[0007] Get the number of requests from requesting devices requesting information sharing;

[0008] Acquire the information of the request device requesting to share as the requesting sharing information;

[0009] When the number of requests is one, obtaining a maximum bandwidth download instruction;

[0010] Downloading the requested shared information to the requesting device based on the maximum bandwidth download instruction;

[0011] When the number of requests is at least two, obtaining a request priority of the requesting device based on the request sharing information;

[0012] Obtaining a bandwidth adjustment instruction based on the request priority;

[0013] The download bandwidth of the requesting device for downloading the corresponding requested shared information is adjusted based on the bandwidth adjustment instruction.

[0014] By adopting the above technical solution, the number of requests is determined. When the number of requests is one, the request sharing information is downloaded with the maximum bandwidth. When the number of requests is at least two, the request priority of the requesting device is obtained, and the download bandwidth of the requesting device for downloading the request sharing information is adjusted according to the request priority, so that the bandwidth allocation when the device obtains data is more reasonable, thereby improving the timeliness of important device data acquisition.

[0015] Preferably, the obtaining the request priority of the requesting device based on the request sharing information includes:

[0016] Obtaining a preset regional planning table, the regional planning table including different local area networks and a device URL of each device in each of the local area networks;

[0017] Based on the request sharing information, acquiring the device URLs of all the requesting devices as the requesting URLs;

[0018] Determining whether the requesting device is located in the same local area network based on the area planning table and the requesting website;

[0019] If so, obtaining the requesting device located in the same local area network as a same-domain device;

[0020] Acquire the request sharing information of the same-domain device as the same-domain request information, where the same-domain request information includes a preset priority level;

[0021] The request priority of the same-domain device is acquired based on the same-domain request information.

[0022] By adopting the above technical solution, it is determined whether the requesting device is located in the same local area network. If so, the same-domain request information is obtained, and then the request priority is obtained according to the same-domain request information. That is, only the request priority needs to be set for the requesting device in the same domain, so as to adjust the download bandwidth of the requesting device in the same domain. There is no need to adjust the bandwidth for devices in different local area networks, thereby achieving the effectiveness of bandwidth adjustment.

[0023] Preferably, after acquiring the same-domain device, the method further includes:

[0024] Obtaining the remaining devices after excluding the same-domain device from the requesting devices as foreign-domain devices;

[0025] The maximum bandwidth download instruction corresponding to the foreign-domain device is obtained to download the requested sharing information to the corresponding foreign-domain device.

[0026] By adopting the above technical solution, the requested shared information required by the foreign device is downloaded with the maximum bandwidth download instruction, so that the foreign device can obtain the requested shared information at the fastest speed, thereby improving the download speed.

[0027] Preferably, after obtaining the request sharing information, the method further includes:

[0028] Based on the request to share information, obtain a device to which the information to be shared belongs as a target device;

[0029] Obtaining the device URL of the target device as the target URL;

[0030] Determining whether the target website and the request website are in the same local area network;

[0031] If yes, then obtain the same domain direct connection instruction;

[0032] Based on the same-domain direct connection instruction, the requesting device directly obtains the shared information of the corresponding target device in the same local area network;

[0033] If not, obtain the foreign domain connection instruction;

[0034] Based on the foreign domain connection instruction, the requesting device obtains the shared information of the corresponding target device in the preset shared cloud server.

[0035] By adopting the above technical solution, it is determined whether the target URL and the request URL are in the same local area network. If they are in the same local area network, the requesting device is made to directly obtain the shared information of the corresponding target device in the same local area network. If not, the requesting device is made to obtain the shared information of the corresponding target device in the preset shared cloud server. Thus, by determining whether they are in the same local area network, it is determined whether to directly obtain the requested shared information in the local area network, and thus it is determined whether it is necessary to obtain the information across the local area network, thereby improving the efficiency of information acquisition.

[0036] Preferably, after adjusting the download bandwidth of the requesting device to download the corresponding requested shared information based on the bandwidth adjustment instruction, the method further includes:

[0037] Determining whether there is preset bandwidth requirement information based on the request sharing information;

[0038] If so, obtaining the required bandwidth based on the bandwidth requirement information;

[0039] Obtaining a total download bandwidth based on all the download bandwidths;

[0040] Obtaining a required total bandwidth based on all the required bandwidths;

[0041] Determining whether the required total bandwidth exceeds the download total bandwidth;

[0042] If it exceeds, obtain bandwidth expansion instructions;

[0043] The preset reserved bandwidth is compressed based on the bandwidth expansion instruction so that the total download bandwidth is greater than or equal to the required total bandwidth.

[0044] By adopting the above technical solution, it is determined whether the required total bandwidth exceeds the total download bandwidth, thereby determining whether the download bandwidth needs to be expanded, which can ensure that the total download bandwidth can meet the download requirements as much as possible.

[0045] Preferably, if the bandwidth requirement information exists, it also includes:

[0046] acquiring the requested sharing information without the bandwidth requirement information as the first sharing information;

[0047] Acquire the download bandwidth of the first shared information and use it as the first bandwidth;

[0048] Acquire the download bandwidth of the requested sharing information corresponding to the required bandwidth as the actual bandwidth;

[0049] Determining whether the required bandwidth exceeds the actual bandwidth;

[0050] If it exceeds, obtain bandwidth compression instructions;

[0051] Based on the bandwidth compression instruction, the first bandwidth is compressed according to a preset compression priority so that the actual bandwidth is greater than or equal to the required bandwidth.

[0052] By adopting the above technical solution, it is determined whether the required bandwidth exceeds the actual bandwidth, so as to determine whether the first bandwidth needs to be compressed, thereby increasing the size of the actual bandwidth, making the actual bandwidth greater than or equal to the required bandwidth, and then being able to compress the first bandwidth with a lower priority as much as possible, thereby ensuring that the required bandwidth needs are met as much as possible, so that information can be downloaded in a timely manner.

[0053] Preferably, before downloading the requested shared information, the method further includes:

[0054] Get request authentication information;

[0055] Determining whether the authentication request information meets the preset authentication requirement information;

[0056] If yes, then executing the step of downloading the requested shared information;

[0057] If not, downloading of the requested shared information is prohibited.

[0058] By adopting the above technical solution, it is possible to determine whether the requested authentication information meets the authentication requirement information, whether the download request shared information is authorized, and reduce the risk of leakage of the requested shared information as much as possible, thereby improving the security of downloading the requested shared information.

[0059] In the second aspect, the present application provides a system for acquiring industrial Internet data, which adopts the following technical solutions:

[0060] A system for acquiring industrial Internet data, capable of executing the steps of any of the above methods, includes:

[0061] A quantity acquisition module, used to acquire the request quantity of requesting devices requesting information sharing;

[0062] An information acquisition module, used for acquiring the information requested to be shared by the requesting device as the requested sharing information;

[0063] A first instruction acquisition module, used for acquiring a maximum bandwidth download instruction when the number of requests is one;

[0064] A download control module, configured to download the requested shared information to the requesting device based on the maximum bandwidth download instruction;

[0065] a priority acquisition module, configured to acquire the request priority of the requesting device based on the request sharing information when the number of requests is at least two;

[0066] A second instruction acquisition module, used to acquire a bandwidth adjustment instruction based on the request priority;

[0067] The bandwidth adjustment module is used to adjust the download bandwidth of the request device for downloading the corresponding requested shared information based on the bandwidth adjustment instruction.

[0068] By adopting the above technical solution, the number of requests is determined according to the information transmission between each module. When the number of requests is one, the request sharing information is downloaded with the maximum bandwidth. When the number of requests is at least two, the request priority of the requesting device is obtained, and the download bandwidth of the requesting device for downloading the request sharing information is adjusted according to the request priority, so that the bandwidth allocation when the device obtains data is more reasonable, thereby improving the timeliness of important device data acquisition.

[0069] In a third aspect, the present application provides a smart terminal, which adopts the following technical solution:

[0070] An intelligent terminal, comprising:

[0071] A memory for storing computer programs that can be run on the processor;

[0072] The processor, when running the computer program, can execute the steps of any of the above methods.

[0073] By adopting the above technical solution, the memory can store information, and the processor can retrieve the information and issue control instructions to ensure the orderly execution of the program and achieve the effect of the above solution.

[0074] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:

[0075] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any one of the above methods.

[0076] By adopting the above technical solution, when the computer-readable storage medium is loaded into any computer, any computer can execute a method for acquiring industrial Internet data provided in this application.

[0077] In summary, the present application includes at least one of the following beneficial technical effects:

[0078] 1. Determine the number of requests. When the number of requests is one, download the request sharing information with the maximum bandwidth. When the number of requests is at least two, obtain the request priority of the requesting device and adjust the download bandwidth of the request sharing information for the requesting device according to the request priority, so that the bandwidth allocation when the device obtains data is more reasonable, thereby improving the timeliness of data acquisition of important devices;

[0079] 2. Determine whether the requesting device is located in the same LAN. If so, obtain the same-domain request information, and then obtain the request priority based on the same-domain request information. In other words, only the request priority needs to be set for the requesting device in the same domain, so as to adjust the download bandwidth of the requesting device in the same domain. There is no need to adjust the bandwidth for devices in different LANs, thereby achieving the effectiveness of bandwidth adjustment;

[0080] 3. Determine whether the required total bandwidth exceeds the total download bandwidth, so as to determine whether the download bandwidth needs to be expanded, so as to ensure that the total download bandwidth can meet the download requirements as much as possible. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] Figure 1 It is a flowchart of a method for acquiring industrial Internet data provided by an embodiment of the present application;

[0082] Figure 2 It is a flowchart of steps S11 to S16 in one embodiment of the present application;

[0083] Figure 3 is a flow chart of step S21 to step S22 in one embodiment of the present application;

[0084] Figure 4 is a flowchart of steps S31 to S37 in one embodiment of the present application;

[0085] Figure 5 is a flowchart of steps S41 to S47 in one embodiment of the present application;

[0086] Figure 6 is a flowchart of steps S51 to S56 in one embodiment of the present application;

[0087] Figure 7 is a flowchart of steps S61 to S64 in one embodiment of the present application;

[0088] Figure 8 This is a structural block diagram of an industrial Internet data acquisition system provided in an embodiment of the present application.

[0089] Description of reference numerals:

[0090] 1. Quantity acquisition module; 2. Information acquisition module; 3. First instruction acquisition module; 4. Download control module; 5. Priority acquisition module; 6. Second instruction acquisition module; 7. Bandwidth adjustment module. DETAILED DESCRIPTION

[0091] The following is combined with Figures 1 to 8 This application is described in further detail.

[0092] An embodiment of the present application discloses a method for acquiring industrial Internet data. By determining the number of requesting devices, it is determined whether to download information according to the maximum bandwidth. When the number of requests is at least two, the download bandwidth of the information is adjusted according to the request priority of the requesting device, so that devices with high priority can download information in a timely manner.

[0093] Reference Figure 1 , the acquisition of industrial Internet data includes:

[0094] S1. Obtain the number of requests for information sharing by the requesting device;

[0095] When a device in the same industrial Internet system needs to obtain data information from other devices, it can send corresponding request information to the system. The request information includes pre-stored information such as the device's address, name, and number, and each device's address, name, and number are unique. The system can determine the number of devices that sent the request information based on the request information sent by the device, that is, determine how many different numbers, or different addresses, or different names there are, and then determine the number of devices, that is, the number of requests.

[0096] S2. Obtain the information of the requesting device requesting to share as the requesting sharing information;

[0097] The request information is a request for sharing information, which includes not only the pre-stored device identification information such as the device address, name and number, but also the shared device information of the device whose information the requesting device requests to be shared. That is, the shared device information includes the identity identification information of the shared device and the data information of the shared device, such as detection data, parameter data, fault data and other related data information.

[0098] S3. When the number of requests is one, obtain the maximum bandwidth download instruction;

[0099] When the system determines that the number of requests is one, it proves that there is only one requesting device requesting information sharing at this time, so the maximum bandwidth download instruction is obtained at this time, and the maximum bandwidth download instruction is sent to the control system of the requesting device, wherein the maximum bandwidth download instruction includes the maximum download bandwidth corresponding to the requesting device. The acquisition method can be that the system pre-stores the maximum download bandwidth of each requesting device, and after determining the identity identification information of the corresponding requesting device, the corresponding maximum download bandwidth can be determined.

[0100] S4. Download instructions based on the maximum bandwidth to download the request sharing information to the requesting device;

[0101] Then, the Industrial Internet system controls the control system of the requesting device to make the control system download the information requested by the requesting device to the requesting device according to its own maximum download bandwidth, that is, download the requested shared information to the requesting device based on the maximum bandwidth download instruction. Of course, the Industrial Internet system stores the data information of the device and the corresponding identity information, and the corresponding data information can be sent to the corresponding requesting device through the identity information.

[0102] S5. When the number of requests is at least two, obtaining the request priority of the requesting device based on the request sharing information;

[0103] When the number of requests is at least two, the request priority of the requesting device is obtained according to the request sharing information, that is, the priorities of the devices in the Industrial Internet system are set and stored in advance, and different devices are marked with different priorities. That is, when the information of the requesting device is obtained, the priority of the requesting device can be obtained.

[0104] S6. Obtain bandwidth adjustment instructions based on request priority;

[0105] Then, the bandwidth adjustment instruction is obtained according to the priority. The specific method is that the bandwidth adjustment instruction includes the request priority and the bandwidth size corresponding to the request priority. That is, each request priority is preset with a corresponding bandwidth and stored in the industrial Internet system. When the corresponding request priority is obtained, the corresponding bandwidth can be obtained according to the matching request priority, and a bandwidth adjustment instruction is generated. For example, the higher the request priority, the more important the requesting device is, and the more bandwidth is obtained.

[0106] S7. Adjust the download bandwidth of the requesting device for downloading the corresponding requested shared information based on the bandwidth adjustment instruction.

[0107] When the request priority and bandwidth adjustment instruction are obtained, the device information of the corresponding requesting device can be obtained, and the device information includes the communication address of the device. The industrial Internet system can send the bandwidth adjustment instruction to the corresponding requesting device, that is, the bandwidth adjustment instruction also includes the request priority and the name, number and other information of the requesting device corresponding to the request priority. The corresponding requesting device is a device whose name, number and other information are the same as the name, number and other information of the requesting device corresponding to the request priority.

[0108] Finally, when the requesting device receives the bandwidth adjustment instruction, it can adjust the download bandwidth of the requesting device according to the bandwidth of the bandwidth adjustment instruction, so that more download bandwidth can be allocated to the requesting device with high priority, making the bandwidth allocation when the device obtains data more reasonable, thereby improving the timeliness of data acquisition of important devices.

[0109] Reference Figure 2 , bandwidth adjustment usually occurs within the same local area network, where bandwidth occupation issues will occur. In different local area networks, the download speed of each is hardly affected by the download bandwidth occupation of other local area networks, so there is no need to adjust the download bandwidth between different local area networks. Therefore, in order to improve the effectiveness of bandwidth adjustment, in another embodiment, obtaining the request priority of the requesting device based on the request sharing information includes:

[0110] S11. Obtaining a preset regional planning table;

[0111] The regional planning table is data pre-stored in the industrial Internet system, and can be obtained by directly reading from the system. The regional planning table includes different local area networks and the device URL of each device in each local area network.

[0112] S12. Based on the request sharing information, obtain the device URL of all requesting devices as the request URL;

[0113] 113] Each requesting device has a fixed device URL, which can be set according to actual conditions. The device URL of each requesting device is associated with the identity information of the requesting device itself, which is the name and number of the requesting device. Therefore, after obtaining the request sharing information, the identity information of the requesting device can be obtained, and then the device URL of the requesting device, that is, the request URL, can be obtained.

[0114] Of course, the request URL can also be obtained by automatically obtaining the device URL of the request device when the requesting device generates the request sharing information, storing it in the request sharing information, and then sending it to the industrial Internet system, where it can be read and identified.

[0115] S13. Determine whether the requesting device is located in the same LAN based on the regional planning table and the requesting URL;

[0116] After obtaining the request URL, determine whether the requesting device is located in the same LAN based on the regional planning table and the request URL. That is, match all request URLs with the device URLs in the regional planning table and determine whether there is a request URL located in the same LAN. This way, it can be determined whether the requesting device is located in the same LAN.

[0117] For example, there are four request URLs A for requesting device A, request URL B for requesting device B, request URL C for requesting device C, and request URL D for requesting device D. LAN A includes device URL A and device URL B, LAN B includes device URL C, and LAN C includes device URL D. Request URL A is the same as device URL A, request URL B is the same as device URL B, request URL C is the same as device URL C, and request URL D is the same as device URL D. Then request URL A and request URL B are located in the same LAN A, request URL C is located in LAN B, and request URL D is located in LAN C.

[0118] S14. If it exists, obtain the requesting device located in the same local area network as the same domain device;

[0119] If there is a situation where the requesting device is located in the same local area network, then the requesting device located in the same local area network is obtained as the same-domain device. Continuing with the above example, the requesting device located in the same local area network is the requesting device A corresponding to the requesting URL A, and the requesting device B corresponding to the requesting URL B, that is, the requesting device A and the requesting device B are the same-domain devices.

[0120] S15. Obtain the request sharing information of the same domain device as the same domain request information;

[0121] After obtaining the same-domain device, obtain the request sharing information of the same-domain device as the same-domain request information, wherein the same-domain request information includes a preset priority level, that is, the same-domain request information includes the priority level of the corresponding requesting device. Continuing with the above example, the preset priority level of the requesting device A is level one, and the preset priority level of the requesting device B is level two, and the priority level of level one is greater than the priority level of level two. The number of priority levels can be set according to actual conditions, for example, according to the number of requesting devices.

[0122] S16. Obtain the request priority of the same-domain device based on the same-domain request information.

[0123] Finally, the request priority of the same-domain device is obtained according to the same-domain request information, that is, the request priority of the same-domain device is set according to the priority level. Using the above example, the request priority of the requesting device A is priority one, and the request priority of the requesting device B is priority two, and the priority level of priority one is greater than priority two.

[0124] At the same time, the download bandwidth can be set according to the request priority. For example, if the total download bandwidth is 100Mb / s, priority one is set to 60% of the total bandwidth and priority two is set to 40% of the total bandwidth. Therefore, after obtaining the request priority, the download bandwidth can be obtained.

[0125] Of course, the bandwidth corresponding to different request priorities can be set according to the actual situation of the number of devices in the same domain. For example, if the devices in the same domain include requesting device A, requesting device B and requesting device E, and the corresponding request priorities are priority one, priority two and priority three respectively, then the corresponding download bandwidth can be set to 50% of the total bandwidth, 30% of the total bandwidth and 20% of the total bandwidth respectively.

[0126] If the requesting device is not located in the same local area network, the bandwidth may not be adjusted. Therefore, through the above method, the bandwidth of the requesting device located in the same local area network can be better adjusted, and the bandwidth of the requesting device in different local area networks does not need to be adjusted, which can reduce unnecessary bandwidth adjustment steps and thus improve the effectiveness of bandwidth adjustment.

[0127] Reference Figure 3 Of course, in order to improve the download speed of the requested shared information as much as possible, in another embodiment, after obtaining the same-domain device, it also includes:

[0128] S21. Obtain the remaining devices after excluding the same-domain devices from the requesting devices as foreign-domain devices;

[0129] That is, the remaining devices after excluding all the same-domain devices from all the requesting devices are obtained as foreign-domain devices. Foreign-domain devices are requesting devices that are not in the same LAN as the same-domain devices and are located in a separate LAN. Using the above example, they are requesting devices C and D.

[0130] S22. Obtain the maximum bandwidth download instruction corresponding to the foreign device to download the request sharing information to the corresponding foreign device.

[0131] Then, the maximum bandwidth download instruction corresponding to the foreign device is obtained to download the request shared information to the corresponding foreign device, that is, the request information uploaded by the foreign device to the industrial Internet system is obtained, and the request information includes the maximum download bandwidth of the requesting device, and the maximum download bandwidth is pre-stored data. After obtaining the request information of the foreign device, the corresponding maximum bandwidth download instruction can be generated according to the maximum download bandwidth and sent to the corresponding foreign device, so that the foreign device downloads the shared information according to the maximum download bandwidth.

[0132] Furthermore, through the above-mentioned method, the requesting device can download information at the fastest speed, thereby further improving the efficiency of the requesting device in downloading information.

[0133] Reference Figure 4 , further, for information sharing in the same local area network, it is not necessary to obtain it through the industrial Internet system, but it can be directly shared in the local area network, thereby reducing the complexity of unnecessary data transmission. Therefore, in another embodiment, after obtaining the request sharing information, before obtaining the maximum bandwidth download instruction or before obtaining the request priority of the requesting device based on the request sharing information, it also includes:

[0134] S31. Based on the request to share information, the device to which the information to be shared belongs is obtained as the target device;

[0135] According to the request for sharing information, the device to which the information to be shared belongs is obtained as the target device, that is, the shared device.

[0136] S32. Obtain the device URL of the target device as the target URL;

[0137] Then, the device URL of the target device is obtained as the target URL. The acquisition method is the same as the acquisition method of the requested URL, that is, the request sharing information includes the target URL of the target device. When the name or number of the target device is obtained, the target URL of the target device can be obtained accordingly.

[0138] S33. Determine whether the target URL and the request URL are on the same local area network;

[0139] Next, determine whether the target URL and the request URL are in the same LAN, that is, determine whether the requesting device and the target device are in the same LAN, so as to determine whether it is necessary to obtain information through the Industrial Internet system. The judgment method is to match the target URL with the device URL in the regional planning table to obtain the LAN of the target URL, and at the same time match the request URL with the device URL in the regional planning table to obtain the LAN of the request URL, and then determine whether the LANs of the two are the same.

[0140] S34. If yes, obtain the same domain direct connection instruction;

[0141] If so, that is, the target URL and the request URL are in the same local area network, a same-domain direct connection instruction is obtained, wherein the same-domain direct connection instruction includes the target URL of the target device.

[0142] S35. Based on the same domain direct connection instruction, the requesting device directly obtains the shared information of the corresponding target device in the same local area network;

[0143] Then, according to the same-domain direct connection instruction, that is, according to the target website, the requesting device directly establishes a connection with the target device, so that the requesting device can directly access the target device, and further the requesting device can directly obtain the information shared by the target device.

[0144] Of course, the same-domain direct connection instruction may also include the folder path and password of the shared folder of the target device. The requesting device can access the shared folder according to the folder path and password, thereby directly obtaining the shared information of the target device in the local area network.

[0145] S36. If not, obtain a foreign domain connection instruction;

[0146] If not, that is, the target URL and the request URL are in different local area networks, then obtain the heterogeneous connection instruction, that is, the heterogeneous connection instruction includes the storage location where the target device is stored in the industrial Internet system.

[0147] S37. Based on the heterogeneous connection instruction, the requesting device obtains the shared information of the corresponding target device in the preset shared cloud server.

[0148] Finally, according to the cross-domain connection instruction, the requesting device can enter the shared cloud server in the industrial Internet system and enter the storage location to download the shared information of the target device. The shared cloud server is the cloud server shared by all devices in the industrial Internet system. The shared data of all devices can be uploaded to the shared cloud server for storage.

[0149] Furthermore, for information sharing in the same local area network, there is no need to obtain it through the Industrial Internet system, but it can be shared directly in the local area network, thereby reducing the complexity of unnecessary data transmission.

[0150] Reference Figure 5 In order to meet the bandwidth downloading requirement as much as possible, in another embodiment, after adjusting the download bandwidth of the requesting device to download the corresponding requested shared information based on the bandwidth adjustment instruction, the method further includes:

[0151] S41. Determine whether there is preset bandwidth requirement information based on the request sharing information;

[0152] That is, it is determined whether there is preset bandwidth requirement information in the request sharing information, that is, if there is a preset bandwidth requirement when the requesting device uploads the request information, then the preset bandwidth requirement information will exist in the request sharing information; if no bandwidth requirement is set when uploading the request information, then there is no bandwidth requirement information in the request sharing information, wherein the bandwidth requirement information includes the identity identification information of the requesting device and the required download bandwidth.

[0153] S42. If present, obtaining the required bandwidth based on the bandwidth requirement information;

[0154] If there is bandwidth requirement information, the required bandwidth is obtained according to the bandwidth requirement information, that is, the download bandwidth in the bandwidth requirement information.

[0155] S43. Obtain the total download bandwidth based on all download bandwidths;

[0156] Then, the sum of all download bandwidths in the same LAN is obtained to obtain the total download bandwidth.

[0157] S44. Obtain the required total bandwidth based on all required bandwidths;

[0158] Then obtain the sum of all bandwidth requirements in the same LAN to obtain the total bandwidth required

[0159] S45. Determine whether the required total bandwidth exceeds the total download bandwidth;

[0160] Next, it is determined whether the required total bandwidth exceeds the total download bandwidth, that is, whether the current total download bandwidth can meet the download demand of the required total bandwidth. If the required total bandwidth exceeds the total download bandwidth, it proves that the download demand cannot be met at this time, otherwise, it can be met. If the download demand can be met, no other operations are required at this time.

[0161] S46. If it exceeds, obtain bandwidth expansion instructions;

[0162] If it exceeds, that is, the download demand cannot be met, a bandwidth expansion instruction is obtained at this time, that is, the bandwidth expansion instruction includes a bandwidth difference, wherein the bandwidth difference is the difference obtained by subtracting the total download bandwidth from the required total bandwidth.

[0163] S47. Compress the preset reserved bandwidth based on the bandwidth expansion instruction so that the total download bandwidth is greater than or equal to the required total bandwidth.

[0164] Finally, according to the bandwidth expansion instruction, the preset reserved bandwidth is compressed so that the total download bandwidth is greater than or equal to the required total bandwidth. That is, each LAN has a maximum download bandwidth. In order to be able to handle emergencies and prevent the requesting devices in the same LAN from increasing the download bandwidth without limit as much as possible, the industrial Internet system reserves a certain proportion of bandwidth for the download bandwidth of each LAN. The specific reserved proportion can be set according to the actual situation. In this way, a certain download bandwidth can be reserved during the data download process of the requesting device, so that when the download needs to be performed within the preset time and the download bandwidth is insufficient, the bandwidth can be expanded to meet the download demand as much as possible.

[0165] Reference Figure 6 For a local area network without reserved download bandwidth, in order to enable important data to be downloaded in time, in another embodiment, if there is bandwidth requirement information, it also includes:

[0166] S51. Acquire request sharing information that does not contain bandwidth requirement information as first sharing information;

[0167] That is, the request sharing information without bandwidth requirement is obtained, that is, the request sharing information without bandwidth requirement information in the request sharing information is the first sharing information.

[0168] S52. Obtain the download bandwidth of the first shared information and use it as the first bandwidth;

[0169] Next, the download bandwidth of the first shared information is obtained and used as the first bandwidth, that is, the corresponding download bandwidth obtained according to the request priority in the first shared information is the first bandwidth.

[0170] S53. Obtain the download bandwidth of the requested sharing information corresponding to the required bandwidth as the actual bandwidth;

[0171] That is, the download bandwidth requested for the shared information when the bandwidth requirement is not obtained, that is, the download bandwidth corresponding to the request priority in the shared information, is the actual bandwidth.

[0172] S54. Determine whether the required bandwidth exceeds the actual bandwidth;

[0173] Next, determine whether the required bandwidth exceeds the actual bandwidth, that is, determine whether the current download bandwidth can meet the required bandwidth requirements. If the required bandwidth exceeds the actual bandwidth, that is, the required bandwidth is greater than or equal to the actual bandwidth, it proves that the actual bandwidth does not meet the requirements, otherwise it meets the requirements. When the download bandwidth can meet the required bandwidth, there is no need to adjust the bandwidth.

[0174] S55. If exceeded, obtain bandwidth compression instructions;

[0175] If the required bandwidth exceeds the actual bandwidth, it means that the actual bandwidth does not meet the requirement, and a bandwidth compression instruction is obtained at this time, wherein the bandwidth compression instruction includes all first bandwidths in the same local area network.

[0176] S56. Compress the first bandwidth according to a preset compression priority based on the bandwidth compression instruction so that the actual bandwidth is greater than or equal to the required bandwidth.

[0177] Finally, according to the bandwidth compression instruction, the first bandwidth is compressed according to the preset compression priority so that the actual bandwidth is greater than or equal to the required bandwidth, wherein the preset compression priority is in the opposite order of the request priority, that is, the first bandwidth is compressed in the reverse order of the request priority, for example, the order of the request priority is requesting device A, requesting device B, requesting device C, requesting device D, and the order of the compression priority is requesting device D, requesting device C, requesting device B, requesting device A. That is, the download bandwidth corresponding to the requesting device with the lowest importance is compressed first, if the download bandwidth corresponding to the requesting device D is compressed, the actual bandwidth is still less than the required bandwidth, then the download bandwidth corresponding to the requesting device C is compressed until the actual bandwidth is greater than or equal to the required bandwidth.

[0178] Therefore, for a local area network without reserved download bandwidth, the download bandwidth of less important requesting devices can be compressed so that important data can be downloaded in a timely manner. After the download is completed, the compressed download bandwidth is restored so that the requesting device can continue to download information.

[0179] Reference Figure 7 In order to ensure the security of data download as much as possible, in another embodiment, before downloading the shared information, the following is further included:

[0180] S61. Get request authentication information;

[0181] S62. Determine whether the authentication request information meets the preset authentication requirement information;

[0182] S63. If it meets the requirements, the download request sharing information step is executed;

[0183] S64. If not, the download request sharing information is prohibited.

[0184] Specifically, before downloading the request sharing information, the request authentication information is obtained, that is, when the request device uploads the request information, the request authentication information will be added, wherein the request authentication information includes an authentication name and an authentication password.

[0185] Then determine whether the requested authentication information meets the preset authentication requirement information, where the authentication requirement information includes the required name and the required password, that is, determine whether the authentication name and the required name, the authentication password and the required password are the same at the same time. If they match, it is compliant, otherwise it is not compliant.

[0186] If it is in compliance, it proves that the information to be downloaded can pass the authentication, so the download request sharing information step is continued; if it is not in compliance, it proves that the information download cannot pass the authentication and the download requirements are not met, so the download request sharing information is obtained at this time. In this way, the security of the download request sharing information can be improved as much as possible, and the leakage of data can be minimized.

[0187] The implementation principle of a method for acquiring industrial Internet data in an embodiment of the present application is as follows: first, the request number of the requesting device requesting information sharing is obtained, and at the same time, the request sharing information of the requesting device is obtained and used as the request sharing information. When the number of requests is one, the maximum bandwidth download instruction is obtained, and the request sharing information is downloaded to the requesting device according to the maximum bandwidth download instruction. When the number of requests is at least two, the request priority of the requesting device is obtained according to the request sharing information, and then the bandwidth adjustment instruction is obtained according to the request priority. Finally, the download bandwidth of the requesting device to download the corresponding request sharing information is adjusted according to the bandwidth adjustment instruction. This makes the bandwidth allocation when the device acquires data more reasonable, thereby improving the timeliness of the acquisition of important equipment data.

[0188] An embodiment of the present application also discloses a system for acquiring industrial Internet data, which can achieve the same technical effect as the above-mentioned method for acquiring industrial Internet data.

[0189] Reference Figure 8 , the acquisition of industrial Internet data includes:

[0190] A quantity acquisition module 1 is used to acquire the request quantity of requesting devices requesting information sharing;

[0191] An information acquisition module 2 is used to acquire the information requested to be shared by the requesting device as the requested sharing information;

[0192] A first instruction acquisition module 3, used for acquiring a maximum bandwidth download instruction when the number of requests is one;

[0193] A download control module 4, configured to download the request sharing information to the requesting device based on the maximum bandwidth download instruction;

[0194] A priority acquisition module 5, configured to acquire a request priority of a requesting device based on request sharing information when the number of requests is at least two;

[0195] A second instruction acquisition module 6, used to acquire a bandwidth adjustment instruction based on the request priority;

[0196] The bandwidth adjustment module 7 is used to adjust the download bandwidth of the requesting device for downloading the corresponding requested shared information based on the bandwidth adjustment instruction.

[0197] Specifically, first, the quantity acquisition module 1 acquires the request quantity of the requesting devices requesting information sharing, and sends it to the first instruction acquisition module 3 and the priority acquisition module 5 connected to it. Then, the information acquisition module 2 acquires the request sharing information of the requesting devices as the request sharing information, and sends it to the download control module 4 and the priority acquisition module 5 connected to it.

[0198] When the number of requests is one, the first instruction acquisition module 3 acquires the maximum bandwidth download instruction and sends it to the download control module 4 connected thereto, and then the download control module 4 downloads the request sharing information to the requesting device according to the maximum bandwidth download instruction.

[0199] When the number of requests is at least two, the priority acquisition module 5 requests the shared information to obtain the request priority of the requesting device and sends it to the second instruction acquisition module 6 connected to it. Then the second instruction acquisition module 6 obtains the bandwidth adjustment instruction based on the request priority and sends it to the bandwidth adjustment module 7 connected to it.

[0200] Finally, the bandwidth adjustment module 7 adjusts the download bandwidth of the requesting device to download the corresponding requested shared information based on the bandwidth adjustment instruction, thereby making the bandwidth allocation when the device obtains data more reasonable, thereby improving the timeliness of important device data acquisition.

[0201] The embodiment of the present application also discloses an intelligent terminal, including a memory and a processor. The memory stores an intelligent computer program. The processor, when running the intelligent computer program, can execute the steps of the above-mentioned method for acquiring industrial Internet data. The intelligent computer program can use a known processing program to perform a series of steps such as judging, adjusting, and downloading data, thereby acquiring industrial Internet data.

[0202] An embodiment of the present application also discloses a computer-readable storage medium, which stores a computer program that can be loaded by a processor and executes the method for obtaining industrial Internet data as described above. The computer-readable storage medium includes, for example: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0203] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A method for acquiring industrial Internet data, characterized in that: include: Get the number of requests from requesting devices requesting information sharing; Acquire the information of the request device requesting to share as the requesting sharing information; When the number of requests is one, obtaining a maximum bandwidth download instruction; Downloading the requested shared information to the requesting device based on the maximum bandwidth download instruction; When the number of requests is at least two, obtaining the request priority of the requesting device based on the request sharing information specifically includes: obtaining a preset regional planning table, the regional planning table including different local area networks and a device website address of each device in each of the local area networks; Based on the request sharing information, acquiring the device URLs of all the requesting devices as the requesting URLs; Determining whether the requesting device is located in the same local area network based on the area planning table and the requesting website; If so, obtaining the requesting device located in the same local area network as a same-domain device; Obtaining the remaining devices after excluding the same-domain device from the requesting devices as foreign-domain devices; Obtaining the maximum bandwidth download instruction corresponding to the foreign-domain device to download the requested sharing information to the corresponding foreign-domain device; Acquire the request sharing information of the same-domain device as the same-domain request information, where the same-domain request information includes a preset priority level; Acquire the request priority of the same-domain device based on the same-domain request information; Obtaining a bandwidth adjustment instruction based on the request priority; The download bandwidth of the requesting device for downloading the corresponding requested shared information is adjusted based on the bandwidth adjustment instruction.

2. The acquisition method according to claim 1, characterized in that: After obtaining the requested sharing information, the method further includes: Based on the request to share information, obtain a device to which the information to be shared belongs as a target device; Obtaining the device URL of the target device as the target URL; Determining whether the target website and the request website are in the same local area network; If yes, obtaining a same-domain direct connection instruction; and enabling the requesting device to directly obtain the shared information of the corresponding target device in the same local area network based on the same-domain direct connection instruction; If not, obtain a foreign domain connection instruction; based on the foreign domain connection instruction, enable the requesting device to obtain the shared information of the corresponding target device in the preset shared cloud server.

3. The acquisition method according to claim 1, characterized in that: After adjusting the download bandwidth of the requesting device to download the corresponding requested shared information based on the bandwidth adjustment instruction, the method further includes: Determining whether there is preset bandwidth requirement information based on the request sharing information; If it exists, obtaining the required bandwidth based on the bandwidth requirement information; obtaining the total download bandwidth based on all the download bandwidths; obtaining the required total bandwidth based on all the required bandwidths; and determining whether the required total bandwidth exceeds the total download bandwidth; If it exceeds, a bandwidth expansion instruction is obtained; and based on the bandwidth expansion instruction, the preset reserved bandwidth is compressed so that the total download bandwidth is greater than or equal to the required total bandwidth.

4. The acquisition method according to claim 3, characterized in that: If the bandwidth requirement information exists, it also includes: acquiring the requested sharing information without the bandwidth requirement information as the first sharing information; Acquire the download bandwidth of the first shared information and use it as the first bandwidth; Acquire the download bandwidth of the requested sharing information corresponding to the required bandwidth as the actual bandwidth; Determine whether the required bandwidth exceeds the actual bandwidth; if so, obtain a bandwidth compression instruction; Based on the bandwidth compression instruction, the first bandwidth is compressed according to a preset compression priority so that the actual bandwidth is greater than or equal to the required bandwidth.

5. The acquisition method according to claim 1, characterized in that: Before downloading the requested shared information, it also includes: Get request authentication information; Determining whether the authentication request information meets the preset authentication requirement information; If yes, then executing the step of downloading the requested shared information; If not, downloading of the requested shared information is prohibited.

6. A system for acquiring industrial Internet data, characterized in that: The method according to any one of claims 1 to 5 can be performed, comprising: A quantity acquisition module (1) is used to acquire the request quantity of requesting devices requesting information sharing; An information acquisition module (2) is used to acquire the information of the request sharing of the requesting device as the request sharing information; A first instruction acquisition module (3) is used to acquire a maximum bandwidth download instruction when the number of requests is one; A download control module (4) is used to download the request sharing information to the requesting device based on the maximum bandwidth download instruction; A priority acquisition module (5), configured to acquire the request priority of the requesting device based on the request sharing information when the number of requests is at least two; A second instruction acquisition module (6), used for acquiring a bandwidth adjustment instruction based on the request priority; A bandwidth adjustment module (7) is used to adjust the download bandwidth of the request device for downloading the corresponding requested shared information based on the bandwidth adjustment instruction.

7. An intelligent terminal, characterized in that: include: A memory for storing computer programs that can be run on the processor; The processor, when running the computer program, is capable of executing the steps of the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 5.