Data processing method and system
By working together with the receiving and transmitting devices, the system automatically detects the status of the display device and switches the playback mode, solving the problem that existing screen projection devices require manual intervention and achieving efficient data processing and independent audio and video output.
Patent Information
- Application Number
- CN202110192247.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-19
- Publication Date
- 2026-11-03
- Estimated Expiration
- 2041-02-19
AI Technical Summary
Existing screen projection devices require manual intervention when switching projection versions, and cannot automatically change according to on-site faults, resulting in low data processing efficiency and increased labor costs.
Through the coordinated operation between the receiving and transmitting devices, the number of display devices and the status of the audio signal are automatically detected, and the playback mode is dynamically switched, including one-to-one, one-to-many, and audio-video separation modes, to achieve automatic data separation and transmission.
It improves data processing efficiency, ensures independent audio and video output in the event of display device failure, and enhances user experience and data playback speed.
Smart Images

Figure CN112860204B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of electronic information technology, and in particular to data processing methods and systems. Background Technology
[0002] Currently, all screen projection devices are limited to a single projection version mode. For example, one projection device corresponds to one display device, or one projection device corresponds to multiple display devices. When it is necessary to switch projection versions, manual intervention is required to manually switch the projection version. More importantly, it is impossible to automatically change the projection version based on on-site faults. For example, when the audio playback function of the display device fails, it cannot automatically change the projection version. Therefore, it leads to increased labor costs and may even cause data to fail to play normally, reducing the data processing efficiency of screen projection. Summary of the Invention
[0003] This disclosure provides a data processing method and system that solves the problem of low data processing efficiency in existing screen mirroring systems due to adaptive switching of screen mirroring versions. The technical solution is as follows:
[0004] According to a first aspect of the present disclosure, a data processing method is provided, applied to a receiving device, the method comprising:
[0005] Determine the target playback mode, which indicates the mode for playing the target data;
[0006] When the target playback mode is audio-video separation mode, switch to the audio-video separation mode;
[0007] Receive target data and perform separation processing on the target data to obtain target image and target audio;
[0008] The target image is sent to at least one display device and the target audio is sent to at least one playback device.
[0009] In one embodiment, determining the target playback mode in the method includes:
[0010] Receive playback request information, which is used to instruct the playback of target data according to the target playback mode, and the playback request information includes the target playback mode;
[0011] Based on the playback request information, the target playback mode is determined; the target playback mode includes a one-to-many mode, or a one-to-one mode, or an audio-video separation mode. The one-to-many mode is used to indicate that one sending device corresponds to multiple display devices, and the one-to-one mode is used to indicate that one sending device corresponds to one display device.
[0012] In one embodiment, determining the target playback mode in the method includes:
[0013] Detect the target number of connected display devices;
[0014] Based on the target number of display devices, determine whether the target playback mode is a one-to-many mode or a one-to-one mode;
[0015] And send the target playback mode to the sending device.
[0016] In one embodiment, the method further includes, before receiving the target data:
[0017] Detect whether each connected display device has an audio signal;
[0018] When it is determined that the number of display devices with audio signals is greater than the number of display devices without audio signals, the audio / video separation mode is switched to a one-to-many mode.
[0019] When the audio-video separation mode is switched to one-to-many mode, a first switching instruction is generated and sent to the transmitting device. The first switching instruction is used to indicate that the audio-video separation mode is switched to the one-to-many mode, so that when the transmitting device receives the first switching instruction, it switches to the one-to-many mode and encodes the collected data according to the one-to-many mode to obtain the target data.
[0020] If the detection results indicate that the number of display devices with audio signals is less than the number of display devices without audio signals, then the target version is maintained.
[0021] In one embodiment, the method further includes:
[0022] When the target playback mode is a one-to-many mode, switch to the one-to-many mode.
[0023] In one embodiment, after switching to the one-to-many mode, the method further includes:
[0024] Detect whether each connected display device has an audio signal;
[0025] When it is determined that the number of display devices with audio signals is less than the number of display devices without audio signals, the one-to-many mode is switched to the audio-video separation mode;
[0026] When the one-to-many mode is switched to the audio-video separation mode, a second switching instruction is generated and sent to the transmitting device. The second switching instruction is used to instruct the one-to-many mode to be switched to the audio-video separation mode, so that when the transmitting device receives the second switching instruction, it switches to the audio-video separation mode and encodes the collected data according to the audio-video separation mode to obtain the target data.
[0027] When it is determined that the number of display devices with audio signals is greater than the number of display devices without audio signals, the target version is maintained, and the target data is decoded to obtain decoded data.
[0028] In one embodiment, the method further includes:
[0029] When the target playback mode is one-to-one mode, switch to the one-to-one mode.
[0030] In one embodiment, after switching to the one-to-one mode, the method further includes:
[0031] Check if the audio function of the connected display device is malfunctioning;
[0032] When it is determined that the audio function of the display device is malfunctioning, the one-to-one mode is switched to the audio-video separation mode;
[0033] When the one-to-one mode is switched to the audio-video separation mode, a third switching instruction is generated and sent to the transmitting device. The third switching instruction is used to instruct the one-to-one mode to be switched to the audio-video separation mode, so that when the transmitting device receives the third switching instruction, it switches to the audio-video separation mode and encodes the collected data according to the audio-video separation mode to obtain the target data.
[0034] When the test result indicates that the audio function of the display device is normal, the target data is decoded to obtain decoded data.
[0035] In one embodiment, the method further includes:
[0036] When the target playback version is a one-to-many version, the target data is decoded to obtain the decoded data;
[0037] By separating the decoded data, N decoded data copies are generated, where N is greater than 2;
[0038] The N decoded data copies are sent to N display devices for display.
[0039] The data processing method provided in this disclosure allows a receiving device to process target data and determine a target playback version when it receives playback request information from a sending device. When the target playback version is one-to-many, a signal separator can be used to connect one receiving device to multiple display devices, ultimately transmitting the target data to the multiple display devices. When the target playback version is audio-video separated, an audio-video separation module can be used to separate the target data to obtain the target audio and target image, ultimately transmitting the target image to the multiple display devices and the target audio to the multiple playback devices.
[0040] According to a second aspect of the present disclosure, a data processing method is provided, the method being applied to a transmitting device, the method comprising:
[0041] Determine the target playback mode, which indicates the mode for playing the target data;
[0042] Collect raw data and encode it to generate target data;
[0043] Based on the target data and the target playback mode, a playback request message is generated and sent to the receiving device.
[0044] In one embodiment, determining the target playback mode in the method includes:
[0045] The detection function key is triggered. The function key is matched with the playback mode. The playback mode includes at least one of the following: one-to-one mode, one-to-many mode, and audio-video separation mode. The one-to-many mode is used to indicate that one transmitting device corresponds to multiple display devices, and the one-to-one mode is used to indicate that one transmitting device corresponds to one display device.
[0046] Determine the target playback mode based on the playback mode matched by the triggered function key;
[0047] or,
[0048] The receiving device sends a switching instruction, which includes a first switching instruction or a second or third switching instruction. The first switching instruction is used to indicate switching the audio-video separation mode to the one-to-many mode. The second switching instruction is used to indicate switching the one-to-many mode to the audio-video separation mode. The third switching instruction is used to indicate switching the one-to-one mode to the audio-video separation mode.
[0049] Based on this switching instruction, determine the target playback mode;
[0050] or,
[0051] Acquire the target response signal from the receiving device, the target response information including the address information of at least one display device;
[0052] The target playback mode is determined based on the device address information displayed in the target response message.
[0053] According to a third aspect of the present disclosure, a data processing system is provided, the system comprising: a transmitting device and a receiving device.
[0054] The receiving device is used to perform the method described in the first aspect;
[0055] The transmitting device is used to perform the method described in the second aspect.
[0056] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0057] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0058] Figure 1 This is a flowchart of a data processing method provided in an embodiment of this disclosure;
[0059] Figure 1a This is a schematic diagram of the device correspondence in a data processing method provided in this embodiment of the disclosure;
[0060] Figure 2 This is a flowchart of a data processing method provided in an embodiment of this disclosure;
[0061] Figure 3 This is a structural diagram of a data processing system provided in an embodiment of this disclosure;
[0062] Figure 3a This is a logical schematic diagram of a data processing system provided in an embodiment of this disclosure;
[0063] Figure 3b This is a structural diagram of a transmitting device in a data processing system provided in an embodiment of the present disclosure;
[0064] Figure 3c This is a structural diagram of a receiving device in a data processing system provided in this embodiment. Detailed Implementation
[0065] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.
[0066] Example 1
[0067] This disclosure provides a data processing method, such as... Figure 1 As shown, the data processing method includes the following steps:
[0068] 101. Determine the target playback mode.
[0069] The target playback mode provided in this disclosure is used to indicate the mode for playing target data.
[0070] The method provided in this disclosure can confirm the target playback mode in various ways, such as by function key presses, by request information sent by the sending device, or by response signals from the receiving device. Specific examples are given here for illustration:
[0071] Example 1: Determine based on the function key.
[0072] The receiving device detects whether the function button is triggered, and this function button is matched with the playback mode.
[0073] Determine the target playback mode based on the triggered function key.
[0074] For example, the first function key is matched with the one-to-one playback mode, the second function key is matched with the one-to-many playback mode, and the third function key is matched with the audio separation playback mode.
[0075] Example 2: Determined based on the response signal from the receiving device.
[0076] If the function key is not triggered within a preset time period, the sending device starts the signal detection function, detects the receiving device's response request information, and sends it to the receiving device.
[0077] Acquire the target response signal from the receiving device, the target response information including the address information of at least one display device;
[0078] Based on the target response information, the target playback mode is determined. The target playback mode includes at least a one-to-many mode and a one-to-one mode. The one-to-many mode is used to indicate that one sending device corresponds to multiple display devices, and the one-to-one mode is used to indicate that one sending device corresponds to one display device.
[0079] Specifically:
[0080] When the receiving device is connected to an external HDMI cable to display a signal, it sends back the physical address of the display signal to the sending device. At this time, the sending device enters one-to-one mode, and the corresponding receiving device also automatically enters one-to-one mode.
[0081] When the receiving device is connected to multiple, but no more than 8, external HDMI cables to display signals, it sends back the physical addresses of multiple, but no more than 8, display signals to the sending device. At this time, the sending device enters a one-to-many version, and the corresponding receiving device also enters a one-to-many version.
[0082] Example 3: Determined based on the playback request information sent by the receiving and sending devices.
[0083] Receive playback request information, which is used to instruct the playback of target data according to the target playback mode, and the playback request information includes the target playback mode;
[0084] Based on the playback request information, determine the target playback mode.
[0085] The process of obtaining playback request information in the method provided in this disclosure may involve the sending device acquiring source audio and video through HDMI signal, encoding the source audio and video, and sending a signal request to the receiving device through wireless signal. After receiving the signal request from the sending device, the receiving device responds to the transmitter, and the transmitter transmits the encoded audio and video to the receiving device through wireless signal.
[0086] In an optional embodiment, for the specific example two described above, this disclosure can also determine the target playback mode based on the number of display devices and the number of transmitting devices. The specific determination process includes:
[0087] When the system is powered on, it detects the number of receivers N that are powered on and the number of displays M that are powered on.
[0088] If M=1 and N=1, then the one-to-one mode is executed.
[0089] In other cases, if the number of displays M is greater than or equal to the number of receivers N, then switch to one-to-one mode.
[0090] If the number of displays M is less than the number of receivers N, then the correspondence between receivers and displays should be calculated and assigned in the following manner.
[0091] (1) M divided by N is an integer. For example, if N = 2, the number of monitors M = 4. Figure 1a As shown. When M is divided by N = 2, each receiver is allocated 2 displays on average, and the transmitter processes data with receiver 1 and receiver 2 respectively.
[0092] (2) M divided by N is not an integer. For example, N = 4, M = 13. M divided by N = 3.25, round up to 4. Assign one receiver to connect to 4 displays. Then calculate whether (M-4) / (N-1) is divisible. If it is divisible (9 / 3 = 3), the remaining displays are evenly distributed among the other receivers (each receiver is assigned three displays). If it is not divisible, the rounding up process is repeated until all displays are assigned.
[0093] The four connectors connect to 4, 3, 3, and 3 monitors respectively.
[0094] The number of devices is determined during the above judgment process. A detection device can be set up, which can be installed within the transmitting device or stand independently of the detection device. The detection device is wirelessly connected to each receiver and each display device. Each receiver sends a power-on signal to the detection device when it is powered on, and similarly, each display sends a power-on message to the detection device when it is powered on. Alternatively, the detection device periodically sends a probe signal to each receiver and each display. If there is no response within a preset time period, the unresponsive device is determined to be in a powered-off state.
[0095] 102. When the target playback mode is audio-video separation mode, switch to that audio-video separation mode.
[0096] In the method provided in this disclosure, after the receiving device receives the audio and video encoded information sent by the sending device, it decodes the information to generate target information and transmits the decoded target information to the display terminal via an HDMI signal.
[0097] The method provided in this disclosure also includes decoding the target data and confirming the number of display devices. When it is necessary to send target data to multiple display devices, a signal splitter can be used to separate one signal into multiple signals, thereby enabling one receiving device to send target data to multiple display devices.
[0098] The method provided in this disclosure also includes switching a target playback mode according to the display device, which may specifically include:
[0099] Example 1: When the target playback mode is the audio / video separation version, switch to the audio / video separation version.
[0100] After switching to the audio / video separation version, the receiving device will also detect whether all connected display terminals have audio output signals.
[0101] When it is determined that the number of display devices with audio signals is greater than the number of display devices without audio signals, the audio-video separation mode is switched to a one-to-many mode, and a first switching instruction is generated. The first switching instruction is used to indicate that the audio-video separation mode is switched to the one-to-many mode.
[0102] Send the first switching instruction to the transmitting device, so that the transmitting device switches to the one-to-many mode upon receiving the first switching instruction;
[0103] or,
[0104] If the number of display devices with audio signals is less than or equal to the number of display devices without audio signals, then the current version remains unchanged.
[0105] Example 2: When the target playback mode is one-to-many mode, switch to that one-to-many mode.
[0106] After switching to this one-to-many mode, the receiving device will also detect whether all the connected display terminals have audio output signals.
[0107] Detect whether each connected display device has an audio signal;
[0108] When it is determined that the number of display devices with audio signals is less than the number of display devices without audio signals, the one-to-many mode is switched to the audio-video separation mode, and a second switching instruction is generated to indicate that the one-to-many mode is switched to the audio-video separation mode.
[0109] The second switching instruction is sent to the transmitting device, causing the transmitting device to switch to the audio / video separation mode upon receiving the second switching instruction.
[0110] or,
[0111] If the receiving device detects that the number of external display terminals with audio signals is greater than or equal to the number of display terminals without audio signals, then the current version remains unchanged.
[0112] Example 3: When the target playback mode is one-to-one mode, switch to that one-to-one mode.
[0113] After switching to this one-to-one mode, the system also includes detecting whether the audio function of the connected display device is malfunctioning.
[0114] When it is determined that the audio function of the display device has malfunctioned, the one-to-one mode is switched to the audio-video separation mode, and a third switching instruction is generated to indicate the switching of the one-to-one mode to the audio-video separation mode.
[0115] The third switching instruction is sent to the transmitting device so that when the transmitting device receives the third switching instruction, it switches to the audio-video separation mode and encodes the acquired data according to the audio-video separation mode to obtain the target data.
[0116] Alternatively, if the audio function of the display device is detected to be normal, then maintain a one-to-one version.
[0117] Regarding the aforementioned receiving device's detection of whether the external display terminal's audio function is normal, four scenarios are described below:
[0118] a. If the external display terminal has an audio signal, then the current version remains unchanged.
[0119] b. If the external display terminal has no audio signal, switch to the audio-video separation version and send a signal to the sending device to notify the sending device to switch to the audio-video separation version. After receiving the signal sent by the receiving device, the sending device automatically switches to the audio-video separation version and responds to notify the receiving device. At this time, it enters the audio-video separation version and the device starts to standby working state.
[0120] c. If the external display terminal is set to silent mode, the display terminal sends a signal to the receiving device. The receiving device maintains its current version and transmits the information to the sending device, which also maintains its current version.
[0121] d. If the audio port of the external display terminal malfunctions and the receiving device cannot recognize the audio signal, it is determined that the external display terminal has no audio signal interface. In this case, it switches to the audio / video separation version and sends information to the sending device. At this time, the sending device also switches to the audio / video separation version.
[0122] e. If the external display terminal is not turned on, the receiving device's sensor will determine that no display device is connected, and the current version will remain unchanged.
[0123] 103. Receive the target data and perform separation processing on the target data to obtain the target image and target audio.
[0124] The method provided in this disclosure, upon receiving target data, also includes decoding the target data.
[0125] Furthermore, it will determine the number of display devices and then separate the target data so that it can be sent to multiple display devices.
[0126] In the specific implementation process, the separation and processing of the target data mentioned in this disclosure may include:
[0127] The system collects and encodes audio and video information from the computer using a chip, then transmits this encoded information wirelessly to a receiving device. The receiving device decodes the received encoded information, and the decoded information is then split into audio and video or screen images using an audio-video separation module. The separated audio is played through a speaker or loudspeaker, while the separated video or screen images are transmitted to an external display terminal via an HDMI signal. This achieves audio and video / screen separation, allowing users to hear sound while watching video and images even when their display terminal lacks sound playback functionality.
[0128] In the specific implementation process, after determining that the target playback mode is an audio-video separation mode, the method provided in this disclosure will continue to monitor the signal of the connected display device, and determine whether to continue to maintain the target playback version as an audio-video separation mode based on the audio signal of the display device.
[0129] 104. Send the target image to at least one display device and send the target audio to at least one playback device.
[0130] In an alternative embodiment, the playback device may be a device integrated into the receiving device or a playback device local to the display device, thereby facilitating the unification of audio and images.
[0131] In an optional embodiment, in the method provided by this disclosure, when the target playback version is a one-to-many version, the target data is decoded to obtain decoded data;
[0132] By separating the decoded data, N decoded data copies are generated, where N is greater than 2;
[0133] The N decoded data copies are sent to N display devices for display.
[0134] The data processing method provided in this disclosure is applied to a receiving device. When the receiving device receives playback request information sent by the sending device, it processes the target data according to the playback request information and determines the target playback version. When the target playback version is one-to-many, a signal separator can be used to enable one receiving device to connect to multiple display devices and ultimately transmit the target data to multiple display devices. When the target playback version is audio-video separation, an audio-video separation module can be used to separate the target data to obtain the target audio and target image, and ultimately transmit the target image to multiple display devices and the target audio to multiple playback devices.
[0135] The data processing method provided in this disclosure can automatically switch playback versions according to the on-site environment or function keys; more importantly, when the display device in the on-site environment cannot play the playback function, the audio can be played independently at the receiving end, achieving separate output of audio and video, thereby improving the efficiency of data processing, the speed of data playback from the display terminal, and user satisfaction.
[0136] Example 2
[0137] Based on the above Figure 1 The data processing method provided in the corresponding embodiment is further disclosed in another embodiment. This method can be applied to a sending device, such as a terminal device or a network server. The data processing method provided in this embodiment includes the following steps:
[0138] 201. Determine the target playback mode.
[0139] This target playback mode is used to indicate the mode for playing the target data.
[0140] The methods provided in this disclosure include multiple ways to determine the target playback mode. Several examples are listed here for illustration, but this disclosure is not limited to these:
[0141] Example 1: Determine the target playback mode using the function keys:
[0142] Detect whether the function key is triggered. The function key is matched with the playback mode, which includes at least one-to-one mode, one-to-many mode, and audio-video separation mode.
[0143] Determine the target playback mode based on the triggered function key.
[0144] Specifically, the first function key can be set to one-to-one mode, the second function key to one-to-many mode, and the third function key to many-to-many mode.
[0145] Example 2: Determine the target playback mode based on the switching command:
[0146] Receive a handover command sent by the receiving device, the handover command including:
[0147] Based on this switching instruction, determine the target playback mode.
[0148] Specifically, the aforementioned switching instructions may include a first switching instruction, a second switching instruction, and a third switching instruction;
[0149] The first switching command is used to indicate that the audio / video separation mode is switched to the one-to-many mode;
[0150] The second switching instruction is used to indicate the switching from the one-to-many mode to the audio-video separation mode;
[0151] The third switching command is used to indicate the switch from the one-to-one mode to the audio / video separation mode.
[0152] Example 3: Determine the target playback mode based on the target response signal:
[0153] Acquire the target response signal from the receiving device, the target response information including the address information of at least one display device;
[0154] The target playback mode is determined based on the device address information displayed in the target response message.
[0155] Specifically, when the address information indicates the address of only one display device, the target playback mode is a one-to-one mode;
[0156] When the address information indicates the addresses of multiple display devices, the target playback mode is a one-to-many mode.
[0157] 202. Collect raw data and encode it to generate target data.
[0158] After determining the target playback mode, the method provided in this disclosure will acquire source audio and video through HDMI signal according to the target playback mode, encode the source audio and video, and generate target data.
[0159] 203. Based on the target data and the target playback mode, generate playback request information and send it to the receiving device.
[0160] The playback request information provided in this disclosure is used to instruct the playback of target data according to the target playback mode. The playback request information includes: the target playback mode and the target data.
[0161] The method provided in this disclosure sends a playback request message to a receiving device via a wireless signal. Upon receiving the playback request message from the transmitter, the receiving device responds to the transmitting device, and the transmitting device transmits the encoded audio and video to the receiving device via a wireless signal.
[0162] The data processing method provided in this disclosure can automatically switch playback versions according to the on-site environment or function keys; more importantly, when the display device in the on-site environment cannot play the playback function, the audio can be played independently at the receiving end, achieving separate output of audio and video, thereby improving the efficiency of data processing, the speed of data playback from the display terminal, and user satisfaction.
[0163] Example 3
[0164] Based on the above Figure 1The corresponding embodiments of the data processing method provided in this disclosure, including the method for implementing remote device version switching, provide another data processing method that can be applied to both a sending device and a receiving device. For example, the sending device can be a terminal device or a network server, and the receiving device can also be a terminal device or a network server. The data processing method provided in this embodiment includes the following steps:
[0165] Step 1: When the sending device detects that the first function key has been triggered, it determines that the target playback version is a one-to-one version.
[0166] Alternatively, when the receiving device detects that the first function key has been triggered, it determines that the target playback version is a one-to-one version.
[0167] Step 2: If no manual button is pressed 10 seconds after the transmitting device is turned on, the transmitting device will automatically sense and detect the receiving device signal.
[0168] If a receiving device signal is detected, the system will automatically switch to the appropriate version based on the receiving device's response signal.
[0169] When the receiving device is connected to an external HDMI cable to display a signal, it sends back the physical address of the display signal to the sending device. At this time, the sending device enters one-to-one mode, and the corresponding receiving device also automatically enters one-to-one mode.
[0170] (a) After entering a version pair, the receiving device will sense whether the external display terminal has an audio output signal. If the external display terminal has an audio signal, the current version will remain unchanged.
[0171] (b) If the external display terminal has no audio signal, it switches to the audio-video separation version and sends a signal to the sending device to notify the sending device to switch to the audio-video separation version. After receiving the signal sent by the receiving device, the sending device automatically switches to the audio-video separation version and responds to notify the receiving device. At this time, it enters the audio-video separation version and the device starts to standby working state.
[0172] (c) If the external display terminal is set to silent mode, the display terminal sends a signal to the receiving device. The receiving device maintains its current version and transmits the information to the sending device, which also maintains its current version.
[0173] (d) If the audio port of the external display terminal malfunctions and the receiving device cannot recognize the audio signal, it is determined that the external display terminal has no audio signal interface. In this case, it switches to the audio-video separation version and sends information to the sending device. At this time, the sending device also switches to the audio-video separation version.
[0174] (e) If the external display terminal is not turned on, the receiving device's sensor determines that no display device is connected, and the current version remains unchanged.
[0175] Step 3: After the sending device is turned on for 10 seconds, if no manual button is pressed, the sending device will automatically sense and detect the receiving device signal. When the receiving device signal contains address information of multiple display devices, it will enter a one-to-many version.
[0176] When the receiving device is connected to multiple, but no more than eight, external HDMI cables displaying signals, it sends back the physical addresses of these multiple, but no more than eight, display signals to the sending device. At this time, the sending device enters a one-to-many configuration, and the corresponding receiving device also enters a one-to-many configuration.
[0177] (a) After entering a one-to-many version, the receiving device will sense whether each external display terminal has an audio signal. When the receiving device detects that the number of external display terminals with audio signals is greater than or equal to the number of display terminals without audio signals, the current version will remain unchanged.
[0178] (b) When the receiving device detects that the number of external display terminals with audio signals is less than the number of display terminals without audio signals, it will switch to the audio-video separation version and send a signal to the sending device to notify the sending device to switch to the audio-video separation version. After receiving the signal from the receiving device, the sending device will automatically switch to the audio-video separation version and respond to notify the receiving device. At this time, it will enter the audio-video separation version and the device will start to standby working state.
[0179] Step 4: When the transmitting device detects that the second function button has been triggered, the transmitting device will automatically switch to one-to-many version and send a signal to the receiving device. After receiving the signal from the transmitting device, the receiving device will respond and switch to one-to-many version. After the transmitting device is plugged into the computer, it will collect the audio and video information of the computer through the acquisition chip and encode it. It will then transmit this encoded information to the receiving device through a wireless signal. The receiving device will decode the received encoded information and transmit the decoded information through a high-definition signal splitter to each high-definition port for output. Finally, it will be transmitted to each external display terminal through an HDMI cable, and each display terminal will display this audio and video information.
[0180] (a) After entering a one-to-many version, the receiving device will sense whether each external display terminal has an audio signal. When the receiving device detects that the number of external display terminals with audio signals is greater than or equal to the number of display terminals without audio signals, the current version will remain unchanged.
[0181] (b) When the receiving device detects that the number of external display terminals with audio signals is less than the number of display terminals without audio signals, it will switch to the audio-video separation version and send a signal to the sending device to notify the sending device to switch to the audio-video separation version. After receiving the signal sent by the receiving device, the sending device will automatically switch to the audio-video separation version and respond to notify the receiving device. At this time, it will enter the audio-video separation version and the device will start to standby working state.
[0182] Step 5: When the transmitting device detects that the third function button has been triggered, the transmitting device will switch to the audio / video separation version and send a signal to the receiving device. After receiving the signal from the transmitting device, the receiving device will respond and switch to the audio / video separation version. After the transmitting device is plugged into the computer, it will collect and encode the audio and video information of the computer through the acquisition chip, and transmit this encoded information to the receiving device wirelessly. The receiving device will decode the received encoded information, and the decoded information will be split into audio and video or screen by the audio / video separation module. The separated audio will be played through the speaker or loudspeaker, and the separated video or screen information will be transmitted to the external display terminal through the HDMI signal. In this way, the separation of audio and video / screen is achieved, so that when the user's display terminal does not have a sound playback function, the user can hear sound while listening to and watching video and screen.
[0183] After entering the audio and video separation version, (a) when the receiving device detects that the number of external display terminals with audio signals is less than the number of display terminals without audio signals, the current version remains unchanged;
[0184] (b) When the receiving device detects that the number of external display terminals with audio signals is greater than or equal to the number of display terminals without audio signals, it switches to a one-to-many version.
[0185] The data processing method provided in this disclosure allows a receiving device to process target data and determine a target playback version when it receives playback request information from a sending device. When the target playback version is one-to-many, a signal separator can be used to connect one receiving device to multiple display devices, ultimately transmitting the target data to the multiple display devices. When the target playback version is audio-video separated, an audio-video separation module can be used to separate the target data to obtain the target audio and target image, ultimately transmitting the target image to the multiple display devices and the target audio to the multiple playback devices.
[0186] Example 4
[0187] Based on the above Figure 1 The data processing methods described in the corresponding embodiments are described below as device embodiments of this disclosure, which can be used to execute the method embodiments of this disclosure.
[0188] This disclosure provides a data processing system, such as... Figure 3 As shown, the data processing system 30 includes a transmitting device 301 and a receiving device 302.
[0189] The transmitting device 301 is connected to at least one receiving device 302, and the receiving device is connected to at least one display device. The receiving device includes an audio / video separation module.
[0190] The transmitting device 301 is used to collect target data and obtain the target playback mode;
[0191] Based on the target data and the target playback mode, a playback request message is generated and sent to the receiving device. The playback request message is used to instruct the target data to be played according to the target playback mode.
[0192] And send it to the receiving device;
[0193] The receiving device 302 is used to determine a target playback mode, which is used to indicate the mode for playing target data.
[0194] When the target playback mode is audio / video separation mode, switch to that audio / video separation mode;
[0195] Receive target data and perform separation processing on the target data to obtain target image and target audio;
[0196] The target image is sent to at least one display device and the target audio is sent to at least one playback device.
[0197] In specific embodiments, such as Figure 3a As shown, this disclosure provides a logical diagram of data processing in the system:
[0198] The transmitting device 301 acquires source audio and video signals via HDMI, encodes the source audio and video, and sends a signal request to the receiving device 302 via wireless signal. Upon receiving the instruction request from the transmitting device, the receiving device 302 responds to the transmitting device 301. The transmitting device 301 then transmits the encoded audio and video to the receiving device 302 via wireless signal. After receiving the encoded audio and video information from the transmitting device, the receiving device decodes this information and transmits the decoded information to the display terminal via HDMI signal, where the audio and video are played back.
[0199] Specifically, when a one-to-many playback version is required, a signal splitter is added to the receiving device 302, which enables the receiving device to have multiple high-definition signal interfaces, for example, up to 8 high-definition signal interfaces. These 8 high-definition interfaces can be connected to 8 display terminals at the same time, thereby outputting 8 audio and video images simultaneously.
[0200] Specifically, when an audio-video separation playback version is required, the audio-video separation module added to the receiving device can achieve the separation of sound and video / image. When the display terminal cannot output sound, sound output can be achieved on the receiving device.
[0201] In one embodiment, such as Figure 3b As shown, the transmitting device 301 includes a determining module 3011, a collecting module 3012, a processing module 3013, and a transmitting module 3014;
[0202] The determining module 3011 is used to determine the target playback mode, which indicates the mode for playing target data.
[0203] The acquisition module 3012 is used to acquire raw data and encode it according to the target playback mode to generate target data.
[0204] The processing module 3013 is used to generate playback request information based on the target data and the target playback mode.
[0205] The sending module 3014 is used to send playback request information to the receiving device.
[0206] In one embodiment, such as Figure 3c As shown, the receiving device 302 includes a determining module 3021, a switching module 3022, a processing module 3023, and a transmitting module 3024.
[0207] The determining module 3021 is used to determine the target playback mode, which is used to indicate the mode for playing target data;
[0208] The switching module 3022 is used to switch to the audio-video separation mode when the target playback mode is the audio-video separation mode;
[0209] The processing module 3023 is used to receive target data and perform separation processing on the target data to obtain target image and target audio;
[0210] The sending module 3024 is used to send the target image to at least one display device and the target audio to at least one playback device.
[0211] The data processing system provided in this embodiment includes a transmitting device, a receiving device, and a display device. When the receiving device receives playback request information sent by the transmitting device, it processes the target data according to the playback request information and determines the target playback version. When the target playback version is one-to-many, a signal separator can be used to enable one receiving device to connect to multiple display devices and ultimately transmit the target data to multiple display devices. When the target playback version is audio-video separated, an audio-video separation module can be used to separate the target data to obtain the target audio and target image, and ultimately transmit the target image to multiple display devices and the target audio to multiple playback devices.
[0212] Based on the above Figure 1 In addition to the data processing methods described in the corresponding embodiments, this disclosure also provides a computer-readable storage medium. For example, a non-transitory computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, magnetic tape, a floppy disk, or an optical data storage device. This storage medium stores computer instructions for executing the above-described data processing methods. Figure 1 The data processing methods described in the corresponding embodiments will not be repeated here.
[0213] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.
Claims
1. A data processing method, characterized in that, Applied to a receiving device, the method includes: Determine a target playback mode, which indicates the mode for playing target data; the target playback mode includes at least one of a one-to-many mode, a one-to-one mode, and an audio-video separation mode. When the target playback mode is audio-video separation mode, switch to the audio-video separation mode; Receive target data and perform separation processing on the target data to obtain target image and target audio; Send the target image to at least one display device and send the target audio to at least one playback device; Before receiving the target data, the following is also included: Detect whether each connected display device has an audio signal; When it is determined that the number of display devices with audio signals is greater than the number of display devices without audio signals, the audio-video separation mode is switched to a one-to-many mode, and a first switching instruction is generated. The first switching instruction is used to indicate that the audio-video separation mode is switched to the one-to-many mode. Send the first switching instruction to the transmitting device, so that the transmitting device switches to the one-to-many mode when it receives the first switching instruction; When the target playback mode is a one-to-many mode, switch to the one-to-many mode; After switching to the one-to-many mode, the following is also included: Detect whether each connected display device has an audio signal; When it is determined that the number of display devices with audio signals is less than the number of display devices without audio signals, the one-to-many mode is switched to the audio-video separation mode, and a second switching instruction is generated. The second switching instruction is used to indicate that the one-to-many mode is switched to the audio-video separation mode. Send the second switching instruction to the transmitting device, so that the transmitting device switches to the audio-video separation mode when it receives the second switching instruction; When the target playback mode is a one-to-one mode, switch to the one-to-one mode; After switching to the one-to-one mode, the following is also included: Check if the audio function of the connected display device is malfunctioning; When it is determined that the audio function of the display device has malfunctioned, the one-to-one mode is switched to the audio-video separation mode, and a third switching instruction is generated. The third switching instruction is used to indicate the switching of the one-to-one mode to the audio-video separation mode. The third switching instruction is sent to the transmitting device so that when the transmitting device receives the third switching instruction, it switches to the audio-video separation mode and encodes the collected data according to the audio-video separation mode to obtain the target data.
2. The method according to claim 1, characterized in that, The determination of the target playback mode includes: Receive playback request information, the playback request information being used to instruct the playback of target data according to a target playback mode, the playback request information including the target playback mode; Based on the playback request information, a target playback mode is determined; the target playback mode includes a one-to-many mode, a one-to-one mode, and an audio-video separation mode. The one-to-many mode is used to indicate that one sending device corresponds to multiple display devices, and the one-to-one mode is used to indicate that one sending device corresponds to one display device.
3. The method according to claim 1, characterized in that, The determination of the target playback mode includes: Detect the target number of connected display devices; Based on the target number of display devices, the target playback mode is determined to be either a one-to-many mode or a one-to-one mode; And send the target playback mode to the sending device.
4. The method according to claim 1, characterized in that, Also includes: When the target playback mode is a one-to-many mode, the target data is decoded to obtain decoded data; By separating the decoded data, N copies of decoded data are generated, where N is greater than 2; The N decoded data are sent to N display devices for display.
5. A data processing method, characterized in that, Applied to a transmitting device, the method includes: Determine the target playback mode, which indicates the mode for playing the target data; Collect raw data and encode it to generate target data; Based on the target data and the target playback mode, a playback request message is generated and sent to the receiving device; The determination of the target playback mode includes: The detection function key is triggered. The function key is matched with the playback mode. The playback mode includes at least one of the following: one-to-one mode, one-to-many mode, and audio-video separation mode. The one-to-many mode is used to indicate that one transmitting device corresponds to multiple display devices, and the one-to-one mode is used to indicate that one transmitting device corresponds to one display device. When it is determined that the number of display devices with audio signals is greater than the number of display devices without audio signals, the audio-video separation mode is switched to a one-to-many mode, and a first switching instruction is generated. The first switching instruction is used to indicate that the audio-video separation mode is switched to the one-to-many mode. When it is determined that the number of display devices with audio signals is less than the number of display devices without audio signals, the one-to-many mode is switched to the audio-video separation mode, and a second switching instruction is generated. The second switching instruction is used to indicate that the one-to-many mode is switched to the audio-video separation mode. When it is determined that the audio function of the display device has malfunctioned, the one-to-one mode is switched to the audio-video separation mode, and a third switching instruction is generated. The third switching instruction is used to indicate the switching of the one-to-one mode to the audio-video separation mode. The target playback mode is determined based on the playback mode matched by the triggered function key.
6. A data processing system, characterized in that, The system includes a transmitting device and a receiving device; The receiving device is used to perform the method according to any one of claims 1 to 4; The transmitting device is used to perform the method of claim 5.
Citation Information
Patent Citations
Wireless screen projection method, wireless screen projection system and computer readable storage medium thereof
CN111263217A
Multimedia data playing method, terminal and storage medium
CN111984215A
