CN112860204A - Data processing method and system - Google Patents

Data processing method and system Download PDF

Info

Publication number
CN112860204A
CN112860204A CN202110192247.8A CN202110192247A CN112860204A CN 112860204 A CN112860204 A CN 112860204A CN 202110192247 A CN202110192247 A CN 202110192247A CN 112860204 A CN112860204 A CN 112860204A
Authority
CN
China
Prior art keywords
mode
target
audio
sending
playing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110192247.8A
Other languages
Chinese (zh)
Inventor
苏剑峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202110192247.8A priority Critical patent/CN112860204A/en
Publication of CN112860204A publication Critical patent/CN112860204A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a data processing method and a data processing system, relates to the technical field of electronic information, and can solve the problem of low data processing efficiency caused by the fact that screen-throwing versions cannot be switched in a self-adaptive mode in an existing screen-throwing system. The specific technical scheme is as follows: when receiving equipment receives playing request information sent by sending equipment, processing target data according to the playing request information and determining a target playing version; when the target playing version is one-to-many, one receiving device can be connected with a plurality of display devices through the signal separator, and finally target data are transmitted to the plurality of display devices; when the target playing version is audio-video separation, the target audio and the target image can be obtained by separating target data through the audio-video separation module, and finally the target image is transmitted to the plurality of display devices and the target audio is transmitted to the plurality of playing devices. The present disclosure is directed to data processing with a screen projection device.

Description

Data processing method and system
Technical Field
The present disclosure relates to the field of electronic information technologies, and in particular, to a data processing method and system.
Background
Currently, all screen projection devices are limited to one screen projection version mode, for example, one projection transmission device corresponds to one display device, or one projection transmission device corresponds to a plurality of display devices; when the screen-casting version needs to be switched, manual intervention is needed, and switching of switching the screen-casting version is manually controlled, and more importantly, the screen-casting version cannot be automatically changed according to a field fault, for example, when an audio playing function of the display device fails, the screen-casting version cannot be automatically changed; therefore, the labor cost is increased, even the data cannot be played normally, and the data processing efficiency of the screen projection is reduced.
Disclosure of Invention
The embodiment of the disclosure provides a data processing method and system, which can solve the problem of low data processing efficiency caused by self-adaptive switching of screen projection versions in the existing screen projection system. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a data processing method applied to a receiving device, the method including:
determining a target play mode, wherein the target play mode is used for indicating a mode for playing target data;
when the target playing mode is an audio and video separation mode, switching to the audio and video separation mode;
receiving target data, and performing separation processing on the target data to obtain a target image and a target audio;
and sending the target image to at least one display device and sending the target audio to at least one playing device.
In one embodiment, the method for determining the target play mode comprises:
receiving play request information, wherein the play request information is used for indicating that target data are played according to a target play mode, and the play request information comprises the target play mode;
determining a target playing mode according to the playing request information; the target play mode includes a one-to-many mode, or a one-to-one mode, or an audio-video separated mode, the one-to-many mode being used to indicate one transmitting device to correspond to a plurality of display devices, and the one-to-one mode being used to indicate one transmitting device to correspond to one display device.
In one embodiment, the method for determining the target play mode comprises:
detecting a target number of connected display devices;
determining a target play mode to be a one-to-one multimode mode or a one-to-one mode according to the target number of the display equipment;
and transmits the target play mode to the transmitting device.
In one embodiment, the method further comprises, before said receiving the target data:
detecting whether each connected display device has an audio signal;
when the number of the display devices with the audio signals is larger than that of the display devices without the audio signals, the audio-video separation mode is switched to a pair of multi-modes;
when the audio and video separation mode is switched to the one-to-many mode, a first switching instruction is generated and sent to the sending equipment, the first switching instruction is used for indicating that the audio and video separation mode is switched to the one-to-many mode, so that the sending equipment is switched to the one-to-many mode when receiving the first switching instruction, and collected data are coded according to the one-to-many mode to obtain the target data;
and when the detection result indicates that the number of the display devices with the audio signals is less than that of the display devices without the audio signals, determining to maintain the target version.
In one embodiment, the method further comprises:
and when the target play mode is a pair of multi-modes, switching to the pair of multi-modes.
In one embodiment, the method further comprises, after said switching to said pair of multiple modes:
detecting whether each connected display device has an audio signal;
when the number of the display devices with the audio signals is determined to be smaller than the number of the display devices without the audio signals, switching the pair of multi-modes to the audio and video separation mode;
when the pair of multimode switches to the audio and video separation mode, generating a second switching instruction and sending the second switching instruction to the sending device, wherein the second switching instruction is used for indicating that the pair of multimode switches to the audio and video separation mode, so that the sending device switches to the audio and video separation mode when receiving the second switching instruction, and encodes collected data according to the audio and video separation mode to obtain the target data;
and when the number of the display devices with the audio signals is larger than that of the display devices without the audio signals, determining to maintain the target version, and decoding the target data to obtain decoded data.
In one embodiment, the method further comprises:
and when the target play mode is a one-to-one mode, switching to the one-to-one mode.
In one embodiment, the method further comprises, after said switching to said one-to-one mode:
detecting whether an audio function of a connected display device fails;
when the audio function of the display equipment is determined to be in fault, the one-to-one mode is switched to an audio and video separation mode;
and when the one-to-one mode is switched to the audio and video separation mode, generating a third switching instruction and sending the third switching instruction to the sending equipment, wherein the third switching instruction is used for indicating that the one-to-one mode is switched to the audio and video separation mode, so that the sending equipment is switched to the audio and video separation mode when receiving the third switching instruction, and the collected data is coded according to the audio and video separation mode to obtain the target data.
And when the detection result indicates that the audio function of the display equipment is normal, decoding the target data to obtain decoded data.
In one embodiment, the method further comprises:
when the target playing version is a one-to-many version, decoding the target data to obtain decoded data;
generating N pieces of decoded data by separating the decoded data, wherein N is more than 2;
and respectively sending the N pieces of decoded data to N pieces of display equipment for display.
According to the data processing method provided by the embodiment of the disclosure, when receiving equipment receives playing request information sent by sending equipment, target data is processed according to the playing request information, and a target playing version is determined; when the target playing version is one-to-many, one receiving device can be connected with a plurality of display devices through the signal separator, and finally target data are transmitted to the plurality of display devices; when the target playing version is audio-video separation, the target audio and the target image can be obtained by separating target data through the audio-video separation module, and finally the target image is transmitted to the plurality of display devices and the target audio is transmitted to the plurality of playing devices.
According to a second aspect of the embodiments of the present disclosure, there is provided a data processing method applied to a transmission apparatus, the method including:
determining a target play mode, wherein the target play mode is used for indicating a mode for playing target data;
acquiring original data and performing coding processing to generate target data;
and generating playing request information according to the target data and the target playing mode, and sending the playing request information to the receiving equipment.
In one embodiment, the determining the target play mode in the method includes:
detecting whether a function key is triggered or not, wherein the function key is matched with a play mode, the play mode at least comprises one of a one-to-one mode, a one-to-many mode and an audio and video separation mode, the one-to-many mode is used for indicating that one sending device corresponds to a plurality of display devices, and the one-to-one mode is used for indicating that one sending device corresponds to one display device;
determining a target playing mode according to the playing mode matched with the triggered function key;
or,
receiving a switching instruction sent by the receiving equipment, wherein the switching instruction comprises: the audio/video separation device comprises a first switching instruction or one of a second switching instruction and a third switching instruction, wherein the first switching instruction is used for indicating that an audio/video separation mode is switched to the pair of multimode modes, the second switching instruction is used for indicating that the pair of multimode modes is switched to the audio/video separation mode, and the third switching instruction is used for indicating that the one-to-one mode is switched to the audio/video separation mode;
determining a target playing mode according to the switching instruction;
or,
acquiring a target response signal of a receiving device, wherein the target response signal comprises address information of at least one display device;
and determining a target playing mode according to the address information of the display equipment in the target response information.
According to a third aspect of embodiments of the present disclosure, there is provided a data processing system, the system comprising: a transmitting device and a receiving device.
The receiving device is configured to perform the method of the first aspect;
the transmitting device is configured to perform the method of the second aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of a data processing method provided by an embodiment of the present disclosure;
fig. 1a is a schematic diagram of a device correspondence relationship in a data processing method according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a data processing method provided by an embodiment of the present disclosure;
FIG. 3 is a block diagram of a data processing system provided by an embodiment of the present disclosure;
FIG. 3a is a logical schematic diagram of a data processing system provided by an embodiment of the present disclosure;
FIG. 3b is a block diagram of a sending device in a data processing system according to an embodiment of the present disclosure;
fig. 3c is a block diagram of a receiving device in a data processing system according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Example one
An embodiment of the present disclosure provides a data processing method, as shown in fig. 1, the data processing method includes the following steps:
101. a target play mode is determined.
The target play mode provided by the present disclosure is used to indicate a mode of playing target data.
The method provided by the present disclosure may be a method for confirming a target play mode through multiple methods, for example, the method may be determined according to a function key, may be determined according to request information sent by a sending device, and may also be determined according to a response signal of a receiving device, where specific examples are listed here for explanation:
example one: according to the function key.
The receiving equipment detects whether a function key is triggered, and the function key is matched with a play mode;
and determining a target playing mode according to the triggered function key.
For example, a first function key is matched with a one-to-one play mode, a second function key is matched with a one-to-many play mode, and a third function key is matched with an audio separation play mode.
Example two: determined from the response signal of the receiving device.
When detecting that the function key is not triggered within a preset time period, sending a device start signal detection function, detecting that the receiving device becomes response request information, and sending the response request information to the receiving device;
acquiring a target response signal of a receiving device, wherein the target response signal comprises address information of at least one display device;
and determining a target play mode according to the target response information, wherein the target play mode at least comprises a one-to-many mode and a one-to-one mode, the one-to-many mode is used for indicating one sending device to correspond to a plurality of display devices, and the one-to-one mode is used for indicating one sending device to correspond to one display device.
Specifically, the method comprises the following steps:
when the receiving device is externally connected with an HDMI line display signal, a physical address of the display signal is transmitted back to the sending device, at the moment, the sending device enters a one-to-one version, the corresponding receiving device also automatically enters the one-to-one version,
when the receiving device is externally connected with a plurality of external HDMI line display signals which are not more than 8, the external HDMI line display signals are transmitted back to the transmitting device by a plurality of physical addresses which are not more than 8 display signals, at the moment, the transmitting device enters a one-to-many version, and the corresponding receiving device also enters the one-to-many version.
Example three: and determining according to the playing request information sent by the receiving and sending equipment.
Receiving play request information, wherein the play request information is used for indicating that target data are played according to a target play mode, and the play request information comprises the target play mode;
and determining a target playing mode according to the playing request information.
The process of acquiring the play request information in the method provided by the disclosure may be that the sending device acquires audio and video of the source end through an HDMI signal, encodes the audio and video of the source end, sends a signal request to the receiving device through a wireless signal, the receiving device responds to the transmitter after receiving the signal request of the sending device, and the transmitter sending device transmits the encoding of the audio and video to the receiving device through a wireless signal.
In an optional embodiment, for the second specific example, the present disclosure may further determine the target play mode according to the number of the display devices and the number of the sending devices, where the specific determination process includes:
when the system is started, detecting the number N of started receivers and the number M of started displays;
if M is 1 and N is 1, a pair 1 mode is executed.
Otherwise, if the number of displays M is greater than or equal to the number of receivers N, switching to the one-to-one mode is performed.
If the number of displays M is less than the number of receivers N, the correspondence between receivers and displays is calculated and assigned according to the following manner.
(1) M divided by N is an integer, for example, N is 2, and the number of displays M is 4, as shown in fig. 1 a. When M is divided by N to 2, each receiver is equally allocated with 2 displays, and the transmitter and the receiver 1 and 2 respectively perform data processing.
(2) M divided by N is a non-integer, e.g., N-4 and M-13. Dividing M by N is 3.25, rounding up 3.25 to 4, allocating one receiver to connect 4 displays, calculating whether (M-4)/(N-1) can be divided, if (9/3 is 3), other receivers equally allocate the rest displays (each allocates three displays), if not, then executing the rounding up process, and continuing the process until all displays are allocated.
The number of the displays respectively connected with the four connectors is as follows: 4. 3, 3 and 3.
The number of devices is determined in the above judging process, and a detecting device may be provided, and the device may be in the sending device or may be independent of a detecting device. The detection device is wirelessly connected with each receiver and each display device. Each receiver sends a power-on signal to the detection device when the display is powered on, and similarly, each display sends a power-on information to the detection device when the display is powered on. Or, the detection device periodically sends a detection signal to each receiver and each display, and if no response is made within a preset time period, the equipment without response is judged to be in a non-power-on state.
102. And when the target playing mode is the audio and video separation mode, switching to the audio and video separation mode.
In the method provided by the disclosure, after receiving the audio and video coding information sent by the sending equipment, the receiving equipment decodes the information to generate target information, and transmits the decoded target information to the display terminal through an HDMI signal.
The decoding processing target data in the method provided by the disclosure further comprises confirming the number of the display devices, and when the target data needs to be sent to a plurality of display devices, one path of signal can be separated into multiple paths of signals through the signal separator, so that one receiving device can send the target data to the plurality of display devices.
The method provided by the present disclosure further includes switching the target play mode according to the display device, and specifically may include:
example one: and when the audio and video separation version of the target playing mode is switched to the audio and video separation version.
After the audio/video separation version is switched to, the receiving device can detect whether the connected display terminals all have audio output signals:
when the number of the display devices with the audio signals is determined to be larger than the number of the display devices without the audio signals, switching the audio-video separation mode into a pair of multiple modes, and generating a first switching instruction, wherein the first switching instruction is used for instructing to switch the audio-video separation mode into the pair of multiple modes;
sending the first switching instruction to the sending equipment, so that the sending equipment is switched into the one-to-many mode when receiving the first switching instruction;
or,
upon determining that 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 is maintained.
Example two: when the target play mode is a pair of multi-modes, switching to the pair of multi-modes.
After the switching to the one-to-many mode, the receiving device detects whether the connected display terminals all have audio output signals:
detecting whether each connected display device has an audio signal;
when the number of the display devices with the audio signals is smaller than that of the display devices without the audio signals, switching the pair of multi-modes to the audio and video separation mode, and generating a second switching instruction, wherein the second switching instruction is used for indicating that the pair of multi-modes is switched to the audio and video separation mode;
and sending the second switching instruction to the sending equipment, so that the sending equipment is switched to the audio and video separation mode when receiving the second switching instruction.
Or,
and when the receiving equipment detects that the number of the audio signals of the external display terminals is greater than or equal to the number of the display terminals without the audio signals, keeping the current version unchanged.
Example three: when the target play mode is a one-to-one mode, switching to the one-to-one mode.
After the switching to the one-to-one mode, detecting whether an audio function of the connected display device fails:
when the audio function of the display equipment is determined to be in fault, switching the one-to-one mode into an audio and video separation mode, and generating a third switching instruction, wherein the third switching instruction is used for indicating to switch the one-to-one mode into the audio and video separation mode;
and sending the third switching instruction to the sending equipment so that the sending equipment is switched to the audio and video separation mode when receiving the third switching instruction, and encoding the acquired data according to the audio and video separation mode to obtain the target data.
Or, when the audio function of the display device is detected to be normal, the one-to-one version is maintained.
When the receiving device senses and detects whether the audio function of the external display terminal is normal, four situations are listed here for explanation:
a, if the external display terminal has audio signals, keeping the current version unchanged,
b, if the external display terminal has no audio signal, switching to an audio-video separation version, sending a signal to a sending device to inform the sending device of switching to the audio-video separation version, automatically switching to the audio-video separation version after the sending device receives the signal sent by a receiving device, responding to inform the receiving device, starting to enter the audio-video separation version, and starting to enter a standby working state at the moment;
c, if the external display terminal is set to be in a mute mode, the display terminal sends a signal to the receiving equipment, the receiving equipment keeps the current version unchanged and transmits information to the sending equipment, the sending equipment keeps the current version unchanged,
d, if the external display terminal audio port has a fault and the receiving device cannot recognize the audio signal, judging that the external display terminal has no audio signal interface, switching to an audio-video separation version, sending information to the sending device, switching the sending device to the audio-video separation version,
e, if the external display terminal is not opened, the sensing device of the receiving equipment judges that the display equipment is not connected, the current version is kept unchanged,
103. and receiving target data, and performing separation processing on the target data to obtain a target image and a target audio.
When the target data is received in the method provided by the present disclosure, decoding processing is further performed on the target data.
Further, the number of display devices is also determined, and the target data is separated and transmitted to a plurality of display devices.
In a specific implementation, the separating and processing the target data according to the present disclosure may include:
the information such as audio and video pictures of a computer is collected through the collection chip and is coded, the coded information is transmitted to the receiving equipment through a wireless signal, the receiving equipment decodes the received coded information, the decoded information is subjected to sound and video or picture split screen through the audio and video separation module, the separated audio is played through a loudspeaker or a loudspeaker component, the separated information such as the video or the picture is transmitted to the external display terminal through an HDMI signal, and therefore the audio and the video are separated from the picture through the HDMI signal transmission, so that when the display terminal of a user does not have a sound playing function, the requirement that the user can listen to the sound while watching the video and the picture can be met.
In a specific implementation process, after determining that the target play mode is the audio/video separation mode, the method provided by the present disclosure may further continuously monitor a signal of the connected display device, and determine whether to continue to maintain the target play version as the audio/video separation mode according to an audio signal of the display device.
104. And sending the target image to at least one display device and sending the target audio to at least one playing device.
In alternative embodiments, the playback device may be a device that is integrated with the receiving device or a playback device that is local to the display device, thereby facilitating the unification of audio and images.
In an optional embodiment, in the method provided by the present disclosure, when the target playback version is a one-to-many version, the target data is decoded to obtain decoded data;
generating N pieces of decoded data by separating the decoded data, wherein N is more than 2;
and respectively sending the N pieces of decoded data to N pieces of display equipment for display.
The data processing method provided by the embodiment of the disclosure is applied to receiving equipment, and when the receiving equipment receives the playing request information sent by sending equipment, the target data is processed according to the playing request information, and a target playing version is determined; when the target playing version is one-to-many, one receiving device can be connected with a plurality of display devices through the signal separator, and finally target data are transmitted to the plurality of display devices; when the target playing version is audio-video separation, the target audio and the target image can be obtained by separating target data through the audio-video separation module, and finally the target image is transmitted to the plurality of display devices and the target audio is transmitted to the plurality of playing devices.
By the data processing method provided by the disclosure, the playing version can be automatically switched according to the field environment or the function key; more importantly, when the display device in the field environment cannot realize the playing function, the audio independent playing can be realized at the receiving end, and the audio, the video and the picture are separately output, so that the data processing efficiency is improved, and the rapidness and the user satisfaction of the data playing from the display terminal are improved.
Example two
Based on the data processing method provided by the embodiment corresponding to fig. 1, another embodiment of the present disclosure provides a data processing method, which may be applied to a sending device, for example, the sending device may be a terminal device or a network server. The data processing method provided by the embodiment comprises the following steps:
201. a target play mode is determined.
The target play mode is used to indicate a mode of playing the target data.
The method provided by the present disclosure includes various ways to determine the target play mode, which are illustrated by a few examples and do not represent that the present disclosure is limited thereto:
example one: determining a target playing mode according to the function keys:
detecting whether a functional key is triggered, wherein the functional key is matched with a play mode, and the play mode at least comprises a one-to-one mode, a one-to-many mode and an audio-video separation mode;
and determining a target playing mode according to the triggered function key.
Specifically, the first function key may be set to be in a one-to-one mode, the second function key may be in a one-to-many mode, and the third function key may be in a many-to-many mode.
Example two: determining a target playing mode according to the switching instruction:
receiving a switching instruction sent by the receiving equipment, wherein the switching instruction comprises:
and determining a target playing mode according to the switching instruction.
Specifically, the switching instruction may include a first switching instruction, a second switching instruction, and a third switching instruction;
the first switching instruction is used for indicating that the audio and video separation mode is switched into the pair of multimode;
the second switching instruction is used for indicating that a pair of multimode is switched to the audio and video separation mode;
the third switching instruction is used for indicating to switch the one-to-one mode into the audio and video separation mode,
example three: determining a target play mode according to the target response signal:
acquiring a target response signal of a receiving device, wherein the target response signal comprises address information of at least one display device;
and determining a target playing mode according to the address information of the display equipment in the target response information.
Specifically, when the address information indicates an address of only one display device, the target play mode is a one-to-one mode;
when the address information indicates addresses of a plurality of display devices, the target play mode is a one-to-many mode.
202. And acquiring original data, and performing coding processing to generate target data.
After the target play mode is determined, the method provided by the disclosure can acquire the audio and video of the source end through the HDMI signal according to the target play mode, and encode the audio and video of the source end to generate target data.
203. And generating playing request information according to the target data and the target playing mode, and sending the playing request information to the receiving equipment.
The playing request information provided by the present disclosure is used for indicating that target data is played according to a target playing mode, and the playing request information includes: a target play mode and target data.
The method provided by the disclosure sends the playing request information to the receiving equipment through the wireless signal, the receiving equipment receives the playing request information of the transmitter, the transmitting equipment responds to the transmitting equipment, and the transmitting equipment transmits the audio and video coding to the receiving equipment through the wireless signal.
By the data processing method provided by the disclosure, the playing version can be automatically switched according to the field environment or the function key; more importantly, when the display device in the field environment cannot realize the playing function, the audio independent playing can be realized at the receiving end, and the audio, the video and the picture are separately output, so that the data processing efficiency is improved, and the rapidness and the user satisfaction of the data playing from the display terminal are improved.
EXAMPLE III
Based on the data processing method provided by the embodiment corresponding to fig. 1, the version switching of the remote device is realized in the present disclosure, and another embodiment of the present disclosure provides a data processing method, which may be applied to a sending device and a receiving device, for example, the sending device may be a terminal device or a network server, and the receiving device may also be a terminal device or a network server. The data processing method provided by the embodiment comprises the following steps:
step one, when the sending equipment detects that the first function key is triggered, determining that the target playing version is a one-to-one version.
Or when the receiving equipment detects that the first function key is triggered, determining that the target playing version is a one-to-one version.
And step two, after the sending equipment is started for 10 seconds, if the key is not manually triggered, the sending equipment automatically senses and detects a receiving equipment signal.
If a receiving device signal is detected, the corresponding version is automatically switched to according to the response signal of the receiving device.
When the receiving device is externally connected with an HDMI line display signal, a physical address of the display signal is transmitted back to the sending device, at the moment, the sending device enters a one-to-one version, the corresponding receiving device also automatically enters the one-to-one version,
(a) after entering a pair of versions, the receiving device will sense and detect whether the external display terminal has audio output signals, if the external display terminal has audio signals, the current version is kept unchanged,
(b) if the external display terminal has no audio signal, switching to an audio-video separation version, sending a signal to a sending device to inform the sending device of switching to the audio-video separation version, automatically switching to the audio-video separation version after the sending device receives the signal sent by a receiving device, responding to inform the receiving device, starting to enter the audio-video separation version, and starting to enter a standby working state;
(c) if the external display terminal is set to be in a mute mode, the display terminal sends a signal to the receiving equipment, the receiving equipment keeps the current version unchanged and transmits information to the sending equipment, the sending equipment keeps the current version unchanged,
(d) if the external display terminal audio port has a fault and the receiving device cannot identify the audio signal, judging that the external display terminal has no audio signal interface, switching to an audio-video separation version and sending information to the sending device, and switching the sending device to the audio-video separation version,
(e) if the external display terminal is not opened, the sensing device of the receiving device judges that the display device is not connected, the current version is kept unchanged,
and step three, after the sending equipment is started for 10 seconds, if no key is manually triggered, the sending equipment automatically senses and detects a signal of the receiving equipment, and when the signal of the receiving equipment contains address information of a plurality of display equipment, the sending equipment enters a one-to-many version.
When the receiving device is externally connected with a plurality of external HDMI line display signals which are not more than 8, the external HDMI line display signals are transmitted back to the sending device at a plurality of physical addresses which are not more than 8 display signals, at the moment, the sending device enters a one-to-many version, the corresponding receiving device also enters a one-to-many version,
(a) after entering the one-to-many version, the receiving device senses whether each external display terminal has audio signals, and when the receiving device senses that the number of the audio signals of the external display terminals is larger than or equal to the number of the display terminals without the audio signals, the current version is kept unchanged,
(b) when the receiving equipment detects that the number of the audio signals of the external display terminal is less than that of the display terminals without the audio signals, the external display terminal is switched to the audio-video separation version and sends a signal to the sending equipment to inform the sending equipment of switching to the audio-video separation version, the sending equipment automatically switches to the audio-video separation version after acquiring the signal sent by the receiving equipment, responds to inform the receiving equipment, starts to enter the audio-video separation version, and starts to be in a standby working state;
and step four, when the sending equipment detects that the second function key is triggered, the sending equipment can be automatically switched to a one-to-many version, the sending equipment sends a signal to the receiving equipment, the receiving equipment responds to the sending equipment after receiving the signal sent by the sending equipment, the one-to-many version can be switched, after the sending equipment is inserted into the computer, information such as audio and video pictures of the computer is collected and coded through a collection chip, the coded information is transmitted to the receiving equipment through a wireless signal, the receiving equipment decodes the received coded information, the decoded information is transmitted to each high-definition port through a high-definition signal separator and is output, the decoded information is transmitted to each external display terminal through an HDMI (high-definition multimedia interface) line signal, and finally, each display terminal displays the information such as the audio and video pictures.
(a) After entering the one-to-many version, the receiving device senses whether each external display terminal has audio signals, and when the receiving device senses that the number of the audio signals of the external display terminals is larger than or equal to the number of the display terminals without the audio signals, the current version is kept unchanged,
(b) when the receiving equipment detects that the number of the audio signals of the external display terminal is less than that of the display terminals without the audio signals, the external display terminal is switched to an audio-video separation version and sends a signal to the sending equipment to inform the sending equipment of switching to the audio-video separation version, the sending equipment automatically switches to the audio-video separation version after receiving the signal sent by the receiving equipment and responds to inform the receiving equipment, the audio-video separation version starts to enter, and the equipment starts to be in a standby working state;
step five, when the sending equipment detects that the third function key is triggered, the sending equipment can be switched to an audio-video separation version, a signal is sent to the receiving equipment, the receiving equipment responds to the sending equipment after receiving the signal sent by the sending equipment, the receiving equipment can be switched to the audio-video separation version, after the sending equipment is inserted into a computer, information such as audio-video pictures and the like of the computer is collected and coded through a collecting chip, the coded information is transmitted to the receiving equipment through a wireless signal, the receiving equipment decodes the received coded information, the decoded information is subjected to sound and video or picture split screen through an audio-video separation module, the separated audio is played through a loudspeaker or a loudspeaker component, the separated information such as the video or the picture is transmitted to an external display terminal through an HDMI signal, and the separation of the audio, the video and the picture is realized through the above steps, therefore, when the display terminal of the user does not have the sound playing function, the user can listen to the video and the picture and listen to the sound at the same time.
After the audio and video separation version is entered, (a), when the receiving equipment detects that the number of audio signals of the external display terminals is less than that of the display terminals without the audio signals, the current version is kept unchanged;
(b) and when the receiving equipment detects that the number of the audio signals of the external display terminals is greater than or equal to the number of the display terminals without the audio signals, switching to the one-to-many version.
According to the data processing method provided by the embodiment of the disclosure, when receiving equipment receives playing request information sent by sending equipment, target data is processed according to the playing request information, and a target playing version is determined; when the target playing version is one-to-many, one receiving device can be connected with a plurality of display devices through the signal separator, and finally target data are transmitted to the plurality of display devices; when the target playing version is audio-video separation, the target audio and the target image can be obtained by separating target data through the audio-video separation module, and finally the target image is transmitted to the plurality of display devices and the target audio is transmitted to the plurality of playing devices.
Example four
Based on the data processing method described in the embodiment corresponding to fig. 1, the following is an embodiment of the apparatus of the present disclosure, which can be used to execute an embodiment of the method of the present disclosure.
The embodiment of the present disclosure provides a data processing system, as shown in fig. 3, the data processing system 30 includes: a transmitting device 301 and a receiving device 302.
The sending device 301 is connected with at least one receiving device 302, the receiving device is connected with at least one display device, and the receiving device comprises an audio and video separation module;
the sending device 301 is configured to collect target data and obtain a target play mode;
generating play request information according to the target data and a target play mode, and sending the play request information to the receiving equipment, wherein the play request information is used for indicating that the target acquisition data is played according to the target play mode;
and sending the data to the receiving device;
the receiving device 302, configured to determine a target playback mode, where the target playback mode is used to indicate a mode for playing back target data;
when the target playing mode is an audio and video separation mode, switching to the audio and video separation mode;
receiving target data, and performing separation processing on the target data to obtain a target image and a target audio;
and sending the target image to at least one display device and sending the target audio to at least one playing device.
In a specific embodiment, as shown in fig. 3a, the present disclosure provides a logic diagram of data processing in a system:
the transmitting device 301 collects audio and video of a source end through an HDMI signal, encodes the audio and video of the source end, and transmits a signal request to the receiving device 302 through a wireless signal; after receiving the instruction request of the sending device, the receiving device 302 responds to the sending device 301; the transmitting device 301 transmits the audio-video encoding to the receiving device 302 by wireless signals. And after receiving the audio and video coding information sent by the sending equipment, the receiving equipment decodes the information, transmits the decoded information to the display terminal through the HDMI signal, and plays the audio and video through the display terminal.
Specifically, when a pair of multi-broadcast versions need to be implemented, a signal separator is added to the receiving device 302, so that the receiving device has a plurality of high-definition signal interfaces, for example, up to 8 high-definition signal interfaces, and the 8 high-definition interfaces are simultaneously connected to 8 display terminals, thereby simultaneously outputting 8 audio/video pictures.
Specifically, when the audio and video separation playing version needs to be realized, the audio and video and picture separation can be realized through the audio and video picture separation module added in the receiving equipment, and when the display terminal cannot output the sound, the sound output can be realized on the receiving equipment.
In one embodiment, as shown in fig. 3b, the sending device 301 includes a determining module 3011, an acquiring module 3012, a processing module 3013, and a sending module 3014;
the determining module 3011 is configured to determine a target playing mode, where the target playing mode is used to indicate a mode for playing the target data.
The acquisition module 3012 is configured to acquire original data according to the target play mode, perform coding processing on the original data, and generate target data.
The processing module 3013 is configured to generate play request information according to the target data and the target play mode.
The sending module 3014 is configured to send play request information to the receiving device
In one embodiment, as shown in fig. 3c, the receiving device 302 includes a determining module 3021, a switching module 3022, a processing module 3023, and a transmitting module 3024.
The determining module 3021, configured to determine a target playing mode, where the target playing mode is used to indicate a mode for playing the target data;
the switching module 3022 is configured to switch to the audio/video separation mode when the target play mode is the audio/video separation mode;
the processing module 3023, configured to receive target data, and perform separation processing on the target data to obtain a target image and a target audio;
the sending module 3024 is configured to send the target image to at least one display device and send the target audio to at least one playback device.
The data processing system provided by the embodiment of the disclosure comprises a sending device, a receiving device and a display device, wherein when the receiving device receives playing request information sent by the sending device, target data is processed according to the playing request information, and a target playing version is determined; when the target playing version is one-to-many, one receiving device can be connected with a plurality of display devices through the signal separator, and finally target data are transmitted to the plurality of display devices; when the target playing version is audio-video separation, the target audio and the target image can be obtained by separating target data through the audio-video separation module, and finally the target image is transmitted to the plurality of display devices and the target audio is transmitted to the plurality of playing devices.
Based on the data processing method described in the embodiment corresponding to fig. 1, an embodiment of the present disclosure further provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores computer instructions for executing the data processing method described in the embodiment corresponding to fig. 1, which is not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (12)

1. A data processing method applied to a receiving device, the method comprising:
determining a target play mode, wherein the target play mode is used for indicating a mode for playing target data;
when the target playing mode is an audio and video separation mode, switching to the audio and video separation mode;
receiving target data, and performing separation processing on the target data to obtain a target image and a target audio;
and sending the target image to at least one display device and sending the target audio to at least one playing device.
2. The method of claim 1, wherein determining the target playback mode comprises:
receiving play request information, wherein the play request information is used for indicating that target data are played according to a target play mode, and the play request information comprises the target play mode;
determining a target playing mode according to the playing request information; the target play mode comprises a pair of multiple modes, or a one-to-one mode, or an audio and video separation mode, wherein the pair of multiple modes are used for indicating that one sending device corresponds to a plurality of display devices, and the one-to-one mode is used for indicating that one sending device corresponds to one display device.
3. The method of claim 1, wherein determining the target playback mode comprises:
detecting a target number of connected display devices;
determining a target playing mode to be a one-to-one multimode mode or a one-to-one mode according to the target number of the display equipment;
and transmits the target play mode to the transmitting device.
4. The method of claim 1, prior to said receiving target data, further comprising:
detecting whether each connected display device has an audio signal;
when the number of the display devices with the audio signals is determined to be larger than the number of the display devices without the audio signals, the audio/video separation mode is switched to a pair of multiple modes, and a first switching instruction is generated and used for instructing to switch the audio/video separation mode to the pair of multiple modes;
and sending the first switching instruction to the sending equipment, so that the sending equipment is switched into the one-to-many mode when receiving the first switching instruction.
5. The method of claim 1, further comprising:
and when the target play mode is a pair of multi-modes, switching to the pair of multi-modes.
6. The method of claim 5, further comprising, after the switching to the pair of multi-modes:
detecting whether each connected display device has an audio signal;
when the number of the display devices with the audio signals is smaller than that of the display devices without the audio signals, switching the pair of multi-modes to the audio and video separation mode, and generating a second switching instruction, wherein the second switching instruction is used for indicating that the pair of multi-modes is switched to the audio and video separation mode;
and sending the second switching instruction to the sending equipment, so that the sending equipment is switched to the audio and video separation mode when receiving the second switching instruction.
7. The method of claim 1, further comprising:
and when the target play mode is a one-to-one mode, switching to the one-to-one mode.
8. The method of claim 7, further comprising, after the switching to the one-to-one mode:
detecting whether an audio function of a connected display device fails;
when the audio function of the display equipment is determined to be in fault, switching the one-to-one mode into an audio and video separation mode, and generating a third switching instruction, wherein the third switching instruction is used for indicating to switch the one-to-one mode into the audio and video separation mode;
and sending the third switching instruction to the sending equipment so that the sending equipment is switched to the audio and video separation mode when receiving the third switching instruction, and coding collected data according to the audio and video separation mode to obtain the target data.
9. The method of claim 1, further comprising:
when the target playing version is a one-to-many version, decoding the target data to obtain decoded data;
generating N parts of decoded data by separating the decoded data, wherein N is more than 2;
and respectively sending the N decoded data to N display devices for display.
10. A data processing method applied to a transmitting device, the method comprising:
determining a target play mode, wherein the target play mode is used for indicating a mode for playing target data;
acquiring original data and performing coding processing to generate target data;
and generating playing request information according to the target data and the target playing mode, and sending the playing request information to the receiving equipment.
11. The method of claim 10, wherein determining the target playback mode comprises:
detecting whether a function key is triggered or not, wherein the function key is matched with a play mode, the play mode at least comprises one of a one-to-one mode, a one-to-many mode and an audio and video separation mode, the one-to-many mode is used for indicating that one sending device corresponds to a plurality of display devices, and the one-to-one mode is used for indicating that one sending device corresponds to one display device;
determining a target playing mode according to the playing mode matched with the triggered function key;
or,
receiving a switching instruction sent by the receiving device, wherein the switching instruction comprises: the audio/video separation device comprises a first switching instruction or one of a second switching instruction and a third switching instruction, wherein the first switching instruction is used for indicating that an audio/video separation mode is switched to the pair of multi-modes, the second switching instruction is used for indicating that the pair of multi-modes is switched to the audio/video separation mode, and the third switching instruction is used for indicating that the one-to-one mode is switched to the audio/video separation mode;
determining a target playing mode according to the switching instruction;
or,
acquiring a target response signal of a receiving device, wherein the target response signal comprises address information of at least one display device;
and determining a target playing mode according to the address information of the display equipment in the target response information.
12. A data processing system, characterized in that the system comprises a sending device and a receiving device;
the receiving device is configured to perform the method of any one of claims 1 to 9;
the transmitting device is configured to perform the method of any of claims 10 to 11.
CN202110192247.8A 2021-02-19 2021-02-19 Data processing method and system Pending CN112860204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110192247.8A CN112860204A (en) 2021-02-19 2021-02-19 Data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110192247.8A CN112860204A (en) 2021-02-19 2021-02-19 Data processing method and system

Publications (1)

Publication Number Publication Date
CN112860204A true CN112860204A (en) 2021-05-28

Family

ID=75988331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110192247.8A Pending CN112860204A (en) 2021-02-19 2021-02-19 Data processing method and system

Country Status (1)

Country Link
CN (1) CN112860204A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113868084A (en) * 2021-09-27 2021-12-31 联想(北京)有限公司 Intelligent control method and device and electronic equipment
CN113992966A (en) * 2021-10-26 2022-01-28 Oppo广东移动通信有限公司 Redirection method, redirection device, redirection equipment, storage medium and program product
CN115442777A (en) * 2021-06-03 2022-12-06 Oppo广东移动通信有限公司 Screen projection method and device in wireless terminal, wireless terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442777A (en) * 2021-06-03 2022-12-06 Oppo广东移动通信有限公司 Screen projection method and device in wireless terminal, wireless terminal and storage medium
CN113868084A (en) * 2021-09-27 2021-12-31 联想(北京)有限公司 Intelligent control method and device and electronic equipment
GB2611135A (en) * 2021-09-27 2023-03-29 Lenovo Beijing Ltd Intelligent control method and electronic device
CN113992966A (en) * 2021-10-26 2022-01-28 Oppo广东移动通信有限公司 Redirection method, redirection device, redirection equipment, storage medium and program product

Similar Documents

Publication Publication Date Title
CN112860204A (en) Data processing method and system
CN100417206C (en) Data relay device, data relay method and data transmission system
CN100433804C (en) Television receiver and external devices
US7178157B1 (en) Information transmission system, information output apparatus, information input apparatus, and connection relationship identification method
US8526494B2 (en) Information outputting apparatus, information reporting method and information signal supply route selecting method
US8525691B2 (en) Electric equipment with digital interface and method for controlling the same
US20050259181A1 (en) Video signal receiving apparatus and method
US20030185400A1 (en) Sound processing unit, sound processing system, audio output unit and display device
EP1708485A1 (en) Signal output apparatus and signal output method
US20080094524A1 (en) Audio Source Selection
WO1998039927A1 (en) Digital broadcast receiver and display
US20040060076A1 (en) Method and apparatus for preventing duplicate recording of a broadcasting program
JP2001285748A (en) Method for synchronizing hdtv format change with on- screen display
EP2003801A2 (en) Broadcast receiving apparatus and method for configuring the same according to configuration setting values received from outside
KR101445637B1 (en) Method for checking Audio Interface in AV system and apparatus thereof
CN101548540B (en) Image display device and method for controlling the same
US8384831B2 (en) Broadcast viewing system
US10104450B2 (en) Method and device for controlling implementation of application and recording medium thereof
KR100672295B1 (en) Apparatus for screen capture in digital TV
CN112954421A (en) Screen projection method, device, system and equipment
JP3918947B2 (en) Video / audio signal output device
CN101616287A (en) Electronic equipment
CN101552889A (en) A connecting target device information display device and a connecting target device information display method
JP2004048706A (en) Receiving apparatus and receiving method therefor
US8943247B1 (en) Media sink device input identification

Legal Events

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