CN117729206A - Multimedia access method based on Internet of things - Google Patents

Multimedia access method based on Internet of things Download PDF

Info

Publication number
CN117729206A
CN117729206A CN202410175364.7A CN202410175364A CN117729206A CN 117729206 A CN117729206 A CN 117729206A CN 202410175364 A CN202410175364 A CN 202410175364A CN 117729206 A CN117729206 A CN 117729206A
Authority
CN
China
Prior art keywords
data
processing
terminal
server
processed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202410175364.7A
Other languages
Chinese (zh)
Other versions
CN117729206B (en
Inventor
王武杰
邓日晓
聂璇
阳城
杨良
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hunan Sanxiang Bank Co Ltd
Original Assignee
Hunan Sanxiang Bank Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hunan Sanxiang Bank Co Ltd filed Critical Hunan Sanxiang Bank Co Ltd
Priority to CN202410175364.7A priority Critical patent/CN117729206B/en
Publication of CN117729206A publication Critical patent/CN117729206A/en
Application granted granted Critical
Publication of CN117729206B publication Critical patent/CN117729206B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention relates to the field of communication, in particular to a multimedia access method based on the Internet of things, which comprises the following steps: receiving access requests of a plurality of terminals to receive data to be transmitted after a transmission path is established; evaluating the current data processing capacity and the data quantity to be processed of the terminal; determining the number of processing nodes arranged between the terminal and the server based on the data processing capability and the data amount to be processed of the terminal; the processing nodes are arranged between any terminal and the server so as to establish a transmission path consisting of the terminal, at least one processing node and the server; the server receives target data sent through each transmission path, so as to determine user service information according to the target data. The invention improves the resource utilization rate in the data processing process.

Description

Multimedia access method based on Internet of things
Technical Field
The invention relates to the field of communication, in particular to a multimedia access method based on the Internet of things.
Background
The internet of things is to connect all articles with the internet through information sensing equipment such as radio frequency identification, infrared sensors, a global positioning system, a laser scanner and the like to exchange information and communicate, so as to realize intelligent identification, positioning, tracking, monitoring and management. In conventional von neumann architectures, the data in memory needs to be moved to memory before the CPU can perform the computing operation, which is not friendly for data-intensive applications such as databases.
Patent document with publication number CN107895584A discloses a multimedia playing device accessing internet of things, which comprises a housing, the lower extreme of shell is equipped with buffer, buffer's lower extreme is fixed with the mounting panel, the both sides of shell all are equipped with the protection cap, all be equipped with the sliding block on the relative lateral wall in the protection cap, the both sides of mounting panel all are equipped with the caulking groove that corresponds with the sliding block, and the sliding block is located the caulking groove, the upper end of shell is equipped with the mounting groove, the bottom in the mounting groove is equipped with two mutual parallel and hinders the position groove, hinder the position inslot and be equipped with telescopic machanism A, telescopic machanism A's end is fixed with the fixed plate, be equipped with display module on the fixed plate, display module is including articulating the display device in fixed plate one side, one side of display device articulates there is telescopic machanism B.
In the prior art, in the data processing process, the number of processing nodes arranged between a terminal and a server cannot be adjusted in real time according to the number to be processed, so that the problem of low use efficiency of the processing nodes is caused.
Disclosure of Invention
Therefore, the invention provides a multimedia access method based on the Internet of things, which can solve the problem of low utilization rate of processing nodes in the data processing process by determining the number of the processing nodes according to the data to be processed of the data processing capability terminal.
In order to achieve the above object, the present invention provides a multimedia access method based on the internet of things, the method comprising:
receiving access requests of a plurality of terminals to receive data to be transmitted after a transmission path is established;
evaluating the current data processing capacity and the data quantity to be processed of the terminal;
determining the number of processing nodes arranged between the terminal and the server based on the data processing capability and the data amount to be processed of the terminal;
the processing nodes are arranged between any terminal and the server so as to establish a transmission path consisting of the terminal, at least one processing node and the server;
the server receives target data sent through each transmission path, so as to determine user service information according to the target data.
Further, the evaluating the current data processing capability includes:
collecting data processing efficiency in any at least two historical time periods;
if the data processing efficiency of the first historical period is greater than that of the second historical period, the current data processing capacity is in a reduced state;
if the data processing efficiency of the first history period is smaller than that of the second history period, the current data processing capacity is in a rising state;
the first history period is set before the second history period, and the duration of the first history period is equal to the duration of the second history period.
Further, evaluating the amount of data to be processed for any of the terminals includes:
determining data to be processed in a terminal;
determining audio features, image features and text features;
determining the corresponding quantity of the audio files, the image files and the text files in the data to be processed according to the audio features, the image features and the text features;
determining the data quantity D to be processed of the data to be processed by adopting a formula (1),
the formula (1) is: d=n1×a1+n2×a2+n3×a3, where n1 represents the number of image files, n2 represents the number of audio files, n3 represents the number of text files, a1 represents the image weight, a2 represents the audio weight, a3 represents the text weight, and a1 is greater than a2 is greater than a3.
Further, determining the number of processing nodes provided between the terminal and the server based on the data processing capability and the amount of data to be processed of the terminal includes:
determining to arrange a first number of processing nodes according to the data quantity to be processed so as to process video files, audio files and text files in the data to be processed;
if the data processing capacity shows an ascending trend, a plurality of first processing nodes are withdrawn in a mode of interval arrangement;
if the data processing capability shows a decreasing trend, the number of processing nodes is increased to increase the layout density of the processing nodes.
Further, the manner of revoking the plurality of processing nodes in the manner of interval arrangement is:
setting a plurality of processing nodes between the server and the terminal to be P1-Pn respectively;
the remaining processing nodes after revocation are P1, P3, P5, … …, P2n-1, respectively, where n is greater than 3.
Further, the process of arranging the processing node between any of the terminals and a server includes:
determining a data transmission distance of each processing node;
setting at least one processing node in the data transmission distance to realize data transmission between adjacent processing nodes;
the data processing distance is positively correlated with the transmit power of the processing node and is related to the number of shielding means within the data transmission distance, which shielding means are capable of weakening the actual transmit power of the processing node.
Further, the process of establishing a transmission path consisting of the terminal, the at least one processing node and the server comprises:
the terminal initiates a request through a network protocol to request to access the server;
sending a request to a local router, wherein the local router selects a proper path according to a routing table and network topology information;
the local router forwards the request data to the processing node;
the processing node filters or modifies the request according to the configured strategy and rule;
the processing node transmits the processed request data to a target server;
after receiving the request, the target server carries out corresponding processing and generates response data;
the target server transmits the generated response data back to the processing node;
the processing node transmits the response data back to the terminal, and the terminal processes and displays the response data correspondingly after receiving the response data;
the terminal, the local route, the processing node and the target server form the transmission path.
Further, the process of receiving the target data transmitted through each transmission path includes:
running a network packet grasping tool on the target node to capture the data packet passing through the transmission path;
and analyzing the captured data packet by using a corresponding analysis tool to extract the target data from the data packet.
Further, the process of determining user service information according to the target data includes:
analyzing the target data and extracting the needed key information from the target data;
matching the analyzed key information with user service information;
once the matching is successful, the corresponding data is extracted from the user service information to perform the corresponding service processing.
Further, the process of receiving access requests of the plurality of terminals includes:
establishing a monitor by using Socket programming, and monitoring a designated port;
waiting for a connection request from a terminal and accepting the request and assigning an independent connection to handle the terminal;
opening up independent threads or processes for each accessed terminal to process;
in each independent thread or process, corresponding processing is carried out according to the request type and content of the access terminal;
and maintaining state information of each connection, wherein the state information comprises terminal information, connection time and connection state of the connection.
Compared with the prior art, the method has the advantages that the data transmission path is optimized by constructing the transmission channel, so that the data transmission efficiency is improved, the data processing speed is matched with the data input speed by evaluating the data processing capacity and the data quantity to be processed, an accurate data basis is provided for the quantity of the processing nodes to be set subsequently, so that the data processing load between the server and the terminal is effectively balanced, the data congestion and the processing delay are avoided, the quantity of the processing nodes to be set is accurately determined by adjusting the quantity of the processing nodes according to the data processing capacity and the data quantity to be processed, the data processing capacity is stable and efficient, the processing nodes are set between the terminal and the server to meet the continuously-increasing data processing requirement, the data transmission path consisting of the terminal, the processing nodes and the server is optimized, the data transmission delay is reduced, the data transmission efficiency is improved, the server receives the target data sent from different transmission paths, the data from a plurality of sources is processed in a concentrated mode, the data processing result is more comprehensive, and the accuracy of user service information is improved.
In particular, the data processing efficiency in any two historical time periods is collected, so that the data collection has universality and comprehensiveness, the judgment result of the data processing capacity is accurately and comprehensively compared and judged subsequently, the data processing efficiency in the first historical time period and the second historical time period is intuitively reflected to be larger or smaller in numerical value, the data processing capacity is further judged to be in an ascending trend or a descending trend, the trend result of the data processing capacity is accurately judged, the efficiency of the judging process is improved, the accurate reference basis is conveniently provided for the subsequent determination of the number of processing nodes according to the trend judgment result, and the subsequent processing process is stable.
In particular, the data quantity to be processed is accurately evaluated by classifying and identifying the characteristics of the data in the terminal, so that accurate information is provided for subsequent data processing, the specific types and the number of various files in the data to be processed are clarified by identifying the characteristics of audio, images and words, the specific processing of the data of different types is facilitated, the data quantity to be processed is calculated by adopting a formula, the data quantity to be processed is quantized, accurate data basis is provided for subsequent determination of processing nodes, the files of different types in the formula have different weights, the weight a1 is larger than a2 and larger than a3, the system preferentially processes more complex data types, the data processing efficiency is improved, and the data is ensured to be processed efficiently and accurately.
In particular, the first number of processing nodes are determined to be distributed according to the data quantity to be processed, so that the data processing efficiency is ensured, the data processing result is accurate, when the data processing capacity shows an ascending trend, the redundancy of the processing nodes is reduced, the utilization efficiency of resources is improved, the system is ensured to always keep a high-efficiency running state when the data is processed, when the data processing capacity shows a descending trend, the distribution density of the processing nodes is increased by increasing the number of the processing nodes, the data processing efficiency is improved, the data processing quality is ensured, the processing load of each node in the system is balanced by the mode of withdrawing or increasing the processing nodes at intervals, the condition that part of nodes are overloaded and other nodes are idle is avoided, and the stability and the reliability of the system are improved.
In particular, by using Socket programming to establish a monitor and monitor a designated port, information of the port is timely acquired, so that a server can process requests of a plurality of terminals in parallel, thereby improving processing efficiency of the server, opening up independent threads or processes for each accessed terminal to process the requests, ensuring resource isolation between different terminals, ensuring execution independence of the different terminals, being beneficial to optimizing allocation and utilization of data processing resources, enabling each terminal to obtain timely and efficient service, and in each independent thread or process, performing corresponding processing according to request types and content of the access terminal, thereby improving processing flexibility of the system, and by maintaining state information of each connection, including terminal information, connection time and connection state of the connection, knowing and managing connection conditions of each terminal in real time, so as to discover problems and process in time, and improving safety of a processing process.
Drawings
Fig. 1 is a schematic flow chart of a multimedia access method based on internet of things according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of evaluating current data processing capability of the internet of things-based multimedia access method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of determining the number of processing nodes in the internet of things-based multimedia access method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a layout processing node of a multimedia access method based on internet of things according to an embodiment of the present invention.
Detailed Description
In order that the objects and advantages of the invention will become more apparent, the invention will be further described with reference to the following examples; it should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention.
It should be noted that, in the description of the present invention, terms such as "upper," "lower," "left," "right," "inner," "outer," and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, which are merely for convenience of description, and do not indicate or imply that the apparatus or elements must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present invention.
Furthermore, it should be noted that, in the description of the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those skilled in the art according to the specific circumstances.
Referring to fig. 1, the present invention provides a multimedia access method based on internet of things, which includes:
step S100, receiving access requests of a plurality of terminals to receive data to be transmitted after a transmission path is established;
step S200, evaluating the current data processing capacity and the data quantity to be processed of the terminal;
step S300 of determining the number of processing nodes set between the terminal and the server based on the data processing capability and the amount of data to be processed of the terminal;
step S400, the processing nodes are arranged between any terminal and a server so as to establish a transmission path consisting of the terminal, at least one processing node and the server;
and step S500, the server receives the target data sent through each transmission path, so as to determine the user service information according to the target data.
Specifically, the embodiment of the invention optimizes the data transmission path by constructing the transmission channel, thereby improving the data transmission efficiency, ensures that the data processing speed is matched with the data input speed by evaluating the data processing capacity and the data quantity to be processed, provides accurate data basis for the quantity of the processing nodes to be set subsequently, effectively balances the data processing load between the server and the terminal, avoids data congestion and processing delay, accurately determines the quantity of the processing nodes to be set by adjusting the quantity of the processing nodes according to the data processing capacity and the data quantity to be processed, ensures stable and efficient data processing capacity, optimizes the data transmission path by establishing the data transmission path consisting of the terminal, the processing nodes and the server, reduces the transmission delay, improves the data transmission efficiency, and receives the target data sent from different transmission paths, and processes the data from multiple sources in a centralized way, thereby improving the accuracy of the user service information.
Referring to fig. 2, the evaluating the current data processing capability includes:
step S210, collecting data processing efficiency in any at least two historical time periods;
step S220, if the data processing efficiency of the first history period is greater than that of the second history period, the current data processing capability is in a reduced state;
step S230, if the data processing efficiency of the first history period is smaller than the data processing efficiency of the second history period, the current data processing capability is in a rising state;
the first history period is set before the second history period, and the duration of the first history period is equal to the duration of the second history period.
Specifically, the duration of the first history period and the second history period are each one tenth of the total period of data processing.
Specifically, the embodiment of the invention ensures that the data acquisition has universality and comprehensiveness by acquiring the data processing efficiency in any two historical time periods, so that the judgment result of the subsequent comparison and judgment of the data processing capacity is accurate and comprehensive, and the numerical value of the data processing efficiency is intuitively reflected to be larger or smaller by the data processing efficiency of the first historical time period and the second historical time period so as to further judge whether the data processing capacity is in an ascending trend or a descending trend, so that the trend result of the data processing capacity is accurate, the efficiency of the judgment process is improved, and the subsequent judgment of the number of processing nodes according to the trend judgment result is facilitated to provide an accurate reference basis, so that the subsequent processing process is stable.
Specifically, evaluating the amount of data to be processed of any of the terminals includes:
determining data to be processed in a terminal;
determining audio features, image features and text features;
determining the corresponding quantity of the audio files, the image files and the text files in the data to be processed according to the audio features, the image features and the text features;
determining the data quantity D to be processed of the data to be processed by adopting a formula (1),
the formula (1) is: d=n1×a1+n2×a2+n3×a3, where n1 represents the number of image files, n2 represents the number of audio files, n3 represents the number of text files, a1 represents the image weight, a2 represents the audio weight, a3 represents the text weight, and a1 is greater than a2 is greater than a3.
Specifically, the audio feature, the image feature, and the text feature may be determined by recognition based on the extension of the file, e.g.,. Mp3,. Wav, etc. are audio features, e.g.,. Jpg,. Png, etc. are image features, e.g.,. Txt,. Doc, etc. are text features.
Specifically, the embodiment of the invention accurately evaluates the data quantity to be processed by classifying and identifying the characteristics of the data in the terminal, thereby providing accurate information for subsequent data processing, determining the specific types and the number of various files in the data to be processed by identifying the characteristics of audio, images and characters, facilitating specific processing of different types of data, calculating the data quantity to be processed by adopting a formula, quantifying the data quantity to be processed, providing accurate data basis for subsequent determination of processing nodes, wherein the different types of files in the formula have different weights, the weight a1 is larger than a2 and larger than a3, leading the system to preferentially process more complex data types, improving the efficiency of data processing, and ensuring the efficient and accurate processing of the data.
Referring to fig. 3, determining the number of processing nodes set between the terminal and the server based on the data processing capability and the amount of data to be processed of the terminal includes:
step S310, determining to arrange a first number of processing nodes according to the data volume to be processed so as to process video files, audio files and text files in the data to be processed;
step S320, if the data processing capability shows an ascending trend, withdrawing the plurality of first processing nodes according to a mode of interval setting;
in step S330, if the data processing capability shows a decreasing trend, the number of processing nodes is increased to increase the layout density of the processing nodes.
In particular, the first number may be 1.2 times the amount of data to be processed.
Specifically, the embodiment of the invention ensures that the first number of processing nodes can process the data to be processed by determining the first number of processing nodes according to the data to be processed, thereby ensuring the data processing efficiency, ensuring accurate data processing results, reducing the redundancy of the processing nodes by canceling the plurality of first processing nodes when the data processing capacity shows an ascending trend, improving the utilization efficiency of resources, ensuring that the system always keeps a high-efficiency running state when processing the data, increasing the layout density of the processing nodes by increasing the number of the processing nodes when the data processing capacity shows a descending trend, improving the data processing efficiency, ensuring the data processing quality, canceling or increasing the processing nodes in a mode of interval setting, balancing the processing load of each node in the system, avoiding the condition that part of nodes are overloaded and other nodes are idle, and improving the stability and reliability of the system.
Specifically, the manner of revoking the plurality of processing nodes in the manner of interval arrangement is:
setting a plurality of processing nodes between the server and the terminal to be P1-Pn respectively;
the remaining processing nodes after revocation are P1, P3, P5, … …, P2n-1, respectively, where n is greater than 3.
Specifically, in the embodiment of the invention, by canceling part of processing nodes, the redundancy of the processing nodes is reduced, the resource utilization rate is improved, the efficiency of the data processing process is ensured to be maximized, the stability of the data processing effect among the rest nodes is ensured by the mode of canceling the nodes at intervals, and the continuity of the data processing is ensured.
Referring to fig. 4, the process of arranging the processing nodes between any of the terminals and the server includes:
step S410, determining the data transmission distance of each processing node;
step S420, at least one processing node is set in the data transmission distance to realize the data transmission between the adjacent processing nodes;
step S430, the data processing distance is positively correlated with the transmission power of the processing node, and is related to the number of shielding devices within the data transmission distance, which shielding devices are capable of weakening the actual transmission power of the processing node.
Specifically, determining the data transmission distance of each processing node may be calculated by detecting the speed of data transmission and the time of data transmission between the processing nodes.
Specifically, the embodiment of the invention is beneficial to optimizing the layout of a processing network by arranging at least one processing node in the data transmission distance, ensuring that the data is transmitted more efficiently among the processing nodes, reducing the delay of data transmission, improving the overall processing speed, and more accurately evaluating the complex factors in the actual environment by positively correlating the data processing distance with the transmitting power of the processing nodes and considering the number of shielding devices in the data transmission distance, thereby ensuring more accurate determination of the transmission distance and simultaneously ensuring the stability and reliability of data transmission.
Specifically, the process of establishing a transmission path consisting of a terminal, at least one processing node and a server includes:
the terminal initiates a request through a network protocol to request to access the server;
sending a request to a local router, wherein the local router selects a proper path according to a routing table and network topology information;
the local router forwards the request data to the processing node;
the processing node filters or modifies the request according to the configured strategy and rule;
the processing node transmits the processed request data to a target server;
after receiving the request, the target server carries out corresponding processing and generates response data;
the target server transmits the generated response data back to the processing node;
the processing node transmits the response data back to the terminal, and the terminal processes and displays the response data correspondingly after receiving the response data;
the terminal, the local route, the processing node and the target server form the transmission path.
In particular, filtering or modifying the request according to configured policies and rules by the processing node may include data conversion to convert the data format in the request from one to another; modifications of the request header or the request body, adding, deleting or modifying certain specific fields.
Specifically, the terminal initiates the request through the network protocol, the local router selects a proper path according to the routing table and the network topology information, so that the data can be transmitted along an effective path, the loss of data transmission is reduced, the processing node filters or modifies the request according to the configured strategy and rule, the safety of data transmission is improved, the stability of the data processing process is improved, and when a plurality of terminals initiate the request at the same time, the processing node disperses and regulates the data flow, so that the server is ensured not to crash due to overload.
Specifically, the process of receiving the target data transmitted through each transmission path includes:
running a network packet grasping tool on the target node to capture the data packet passing through the transmission path;
and analyzing the captured data packet by using a corresponding analysis tool to extract the target data from the data packet.
Specifically, the embodiment of the invention captures all data packets passing through the transmission path by running the network packet capturing tool on the target node, thereby being beneficial to detecting abnormality, diagnosing problems and ensuring the integrity of data, the data packets captured by the packet capturing tool provide detailed views of data transmission in the network, increasing the transparency of the data transmission, being beneficial to carefully analyzing and managing network traffic, extracting target data from the captured data packets by analyzing the captured data packets, being beneficial to reducing the complexity of data processing and improving the efficiency of data processing.
Specifically, the process of determining user service information according to the target data includes:
analyzing the target data and extracting the needed key information from the target data;
matching the analyzed key information with user service information;
once the matching is successful, the corresponding data is extracted from the user service information to perform the corresponding service processing.
Specifically, the embodiment of the invention analyzes the target data, extracts the needed key information, improves the efficiency of the information matching process, provides accurate data basis for the subsequent user service information matching, rapidly positions the data related to the user requirements by matching the analyzed key information with the user service information, improves the efficiency of the data positioning process, extracts the corresponding data from the user service information for service processing, and is beneficial to utilizing the existing user data resources, thereby improving the efficiency of service processing.
Specifically, the process of receiving access requests of a plurality of terminals includes:
establishing a monitor by using Socket programming, and monitoring a designated port;
waiting for a connection request from a terminal and accepting the request and assigning an independent connection to handle the terminal;
opening up independent threads or processes for each accessed terminal to process;
in each independent thread or process, corresponding processing is carried out according to the request type and content of the access terminal;
and maintaining state information of each connection, wherein the state information comprises terminal information, connection time and connection state of the connection.
Specifically, the embodiment of the invention establishes the monitor and monitors the appointed port by using Socket programming, so that the information of the port is timely acquired, the server can process the requests of a plurality of terminals in parallel, thereby improving the processing efficiency of the server, opening up independent threads or processes for each accessed terminal to process the requests, ensuring the resource isolation between different terminals, ensuring the execution independence of different terminals, being beneficial to optimizing the distribution and utilization of data processing resources, enabling each terminal to obtain timely and efficient service, and carrying out corresponding processing according to the request type and content of the access terminal in each independent thread or process, thereby improving the processing flexibility of the system, and knowing and managing the connection condition with each terminal in real time by maintaining the state information of each connection, including the connection terminal information, the connection time and the connection state, so as to discover and process problems in time and improve the safety of the processing process.
Thus far, the technical solution of the present invention has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present invention is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present invention, and such modifications and substitutions will be within the scope of the present invention.
The foregoing description is only of the preferred embodiments of the invention and is not intended to limit the invention; various modifications and variations of the present invention will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. The multimedia access method based on the Internet of things is characterized by comprising the following steps of:
receiving access requests of a plurality of terminals to receive data to be transmitted after a transmission path is established;
evaluating the current data processing capacity and the data quantity to be processed of the terminal;
determining the number of processing nodes arranged between the terminal and a server based on the data processing capability and the amount of data to be processed of the terminal;
the processing nodes are arranged between any terminal and the server so as to establish a transmission path consisting of the terminal, at least one processing node and the server;
the server receives target data sent through each transmission path, so as to determine user service information according to the target data.
2. The internet of things-based multimedia access method of claim 1, wherein the evaluating the current data processing capability comprises:
collecting data processing efficiency in any at least two historical time periods;
if the data processing efficiency of the first historical period is greater than that of the second historical period, the current data processing capacity is in a reduced state;
if the data processing efficiency of the first history period is smaller than that of the second history period, the current data processing capacity is in a rising state;
the first history period is set before the second history period, and the duration of the first history period is equal to the duration of the second history period.
3. The internet of things-based multimedia access method of claim 2, wherein evaluating the amount of data to be processed for any of the terminals comprises:
determining data to be processed in a terminal;
determining audio features, image features and text features;
determining the corresponding quantity of the audio files, the image files and the text files in the data to be processed according to the audio features, the image features and the text features;
determining the data quantity D to be processed of the data to be processed by adopting a formula (1),
the formula (1) is: d=n1×a1+n2×a2+n3×a3, where n1 represents the number of image files, n2 represents the number of audio files, n3 represents the number of text files, a1 represents the image weight, a2 represents the audio weight, a3 represents the text weight, and a1 is greater than a2 is greater than a3.
4. A multimedia access method based on internet of things according to claim 3, wherein determining the number of processing nodes set between the terminal and the server based on the data processing capability and the amount of data to be processed of the terminal comprises:
determining to arrange a first number of processing nodes according to the data quantity to be processed so as to process video files, audio files and text files in the data to be processed;
if the data processing capacity shows an ascending trend, a plurality of first processing nodes are withdrawn in a mode of interval arrangement;
if the data processing capability shows a decreasing trend, the number of processing nodes is increased to increase the layout density of the processing nodes.
5. The internet of things-based multimedia access method of claim 4, wherein the manner of revoking the plurality of processing nodes in the manner of interval setting is:
setting a plurality of processing nodes between the server and the terminal to be P1-Pn respectively;
the remaining processing nodes after revocation are P1, P3, P5, … …, P2n-1, respectively, where n is greater than 3.
6. The internet of things-based multimedia access method of claim 5, wherein the process of routing the processing node between any of the terminals and a server comprises:
determining a data transmission distance of each processing node;
setting at least one processing node in the data transmission distance to realize data transmission between adjacent processing nodes;
the data processing distance is positively correlated with the transmit power of the processing node and is related to the number of shielding means within the data transmission distance, which shielding means are capable of weakening the actual transmit power of the processing node.
7. The internet of things-based multimedia access method of claim 6, wherein the process of establishing a transmission path comprised of the terminal, the at least one processing node and the server comprises:
the terminal initiates a request through a network protocol to request to access the server;
sending a request to a local router, wherein the local router selects a proper path according to a routing table and network topology information;
the local router forwards the request data to the processing node;
the processing node filters or modifies the request according to the configured strategy and rule;
the processing node transmits the processed request data to a target server;
after receiving the request, the target server carries out corresponding processing and generates response data;
the target server transmits the generated response data back to the processing node;
the processing node transmits the response data back to the terminal, and the terminal processes and displays the response data correspondingly after receiving the response data;
the terminal, the local route, the processing node and the target server form the transmission path.
8. The internet of things-based multimedia access method of claim 7, wherein the process of receiving the target data transmitted through each transmission path comprises:
running a network packet grasping tool on the target node to capture the data packet passing through the transmission path;
and analyzing the captured data packet by using a corresponding analysis tool to extract the target data from the data packet.
9. The internet of things-based multimedia access method of claim 8, wherein determining user service information from the target data comprises:
analyzing the target data and extracting the needed key information from the target data;
matching the analyzed key information with user service information;
once the matching is successful, the corresponding data is extracted from the user service information to perform the corresponding service processing.
10. The internet of things-based multimedia access method of claim 9, wherein the process of receiving access requests of the plurality of terminals comprises:
establishing a monitor by using Socket programming, and monitoring a designated port;
waiting for a connection request from a terminal and accepting the request and assigning an independent connection to handle the terminal;
opening up independent threads or processes for each accessed terminal to process;
in each independent thread or process, corresponding processing is carried out according to the request type and content of the access terminal;
and maintaining state information of each connection, wherein the state information comprises terminal information, connection time and connection state of the connection.
CN202410175364.7A 2024-02-07 2024-02-07 Multimedia access method based on Internet of things Active CN117729206B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410175364.7A CN117729206B (en) 2024-02-07 2024-02-07 Multimedia access method based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410175364.7A CN117729206B (en) 2024-02-07 2024-02-07 Multimedia access method based on Internet of things

Publications (2)

Publication Number Publication Date
CN117729206A true CN117729206A (en) 2024-03-19
CN117729206B CN117729206B (en) 2024-05-31

Family

ID=90205641

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410175364.7A Active CN117729206B (en) 2024-02-07 2024-02-07 Multimedia access method based on Internet of things

Country Status (1)

Country Link
CN (1) CN117729206B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109462652A (en) * 2018-11-21 2019-03-12 杭州电子科技大学 Terminating gateway load allocation method in smart home system based on hash algorithm
US20210029204A1 (en) * 2019-07-24 2021-01-28 Vmware, Inc. Methods and apparatus to generate migration recommendations to migrate services between geographic regions
US20210084100A1 (en) * 2018-10-24 2021-03-18 Huawei Technologies Co., Ltd. Packet Processing Method, Related Device, and Computer Storage Medium
US20210200587A1 (en) * 2018-09-11 2021-07-01 Huawei Technologies Co., Ltd. Resource scheduling method and apparatus
CN116614794A (en) * 2023-05-15 2023-08-18 重庆长安汽车股份有限公司 Mass data access method, electronic equipment and vehicle
CN116862549A (en) * 2023-05-30 2023-10-10 中国电信股份有限公司 Service cost determining method and device, electronic equipment and nonvolatile storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210200587A1 (en) * 2018-09-11 2021-07-01 Huawei Technologies Co., Ltd. Resource scheduling method and apparatus
US20210084100A1 (en) * 2018-10-24 2021-03-18 Huawei Technologies Co., Ltd. Packet Processing Method, Related Device, and Computer Storage Medium
CN109462652A (en) * 2018-11-21 2019-03-12 杭州电子科技大学 Terminating gateway load allocation method in smart home system based on hash algorithm
US20210029204A1 (en) * 2019-07-24 2021-01-28 Vmware, Inc. Methods and apparatus to generate migration recommendations to migrate services between geographic regions
CN116614794A (en) * 2023-05-15 2023-08-18 重庆长安汽车股份有限公司 Mass data access method, electronic equipment and vehicle
CN116862549A (en) * 2023-05-30 2023-10-10 中国电信股份有限公司 Service cost determining method and device, electronic equipment and nonvolatile storage medium

Also Published As

Publication number Publication date
CN117729206B (en) 2024-05-31

Similar Documents

Publication Publication Date Title
CN101176305B (en) Distributed communication service system and method for analyzing communication service flow
CN101933290B (en) Method for configuring acls on network device based on flow information
JP4102367B2 (en) Intelligent traffic management system for network and intelligent traffic management method using the same
US7508768B2 (en) Traffic measurement system and traffic analysis method thereof
CN101218804B (en) Method and system for dynamically rebalancing client sessions within a cluster of servers connected to a network
CN112491619B (en) Service customization network resource self-adaptive distribution method based on SDN
WO2017005223A1 (en) Information sharing method of smart electricity meter, smart electricity meter and acquisition router
WO2009099283A2 (en) Method for searching optimal hub location based on logistics cost estimation
CN101933313A (en) Method of resolving network address to host names in network flows for network device
JP6062034B2 (en) Processing control system, processing control method, and processing control program
CN115562879B (en) Computing power sensing method, computing power sensing device, electronic equipment and storage medium
CN113326946A (en) Method, device and storage medium for updating application recognition model
CN116980284B (en) Optical cable fiber distribution box operation and maintenance information transmission method and system based on Internet of things
EP4356632A1 (en) Security for iot platform built on a wireless sensor network
CN117527479B (en) Soft bus networking connection method, device, equipment and storage medium
CN101815317A (en) Method and system for measuring sensor nodes and sensor network
CN117729206B (en) Multimedia access method based on Internet of things
JP4826687B2 (en) Elevator integrated monitoring system
CN114546641B (en) Comprehensive energy control system based on Internet of things gateway and node intelligent box
CN106341474A (en) Data control center based on ICN and SDN network and content management method thereof
KR100842213B1 (en) The method and system delivering data by leading a user's request information prediction in network
CN110460632B (en) Order optimization method and system
CN115150297B (en) Data filtering and content evaluating method and system based on mobile internet
CN114490090B (en) Internet data center demand response optimization method based on multi-objective evolutionary algorithm
Jeon et al. Hierarchical Network Data Analytics Framework for 6G Network Automation: Design and Implementation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant