Data sharing method and device

By establishing a data transmission channel between the terminal device and the smart device, and using the acquisition module of the terminal device to collect and transmit audio and video data, the problem of personal computers being unable to record the images and sounds of multiple people in video calls is solved, thereby improving the user's video call experience.

CN114650386BActive Publication Date: 2025-10-24HISENSE COMML DISPLAY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202011516840.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-21
Publication Date
2025-10-24
Estimated Expiration
2040-12-21

AI Technical Summary

Technical Problem

Personal computers cannot capture the images and sounds of multiple people in a video call, resulting in a poor video call experience for users.

Method used

By establishing a data transmission channel between the terminal device and the smart device, the acquisition module of the terminal device is used to collect audio and video data, and the data is transmitted to the smart device through a USB transmission channel or a wireless transmission channel.

Benefits of technology

It makes up for the defect that smart devices cannot capture large-scale images and sounds, and improves the user's video call experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114650386B_ABST
    Figure CN114650386B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a kind of data sharing method and equipment, it is related to computer technical field, can solve the problem that personal computer cannot include the picture and sound of many people, and the video call experience of user is poor.The method comprises the following steps: establishing data transmission channel with smart device;Target data is collected, and the target data includes at least one of the following: audio data, video data;The target data is transmitted to the smart device;Wherein, the data transmission channel includes at least one of the following: universal serial bus USB transmission channel and wireless transmission channel.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, and in particular, to a data sharing method and device. BACKGROUND

[0002] Generally, a user can use a personal computer with a camera and a microphone to make a video call with others. However, in the case of a large number of people making a video call, such as in a large video conference, the personal computer can not be able to record the pictures and sounds of all the people present, and the user's video call experience is poor. SUMMARY

[0003] Embodiments of the present application provide a data sharing method and device to solve the problem that a personal computer cannot record the pictures and sounds of multiple people, and the user's video call experience is poor.

[0004] To achieve the above-mentioned purpose, embodiments of the present application adopt the following technical solutions:

[0005] In a first aspect, the present application provides a terminal device, comprising: a processing module, a collection module and a communication module; the processing module is configured to establish a data transmission channel with a smart device; the collection module is configured to collect target data, the target data comprising at least one of the following: audio data, video data; the communication module is configured to transmit the target data to the smart device; wherein the data transmission channel comprises at least one of the following: a universal serial bus (USB) transmission channel and a wireless transmission channel.

[0006] Based on the above technical solutions, the terminal device provided by the embodiments of the present application can establish a data transmission channel with a smart device, and transmit the collected target data to the smart device through the data transmission channel. Since the target data can be collected through the terminal device, the defect that the smart device cannot collect pictures and sounds in a large range can be compensated for, thereby improving the user's video call experience.

[0007] Further, in the case where the data transmission channel comprises the USB transmission channel, the terminal device further comprises a multiplexer; the processing module is specifically configured to, in the case where the terminal device and the smart device are in a USB connection state, if a target input of a user is received, establish a USB transmission channel between the collection module and the smart device through the multiplexer; the communication module is specifically configured to obtain the target data from the collection module, and transmit the target data to the smart device through the USB transmission channel.

[0008] Further, in the case that the data transmission channel comprises the wireless transmission channel: the communication module is further configured to receive a first instruction from the smart device; the first instruction is used to request to obtain target data collected by the collection module; the processing module is further configured to obtain the target data according to the first instruction; and the communication module is specifically configured to obtain the target data from the processing module and transmit the target data to the smart device through the wireless transmission channel.

[0009] In a second aspect, the present application provides a smart device, comprising: a processing module and a communication module; the processing module is configured to establish a data transmission channel with a terminal device; and the communication module is configured to receive target data transmitted by the terminal device, the target data comprising at least one of audio data and video data; wherein the data transmission channel comprises at least one of a universal serial bus (USB) transmission channel and a wireless transmission channel.

[0010] Based on the above technical solutions, the smart device provided by the embodiments of the present application can establish a data transmission channel with a terminal device and receive target data transmitted by the terminal device. Since the target data collected by the terminal device can be obtained, the defect that the smart device cannot collect a large range of pictures and sounds can be made up, so as to improve the video call experience of the user.

[0011] Further, in the case that the data transmission channel comprises the wireless transmission channel, the smart device further comprises a virtual drive module; the processing module is specifically configured to establish a wireless transmission channel with the terminal device in the case that the virtual drive module is in a running state; the virtual drive module is configured to generate a first instruction, the first instruction being used to request to obtain target data collected by the terminal device; and the communication module is configured to send the first instruction to the terminal device and receive the target data transmitted by the terminal device.

[0012] Further, the virtual drive module is further configured to generate a second instruction before generating the first instruction, the second instruction being used to request to obtain collection attribute information supported by a collection module of the terminal device; and the communication module is further configured to send target collection parameters to the terminal device, the target collection parameters being collection parameters of the collection module selected by a user according to the collection attribute information.

[0013] In a third aspect, the present application provides a data sharing method applied to the terminal device provided in the first aspect, the method comprising: establishing a data transmission channel with a smart device; collecting target data, the target data comprising at least one of audio data and video data; and transmitting the target data to the smart device; wherein the data transmission channel comprises at least one of a universal serial bus (USB) transmission channel and a wireless transmission channel.

[0014] Further, in the case that the data transmission channel comprises the USB transmission channel, the establishing the data transmission channel with the smart device comprises: receiving a target input of the user in the case that the smart device is in a USB connection state; and establishing the USB transmission channel with the smart device in response to the target input.

[0015] Further, in the case that the data transmission channel comprises the wireless transmission channel, after the establishing the data transmission channel with the smart device, the method further comprises: receiving a first instruction from the smart device; the first instruction is used to request to acquire the target data; and acquiring the target data according to the first instruction.

[0016] In a fourth aspect, the present application provides a data sharing method, applied to the smart device provided in the second aspect, and comprising: establishing a data transmission channel with a terminal device; and receiving target data transmitted by the terminal device, the target data comprising at least one of audio data and video data; wherein the data transmission channel comprises at least one of a universal serial bus (USB) transmission channel and a wireless transmission channel.

[0017] Further, in the case that the data transmission channel comprises the wireless transmission channel, before receiving the target data transmitted by the terminal device, the method further comprises: sending a first instruction to the terminal device, the first instruction being used to request to acquire target data collected by the terminal device.

[0018] Further, before sending the first instruction to the terminal device, the method further comprises: sending a second instruction to the terminal device, the second instruction being used to request to acquire collection attribute information supported by the terminal device; and sending a target collection parameter to the terminal device, the target collection parameter being a collection parameter of the terminal device selected by the user according to the collection attribute information.

[0019] In a fifth aspect, a computing device is provided, comprising: a memory, a processor, a bus and a communication interface; the memory is used to store computer execution instructions, the processor is connected to the memory through the bus; when the computing device is running, the processor executes the computer execution instructions stored in the memory, so that the computing device executes the data sharing method provided in the third aspect or the fourth aspect.

[0020] In a fifth aspect, a computer readable storage medium is provided, the computer readable storage medium comprises computer execution instructions, when the computer execution instructions are running on the computer, the computer execution instructions make the computer execute the data sharing method provided in the third aspect or the fourth aspect. BRIEF DESCRIPTION OF DRAWINGS

[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description only constitute some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor.

[0022] Figure 1 A schematic diagram of a data sharing system provided by an embodiment of the present application is shown in FIG. 1.

[0023] Figure 2 A schematic diagram of a USB transmission channel of a terminal device provided by an embodiment of the present application is shown in FIG. 2.

[0024] Figure 3 A schematic diagram of a USB transmission channel of a terminal device provided by an embodiment of the present application is shown in FIG. 2.

[0025] Figure 4 A flowchart of a data sharing method provided by an embodiment of the present application is shown in FIG. 3.

[0026] Figure 5 A structural diagram of a computing device provided by an embodiment of the present application is shown in FIG. 4. DETAILED DESCRIPTION

[0027] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments only constitute some embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.

[0028] It should be noted that in the embodiments of the present application, the words such as "exemplary" or "for example" are used to represent an example, illustration or description. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. Rather, the words such as "exemplary" or "for example" are intended to present the relevant concept in a specific manner.

[0029] In order to clearly describe the technical solutions in the embodiments of the present application, in the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same or similar items with basically the same function and role. Those skilled in the art can understand that the words "first", "second" and the like are not intended to limit the quantity and execution order.

[0030] As described in the background, the prior art personal computer for video call can only collect the pictures and sounds of users in a small range, and thus can only be used in the case of small number of users. In the case of large number of users, the personal computer can not collect the pictures and sounds of all the users, and the user's video call experience is poor.

[0031] Based on the above problems, the embodiments of the present application provide a data sharing method and device, which can establish a data transmission channel between a terminal device and a smart device, and share target data collected by a collection module of the terminal device to the smart device. Since the target data can be collected by the terminal device, the defect that the smart device cannot collect pictures and sounds in a large range can be made up, so as to improve the user's video call experience.

[0032] As shown in the background, Figure 1 The embodiments of the present application provide a data sharing system 100, which comprises a terminal device 110 and a smart device 120. The terminal device 110 comprises a processing module 111, a collection module 112 and a communication module 113. The processing module 111 is configured to establish a data transmission channel with the smart device 120. The collection module 112 is configured to collect target data, which comprises at least one of audio data and video data. The communication module 113 is configured to transmit the target data to the smart device 120. The smart device 120 comprises a processing module 121 and a communication module 122. The processing module 121 is configured to establish a data transmission channel with the terminal device 110. The communication module 122 is configured to receive the target data transmitted by the terminal device 110, which comprises at least one of audio data and video data.

[0033] It should be noted that the data transmission channel can comprise at least one of a universal serial bus (USB) transmission channel and a wireless transmission channel.

[0034] Optionally, the terminal device 110 can further comprise a multiplexer 114. In the case that the data transmission channel comprises a USB transmission channel, the processing module 111 can be specifically configured to, in the case that the terminal device 110 and the smart device 120 are in a USB connection state, if a target input of a user is received, establish a USB transmission channel between the collection module 112 and the smart device 120 through the multiplexer 114. The communication module 113 can be specifically configured to obtain the target data from the collection module 112, and transmit the target data to the smart device 120.

[0035] Optionally, in the case that the data transmission channel comprises a wireless transmission channel, the smart device 120 can further comprise a virtual drive module 123. The processing module 121 can be specifically configured to: in the case that the virtual drive module 123 is in a running state, establish a wireless transmission channel with the terminal device 110; the virtual drive module 123 can be configured to: generate a first instruction, which can be used to request acquisition of target data collected by the terminal device 110; and the communication module 122 can be configured to: send the first instruction to the terminal device 110, and receive the target data transmitted by the terminal device 110.

[0036] It should be noted that the collection module 112 can be a camera, a microphone, or a module with both audio collection function and video collection function. The processing module 111 and the processing module 121 can be a central processing unit (CPU). In the case that the data transmission channel comprises a USB transmission channel, the communication module 113 and the communication module 122 can be an external USB interface; in the case that the data transmission channel comprises a wireless transmission channel, the communication module 113 and the communication module 122 can be a radio frequency unit.

[0037] The terminal device 110 can be a display terminal comprising the collection module 112 and the processing module 111, and the display terminal can comprise a memory, an input / output device, etc. The input device can comprise a keyboard, a mouse, a touch screen, etc., and the output device can comprise a display device, such as a liquid crystal display (LCD), a cathode ray tube (CRT), etc. The smart device 120 can be various handheld devices and computers with communication function. The embodiments of the present application do not make any limitation in this regard. For example, the handheld device can be a smart phone. The computer can be a personal digital assistant (PDA) computer, a tablet computer, and a laptop computer.

[0038] The following will describe in detail the case that the data transmission channel is a USB transmission channel and the case that the data transmission channel is a wireless transmission channel through two embodiments respectively.

[0039] When the data transmission channel is a USB transmission channel:

[0040] When the terminal device 110 and the smart device 120 are relatively close, the USB transmission channel can be established to realize sharing of real-time audio and video data streams.

[0041] Optionally, the terminal device can include a connection circuit of a general-purpose input / output (GPIO) controlled multiplexer 114. The multiplexer 114 can form different data transmission paths according to a user input trigger.

[0042] Specifically, first, the user needs to connect the terminal device 110 and the smart device 120 together through a USB connection line. In the case that the terminal device 110 and the smart device 120 are in a USB connection state, the user can perform a target input on the terminal device 110. After the terminal device 110 receives the target input of the user, the terminal device 110 can establish a USB transmission channel between the acquisition module 112 and the smart device 120 through the multiplexer 114. Then, the communication module 113 can directly obtain the target data from the acquisition module 112 and transmit the target data to the smart device 120.

[0043] Optionally, the user can trigger the acquisition module 112 to be in a sharable state through a first input (i.e., the above target input) and trigger the acquisition module 112 to be in an unshareable state through a second input. The first input and the second input can be the same input of the user on different controls or different inputs of the user on the same control. The actual use can be determined, and the embodiments of the present application do not limit this.

[0044] For example, the first input and the second input are the same input of the user on different controls. In the case that the terminal device 110 and the smart device 120 are in a USB connection state, the terminal device 110 can display a first interface, and the first interface can include a first control and a second control. The first control is a control for controlling the acquisition module 112 to be in a sharable state, and the second control is a control for controlling the acquisition module 112 to be in an unshareable state. The user can input the first control or the second control in the first interface. In one scenario, the terminal device receives a first input of the user on the first control; and in response to the first input, the terminal device establishes a USB transmission channel between the acquisition module 112 and the smart device 120. For example, Figure 2As shown, after the processing module 111 receives the first input of the user (indicated by 1 in the figure), the multiplexer 114 can establish a path between the acquisition module 112 and the external USB interface. After the acquisition module 112 acquires the target data, the target data can be directly transmitted to the external USB interface through the multiplexer 114, and then transmitted to the smart device 120 through the USB connection line connected between the terminal device 110 and the smart device 120, thereby realizing the sharing of the acquisition module, that is, realizing the sharing of the real-time audio and video data stream. Another scenario is that the terminal device 110 receives the second input of the user on the second control; and in response to the second input, a USB transmission channel is established between the processing module 111 and the smart device 120. As shown in the figure, after the processing module 111 receives the second input of the user (indicated by 0 in the figure), the multiplexer 114 can establish two paths, one between the acquisition module 112 and the processing module 111, and the other between the processing module 111 and the external USB interface. After the acquisition module 112 acquires the target data, the processing module 111 can obtain the target data from the acquisition module 112, but cannot transmit it to the smart device 120 through the external USB interface. The smart device 120 connected to the external USB interface can only realize ordinary USB data sharing with the processing module 111 and cannot directly obtain the target data collected by the acquisition module 112 in real time. Figure 3

[0045] When the data transmission channel is a wireless transmission channel:

[0046] When the terminal device 110 and the smart device 120 are far away, but the network environment is good, the wireless transmission channel can be established to realize the sharing of the real-time audio and video data stream.

[0047] ​Specifically, when the user triggers the smart device 120 to run the audio and video software, the virtual drive module 123 in the smart device 120 can be started accordingly. The user can select the virtual drive module 123 as the audio and video capture device of the smart device 120. Then, in the case that the virtual drive module 123 is in a running state, the smart device 120 can search for the terminal device 110 in the local area network and establish a network connection with the terminal device 110, thereby establishing a wireless transmission channel between the smart device 120 and the terminal device 110. Then, the audio and video software can send a request for obtaining target data to the virtual drive module 123, and the virtual drive module 123 can generate a first instruction according to the request, the first instruction being used to request to obtain the target data collected by the terminal device 110. The smart device 120 can send the first instruction to the terminal device 110 through the communication module 122. After receiving the first instruction, the terminal device 110 can obtain the target data collected by the collection module 112 through the processing module 111, and send the target data to the smart device 120 through the wireless transmission channel. Then, the smart device 120 can transmit the target data to the audio and video software through the virtual drive module 123.

[0048] Further, before sending the first instruction to the terminal device 110, the smart device 120 can also generate a second instruction through the virtual drive module 123 and send the second instruction to the terminal device 110 through the communication module 122, the second instruction being used to request to obtain the collection attribute information supported by the collection module 112 of the terminal device 110, the collection attribute information including the resolution, sampling rate and other information of the collection module 112. Then, the communication module 122 can send a target collection parameter to the terminal device 110, the target collection parameter being the collection parameter of the collection module 112 selected by the user according to the collection attribute information. After receiving the target collection parameter, the terminal device 110 can collect the target data according to the target collection parameter.

[0049] It should be noted that the terminal device and the intelligent device provided in the embodiments of the present application can have the function of realizing target data sharing through the USB transmission channel, can have the function of realizing target data sharing through the wireless transmission channel, and can have both the function of realizing target data sharing through the USB transmission channel and the function of realizing target data sharing through the wireless transmission channel. The target data sharing is realized by establishing the USB transmission channel, which is simple and convenient, stable and reliable in the transmission process, and the virtual drive module does not need to be installed in the intelligent device, and the terminal device can share the target data with any intelligent device without special processing through the USB transmission channel, so the application range is wide. The target data sharing is realized by establishing the wireless transmission channel, which can realize long-distance target data sharing, and since the terminal device does not need to include a multiplexer in this way, the intelligent device can share the target data through any terminal device with a collection module.

[0050] In the embodiments of the present application, the data transmission channel between the terminal device and the intelligent device can be established, and the terminal device can transmit the collected target data to the intelligent device through the data transmission channel. The intelligent device can receive the target data transmitted by the terminal device. Since the intelligent device can obtain the target data collected by the terminal device, the defect that the intelligent device cannot collect pictures and sounds in a large range can be compensated, so that the user's video call experience can be improved.

[0051] Based on the above data sharing system 100, the embodiments of the present application provide a data sharing method applied to the terminal device and the intelligent device provided in the above embodiments.

[0052] As shown in Figure 4 The above data sharing method can include S401-S403.

[0053] S401, a data transmission channel between a terminal device and an intelligent device is established.

[0054] The data transmission channel can include at least one of the following: a universal serial bus (USB) transmission channel and a wireless transmission channel.

[0055] Optionally, in the case where the data transmission channel includes the USB transmission channel, the terminal device can receive a target input of a user in the case where the terminal device and the intelligent device are in a USB connection state; and in response to the target input, the terminal device establishes a USB transmission channel with the intelligent device.

[0056] Optionally, in the case that the data transmission channel comprises a wireless transmission channel, after the data transmission channel between the terminal and the smart device is established, the smart device can send a first instruction to the terminal device, and the terminal device can receive the first instruction from the smart device; the first instruction is used to request to obtain target data; then, the terminal device can obtain the target data according to the first instruction.

[0057] Optionally, before the smart device sends the first instruction to the terminal device, the smart device can send a second instruction to the terminal device, the second instruction is used to request to obtain the collection attribute information supported by the terminal device; then, the smart device can send a target collection parameter to the terminal device, the target collection parameter is a collection parameter of the terminal device selected by the user according to the collection attribute information.

[0058] S402, the terminal device collects target data.

[0059] The target data can include at least one of the following: audio data, video data.

[0060] S403, the terminal device transmits the target data to the smart device.

[0061] Correspondingly, the smart device receives the target data transmitted by the terminal device.

[0062] The data sharing method provided by the embodiment of the application can establish a data transmission channel between the terminal device and the smart device, and share the target data collected by the terminal device in real time to the smart device. Since the smart device can collect target data through the terminal device, the defect that the smart device cannot collect a large range of pictures and sound can be compensated, so that the video call experience of the user can be improved.

[0063] As shown in Figure 5 The embodiment of the application also provides a computing device, which comprises a memory 11, a processor 12, a bus 13 and a communication interface 14; the memory 11 is used to store computer execution instructions, the processor 12 is connected with the memory 11 through the bus 13; when the computing device is running, the processor 12 executes the computer execution instructions stored in the memory 11, so that the computing device executes the sharing method of the audio and video collection module provided by the above-mentioned embodiment.

[0064] In a specific implementation, as an embodiment, the processor 12 (12-1 and 12-2) can comprise one or more CPUs, for example, the CPU0 and the CPU1 shown in Figure 5 As an embodiment, the computing device can comprise a plurality of processors 12, for example, the CPU0, the CPU1, the CPU2 and the CPU3 shown in Figure 5The processors 12-1 and 12-2 shown in FIG. 1 can each be a single-CPU or a multi-CPU. The processors 12 can refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0065] The memory 11 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, a magnetic disk storage or other magnetic storage devices, or any other medium capable of storing desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto. The memory 11 can exist independently of the processors 12 and be connected to the processors 12 via the bus 13. The memory 11 can also be integrated with the processors 12.

[0066] In a specific implementation, the memory 11 is configured to store data used by the present application and computer-executable instructions corresponding to software programs implementing the functionality of the present application. The processors 12 can perform functions of the computing device by running or executing instances of the software programs stored in the memory 11 and by calling or invoking the data stored in the memory 11.

[0067] The communication interface 14 is configured to communicate with other devices or communication networks, such as a control system, a radio access network (RAN), a wireless local area network (WLAN), etc., using any transceiver-like mechanism. The communication interface 14 can include a receiver configured to receive and a transmitter configured to transmit.

[0068] The bus 13 can be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, an extended industry standard architecture (EISA) bus, or the like. The bus 13 can be divided into an address bus, a data bus, a control bus, and the like. For convenience of representation, Figure 5 Only one thick line is used to represent the bus in the middle, but it does not mean that there is only one bus or only one type of bus.

[0069] The embodiment of the present application further provides a computer readable storage medium, which comprises computer execution instructions, and when the computer execution instructions run on the computer, the computer execution instructions make the computer execute the sharing method of the audio and video acquisition module provided by the above embodiment.

[0070] The embodiment of the present application further provides a computer program, which can be directly loaded into the memory and contains software codes, and the computer program can realize the sharing method of the audio and video acquisition module provided by the above embodiment after being loaded and executed by the computer.

[0071] Those skilled in the art can realize that the functions described in the above one or more examples can be realized by hardware, software, firmware or any combination thereof. When realized by software, the functions can be stored in a computer readable medium or transmitted as one or more instructions or codes on the computer readable medium. The computer readable medium includes a computer storage medium and a communication medium, wherein the communication medium includes any medium facilitating the transmission of computer programs from one place to another. The storage medium can be any available medium accessible by a general or special purpose computer.

[0072] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above division of functional modules is taken as an example, and in actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.

[0073] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented by other manners. For example, the apparatus embodiments described above are merely illustrative, for example, the division of the modules or units is merely a logical function division, and actual implementation can have another division manner. For example, multiple units or components can be combined or integrated into another apparatus, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or components shown or discussed can be indirect coupling or communication connection through some interfaces, apparatuses or units, and can be electrical, mechanical or other forms. The units described as separate components can be or can not be physically separated, and the components shown as units can be one physical unit or multiple physical units, i.e., can be located in one place or can be distributed to multiple different places. Some or all units can be selected according to actual needs to achieve the purpose of the embodiment.

[0074] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit. When the integrated unit is realized in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application essentially or the parts that make contributions to the prior art or the whole or part of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for causing an apparatus (which can be a single chip, a chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a ROM, a RAM, a magnetic disk or an optical disk, and various storage medium that can store program codes.

[0075] The above is merely a specific implementation of the present application, but the protection scope of the present application is not limited thereto, any person skilled in the art can easily think of changes or replacements within the technical range disclosed in the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A terminal device, characterized by comprising: The application relates to a terminal device and a method for sharing target data. The terminal device comprises a processing module, a collecting module, a communication module and a multiplexer. The processing module is configured to establish a data transmission channel with an intelligent device. The collecting module is configured to collect target data, which comprises at least one of audio data and video data. The communication module is configured to transmit the target data to the intelligent device. The data transmission channel comprises at least one of a universal serial bus (USB) transmission channel and a wireless transmission channel. When the data transmission channel comprises the USB transmission channel, the multiplexer is connected with a general input / output (GPIO) signal; the processing module is specifically configured to receive a first input or a second input of a user when the terminal device and the intelligent device are in a USB connection state, the first input is used to trigger the collecting module to be in a sharable state, and the second input is used to trigger the collecting module to be in an unsharable state; if the first input of the user is received, the USB transmission channel between the collecting module and the intelligent device is established through the multiplexer; at this time, the communication module is specifically configured to acquire the target data from the collecting module and transmit the target data to the intelligent device through the USB transmission channel.

2. The terminal device according to claim 1, characterized by When the data transmission channel comprises the wireless transmission channel: The communication module is further configured to receive a first instruction from the intelligent device; the first instruction is used to request to acquire the target data collected by the collecting module; The processing module is further configured to acquire the target data according to the first instruction; The communication module is specifically configured to acquire the target data from the processing module and transmit the target data to the intelligent device through the wireless transmission channel.

3. A smart device, comprising: The application relates to a terminal device and a method for sharing target data. The terminal device comprises a processing module and a communication module. The processing module is configured to establish a data transmission channel with a terminal device. The communication module is configured to receive target data transmitted by the terminal device, the target data comprising at least one of audio data and video data. The data transmission channel comprises at least one of a universal serial bus (USB) transmission channel and a wireless transmission channel. When the data transmission channel comprises the USB transmission channel, a multiplexer of the terminal device is connected with a general input / output (GPIO) signal; when the terminal device and the intelligent device are in a USB connection state, the terminal device receives a first input or a second input of a user, the first input is used to trigger a collecting module of the terminal device to be in a sharable state, and the second input is used to trigger the collecting module of the terminal device to be in an unsharable state; if the first input of the user is received, a USB transmission channel between the collecting module and the intelligent device is established through the multiplexer; the communication module is specifically configured to receive target data transmitted by the terminal device through the USB transmission channel.

4. The smart device of claim 3, wherein, In a case where the data transmission channel comprises the wireless transmission channel, the smart device further comprises a virtual drive module; the processing module is specifically configured to: in a case where the virtual drive module is in a running state, establish a wireless transmission channel with the terminal device; the virtual drive module is configured to: generate a first instruction, the first instruction being used to request acquisition of target data collected by the terminal device; the communication module is configured to: send the first instruction to the terminal device, and receive the target data transmitted by the terminal device.

5. The smart device of claim 4, wherein, the virtual drive module is further configured to: before generating the first instruction, generate a second instruction, the second instruction being used to request acquisition of collection attribute information supported by a collection module of the terminal device; the communication module is further configured to: send target collection parameters to the terminal device, the target collection parameters being collection parameters of the collection module selected by a user according to the collection attribute information.

6. A data sharing method characterized by, Applied to a terminal device, the terminal device comprising a multiplexer connected with a general-purpose input-output (GPIO) signal, the method comprising: establishing a data transmission channel with a smart device; collecting target data, the target data comprising at least one of the following: audio data and video data; transmitting the target data to the smart device; wherein the data transmission channel comprises at least one of the following: a universal serial bus (USB) transmission channel and a wireless transmission channel; in a case where the data transmission channel comprises the USB transmission channel, the establishing of the data transmission channel with the smart device comprises: in a case where the terminal device is in a USB connection state with the smart device, receiving a first input or a second input of a user, the first input being used to trigger a collection module to be in a sharable state, and the second input being used to trigger the collection module to be in an unshareable state; and if the first input of the user is received, establishing a USB transmission channel between the collection module and the smart device through the multiplexer.

7. The data sharing method of claim 6, wherein, in a case where the data transmission channel comprises the wireless transmission channel, after the establishing of the data transmission channel with the smart device, the method further comprises: receiving a first instruction from the smart device, the first instruction being used to request acquisition of the target data; acquiring the target data according to the first instruction.

8. A data sharing method characterized by, Applied to a smart device, comprising: establishing a data transmission channel with a terminal device; receiving target data transmitted by the terminal device, the target data comprising at least one of the following: audio data and video data; wherein the data transmission channel comprises at least one of the following: a universal serial bus (USB) transmission channel and a wireless transmission channel; In the case that the data transmission channel comprises the USB transmission channel, the multiplexer of the terminal device is connected with a general input-output (GPIO) signal; in the case that the terminal device and the smart device are in a USB connection state, the terminal device receives a first input or a second input of a user, the first input being used to trigger the acquisition module of the terminal device to be in a sharable state, and the second input being used to trigger the acquisition module of the terminal device to be in an unshareable state; if the first input of the user is received, a USB transmission channel between the acquisition module and the smart device is established through the multiplexer; The receiving of the target data transmitted by the terminal device comprises: The receiving of the target data transmitted by the terminal device comprises: The receiving of the target data transmitted by the terminal device comprises:

Citation Information

Patent Citations

  • Method and system for network media communication long-range control and media capturing equipment

    CN101272482A

  • Video method and system for mobile phone camera

    CN101287242A

  • Video conference terminal and working method thereof, and data transmission method and system

    CN105100676A

  • Call methods, call apparatus and call system

    CN106331258A

  • Video call method and electronic equipment

    CN110769394A