Multi-terminal synchronous interaction method, interaction device and interaction equipment
By using high-speed transmission protocols in the multi-terminal synchronization interaction method to establish low-latency network connections, identify and pair data terminals, and synchronize data based on the preset network model, the problems of data conflicts and sequence inconsistencies in multi-terminal synchronization are solved, and efficient, Secure multi-end data synchronization meets users’ needs for seamless data sharing.
Patent Information
- Application Number
- CN202410707033.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-03
AI Technical Summary
Existing multi-terminal synchronization interaction methods face the problems of data conflicts and inconsistent synchronization sequences. Especially when there are a large number of devices and the network environment is complex, it is difficult to achieve efficient and accurate multi-terminal synchronization.
By establishing a low-latency network connection based on high-speed transmission protocols, identifying and pairing data terminals, receiving data synchronization requests, synchronizing network data based on the preset network model, and determining the synchronization results after the synchronization is completed, obtaining target delivery requirements to deliver data to the corresponding terminal.
It achieves efficient, safe, and reliable multi-terminal synchronous interaction, ensures data consistency and security, provides a low-latency synchronization experience, and meets users' needs for seamless data sharing and updating between multi-terminal devices.
Smart Images

Figure CN118301171B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a multi-terminal synchronous interaction method, an interaction device and an interaction equipment. Background Art
[0002] With the rapid development of information technology, data synchronization and interaction between multiple devices have become a common requirement in modern life. Whether it is a smartphone, tablet, personal computer or smart watch, people expect these devices to share and update data seamlessly to provide a consistent user experience. However, traditional data synchronization methods often face many challenges, such as slow synchronization speed, difficulty in ensuring data consistency, and security issues.
[0003] Traditional multi-terminal synchronization methods usually rely on centralized servers for data storage and forwarding. Although this method can achieve basic data synchronization, it is often difficult to achieve real-time synchronization due to factors such as network latency and server load. In addition, centralized synchronization methods also face the risk of single point failure. Once a server fails, the entire synchronization system may be paralyzed.
[0004] In recent years, with the rise of distributed technology, cloud computing, and edge computing, multi-terminal synchronization methods have also been continuously developed and improved. Distributed synchronization methods reduce the reliance on central servers and improve the efficiency and reliability of synchronization through direct communication and collaboration between devices. However, these methods still face problems such as data conflicts and inconsistent synchronization order. Especially when there are a large number of devices and a complex network environment, achieving efficient and accurate multi-terminal synchronization is still a technical challenge. Summary of the invention
[0005] The main purpose of the present invention is to provide a multi-terminal synchronous interaction method, aiming to solve the technical problems of data conflict and inconsistent synchronization order faced by the existing multi-terminal synchronous interaction method, so as to provide a multi-terminal synchronous interaction method that can achieve efficiency, security and reliability.
[0006] To achieve the above object, the present invention provides a multi-terminal synchronous interaction method, which is applied to audio and video transmission, and the method comprises:
[0007] Based on high-speed transmission protocols, establish low-latency network connections for multiple data terminals;
[0008] Performing data identification on the plurality of data terminals, and pairing the data terminals based on the identification results;
[0009] receiving a data synchronization request sent by one or more of the data terminals to other data terminals;
[0010] Based on the preset network model and data synchronization request, synchronize network data, and after the synchronization is completed, determine the synchronization result;
[0011] When the synchronization result is successful, the target delivery demand for that time is obtained, and data is delivered to the corresponding data terminal based on the target delivery demand.
[0012] In one embodiment, the step of performing data identification on the plurality of data terminals and pairing the data terminals based on the identification results includes:
[0013] extracting characteristic information of a plurality of said data terminals;
[0014] Based on the first algorithm and the feature information, identifying similarities and differences between the data terminals, determining similarity scores, and generating corresponding recognition results;
[0015] According to the similarity score and the recognition result, a unique identifier corresponding to each data terminal is generated, and a corresponding pairing strategy is constructed to match data terminals with high similarity scores together;
[0016] According to the pairing strategy, the data terminals are paired and a plurality of synchronous data groups are determined for data transmission and sharing.
[0017] In one embodiment, the step of generating a unique identifier corresponding to each data terminal according to the similarity score and the recognition result, and constructing a corresponding pairing strategy to match data terminals with high similarity scores together includes:
[0018] Based on the second algorithm and the recognition result, determining the classification of each of the data terminals, and determining the priority corresponding to each of the data terminals;
[0019] generating a unique identifier of the data terminal according to the classification result and the priority;
[0020] A corresponding pairing strategy is constructed according to the classification result, the priority and the unique identifier.
[0021] In one embodiment, the step of synchronizing network data based on a preset network model and a data synchronization request, and determining a synchronization result after the synchronization is completed, includes:
[0022] Establish a synchronization mechanism for network data based on the preset network model;
[0023] According to the synchronization mechanism, upon receiving the data synchronization request, synchronizing the network data to the target location;
[0024] When all the network data are synchronized to the target location, the amount of synchronized data and the duration of synchronization are calculated and recorded;
[0025] A corresponding synchronization result is generated according to the amount of synchronized data and the duration of the synchronization.
[0026] In one embodiment, the step of generating a corresponding synchronization result according to the amount of synchronized data and the duration of synchronization includes:
[0027] Determining a data synchronization rate according to the amount of synchronized data and the duration of synchronization;
[0028] Determining a packet loss rate during data synchronization according to the amount of synchronized data;
[0029] Generate a corresponding synchronization result according to the preset synchronization efficiency, the synchronization rate and the packet loss rate;
[0030] If the synchronization result is successful, generate a corresponding synchronization success result;
[0031] If the synchronization result is a failure, the synchronization mechanism is optimized and the network data is resynchronized.
[0032] In one embodiment, the data terminal includes a mobile phone, a first computer, a second computer or a projector;
[0033] The step of receiving a data synchronization request sent by one or more data terminals to other data terminals includes:
[0034] receiving a data synchronization request sent by the mobile phone and / or the first computer to the second computer and / or the projector;
[0035] The steps of synchronizing network data based on the preset network model and the data synchronization request, and determining the synchronization result after the synchronization is completed, include:
[0036] Based on the preset network model and the data synchronization request, determining a synchronization mechanism of network data between the mobile phone or the first computer and the second computer or the projector;
[0037] According to the synchronization mechanism, upon receiving the data synchronization request sent by the mobile phone and / or the first computer, synchronizing the corresponding network data on the mobile phone and / or the first computer to the target location, the network data including text, pictures, videos, audio or files;
[0038] After all the network data are synchronized to the target location, the packet loss rate and synchronization rate during the synchronization process are determined;
[0039] Generate the synchronization result of the current synchronization according to the preset synchronization efficiency, the packet loss rate during the current synchronization process, and the synchronization rate during the current synchronization process;
[0040] When the synchronization result is successful, the step of obtaining the current target delivery demand and delivering data to the corresponding data terminal based on the target delivery demand includes:
[0041] If the synchronization result is successful, obtaining the target delivery demand of the mobile phone or the first computer at that time;
[0042] According to the target delivery demand of the mobile phone or the first computer, the data delivery of the mobile phone or the first computer to the second computer or the projector is executed, and based on the network priority, the data of the mobile phone or the data of the first computer is delivered to the corresponding second computer or the projector, so that the data of the mobile phone or the data of the first computer can be projected and displayed through the display of the second computer or the projector.
[0043] In one embodiment, it further includes:
[0044] Obtain multiple historical network data and extract key factors affecting network performance from the historical network data;
[0045] According to the key factors, determining a corresponding basic mathematical model;
[0046] According to the basic mathematical model, define the input variables and output variables of the basic mathematical model, and set corresponding model parameters and constraints;
[0047] Constructing a target mathematical model according to the basic mathematical model, the input variables, the output variables and the constraint conditions;
[0048] Based on the target mathematical model, simulate the network operation status and generate corresponding network operation results;
[0049] According to the network operation results, the target mathematical model is trained and the model parameters are adjusted to generate an optimal network model.
[0050] In one embodiment, when the synchronization result is successful, the step of obtaining the current target delivery demand and delivering data to the corresponding data terminal based on the target delivery demand includes:
[0051] When the synchronization result is successful, obtaining the current target delivery demand;
[0052] Determine the priority of network load and data transmission based on the preset delivery strategy and the target delivery requirements;
[0053] Delivering data to corresponding data terminals according to the network load and data transmission priority;
[0054] After data delivery is completed, evaluate the data delivery results and optimize the delivery strategy.
[0055] In addition, to achieve the above-mentioned purpose, the present invention also provides an interaction device, which includes: a memory, a processor, and a multi-terminal synchronous interaction program stored on the memory and executable on the processor, wherein the multi-terminal synchronous interaction program is configured to implement the multi-terminal synchronous interaction method as described above.
[0056] In addition, to achieve the above-mentioned purpose, the present invention also provides an interactive device, including the interactive apparatus as described above.
[0057] The embodiment of the present invention establishes a low-latency network connection for multiple data terminals based on a high-speed transmission protocol, then performs data identification on the multiple data terminals through the low-latency network, and pairs the data terminals based on the identification results. After the pairing is completed, the data synchronization request sent by one or more data terminals to other data terminals is received, and finally, based on a preset network model and data synchronization request, the network data is synchronized, and after the synchronization is completed, the synchronization result is determined. When the synchronization result is successful, the target delivery demand for the time is obtained, and the data is delivered to the corresponding data terminal. It can better adapt to different network environments and device types, ensure data consistency and security, and provide a low-latency synchronization experience at the same time to meet users' needs for seamless data sharing and updating between multiple devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0059] Figure 1 It is a flowchart of a multi-terminal synchronous interaction method according to an embodiment of the present invention;
[0060] Figure 2 A schematic diagram of a multi-terminal synchronous interaction method flow chart according to another embodiment of the present invention;
[0061] Figure 3 A schematic diagram of a multi-terminal synchronous interaction method flow chart according to another embodiment of the present invention;
[0062] Figure 4 A schematic diagram of a multi-terminal synchronous interaction method flow chart according to another embodiment of the present invention;
[0063] Figure 5 A schematic diagram of a multi-terminal synchronous interaction method flow chart according to another embodiment of the present invention;
[0064] Figure 6 A schematic diagram of a multi-terminal synchronous interaction method flow chart according to another embodiment of the present invention;
[0065] Figure 7 A schematic diagram of a multi-terminal synchronous interaction method flow chart according to another embodiment of the present invention;
[0066] Figure 8 The present invention is a flowchart of a multi-terminal synchronous interaction method according to another embodiment of the present invention.
[0067] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0068] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments, and the well-known modules, units and their connections, links, communications or operations are not shown or described in detail. In addition, the described features, architectures or functions can be combined in any way in one or more embodiments. It should be understood by those skilled in the art that the various embodiments described below are only for illustration and not for limiting the scope of protection of the present invention. It can also be easily understood that the modules or units or processing methods in the various embodiments described herein and shown in the drawings can be combined and designed according to various different configurations. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0069] The limitations of various nouns or methods referred to in the following embodiments, except for those that are logically untenable, are generally based on the broad concepts that can be implemented under the premise of the disclosure in the embodiments. Under such understanding, the various specific subordinate specific limitations of the nouns or methods should be regarded as the inventive content of the present invention, and should not be understood narrowly or interpreted in a biased manner on the grounds that the specification does not disclose the specific limitations. Similarly, under the premise that it can be implemented logically, the order of the steps in the method is flexible and changeable, and the specific subordinate specific limitations in the broad concepts of various nouns or methods all fall within the scope of protection of the present invention.
[0070] In order to solve the problems existing in the prior art, the present invention proposes a multi-terminal synchronous interaction method; it can be understood that an interaction device for storing and executing the following method is provided in the interaction device, and the interaction device can be implemented by a main controller, such as MCU (Micro controller Unit), DSP (Digital Signal Process), FPGA (Field Programmable Gate Array), SOC (System On Chip), etc.
[0071] Reference Figure 1 , Figure 1 The present invention is a flowchart of a multi-terminal synchronous interaction method according to an embodiment of the present invention. In an embodiment of the present invention, the multi-terminal synchronous interaction method is applied to audio and video transmission. The multi-terminal synchronous interaction method includes steps S100-S500, wherein:
[0072] S100, based on high-speed transmission protocol, establish low-latency network connection for multiple data terminals;
[0073] S200, performing data identification on the plurality of data terminals, and pairing the data terminals based on the identification results;
[0074] S300, receiving a data synchronization request sent by one or more data terminals to other data terminals;
[0075] S400, synchronizing network data based on a preset network model and a data synchronization request, and determining a synchronization result after synchronization is completed;
[0076] S500: When the synchronization result is successful, the target delivery demand of the current time is obtained, and data is delivered to the corresponding data terminal based on the target delivery demand.
[0077] In this embodiment, the low-latency network connection can reduce the delay of data transmission and improve the efficiency and real-time performance of data synchronization. When establishing a low-latency network connection for multiple data terminals, the present invention adopts a high-speed transmission protocol, such as 5G, Wi-Fi 6, etc., to ensure that data can be transmitted efficiently and quickly between different data terminals.
[0078] Step S100 may include: building a network link between multiple data terminals based on the TCP / IP protocol or the UDP protocol; monitoring the real-time bandwidth, delay and packet loss rate of the network link to generate corresponding monitoring results; and adjusting the connection parameters in the network link according to the monitoring results to optimize the operating delay of the network link.
[0079] In this embodiment, in order to establish a low-latency network connection between multiple data terminals, a network link between multiple data terminals is first constructed based on the TCP / IP protocol or the UDP protocol. These protocols are widely used in network communications, and they can provide reliable data transmission and communication mechanisms, and provide basic network connection support for data synchronization. After the network link is constructed, it is necessary to monitor the real-time bandwidth, delay and packet loss rate of the network link to generate corresponding monitoring results. These indicators can reflect the actual operating status of the network link, which is crucial for evaluating and optimizing network connection performance. By monitoring these indicators in real time, problems and bottlenecks in the network link can be discovered in a timely manner, providing a basis for subsequent optimization operations.
[0080] According to the monitoring results, the connection parameters in the network link can be adjusted to optimize the operation delay of the network link. The connection parameters include the buffer size, data packet size, retransmission mechanism, etc. of the network connection, which can affect the speed and efficiency of data transmission. By adjusting these parameters, the delay of the network link can be reduced to a certain extent, and the real-time and accuracy of data transmission can be improved. After optimizing the network connection, a low-latency network connection can be achieved between multiple data terminals, providing an efficient and stable network channel for data synchronization. This low-latency network connection can ensure that data is quickly transmitted and shared between multiple data terminals, improving the efficiency and reliability of data synchronization.
[0081] It should be noted that the performance and stability of network connections are affected by many factors, such as the performance of network devices, network topology, network load, etc. Therefore, in actual applications, it is necessary to monitor and optimize network connections according to specific circumstances to ensure smooth data synchronization and provide reliable network support for data synchronization. This low-latency network connection can not only improve the efficiency and performance of data synchronization, but also reduce the cost and complexity of data synchronization, bringing users a better data synchronization experience.
[0082] In this embodiment, for data identification, this embodiment determines the compatibility and matching degree between the data terminals by identifying the type, function, configuration and other information of the data terminal, and then pairs them. This pairing can be based on the matching of factors such as device type, operating system, application scenario, etc., to ensure that data can be correctly and completely synchronized between different devices. When the data terminal pairing is completed, this embodiment can receive data synchronization requests sent by one or more data terminals to other data terminals. These requests may come from manual operations of the user or from automatic triggering of the application. Based on these requests, this embodiment synchronizes network data based on the preset network model and data synchronization request.
[0083] It can be understood that the preset network model refers to a network model established based on factors such as network topology, data transmission protocol, and synchronization strategy. Through this model, the transmission path, transmission method, and synchronization strategy of data between different data terminals can be determined, thereby ensuring that the data synchronization process can be completed efficiently and accurately. After the synchronization is completed, the present invention will also determine the synchronization result, including checking whether the data is successfully synchronized to the target data terminal, whether the synchronized data is complete, whether there is data loss or error, etc. This helps to promptly discover and solve problems that may arise during the synchronization process and ensure the consistency and accuracy of the data.
[0084] When the synchronization result is successful, this embodiment will continue to obtain the current target delivery demand and deliver data to the corresponding data terminal based on the demand. The target delivery demand may include the target receiving terminal of the data, the transmission format of the data, the display method of the data, etc. According to these requirements, the present invention accurately delivers the data to the designated data terminal to achieve data synchronization and sharing between multiple terminals. This multi-terminal synchronous interaction method can meet the data synchronization requirements in various application scenarios, improve the efficiency and convenience of data processing, and can be widely used in scenarios such as audio and video transmission, improve the efficiency and real-time performance of data processing, and enhance user experience.
[0085] In addition, this embodiment may further include some optimization measures. For example, during the data synchronization process, a data verification mechanism may be added to ensure the integrity and accuracy of the data; at the same time, the data transmission rate and synchronization strategy may be dynamically adjusted according to the network status and the amount of data to further optimize the synchronization efficiency and stability.
[0086] Through the multi-terminal synchronous interaction method of this embodiment, efficient and real-time data synchronization between multiple data terminals can be achieved, thereby improving the user experience between different devices.
[0087] It can be understood that the present embodiment can realize one-to-one, one-to-many, many-to-one and many-to-many multi-terminal synchronous interaction with other data terminals, thereby meeting the needs of various practical application scenarios. For example, there are multiple devices in the same local area network at the same time. At this time, assuming that there are A, B, C, D and E, it is possible for A's data terminal to synchronize with B's data terminal alone, it is possible for A's data terminal to synchronize with one or more of B, C, D and E, it is possible for one or more of B, C, D and E to transmit data to A and perform multi-terminal synchronous interaction operations, it is possible for at least two of A, B, C, D and E to interact with data. In actual operation, it is assumed that A, D and E are mobile phones, B is a computer, C is a projector, and it is assumed that they are all in the same local area network at this time, and low For time-delay network connection, first, data is identified for the five data terminals A, B, C, D and E, and the data terminals are paired to confirm that the pairing can be performed normally. At this time, if the interactive device receives a data synchronization request from mobile phone A to projector C, the network data of mobile phone A and projector C are synchronized based on the preset network model and data synchronization request, and the synchronization status is monitored in real time to determine whether the synchronization is successful or failed. If the synchronization is successful, data transmission can be performed, such as projecting the screen content on the mobile phone onto the projector to achieve one-to-one synchronous interaction. The same applies to other one-to-many, many-to-one and many-to-many multi-terminal synchronous interactions.
[0088] At the same time, by optimizing network connection and data identification technology, this embodiment can reduce the delay and error rate of data synchronization and improve the efficiency and accuracy of synchronization. In addition, the present invention also has good compatibility and scalability, and can support synchronous interaction between data terminals of various types and functions.
[0089] In the process of synchronizing network data, we can increase the consideration of network load and data transmission priority to achieve a more efficient and stable synchronization effect. First, according to the network load and data transmission priority, the data is delivered to the corresponding data terminal. This step ensures that the data transmission in the network is more orderly and efficient, avoiding network congestion and transmission delay problems. Through priority control, important or urgent data can be transmitted first to improve the real-time and accuracy of synchronization. Secondly, after the data delivery is completed, the data delivery results are evaluated and the delivery strategy is optimized. This step adjusts and optimizes the delivery strategy through feedback analysis of the delivery results to further improve the efficiency and stability of synchronization. For example, according to the delivery results, the data transmission priority is adjusted, the data segmentation and transmission method are optimized, etc., to better adapt to changes in network environment and device performance.
[0090] The embodiment of the present invention establishes a low-latency network connection for multiple data terminals based on a high-speed transmission protocol, then performs data identification on the multiple data terminals through the low-latency network, and pairs the data terminals based on the identification results. After the pairing is completed, data synchronization requests sent by one or more data terminals to other data terminals are received, and finally, network data is synchronized based on a preset network model and data synchronization request. After the synchronization is completed, the synchronization result is determined. The embodiment of the present invention can adapt to different network environments and device types, ensure data consistency and security, and provide a low-latency synchronization experience to meet users' needs for seamless data sharing and updating between multiple devices.
[0091] Further, see Figure 2 Another embodiment of the present invention provides a multi-terminal synchronous interaction method based on the above Figure 1 In the embodiment shown, the step of performing data identification on the plurality of data terminals and pairing the data terminals based on the identification results includes S210-S240, wherein:
[0092] S210, extracting characteristic information of a plurality of data terminals;
[0093] S220, based on the first algorithm and the feature information, identifying similarities and differences between the data terminals, determining a similarity score, and generating a corresponding recognition result;
[0094] S230, generating a unique identifier corresponding to each data terminal according to the similarity score and the recognition result, and constructing a corresponding pairing strategy to match data terminals with high similarity scores together;
[0095] S240: Pair the data terminals according to the pairing strategy and determine a plurality of synchronous data groups for data transmission and sharing.
[0096] In this embodiment, extracting feature information of multiple data terminals is a key step to achieve accurate data identification and pairing. Feature information includes but is not limited to device type, operating system version, hardware configuration, network environment, and user behavior data. The feature information of these data terminals can be obtained through the device's own API interface, or through manual user input or third-party service provision.
[0097] Next, based on the first algorithm and the extracted feature information, this embodiment identifies the similarities and differences between the data terminals. This can be achieved through machine learning methods such as clustering algorithms or classification algorithms. The clustering algorithm can group the data terminals according to the similarity of the feature information, so that the devices in the same group have similar properties and functions. The classification algorithm can classify the data according to the preset category labels, thereby determining the differences and matching between different devices.
[0098] By identifying the similarities and differences of data terminals, this embodiment can generate a similarity score, which reflects the degree of matching between different data terminals. Based on this similarity score and the identification result, a unique identifier can be generated for each data terminal, and a corresponding pairing strategy can be constructed. This pairing strategy is intended to match data terminals with high similarity scores together to achieve more efficient and accurate data synchronization and sharing.
[0099] Finally, according to the constructed pairing strategy, the embodiment of the present invention will pair each data terminal and determine multiple synchronization data groups. Each synchronization data group contains a group of successfully paired data terminals, which can transmit and share data. The pairing strategy can be the communication efficiency between data terminals, the demand for data synchronization, the user's operating habits, etc.; in this way, seamless data interaction between multiple devices can be achieved, improving the user experience and work efficiency.
[0100] It is worth noting that the multi-terminal synchronous interaction method in this embodiment is not only applicable to one-to-one synchronization scenarios, but can also be easily extended to one-to-many, many-to-one, and many-to-many synchronization scenarios. At the same time, by continuously optimizing network connections and data identification technologies, the present invention can reduce the delay and error rate of data synchronization and improve the efficiency and accuracy of synchronization. In addition, the present invention also has good compatibility and scalability, and can support synchronous interaction between data terminals of various types and functions.
[0101] Further, see Figure 3 Another embodiment of the present invention provides a multi-terminal synchronous interaction method based on the above Figure 2 In the embodiment shown, the steps of generating a unique identifier corresponding to each data terminal according to the similarity score and the recognition result, and constructing a corresponding pairing strategy to match data terminals with high similarity scores together include S231-S233, wherein:
[0102] S231, determining the classification of each of the data terminals based on the second algorithm and the recognition result to generate a classification result, and determining the priority corresponding to each of the data terminals;
[0103] S232, generating a unique identifier of the data terminal according to the classification result and the priority;
[0104] S233: Construct a corresponding pairing strategy according to the classification result, the priority and the unique identifier.
[0105] In this embodiment, the second algorithm may be a classification algorithm based on machine learning; the data terminals may be classified according to factors such as the similarity and performance of the data terminals, and the classification corresponding to each of the data terminals may be determined to generate classification results, and the data terminals may be prioritized according to factors such as user needs and frequency of use. Based on the classification results and priorities, this embodiment generates a unique identifier for each data terminal. This identifier may be a device ID, serial number, MAC address, etc., which can uniquely identify a data terminal. Through the unique identifier, the system can easily track and manage the status and data synchronization of each data terminal.
[0106] According to the classification results, priority and unique identifier, this embodiment will construct a corresponding pairing strategy. The pairing strategy aims to match data terminals with high similarity and high priority together to achieve efficient and stable data synchronization. The pairing strategy can be generated based on preset rules, algorithms or user-defined settings to meet data synchronization requirements under different scenarios and needs.
[0107] In this way, the present embodiment can achieve accurate pairing and efficient synchronization of multiple data terminals. It not only improves the accuracy and real-time performance of data synchronization, but also reduces the risk of network congestion and transmission delay. At the same time, through the management of unique identifiers and pairing strategies, the interactive device can better track and manage the data synchronization process, making it easier for users to perform subsequent data management and analysis.
[0108] It is worth noting that the multi-terminal synchronous interaction method in this embodiment is not only applicable to fixed network environments, but also to mobile network environments. When synchronizing data between mobile devices, the power consumption and traffic consumption of data transmission can be reduced by optimizing network connection and data transmission strategies, thereby improving user experience and device endurance.
[0109] Further, see Figure 4 Another embodiment of the present invention provides a multi-terminal synchronous interaction method based on the above Figure 3 In the embodiment shown, the steps of synchronizing network data based on the preset network model and the data synchronization request, and determining the synchronization result after the synchronization is completed, include S410-S440, wherein:
[0110] S410, establishing a synchronization mechanism for network data according to a preset network model;
[0111] S420, according to the synchronization mechanism, upon receiving the data synchronization request, synchronizing the network data to the target location;
[0112] S430, when all the network data are synchronized to the target location, calculating and recording the synchronized data volume and synchronization duration;
[0113] S440: Generate a corresponding synchronization result according to the amount of synchronized data and the duration of synchronization.
[0114] In this embodiment, the preset network model can be set according to the actual application scenario and requirements, and can be a distributed network model, a cloud computing network model, or an edge computing network model, etc. According to the characteristics and advantages of the network model, this embodiment will establish a corresponding network data synchronization mechanism to ensure that data can be stably and efficiently transmitted and shared between multiple data terminals.
[0115] When receiving a data synchronization request, the interactive device will synchronize the network data from the source location to the target location according to the synchronization mechanism. During the synchronization process, the interactive device will monitor the data transmission status to ensure the integrity and accuracy of the data. At the same time, the interactive device will also record the amount of synchronized data and the duration of synchronization to facilitate subsequent analysis and evaluation of the synchronization results.
[0116] When all network data is synchronized to the target location, the interactive device will generate corresponding synchronization results based on the amount of synchronized data and the duration of synchronization. The synchronization results may include indicators such as synchronization speed, synchronization efficiency, and synchronization success rate, which can reflect the effect and performance of data synchronization. Through the analysis of synchronization results, users can understand the data synchronization situation and optimize the data synchronization strategy and configuration accordingly.
[0117] Through the above steps, this embodiment can achieve accurate synchronization and efficient transmission of network data. Whether the data is synchronized between local devices or between cloud servers, the accuracy and consistency of the data can be ensured. At the same time, through the recording and analysis of the synchronization results, the user can also understand the details of the data synchronization, providing strong support for subsequent data management and decision-making.
[0118] In addition, the multi-terminal synchronous interaction method of the embodiment of the present invention also has good scalability and flexibility. As the amount of data increases and the synchronization requirements change, users can adjust the network model, synchronization mechanism, and synchronization strategy according to actual needs to adapt to different application scenarios and requirements. This flexibility enables the present invention to be applicable to data synchronization scenarios of various scales and types, providing users with a more convenient and efficient data synchronization experience.
[0119] Further, see Figure 5Another embodiment of the present invention provides a multi-terminal synchronous interaction method based on the above Figure 4 In the embodiment shown, the step of generating a corresponding synchronization result according to the amount of synchronized data and the duration of synchronization includes S441-S445, wherein:
[0120] S441, determining a data synchronization rate according to the amount of synchronized data and the duration of synchronization;
[0121] S442, determining a packet loss rate during data synchronization according to the synchronized data volume;
[0122] S443, generating a corresponding synchronization result according to the preset synchronization efficiency, the synchronization rate and the packet loss rate;
[0123] S444. If the synchronization result is successful, generate a corresponding synchronization success result;
[0124] S445: If the synchronization result is a failure, optimize the synchronization mechanism and resynchronize the network data.
[0125] In this embodiment, the data synchronization rate can be determined according to the amount of data synchronized and the duration of synchronization. The synchronization rate refers to the amount of data synchronized per unit time, which reflects the speed and efficiency of data synchronization. By calculating the synchronization rate, the performance and speed of data synchronization can be evaluated, so that the optimization plan for data can be better determined.
[0126] In addition, based on the amount of synchronized data, the packet loss rate during the data synchronization process can also be determined. The packet loss rate refers to the ratio of the number of data packets lost during the data synchronization process to the total number of data packets, which reflects the accuracy and reliability of data synchronization. By calculating the packet loss rate, it is possible to understand the possible problems and bottlenecks in the data synchronization process, so as to take corresponding measures to improve it.
[0127] According to the preset synchronization efficiency, the synchronization rate and the packet loss rate, a corresponding synchronization result can be generated. The preset synchronization efficiency is set according to the actual application scenario and requirements, and it reflects the expected effect of data synchronization. By comparing the actual synchronization rate and packet loss rate with the preset synchronization efficiency, it can be determined whether the data synchronization has achieved the expected effect.
[0128] If the synchronization result is successful, that is, the actual synchronization rate and packet loss rate meet the preset synchronization efficiency requirements, then the corresponding synchronization success result will be generated. This means that the data synchronization process has been successfully completed, the data has been successfully synchronized to the target location, and the synchronization effect is as expected.
[0129] However, if the synchronization result is a failure, that is, the actual synchronization rate and packet loss rate do not meet the preset synchronization efficiency requirements, then the synchronization mechanism will be optimized and the network data will be resynchronized. When optimizing the synchronization mechanism, you can consider adjusting the parameters of the network connection, optimizing the data transmission strategy, adding data verification and error correction mechanisms, etc., to improve the accuracy and efficiency of data synchronization. After the optimization is completed, the data synchronization operation will be re-executed until the synchronization result is successful. The results of data synchronization can be comprehensively evaluated and analyzed, and optimized and adjusted according to the actual situation. This can not only ensure the accuracy and reliability of data synchronization, but also improve the efficiency and performance of data synchronization.
[0130] Further, see Figure 6 Another embodiment of the present invention provides a multi-terminal synchronous interaction method based on the above Figure 1 In the illustrated embodiment, the data terminal includes a mobile phone, a first computer, a second computer or a projector;
[0131] The step of receiving a data synchronization request sent by one or more data terminals to other data terminals includes:
[0132] S310, receiving a data synchronization request sent by the mobile phone and / or the first computer to the second computer and / or the projector;
[0133] The steps of synchronizing network data based on the preset network model and the data synchronization request, and determining the synchronization result after the synchronization is completed, include:
[0134] S450, determining a synchronization mechanism of network data between the mobile phone or the first computer and the second computer or the projector based on the preset network model and the data synchronization request;
[0135] S460: according to the synchronization mechanism, upon receiving the data synchronization request sent by the mobile phone and / or the first computer, synchronize the corresponding network data on the mobile phone and / or the first computer to a target location, wherein the network data includes text, pictures, videos, audio or files;
[0136] S470, when all the network data are synchronized to the target location, determining the packet loss rate and synchronization rate during the synchronization process;
[0137] S480, generating a synchronization result for the current synchronization according to a preset synchronization efficiency, a packet loss rate during the current synchronization process, and a synchronization rate during the current synchronization process;
[0138] When the synchronization result is successful, the step of obtaining the current target delivery demand and delivering data to the corresponding data terminal based on the target delivery demand includes:
[0139] S510: If the synchronization result is successful, obtain the target delivery demand of the mobile phone or the first computer at that time;
[0140] S520: Execute data delivery from the mobile phone or the first computer to the second computer or the projector according to the target delivery demand of the mobile phone or the first computer, and deliver the data of the mobile phone or the first computer to the corresponding second computer or the projector based on network priority, so that the data of the mobile phone or the first computer can be projected and displayed through the display of the second computer or the projector.
[0141] In this embodiment, there are various types of data terminals, including mobile phones, computers, projectors, etc. These devices play an important role in daily life and work. This embodiment can support data synchronization and interaction between these devices, providing users with a more convenient and efficient data sharing experience.
[0142] During the data synchronization process, this embodiment can determine the network data synchronization mechanism between different data terminals according to the received data synchronization request. This mechanism can be flexibly adjusted according to the type of device, network status and synchronization requirements to ensure that data can be accurately and quickly synchronized to the target location. Whether it is text, pictures, videos, audio or files, the present invention can achieve efficient data synchronization.
[0143] When data synchronization is completed, the embodiment of the present invention will also evaluate the synchronization result. By calculating the packet loss rate and synchronization rate during the synchronization process and comparing them with the preset synchronization efficiency, it can be determined whether the data synchronization is successful. If the synchronization result is successful, the synchronized data can be delivered to the corresponding data terminal according to the target delivery requirements to achieve data sharing and display.
[0144] In addition, the embodiment of the present invention also considers the issue of network priority. When data is delivered between multiple data terminals, the order and target device of data delivery can be determined according to the network priority. This ensures that data can be delivered to devices with better network conditions and more suitable for display first, thereby improving the effect of data delivery and user experience.
[0145] This embodiment can support data synchronization and interaction between multiple data terminals, provide an efficient and accurate data synchronization mechanism, and flexibly adjust and optimize according to actual needs. At the same time, this embodiment can also evaluate and analyze the data synchronization results to ensure the accuracy and reliability of data synchronization. These features make this embodiment have significant advantages and competitiveness in the field of multi-terminal data synchronization and interaction.
[0146] Further, see Figure 7Another embodiment of the present invention provides a multi-terminal synchronous interaction method based on the above Figure 1 The embodiment shown also includes S500-S1000, wherein:
[0147] S500, obtaining multiple historical network data, and extracting key factors affecting network performance from the historical network data;
[0148] S600, determining a corresponding basic mathematical model according to the key factors;
[0149] S700, defining input variables and output variables of the basic mathematical model according to the basic mathematical model, and setting corresponding model parameters and constraint conditions;
[0150] S800, constructing a target mathematical model according to the basic mathematical model, the input variables, the output variables and the constraint conditions;
[0151] S900, simulating a network operation state based on the target mathematical model and generating a corresponding network operation result;
[0152] S1000: According to the network operation result, the target mathematical model is trained and the model parameters are adjusted to generate an optimal network model.
[0153] In this embodiment, the historical network data includes network topology, data transmission speed or network delay, bandwidth utilization, delay, packet loss rate, throughput, etc. Through in-depth analysis of historical network data, key factors affecting network performance can be extracted, such as the performance of network equipment, network topology, network load, etc. These factors have an important impact on the stability and efficiency of network connections, so they need to be fully considered when building a network model. After determining the key factors, the corresponding basic mathematical model can be determined based on these factors. The basic mathematical model is a basic framework for mathematically describing network performance, which can include network traffic models, network delay models, network bandwidth models, etc. These models can quantify and predict network performance based on the basic principles and laws of network operation.
[0154] Then define the input variables and output variables of the basic mathematical model, and set the corresponding model parameters and constraints. The input variables can include network topology, performance parameters of network equipment, data transmission volume, etc., while the output variables can be key performance indicators such as network delay, bandwidth utilization, packet loss rate, etc. The setting of model parameters and constraints can be flexibly adjusted according to actual application scenarios and requirements to ensure the accuracy and practicality of the model. Based on the basic mathematical model, input variables, output variables and constraints, a target mathematical model can be constructed. The target mathematical model is the core tool for optimizing and predicting network performance. It can output the optimized network performance indicators based on the input variables and constraints. By simulating the network operation status and generating the corresponding network operation results, the target mathematical model can be trained and the model parameters can be adjusted to generate the optimal network model.
[0155] This embodiment can provide the most optimized network configuration and parameter setting scheme according to the actual application scenarios and requirements, thereby improving the stability and efficiency of network connection. This method of building a network model based on historical network data can make full use of the information and rules in the historical data to provide more reliable and efficient network support for data synchronization. In practical applications, the parameters and constraints of the model can be flexibly adjusted according to specific business needs and network environment to adapt to different data synchronization scenarios and requirements.
[0156] Further, see Figure 8 Another embodiment of the present invention provides a multi-terminal synchronous interaction method based on the above Figure 1 In the embodiment shown, when the synchronization result is successful, the step of obtaining the current target delivery demand and delivering data to the corresponding data terminal based on the target delivery demand includes S530-S560, wherein:
[0157] S530: When the synchronization result is successful, obtaining the current target delivery demand;
[0158] S540, determining the network load and data transmission priority based on the preset delivery strategy and the target delivery requirement;
[0159] S550, delivering data to a corresponding data terminal according to the network load and the priority of data transmission;
[0160] S560: After the data delivery is completed, the data delivery results are evaluated and the delivery strategy is optimized.
[0161] In this embodiment, the target delivery requirements may include point-to-point delivery, point-to-face delivery, face-to-point delivery, or face-to-face delivery. In point-to-point delivery, data is directly transmitted from one data terminal to another specific data terminal. This method is suitable for data transmission scenarios that require high security and accuracy. In point-to-face delivery, data is transmitted from one data terminal to multiple target data terminals. This method is suitable for broadcast data transmission, such as pushing the same message or notification to multiple users. In face-to-face delivery, multiple data terminals exchange data through direct connection. This method is suitable for scenarios that require fast and efficient data synchronization, such as file sharing or collaborative editing between multiple users.
[0162] In this embodiment, the preset delivery strategy may include delivery strategies based on factors such as data priority, network conditions, and terminal performance. These strategies can be formulated and adjusted based on historical data and real-time data to ensure the efficiency and accuracy of data delivery. After determining the target delivery requirements and delivery strategy, the data can be delivered to the corresponding data terminal based on the network load and the priority of data transmission. The network load and the priority of data transmission can be set based on factors such as the importance and urgency of the data and the availability of network bandwidth. For example, for important and urgent data, a higher priority can be set to ensure that it is transmitted and delivered first. After the data delivery is completed, it is also necessary to evaluate the delivery results of the data and optimize the delivery strategy based on the evaluation results. The evaluation data may include indicators such as the success rate of data transmission, transmission speed, and packet loss rate. By analyzing these indicators, the effect and problems of data delivery can be understood, and the delivery strategy can be adjusted and optimized accordingly.
[0163] This embodiment can more accurately control the data delivery process by introducing target delivery requirements and delivery strategies, ensuring that data can be transmitted to the target data terminal in the expected manner and order. At the same time, by evaluating the delivery results and optimizing the delivery strategy, the efficiency and accuracy of data delivery can be continuously improved, providing users with a better data synchronization experience. In actual applications, delivery strategies can be flexibly formulated and adjusted according to specific business scenarios and needs to adapt to different data synchronization needs and network environments.
[0164] The present invention also proposes an interaction device, which includes: the interaction device includes: a memory, a processor, and a multi-terminal synchronous interaction program stored in the memory and executable on the processor, wherein the multi-terminal synchronous interaction program is configured to implement the multi-terminal synchronous interaction method as described above.
[0165] It is worth noting that since the interactive device of the present invention is based on the above-mentioned multi-terminal synchronous interaction method, the embodiments of the interactive device of the present invention include all technical solutions of all embodiments of the above-mentioned multi-terminal synchronous interaction method, and the technical effects achieved are exactly the same, which will not be repeated here.
[0166] The present invention further provides an interactive device, which includes the interactive apparatus as described in the above embodiment.
[0167] It is worth noting that since the interactive device of the present invention is based on the above-mentioned interactive apparatus, the embodiments of the interactive device of the present invention include all technical solutions of all embodiments of the above-mentioned interactive apparatus, and the technical effects achieved are also exactly the same, which will not be repeated here.
[0168] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0169] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0170] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, including a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0171] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A multi-terminal synchronous interaction method, applied to audio and video transmission, characterized in that: The method comprises: Based on high-speed transmission protocols, establish low-latency network connections for multiple data terminals; Performing data identification on the plurality of data terminals, and pairing the data terminals based on the identification results; receiving a data synchronization request sent by one or more of the data terminals to other data terminals; Based on the preset network model and data synchronization request, synchronize network data, and after the synchronization is completed, determine the synchronization result; When the synchronization result is successful, the target delivery demand of the current time is obtained, and data is delivered to the corresponding data terminal based on the target delivery demand; The step of performing data identification on the plurality of data terminals and pairing the data terminals based on the identification results includes: extracting characteristic information of a plurality of said data terminals; Based on the first algorithm and the feature information, identifying similarities and differences between the data terminals, determining similarity scores, and generating corresponding recognition results; According to the similarity score and the recognition result, a unique identifier corresponding to each data terminal is generated, and a corresponding pairing strategy is constructed to match data terminals with high similarity scores together; According to the pairing strategy, pair the data terminals to determine a plurality of synchronous data groups for data transmission and sharing; The step of generating a unique identifier corresponding to each data terminal according to the similarity score and the recognition result, and constructing a corresponding pairing strategy to match data terminals with high similarity scores together, comprises: Based on the second algorithm and the recognition result, determining the classification of each of the data terminals, and determining the priority corresponding to each of the data terminals; generating a unique identifier of the data terminal according to the classification result and the priority; Constructing a corresponding pairing strategy according to the classification result, the priority and the unique identifier; The steps of synchronizing network data based on the preset network model and the data synchronization request, and determining the synchronization result after the synchronization is completed, include: Establish a synchronization mechanism for network data based on the preset network model; According to the synchronization mechanism, upon receiving the data synchronization request, synchronizing the network data to the target location; When all the network data are synchronized to the target location, the amount of synchronized data and the duration of synchronization are calculated and recorded; Generate a corresponding synchronization result according to the amount of synchronized data and the duration of the synchronization; The step of generating a corresponding synchronization result according to the amount of synchronized data and the duration of synchronization includes: Determining a data synchronization rate according to the amount of synchronized data and the duration of synchronization; Determining a packet loss rate during data synchronization according to the amount of synchronized data; Generate a corresponding synchronization result according to the preset synchronization efficiency, the synchronization rate and the packet loss rate; If the synchronization result is successful, generate a corresponding synchronization success result; If the synchronization result is a failure, optimizing the synchronization mechanism and resynchronizing the network data; The data terminal includes a mobile phone, a first computer, a second computer or a projector; The step of receiving a data synchronization request sent by one or more data terminals to other data terminals includes: receiving a data synchronization request sent by the mobile phone and / or the first computer to the second computer and / or the projector; The steps of synchronizing network data based on the preset network model and the data synchronization request, and determining the synchronization result after the synchronization is completed, include: Based on the preset network model and the data synchronization request, determining a synchronization mechanism of network data between the mobile phone or the first computer and the second computer or the projector; According to the synchronization mechanism, upon receiving the data synchronization request sent by the mobile phone and / or the first computer, synchronizing the corresponding network data on the mobile phone and / or the first computer to the target location, the network data including text, pictures, videos, audio or files; After all the network data are synchronized to the target location, the packet loss rate and synchronization rate during the synchronization process are determined; Generate the synchronization result of the current synchronization according to the preset synchronization efficiency, the packet loss rate during the current synchronization process, and the synchronization rate during the current synchronization process; When the synchronization result is successful, the step of obtaining the current target delivery demand and delivering data to the corresponding data terminal based on the target delivery demand includes: If the synchronization result is successful, obtaining the target delivery demand of the mobile phone or the first computer at that time; According to the target delivery demand of the mobile phone or the first computer, the data delivery of the mobile phone or the first computer to the second computer or the projector is executed, and based on the network priority, the data of the mobile phone or the data of the first computer is delivered to the corresponding second computer or the projector, so that the data of the mobile phone or the data of the first computer can be projected and displayed through the display of the second computer or the projector.
2. The multi-terminal synchronous interaction method according to claim 1, characterized in that: Also includes: Obtain multiple historical network data and extract key factors affecting network performance from the historical network data; According to the key factors, determining a corresponding basic mathematical model; According to the basic mathematical model, define the input variables and output variables of the basic mathematical model, and set corresponding model parameters and constraints; Constructing a target mathematical model according to the basic mathematical model, the input variables, the output variables and the constraint conditions; Based on the target mathematical model, simulate the network operation status and generate corresponding network operation results; According to the network operation results, the target mathematical model is trained and the model parameters are adjusted to generate an optimal network model.
3. The multi-terminal synchronous interaction method according to claim 1, characterized in that: When the synchronization result is successful, the step of obtaining the current target delivery demand and delivering data to the corresponding data terminal based on the target delivery demand includes: When the synchronization result is successful, obtaining the current target delivery demand; Determine the priority of network load and data transmission based on the preset delivery strategy and the target delivery requirements; Delivering data to corresponding data terminals according to the network load and data transmission priority; After data delivery is completed, evaluate the data delivery results and optimize the delivery strategy.
4. An interactive device, characterized in that: The interaction device includes: a memory, a processor, and a multi-terminal synchronous interaction program stored in the memory and executable on the processor, wherein the multi-terminal synchronous interaction program is configured to implement the multi-terminal synchronous interaction method according to any one of claims 1 to 3.
5. An interactive device, characterized in that: Comprising the interactive device as claimed in claim 4.
Citation Information
Patent Citations
Multi-terminal power conversion device, multi-terminal power transfer device, and power network system
AU2014202377A1
Document data transmission method and device
CN111600963A
Multimedia data playing method, terminal and storage medium
CN111984215A
Terminal device, smart home system and information synchronization method
CN115022112A
Central control system control method and device based on digital twinning, equipment and medium
CN117518957A
