CN-122027735-A - Data processing method and device, equipment, storage medium and product
Abstract
The application discloses a data processing method, a device, equipment, a storage medium and a product, which are applied to first equipment, wherein the method comprises the steps of transferring a call request flow from third equipment to second equipment under the condition that the first equipment and the second equipment are successfully connected; the method comprises the steps of receiving a call response returned by second equipment, transferring the call response flow to third equipment, and executing data transfer between the second equipment and the third equipment, wherein a communication mode between the first equipment and the second equipment is a near field communication mode, and a communication mode between the first equipment and the third equipment is a far field communication mode. In this way, with the first device, seamless transfer of data from far field to near field, or from near field to far field, can be achieved.
Inventors
- ZHAO SIJIA
- An Yongzheng
Assignees
- 深圳市欢太科技有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20241111
Claims (16)
- 1. A data processing method, applied to a first device, the method comprising: under the condition that the first equipment and the second equipment are successfully connected, the call request flow from the third equipment is transferred to the second equipment; Receiving a call response returned by the second device, and transferring the call response flow to the third device; Performing data flow between the second device and the third device; The communication mode between the first device and the second device is a near field communication mode, and the communication mode between the first device and the third device is a far field communication mode.
- 2. The method of claim 1, wherein the performing data flow between the second device and the third device comprises: Based on a first transmission channel corresponding to the current transmission protocol, transferring the transmission data stream from the third device to the second device; Determining a quality score of at least one transmission channel corresponding to at least one transmission protocol supported by the second device based on performance parameters of the at least one transmission channel; determining a highest quality score in the quality scores of the at least one transmission channel, and transferring the transmission data stream from the third device to the second device based on a second transmission channel corresponding to the highest quality score.
- 3. The method of claim 2, wherein the determining the highest quality score of the quality scores of the at least one transmission channel, based on the second transmission channel to which the highest quality score corresponds, forwards the transmission data stream from the third device to the second device, comprises: And under the condition that the quality score of the first transmission channel is lower than a first threshold value, determining the highest quality score in the quality scores of the at least one transmission channel, and transferring the transmission data stream from the third device to the second device based on the second transmission channel corresponding to the highest quality score.
- 4. The method of claim 2, wherein the determining the quality score for the at least one transmission channel based on the performance parameter of the at least one transmission channel corresponding to the at least one transmission protocol supported by the second device comprises: a quality score for the at least one transmission channel is determined based on the performance parameter of the at least one transmission channel and the user preference score for the at least one transmission protocol.
- 5. The method of claim 2, wherein the transferring the transport data stream from the third device to the second device based on the first transport channel corresponding to the current transport protocol comprises: Processing the transmission data from the third device to obtain first processed data; Diverting the first processed data stream to the second device based on the first transmission channel; or processing the transmission data from the second device to obtain second processed data; and based on a third transmission channel, transferring the second processing data stream to the third device.
- 6. The method of any one of claims 2 to 5, wherein the performance parameters include, but are not limited to, received signal strength, network delay, packet loss rate, jitter index, and bandwidth utilization.
- 7. The method of claim 6, wherein the method further comprises: Determining a path loss of a probe signal from the first device to the second device based on the location of the first device and the location of the second device; determining the received signal strength based on the transmit power of the probe signal and the path loss; or determining the network delay based on a transmission time and a reception time of a plurality of probe packets from the first device to the second device and a clock synchronization compensation value; or determining the packet loss rate based on the total number of the detection data packets sent in the first time period and the total number of the detection data packets received; or determining the jitter index based on the reception time intervals of the plurality of probe data packets; or determining the bandwidth utilization based on the actual bandwidth usage and the total bandwidth available.
- 8. The method of any of claims 1 to 5, wherein the performing data flow between the second device and the third device comprises: receiving a control instruction sent by the second equipment; And responding to the control instruction, and disconnecting the call connection with the third device.
- 9. The method according to any one of claims 1 to 5, further comprising: transmitting a detection signal in case of receiving a call request from the third device; displaying the at least one connectable device in case a detection response returned by the at least one connectable device is received; and determining the second device from the at least one connectable device in response to a user connection instruction.
- 10. The method according to any one of claims 1 to 5, further comprising: determining a current transport protocol based on at least one transport protocol supported by the second device and a user preference score for the at least one transport protocol; transmitting a connection request to the second device based on the current transmission protocol; And under the condition that a connection response returned by the second equipment is received in the second time period, determining the connection state of the first equipment and the second equipment based on the connection response, and recording, wherein the connection state represents whether the connection is successful or not.
- 11. The method according to any one of claims 1 to 5, further comprising: and in the process of connecting the first equipment and the second equipment, if an abnormal condition is detected, determining an abnormal processing operation based on the abnormal condition.
- 12. The method according to any one of claims 1 to 5, further comprising: if it is determined that reconnection is attempted based on the failure cause in the case where the first device fails to connect with the second device, performing connection of the first device with the second device again; or if it is determined that the reconnection is not required to be attempted based on the failure cause, feeding back the failure cause.
- 13. A data processing apparatus for use with a first device, the apparatus comprising: The processing unit is used for streaming the call request flow from the third device to the second device under the condition that the first device and the second device are successfully connected; The processing unit is further configured to receive a call response returned by the second device, and flow the call response to the third device; the processing unit is further configured to perform data circulation between the second device and the third device; The communication mode between the first device and the second device is a near field communication mode, and the communication mode between the first device and the third device is a far field communication mode.
- 14. A first device comprising a processor and a memory configured to store a computer program capable of running on the processor, Wherein the processor is configured to perform the steps of the method of any of claims 1 to 12 when the computer program is run.
- 15. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 12.
- 16. A computer program product comprising a computer program or instructions which, when executed by a processor, implement the steps of the method of any one of claims 1 to 12.
Description
Data processing method and device, equipment, storage medium and product Technical Field The present application relates to data processing technologies, and in particular, to a data processing method and apparatus, a device, a storage medium, and a product. Background At present, only a single application scene such as far-field dial-up call, video conference, near-field WLAN direct connection, bluetooth connection and the like is supported for media flow between devices. However, these application scenarios are often limited to supporting either far field connections only or near field connections only, lacking a capability to enable seamless streaming of media data from far field to near field, or from near field to far field. Disclosure of Invention The application provides a data processing method and device, equipment, a storage medium and a product. The technical scheme of the application is realized as follows: in a first aspect, a data processing method is provided, applied to a first device, and the method includes: under the condition that the first equipment and the second equipment are successfully connected, the call request flow from the third equipment is transferred to the second equipment; Receiving a call response returned by the second device, and transferring the call response flow to the third device; Performing data flow between the second device and the third device; The communication mode between the first device and the second device is a near field communication mode, and the communication mode between the first device and the third device is a far field communication mode. In a second aspect, there is provided a data processing apparatus for use with a first device, the apparatus comprising: The processing unit is used for streaming the call request flow from the third device to the second device under the condition that the first device and the second device are successfully connected; The processing unit is further configured to receive a call response returned by the second device, and flow the call response to the third device; the processing unit is further configured to perform data circulation between the second device and the third device; The communication mode between the first device and the second device is a near field communication mode, and the communication mode between the first device and the third device is a far field communication mode. In a third aspect there is provided a first device comprising a processor and a memory configured to store a computer program capable of running on the processor, wherein the processor is configured to perform the steps of the method of the first aspect when the computer program is run. In a fourth aspect, there is provided a computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the method of the first aspect. In a fifth aspect, a computer program product is provided, comprising a computer program, wherein the computer program, when executed by a processor, implements the steps of the method of the first aspect. The application provides a data processing method, a device, equipment, a storage medium and a product, which are applied to first equipment, wherein the method comprises the steps of transferring a call request flow from third equipment to second equipment under the condition that the first equipment and the second equipment are successfully connected; the method comprises the steps of receiving a call response returned by second equipment, transferring the call response flow to third equipment, and executing data transfer between the second equipment and the third equipment, wherein a communication mode between the first equipment and the second equipment is a near field communication mode, and a communication mode between the first equipment and the third equipment is a far field communication mode. In this way, with the first device, seamless transfer of data from far field to near field, or from near field to far field, can be achieved. Drawings FIG. 1 is a flow chart of a data processing method according to an embodiment of the application; FIG. 2 is a second flow chart of a data processing method according to an embodiment of the application; FIG. 3 is a flow chart of a data processing method according to an embodiment of the present application; FIG. 4 is a flow chart of a data processing method according to an embodiment of the present application; FIG. 5 is a flowchart of a data processing method according to an embodiment of the present application; FIG. 6 is a flowchart of a data processing method according to an embodiment of the present application; FIG. 7 is a flow chart of a data processing method according to an embodiment of the application; FIG. 8 is a schematic diagram of an interaction flow among a first device, a second device, and a third device according to an embodiment of the present applicat