Cross-platform multimedia information interaction method based on cloud computing

Through the cross-platform multimedia information interaction method based on cloud computing, mapping pairing instructions are generated using the parameters of the mobile terminal and the device to be interacted, which solves the problem that traditional multimedia information interaction methods cannot achieve seamless connection across platforms and across devices, and achieves efficient and secure multimedia information interaction.

CN119996488AInactive Publication Date: 2025-05-13SICHUAN WATER CONSERVANCY VOCATIONAL & TECH COLLEGE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510432964.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-08
Publication Date
2025-05-13
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional multimedia information interaction methods are limited by specific devices and platforms, and cannot achieve seamless connection and interaction across platforms and devices, and have not fully utilized the advantages of cloud computing platforms.

Method used

A cross-platform multimedia information interaction method based on cloud computing is adopted, and mapping pairing instructions are generated through parameters such as identifiers and protocols of mobile terminals and devices to be interacted to achieve seamless connection and interaction across platforms. This method introduces the UUID of the SPP serial port protocol, combines hashing operations and salt values, generates closed interaction factors, enhances the security of the interaction process, and evaluates the request capability of the mobile terminal through ServerSocket objects and listening queues.

Benefits of technology

It realizes seamless connection and interaction across platforms and devices, enhances the security and data integrity of the interaction process, and improves the convenience and response speed of interaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996488A_ABST
    Figure CN119996488A_ABST
Patent Text Reader

Abstract

The invention discloses a cross-platform multimedia information interaction method based on cloud computing, which belongs to the technical field of information interaction, and comprises the following steps: S1, initializing network parameters by using equipment to be interacted; s2, when a mobile terminal sends an interaction request to a to-be-interacted device, obtaining a mapping pairing instruction by using an identifier of the mobile terminal, an identifier of the to-be-interacted device and a protocol between the mobile terminal and the to-be-interacted device; and S3, when the mobile terminal inputs a correct mapping pairing instruction, completing the interaction request. According to the method, various parameters of the mobile terminal and the to-be-interacted device are utilized to obtain the characteristic values such as the closed interaction factor, the request capability and the request priority, and the characteristic values are comprehensively applied, so that the generation of the mapping pairing instruction is more flexible and accurate, and the method can adapt to the diversity between different devices and platforms; and cross-platform and cross-device seamless connection and interaction are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of information interaction, and in particular relates to a cross-platform multimedia information interaction method based on cloud computing. Background Art

[0002] With the rapid development of information technology, multimedia information interaction has become an indispensable part of modern life. From home entertainment to business presentations, people are increasingly relying on efficient and convenient multimedia information display methods. However, traditional multimedia information interaction methods are often limited to specific devices and platforms, and cannot achieve seamless connection and interaction across platforms and devices.

[0003] Traditional multimedia information interaction solutions are mostly based on wired connections or wireless connections with specific protocols, such as HDMI and Miracast. Although these solutions have achieved information interaction between devices to a certain extent, they have many limitations. For example, HDMI connection requires physical cables, which is not convenient for movement and carrying; wireless protocols such as Miracast are limited by device compatibility and can often only be used between devices of specific brands or models. In addition, with the rapid development of cloud computing technology, more and more applications and services are beginning to migrate to the cloud. Cloud computing platforms have powerful data processing and storage capabilities, which can achieve rapid processing and efficient transmission of multimedia information. However, traditional multimedia information interaction methods have not fully utilized the advantages of cloud computing platforms and are still limited to a single device or platform. Summary of the invention

[0004] In order to solve the above problems, the present invention proposes a cross-platform multimedia information interaction method based on cloud computing.

[0005] The technical solution of the present invention is: a cross-platform multimedia information interaction method based on cloud computing comprises the following steps:

[0006] S1. Initialize network parameters using the device to be interacted with;

[0007] S2. When the mobile terminal sends an interaction request to the device to be interacted, a mapping pairing instruction is obtained by using an identifier of the mobile terminal, an identifier of the device to be interacted, and a protocol between the mobile terminal and the device to be interacted;

[0008] S3. When the mobile terminal inputs a correct mapping pairing instruction, the interaction request is completed.

[0009] Furthermore, in S1, the network parameters include an identifier and a MAC address of the device to be interacted with.

[0010] Furthermore, S2 includes the following sub-steps:

[0011] S21. When the mobile terminal sends an interaction request to the device to be interacted with, obtain an SPP serial port protocol corresponding to the interaction request;

[0012] S22, statically mapping the identifier of the mobile terminal and the identifier of the device to be interacted with, and calculating the closed interaction factor according to the UUID of the SPP serial port protocol;

[0013] S23, determining the request capability of the mobile terminal based on the monitoring queue;

[0014] S24, calculating the request priority of the mobile terminal according to the QoS mechanism between the mobile terminal and the device to be interacted with;

[0015] S25. Obtain a mapping pairing instruction according to the closed interaction factor, the request capability of the mobile terminal based on the listening queue, and the request priority of the mobile terminal.

[0016] The beneficial effect of the above further scheme is that: in the present invention, the UUID of the SPP serial port protocol is a universal unique identifier. By introducing the SPP serial port protocol and its UUID, and combining hash operations and salt values, a closed interaction factor is generated. This mechanism enhances the security during the interaction process, statically maps the identifiers of the mobile terminal and the device to be interacted (such as MAC addresses), and further ensures the identity authentication and data integrity of the two parties to the interaction. By determining the request capability of the mobile terminal based on the listening queue, the current network status and processing capability of the mobile terminal can be more accurately evaluated, thereby making more reasonable resource allocation.

[0017] Furthermore, in S22, the closed interaction factor The calculation formula is:

[0018] ;

[0019] In the formula, Indicates the salt value, represents the weight of the mobile terminal, Indicates the weight of the device to be interacted with. Indicates the static mapping value of the MAC address of the mobile terminal. Indicates the static mapping value of the MAC address of the device to be interacted with. The UUID representing the SPP serial port protocol. Represents a hash operation.

[0020] The SALT value is a random value. If the stability of the device is high (such as the CPU model), it will be given a higher weight to reduce the ID changes caused by software upgrades. The device ID is used to uniquely identify each device. The device ID can be the device MAC address.

[0021] Further, S23 includes the following sub-steps:

[0022] S231, constructing a ServerSocket object using the device to be interacted with, and determining a listening queue;

[0023] S232: Determine the request capability of the mobile terminal based on the monitoring queue according to the ServerSocket object.

[0024] The beneficial effect of the above further scheme is that in the present invention, there is a close relationship between the ServerSocket object and the listening queue. The ServerSocket object is used on the server side to listen to the client connection request of a specific port, and the listening queue is a data structure for storing those connection requests waiting to be processed by the server. ServerSocket realizes the buffering and scheduling of connection requests through the listening queue.

[0025] Further, in S232, the mobile terminal monitors the request capability of the queue. The calculation formula is:

[0026] ;

[0027] In the formula, Indicates the maximum number of connections in the listening queue. Indicates the timeout period of the ServerSocket object. Indicates the delay time of the logical link corresponding to the ServerSocket object. Represents the rounding function.

[0028] The beneficial effect of the above further scheme is: in the present invention, when creating a ServerSocket object, the size of the listening queue is specified by a parameter. This parameter is usually called backlog, which defines the maximum number of connections allowed to queue in the listening queue before starting to reject new connection requests. The timeout period represents the timeout period for the accept() method of the ServerSocket object to wait for the client connection. The SPP serial port relies on the L2CAP protocol to establish a logical link, and the delay time refers to the time required for the delay of the logical link to be transmitted from the sending node to the receiving node. The QoS mechanism identifies different types of network traffic, classifies and prioritizes them according to their importance, and ensures transmission stability through the QoS mechanism, supporting breakpoint resumption and dynamic bit rate adjustment.

[0029] After determining the listening queue, requests can be managed in an orderly manner to ensure that all requests can be processed in a timely manner, avoid request congestion and delay, and improve response speed and stability. At the same time, the process of constructing ServerSocket objects and determining listening queues is standardized, so that the present invention can be expanded and upgraded. With the development of technology and the growth of demand, more ServerSocket objects or listening queues can be introduced to meet higher concurrent requests and more complex interaction scenarios.

[0030] Furthermore, in S24, the request priority of the mobile terminal The calculation formula is:

[0031] ;

[0032] In the formula, Indicates the congestion avoidance increase rate of the QoS mechanism, Indicates the packet loss rate of the Qos mechanism. Indicates finding the minimum value.

[0033] Furthermore, in S25, the expression of the mapping pairing instruction is: ; In the formula, Indicates the request capability of the mobile terminal based on the listening queue. represents the closed interaction factor, Indicates the request priority of the mobile terminal. Indicates rounding up.

[0034] The beneficial effects of the present invention are as follows: the present invention utilizes various parameters of a mobile terminal and a device to be interacted with to obtain characteristic values ​​such as a closed interaction factor, a request capability, and a request priority, and applies these characteristic values ​​in a comprehensive manner, so that the generation of mapping pairing instructions is more flexible and accurate, and can adapt to the diversity between different devices and platforms, and realize seamless connection and interaction across platforms and devices; the present invention can also automatically identify and match suitable interaction pairs by combining static mapping with dynamic calculation, thereby reducing manual operations of users and improving the convenience of interaction; according to ServerSocket objects, etc., the request capability of a mobile terminal based on a listening queue can be accurately evaluated, and the current status and needs of the mobile terminal can be more comprehensively understood. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 The flowchart of the cross-platform multimedia information interaction method based on cloud computing. DETAILED DESCRIPTION

[0036] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.

[0037] like Figure 1As shown, the present invention provides a cross-platform multimedia information interaction method based on cloud computing, comprising the following steps:

[0038] S1. Initialize network parameters using the device to be interacted with;

[0039] S2. When the mobile terminal sends an interaction request to the device to be interacted, a mapping pairing instruction is obtained by using an identifier of the mobile terminal, an identifier of the device to be interacted, and a protocol between the mobile terminal and the device to be interacted;

[0040] S3. When the mobile terminal inputs a correct mapping pairing instruction, the interaction request is completed.

[0041] In the embodiment of the present invention, in S1, the network parameters include an identifier and a MAC address of the device to be interacted with.

[0042] In this embodiment of the present invention, S2 includes the following sub-steps:

[0043] S21. When the mobile terminal sends an interaction request to the device to be interacted with, obtain an SPP serial port protocol corresponding to the interaction request;

[0044] S22, statically mapping the identifier of the mobile terminal and the identifier of the device to be interacted with, and calculating the closed interaction factor according to the UUID of the SPP serial port protocol;

[0045] S23, determining the request capability of the mobile terminal based on the monitoring queue;

[0046] S24, calculating the request priority of the mobile terminal according to the QoS mechanism between the mobile terminal and the device to be interacted with;

[0047] S25. Obtain a mapping pairing instruction according to the closed interaction factor, the request capability of the mobile terminal based on the listening queue, and the request priority of the mobile terminal.

[0048] In the present invention, the UUID of the SPP serial port protocol is a universal unique identifier. By introducing the SPP serial port protocol and its UUID, and combining hash operations and salt values, a closed interaction factor is generated. This mechanism enhances the security of the interaction process, statically maps the identifiers of the mobile terminal and the device to be interacted (such as MAC addresses), and further ensures the identity authentication and data integrity of the two parties to the interaction. By determining the request capability of the mobile terminal based on the listening queue, the current network status and processing capability of the mobile terminal can be more accurately evaluated, thereby making more reasonable resource allocation.

[0049] In the embodiment of the present invention, in S22, the closed interaction factor The calculation formula is:

[0050] ;

[0051] In the formula, Indicates the salt value, represents the weight of the mobile terminal, Indicates the weight of the device to be interacted with. Indicates the static mapping value of the MAC address of the mobile terminal. Indicates the static mapping value of the MAC address of the device to be interacted with. The UUID representing the SPP serial port protocol. Represents a hash operation.

[0052] The SALT value is a random value. If the stability of the device is high (such as the CPU model), it will be given a higher weight to reduce the ID changes caused by software upgrades. The device ID is used to uniquely identify each device. The device ID can be the device MAC address.

[0053] In this embodiment of the present invention, S23 includes the following sub-steps:

[0054] S231, constructing a ServerSocket object using the device to be interacted with, and determining a listening queue;

[0055] S232: Determine the request capability of the mobile terminal based on the monitoring queue according to the ServerSocket object.

[0056] In the present invention, there is a close relationship between the ServerSocket object and the listening queue. The ServerSocket object is used on the server side to listen to the client connection request of a specific port, and the listening queue is a data structure for storing those connection requests waiting for the server to process. ServerSocket realizes the buffering and scheduling of connection requests through the listening queue.

[0057] In the embodiment of the present invention, in S232, the mobile terminal requests the ability of the monitoring queue based on the request The calculation formula is:

[0058] ;

[0059] In the formula, Indicates the maximum number of connections in the listening queue. Indicates the timeout period of the ServerSocket object. Indicates the delay time of the logical link corresponding to the ServerSocket object. Represents the rounding function.

[0060] In the present invention, when creating a ServerSocket object, the size of the listening queue is specified by a parameter. This parameter is usually called backlog, which defines the maximum number of connections allowed to queue in the listening queue before starting to reject new connection requests. The timeout period indicates the timeout period for the accept() method of the ServerSocket object to wait for the client connection. The SPP serial port relies on the L2CAP protocol to establish a logical link, and the delay time refers to the time required for the delay of the logical link to be transmitted from the sending node to the receiving node. The QoS mechanism identifies different types of network traffic, classifies and prioritizes them according to their importance, and ensures transmission stability through the QoS mechanism, supporting breakpoint resumption and dynamic bit rate adjustment.

[0061] After determining the listening queue, requests can be managed in an orderly manner to ensure that all requests can be processed in a timely manner, avoid request congestion and delay, and improve response speed and stability. At the same time, the process of constructing ServerSocket objects and determining listening queues is standardized, so that the present invention can be expanded and upgraded. With the development of technology and the growth of demand, more ServerSocket objects or listening queues can be introduced to meet higher concurrent requests and more complex interaction scenarios.

[0062] In the embodiment of the present invention, in S24, the request priority of the mobile terminal The calculation formula is:

[0063] ;

[0064] In the formula, Indicates the congestion avoidance increase rate of the QoS mechanism, Indicates the packet loss rate of the Qos mechanism. Indicates finding the minimum value.

[0065] In the embodiment of the present invention, in S25, the expression of the mapping pairing instruction is: ; In the formula, Indicates the request capability of the mobile terminal based on the listening queue. represents the closed interaction factor, Indicates the request priority of the mobile terminal. Indicates rounding up.

[0066] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.

Claims

1. A cross-platform multimedia information interaction method based on cloud computing, characterized in that: The following steps are involved: S1. Initialize network parameters using the device to be interacted with; S2. When the mobile terminal sends an interaction request to the device to be interacted, a mapping pairing instruction is obtained by using an identifier of the mobile terminal, an identifier of the device to be interacted, and a protocol between the mobile terminal and the device to be interacted; S3. When the mobile terminal inputs a correct mapping pairing instruction, the interaction request is completed.

2. The cross-platform multimedia information interaction method based on cloud computing according to claim 1 is characterized in that: In S1, the network parameters include the identifier and MAC address of the device to be interacted.

3. The cross-platform multimedia information interaction method based on cloud computing according to claim 1 is characterized in that: The S2 comprises the following sub-steps: S21. When the mobile terminal sends an interaction request to the device to be interacted with, obtain an SPP serial port protocol corresponding to the interaction request; S22, statically mapping the identifier of the mobile terminal and the identifier of the device to be interacted with, and calculating the closed interaction factor according to the UUID of the SPP serial port protocol; S23, determining the request capability of the mobile terminal based on the monitoring queue; S24, calculating the request priority of the mobile terminal according to the QoS mechanism between the mobile terminal and the device to be interacted with; S25. Obtain a mapping pairing instruction according to the closed interaction factor, the request capability of the mobile terminal based on the listening queue, and the request priority of the mobile terminal.

4. The cross-platform multimedia information interaction method based on cloud computing according to claim 3 is characterized in that: In S22, the closed interaction factor The calculation formula is: ; In the formula, Indicates the salt value, represents the weight of the mobile terminal, Indicates the weight of the device to be interacted with, Indicates the static mapping value of the MAC address of the mobile terminal. Indicates the static mapping value of the MAC address of the device to be interacted with. The UUID representing the SPP serial port protocol. Represents a hash operation.

5. The cross-platform multimedia information interaction method based on cloud computing according to claim 3 is characterized in that: The S23 comprises the following sub-steps: S231, constructing a ServerSocket object using the device to be interacted with, and determining a listening queue; S232: Determine the request capability of the mobile terminal based on the monitoring queue according to the ServerSocket object.

6. The cross-platform multimedia information interaction method based on cloud computing according to claim 5 is characterized in that: In S232, the mobile terminal monitors the request capability of the queue. The calculation formula is: ; In the formula, Indicates the maximum number of connections in the listening queue. Indicates the timeout period of the ServerSocket object. Indicates the delay time of the logical link corresponding to the ServerSocket object. Represents the rounding function.

7. The cross-platform multimedia information interaction method based on cloud computing according to claim 3 is characterized in that: In S24, the request priority of the mobile terminal The calculation formula is: ; In the formula, Indicates the congestion avoidance increase rate of the QoS mechanism, Indicates the packet loss rate of the Qos mechanism. Indicates finding the minimum value.

8. The cross-platform multimedia information interaction method based on cloud computing according to claim 3 is characterized in that: In S25, the expression of mapping pairing instruction is: ; In the formula, Indicates the request capability of the mobile terminal based on the listening queue. represents the closed interaction factor, Indicates the request priority of the mobile terminal. Indicates rounding up.