CN114500725A - Target content transmission method, master device, slave device and storage medium - Google Patents

Target content transmission method, master device, slave device and storage medium Download PDF

Info

Publication number
CN114500725A
CN114500725A CN202011271881.2A CN202011271881A CN114500725A CN 114500725 A CN114500725 A CN 114500725A CN 202011271881 A CN202011271881 A CN 202011271881A CN 114500725 A CN114500725 A CN 114500725A
Authority
CN
China
Prior art keywords
external device
slave
slave device
target content
master
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.)
Granted
Application number
CN202011271881.2A
Other languages
Chinese (zh)
Other versions
CN114500725B (en
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202011271881.2A priority Critical patent/CN114500725B/en
Publication of CN114500725A publication Critical patent/CN114500725A/en
Application granted granted Critical
Publication of CN114500725B publication Critical patent/CN114500725B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/005Discovery of network devices, e.g. terminals

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephone Function (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a target content transmission method, a master device, a slave device and a storage medium. In the technical scheme provided by the embodiment of the invention, the master device receives an external device capability set sent by the slave device through the distributed communication connection established with the slave device, wherein the external device capability set comprises the external device name of the slave device; the master device selects at least one first target content and at least one external device name through the target application, and sends the first target content to the slave device, so that at least one external device corresponding to the external device name outputs the first target content; and the master device receives the second target content input from the at least one external device transmitted from the slave device. The embodiment of the invention can improve the use experience of the online interaction of the user by the cooperation of the master equipment and the slave equipment for the online interaction.

Description

Target content transmission method, master device, slave device and storage medium
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of computer technologies, and in particular, to a target content transmission method, a master device, a slave device, and a storage medium.
[ background of the invention ]
Current online education involves a scenario of two-party interaction. At present, users download and install online education APP on mobile phones or tablets for online learning, but the mobile phones or tablets have small screens, and the output capabilities of cameras and loudspeakers are limited. When a user learns on line on a mobile phone or a tablet, because the screen of the mobile phone or the tablet is small, characters on courseware are small, the user cannot easily see clearly, the watching time is long, and eyes are easy to fatigue and hurt; the speaker of the mobile phone or the tablet is also smaller, so that the playing volume is smaller, and therefore, a user can listen to the tablet only by approaching the mobile phone or the tablet during class; the wide angle of a camera of a mobile phone or a tablet is limited, and the user is very inconvenient to perform video interaction with a teacher. Therefore, the experience of online learning of the user is not good.
[ summary of the invention ]
In view of this, embodiments of the present invention provide a target content transmission method, a master device, a slave device, and a storage medium, where online interaction is performed cooperatively between the master device and the slave device, so that the use experience of online interaction of a user can be improved.
In a first aspect, an embodiment of the present invention provides a target content transmission method, which is applied to a master device, and the method includes:
receiving an external device capability set sent by a slave device through a distributed communication connection established with the slave device, wherein the external device capability set comprises an external device name of the slave device;
selecting at least one first target content and at least one external device name through a target application, and sending the first target content to the slave device so as to enable at least one external device corresponding to the external device name to output the first target content;
and receiving second target content input by at least one external device sent by the slave device.
In a possible implementation manner, the receiving, through a distributed communication connection, an external device capability set sent by the slave device, where the external device capability set includes a name of an external device of the slave device, and the receiving further includes:
establishing a distributed communication connection with the slave device over WiFi.
In a possible implementation manner, the establishing a distributed communication connection with the slave device through WiFi specifically includes:
discovering the slave device through Bluetooth or the WiFi scanning;
performing security authentication with the slave device;
and when the security authentication is successful, establishing a secure communication channel with the slave equipment through the WiFi according to a distributed protocol.
In one possible implementation, the slave device includes a smart screen.
In one possible implementation, the external device includes: a screen, a microphone, a speaker, or a camera.
In one possible implementation, the second target content includes: video or audio.
In one possible implementation, the target application includes an online education APP.
In one possible implementation, the first target content includes online lesson video, courseware, or a chat interface.
On the other hand, an embodiment of the present invention provides a target content transmission method, which is applied to a slave device, and the method includes:
sending an external device capability set to a master device through a distributed communication connection established with the master device, the external device capability set including an external device name;
receiving at least one first target content of a target application and at least one external device name sent by the main device;
and outputting the first target content through at least one external device corresponding to the external device name, and sending the second target content input by the external device to the main device.
In one possible implementation manner, sending, to a master device, an external device capability set through a distributed communication connection established with the master device, where the external device capability set includes a name of the external device, and the method further includes:
and establishing a distributed communication connection with the main equipment through WiFi.
In one possible implementation, the master device includes a mobile phone or a tablet computer.
In one possible implementation, the external device includes: a screen, a microphone, a speaker, or a camera.
In one possible implementation, the second target content includes: video or audio.
In one possible implementation, the target application includes an online education APP.
In one possible implementation, the first target content includes online lesson video, courseware, or a chat interface.
In another aspect, an embodiment of the present invention provides a host device, including a processor and a memory, where the memory is used to store a computer program, and the computer program includes program instructions, and when the processor executes the program instructions, the host device is caused to perform the following steps:
receiving an external device capability set sent by a slave device through a distributed communication connection established with the slave device, wherein the external device capability set comprises an external device name of the slave device;
selecting at least one first target content and at least one external device name through a target application, and sending the first target content to the slave device so as to enable at least one external device corresponding to the external device name to output the first target content;
and receiving second target content input by at least one external device sent by the slave device.
In one possible implementation, the program instructions, when executed by the processor, cause the master device to perform the steps of:
the receiving, over a distributed communication connection, an external device capability set sent by the slave device, where the external device capability set includes a name of an external device of the slave device, and the receiving further includes:
establishing a distributed communication connection with the slave device over WiFi.
In one possible implementation, the program instructions, when executed by the processor, cause the master device to perform the steps of:
the establishing of the distributed communication connection with the slave device through the WiFi specifically includes:
discovering the slave device through Bluetooth or the WiFi scanning;
performing security authentication with the slave device;
and when the security authentication is successful, establishing a secure communication channel with the slave equipment through the WiFi according to a distributed protocol.
In one possible implementation, the slave device includes a smart screen.
In one possible implementation, the external device includes: a screen, a microphone, a speaker, or a camera.
In one possible implementation, the second target content includes: video or audio.
In one possible implementation, the target application includes an online education APP.
In one possible implementation, the first target content includes online lesson video, courseware, or a chat interface.
In another aspect, an embodiment of the present invention provides a slave device, including a processor and a memory, where the memory is used to store a computer program, and the computer program includes program instructions, and when the processor executes the program instructions, the slave device is caused to perform the following steps:
sending an external device capability set to a master device through a distributed communication connection established with the master device, the external device capability set including an external device name;
receiving at least one first target content of a target application and at least one external device name sent by the main device;
and outputting the first target content through at least one external device corresponding to the external device name, and sending a second target content input by the external device to the main device.
In one possible implementation, the program instructions, when executed by the processor, cause the slave device to perform the steps of:
sending an external device capability set to a master device through a distributed communication connection established with the master device, wherein the external device capability set further includes, before an external device name:
and establishing a distributed communication connection with the main equipment through WiFi.
In one possible implementation, the host device includes a mobile phone or a tablet computer.
In one possible implementation, the external device includes: a screen, a microphone, a speaker, or a camera.
In one possible implementation, the second target content includes: video or audio.
In one possible implementation, the target application includes an online education APP.
In one possible implementation, the first target content includes online lesson video, courseware, or a chat interface.
In another aspect, an embodiment of the present invention provides a target content transmission system, including a master device and a slave device;
the master device is configured to receive an external device capability set sent by the slave device through a distributed communication connection established with the slave device, where the external device capability set includes an external device name of the slave device; selecting at least one first target content and at least one external device name through a target application, and sending the first target content to the slave device; receiving second target content input by at least one external device sent by the slave device;
the slave device is configured to send the set of external device capabilities to the master device over the distributed communication connection; receiving at least one first target content and at least one external device name sent by the main device; and outputting the first target content through at least one external device corresponding to the external device name, and sending the second target content input by the external device to the main device.
In one possible implementation, the host device includes a mobile phone or a tablet computer.
In one possible implementation, the slave device includes a smart screen.
In another aspect, the present invention provides a computer-readable storage medium, which stores a computer program, the computer program including program instructions, which, when the program is requested to be executed by a computer, cause the computer to execute the method as described above.
In the technical solutions of the target content transmission method, the master device, the slave device, and the storage medium provided in the embodiments of the present invention, the master device receives an external device capability set sent by the slave device through a distributed communication connection established with the slave device, where the external device capability set includes an external device name of the slave device; the master device selects at least one first target content and at least one external device name through the target application, and sends the first target content to the slave device so that at least one external device corresponding to the external device name outputs the first target content; and the master device receives the second target content input from the at least one external device transmitted from the slave device. The embodiment of the invention can improve the use experience of the online interaction of the user by the cooperation of the master equipment and the slave equipment for the online interaction.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive labor.
Fig. 1 is an architecture diagram of a target content delivery system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an online education APP interface;
fig. 3 is a flowchart of a target content transmission method according to an embodiment of the present invention;
fig. 4 is a flowchart of a target content transmission method according to another embodiment of the present invention;
FIG. 5 is a detailed flowchart of the master device establishing a distributed communication connection with a slave device via WiFi of FIG. 4;
fig. 6 is a schematic structural diagram of a master device according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of the first establishing unit in FIG. 6;
fig. 8 is a schematic structural diagram of a slave device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
[ detailed description ] embodiments
For better understanding of the technical solutions of the present invention, the following detailed descriptions of the embodiments of the present invention are provided with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one type of associative relationship that describes an associated object, meaning that three types of relationships may exist, e.g., A and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
In the related art, users download and install online education APP on mobile phones or tablets for online learning, but the mobile phones or tablets have small screens, and the output capabilities of cameras and loudspeakers are limited, so that the online learning experience of the users is poor.
In order to solve the above technical problem, embodiments of the present invention provide a target content transmission method, a master device, a slave device, and a storage medium.
Referring to fig. 1, fig. 1 is an architecture diagram of a target content transmission system according to an embodiment of the present invention. The target content transmission system of the embodiment of the invention comprises two electronic devices, wherein the two electronic devices can comprise a master device and a slave device. Wireless transmission can be carried out between the master device and the slave device. As shown in fig. 1, the target content transmission system includes a master device 100 and a slave device 200. The master device 100 and the slave device 200 may perform wireless transmission, for example: the wireless transmission includes a WiFi transmission. Further, a distributed communication connection is established between the master device 100 and the slave device 200 through WiFi. The main device 100 includes a target application, a first screen projection module, and a first distributed communication module; the slave device 200 includes a screen, a camera, a speaker, a microphone, a second screen projection module, and a second distributed communication module.
In the embodiment of the invention, the target application comprises an online education APP. As shown in fig. 2, the interface of the online education APP includes online lesson video, courseware or chat interface.
In fig. 1, the first screen projection module is configured to obtain first target content through a target application, and send at least one first target content to the second screen projection module of the slave device 200 according to a screen projection protocol. Specifically, the first screen projection module is configured to call an operating system through a target application to obtain first target content, and send at least one first target content to the second screen projection module of the slave device 200 according to a screen projection protocol. The first distributed communication module is configured to establish a distributed communication connection with a second distributed communication module of the slave device 200 through WiFi, receive an external device capability set sent from the slave device 200, where the external device capability set includes an external device name of the slave device 100, send, according to at least one first target content selected by the target application invoking operating system and the selected at least one external device name, the first target content to the second distributed communication module through the distributed communication connection, so that at least one external device corresponding to the selected at least one external device name outputs the first target content, and receive a second target content input by the at least one external device sent by the second distributed communication module.
In an embodiment of the present invention, the first target content includes online lesson video, courseware, or a chat interface.
In this embodiment of the present invention, after the slave device 200 sends the external device capability set to the master device 100, the user can view the icon corresponding to the external device of the slave device 200 on the master device 100.
In the embodiment of the present invention, the second target content includes video or audio.
In fig. 1, the second screen projection module is configured to display at least one first target content sent by the master device 100 in the screen of the slave device 200 according to a screen projection protocol; the second distributed communication module virtualizes at least one external device of the slave device 200 as an external device of the master device 100 through a distributed communication connection established with the master device 100 through WiFi; external devices to the slave device 200 include a screen, a camera, a speaker, and a microphone. The second distributed communication module is further configured to send second target content collected by at least one external device to the first distributed communication module of the master device 100 through distributed communication connection.
In fig. 1, examples of the master device 100 and the slave device 200 include, but are not limited to, electronic devices that mount iOS, android, microsoft, or other operating systems. Optionally, the master device 100 comprises a cell phone or a tablet computer; the slave device 200 includes a smart screen.
It should be noted that, in fig. 1, before the first distributed communication module and the second distributed communication module establish the distributed communication connection, security authentication needs to be performed between the first distributed communication module and the second distributed communication module, and when the security authentication is successful, the first distributed communication module and the second distributed communication module establish a secure communication channel through WiFi according to a distributed protocol. Wherein, before the master device 100 and the slave device 200 perform security authentication, the master device 100 may discover the slave device 200 through bluetooth or WiFi scanning.
In the embodiment of the present invention, before the master device 100 and the slave device 200 establish the distributed communication connection, the master device 100 and the slave device 200 need to connect through WiFi. Specifically, the master device 100 and the slave device 200 are connected through a WiFi router, or the slave device 200 is connected to a WiFi hotspot of the master device 100, or the master device 100 is connected to a WiFi hotspot of the slave device 200.
Based on the architecture diagram provided in fig. 1, an embodiment of the present invention provides a target content transmission method. Fig. 3 is a flowchart of a target content transmission method according to an embodiment of the present invention. As shown in fig. 3, the method includes:
step 102, the master device receives an external device capability set sent by the slave device through the distributed communication connection established with the slave device, wherein the external device capability set comprises an external device name.
Step 104, the master device selects at least one first target content and at least one external device name through the target application.
Specifically, the main device selects at least one first target content and at least one selected external device name according to the operating system called by the target application.
Step 106, the master device sends the first target content to the slave device.
And step 108, the slave device outputs the first target content through at least one external device corresponding to the external device name.
And step 110, the slave device transmits the second target content input by the external device to the master device.
In the target content transmission method provided by the embodiment of the present invention, a master device receives an external device capability set sent by a slave device through a distributed communication connection established with the slave device, where the external device capability set includes an external device name of the slave device; the master device selects at least one first target content and at least one external device name through the target application, and sends the first target content to the slave device so that at least one external device corresponding to the external device name outputs the first target content; and the master device receives the second target content input from the at least one external device transmitted from the slave device. The embodiment of the invention can improve the use experience of the online interaction of the user by the cooperation of the master equipment and the slave equipment for the online interaction.
Based on the architecture diagram provided in fig. 1, an embodiment of the present invention provides a target content transmission method. Fig. 3 is a flowchart of a target content transmission method according to another embodiment of the present invention. As shown in fig. 3, the method includes:
step 202, the master device establishes a distributed communication connection with the slave device through WiFi.
In the embodiment of the invention, the main device comprises a mobile phone or a tablet computer.
In an embodiment of the invention, the slave device comprises an intelligent screen.
In the embodiment of the present invention, before the master device and the slave device establish the distributed communication connection, the master device and the slave device need to connect through WiFi. Specifically, the master device and the slave device are connected through a WiFi router, or the slave device is connected with a WiFi hotspot of the master device, or the master device is connected with a WiFi hotspot of the slave device.
In the embodiment of the present invention, as shown in fig. 5, step 202 specifically includes:
step 2022, the master device discovers the slave devices through bluetooth or WiFi scanning.
Step 2024, the master device performs security authentication with the slave device.
Illustratively, the master device sends an authentication request and a password of the master device to the slave device, the slave device responds to the authentication request to show prompt information about whether to connect with the slave device, generates a message that the authentication is passed after receiving an operation of confirming the connection input by a user, and sends the message that the authentication is passed and the password of the slave device to the master device; and if the slave equipment receives the operation of canceling the connection input by the user, generating a message of authentication failure, and sending the message of authentication failure to the master equipment.
Illustratively, a user logs in user accounts on a master device and a slave device respectively, the master device sends an authentication request to the slave device, the authentication request comprises the user account of the master device, the slave device verifies whether the user account of the master device and the user account of the slave device are the same user account, and if the user account of the master device and the user account of the slave device are the same user account, a message that the authentication is passed is sent to the master device; and if the user account of the master device and the user account of the slave device are not the same user account, sending a message of authentication failure to the master device. For example: the user account includes a Huawei account.
It should be noted that the master device and the slave device may also perform security authentication in other manners, which is not limited in the present invention.
Step 2026, when the security authentication is successful, the master device establishes a secure communication channel with the slave device through WiFi according to the distributed protocol.
Step 204, the slave device sends an external device capability set to the master device through the distributed communication connection established with the master device, wherein the external device capability set includes the external device name of the slave device.
In an embodiment of the present invention, an external device includes: a screen, a microphone, a speaker, or a camera.
In the embodiment of the present invention, after the slave device sends the external device capability set to the master device, the user can view the external device name corresponding to the external device of the slave device on the master device. The external device name includes a text or an icon.
Step 206, the master device selects at least one first target content and at least one external device name through the target application. The first target content is sent to the slave device.
In an embodiment of the invention, the target application comprises an online education APP.
In the embodiment of the invention, the first target content comprises online lesson videos, courseware or chat interfaces.
Step 208, the master device sends the first target content to the slave device.
Step 210, the slave device outputs the first target content through at least one external device corresponding to the external device name.
Step 212, the slave device transmits the second target content input by the external device to the master device.
In this embodiment of the present invention, the second target content includes: video or audio.
For example, a user can select to send an online course video and courseware to a slave device in an online education APP of a mobile phone, and simultaneously turn on a screen, a loudspeaker and a microphone of the slave device by selecting icons of the screen, the loudspeaker, the microphone and the camera of the slave device, so that the online course video and the courseware are displayed on the screen of the slave device, sound of the online course video is played through the loudspeaker, sound of the user is collected through the microphone, and the video is collected through the camera. And the slave equipment transmits the video collected by the camera and the audio collected by the microphone to the master equipment. The main equipment sends the audio and the video to the online education client of the teacher through the online education APP, and video interaction of the user and the teacher in online education is achieved.
In this embodiment of the present invention, after step 208, when the user needs to input content in the target application, the main device invokes the operating system through the target application to receive the content input by the user, and sends the content input by the user. For example, when the user answers at the chat interface of the online education APP, considering the characteristic of more convenient input compared with a smart screen mobile phone or a tablet, the online education APP calls the operating system of the mobile phone or the tablet to receive the content input by the user and sends the content input by the user to the online education client of the teacher.
In the embodiment of the invention, in order to improve the experience of a user in the online learning process, the screen, the microphone, the loudspeaker and the camera on the smart screen are virtualized into the external equipment of the mobile phone or the smart screen through the distributed interaction capacity between the mobile phone or the smart screen, and the user can obtain better online course learning experience by utilizing the larger screen display on the smart screen, the far-field pickup of multiple microphones, the loudspeaker with large sound volume and the super-wide-angle camera capacity.
In the target content transmission method provided by the embodiment of the present invention, a master device receives an external device capability set sent by a slave device through a distributed communication connection established with the slave device, where the external device capability set includes an external device name of the slave device; the master device selects at least one first target content and at least one external device name through the target application, and sends the first target content to the slave device so that at least one external device corresponding to the external device name outputs the first target content; and the master device receives the second target content input from the at least one external device transmitted from the slave device. The embodiment of the invention can improve the use experience of the online interaction of the user by the cooperation of the master equipment and the slave equipment for the online interaction.
The target content transmission method provided by the embodiment of the present invention is described in detail above with reference to fig. 1 to 5, and the apparatus embodiment of the present invention is described in detail below with reference to fig. 6 to 8. It should be understood that the electronic device in the embodiment of the present invention may execute various methods in the foregoing embodiments of the present invention, that is, specific working processes of various products below, and reference may be made to corresponding processes in the foregoing embodiments of the methods.
Fig. 6 is a schematic block diagram of a master device 100 of an embodiment of the present invention. It should be understood that the master device 100 is capable of performing the steps in the methods of fig. 3-5, and will not be described in detail herein to avoid repetition. The master device 100 includes: a first establishing unit 11 and a first transceiving unit 12.
A first establishing unit 11, configured to establish a distributed communication connection with the slave device through WiFi.
Optionally, the host device comprises a cell phone or a tablet computer.
Optionally, the slave device comprises a smart screen.
Optionally, as shown in fig. 7, the first establishing unit 11 specifically includes: scanning subunit 111, authenticating subunit 112, establishing subunit 113.
A scanning subunit 111 for discovering the slave devices by bluetooth or WiFi scanning.
And an authentication subunit 112, configured to perform security authentication with the slave device.
And the establishing subunit 113 is configured to, when the security authentication is successful, establish a secure communication channel with the slave device through WiFi by the master device according to the distributed protocol.
A first transceiving unit 12, configured to receive, through a distributed communication connection, an external device capability set sent by a slave device, where the external device capability set includes an external device name of the slave device;
optionally, the external device comprises: a screen, a microphone, a speaker, or a camera.
The first transceiving unit 12 is further configured to transmit the first target content to the slave device according to the at least one first target content selected by the target application and the selected at least one external device name, so that the at least one external device corresponding to the external device name outputs the first target content.
Optionally, the target application comprises an online education APP.
Optionally, the first targeted content comprises online lesson videos, courseware or chat interfaces.
The first transceiving unit 12 is further configured to receive second target content input from at least one external device transmitted from the device.
Optionally, the second target content includes: video or audio.
Fig. 8 is a schematic block diagram of a slave device 200 of an embodiment of the present invention. It should be understood that the slave device 200 is capable of performing the steps in the methods of fig. 3-5, and will not be described in detail herein to avoid repetition. The slave device 200 includes: a second establishing unit 21, a second transceiving unit 22 and an output unit 23.
And a second establishing unit 21, configured to establish a distributed communication connection with the master device through WiFi.
Optionally, the host device comprises a cell phone or a tablet computer.
Optionally, the slave device comprises a smart screen.
A second transceiving unit 22, configured to send a set of external device capabilities to the master device over the distributed communication connection, the set of external device capabilities including an external device name.
Optionally, the external device comprises: a screen, a microphone, a speaker, or a camera.
The second transceiving unit 22 is further configured to receive at least one first target content of the target application and at least one external device name, which are sent by the host device.
Optionally, the target application comprises an online education APP.
Optionally, the first targeted content comprises online lesson videos, courseware or chat interfaces.
An output unit 23 for outputting the first target content through at least one external device corresponding to the external device name.
The second transceiving unit 22 is further configured to transmit second target content input by the external device to the host device.
Optionally, the second target content includes: video or audio.
It should be understood that the master device 100 and the slave device 200 herein are embodied in the form of functional units. The term "unit" herein may be implemented in software and/or hardware, and is not particularly limited thereto. For example, a "unit" may be a software program, a hardware circuit, or a combination of both that implement the above-described functions. The hardware circuitry may include an Application Specific Integrated Circuit (ASIC), an electronic circuit, a processor (e.g., a shared processor, a dedicated processor, or a group of processors) and memory that execute one or more software or firmware programs, a combinational logic circuit, and/or other suitable components that support the described functionality.
Accordingly, the units of the respective examples described in the embodiments of the present invention can be realized in electronic hardware, or a combination of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The embodiment of the invention provides electronic equipment, which can be terminal equipment or circuit equipment arranged in the terminal equipment. The electronic device comprises the above-mentioned master device or slave device and may be adapted to perform the functions/steps of the above-mentioned method embodiments.
Fig. 9 is a schematic structural diagram of an electronic device 300 according to an embodiment of the present invention. The electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, a Universal Serial Bus (USB) interface 330, a charging management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, keys 390, a motor 391, an indicator 392, a camera 393, a display 394, and a Subscriber Identification Module (SIM) card interface 395, and the like. The sensor module 380 may include a pressure sensor 380A, a gyroscope sensor 380B, an air pressure sensor 380C, a magnetic sensor 380D, an acceleration sensor 380E, a distance sensor 380F, a proximity light sensor 380G, a fingerprint sensor 380H, a temperature sensor 380J, a touch sensor 380K, an ambient light sensor 380L, a bone conduction sensor 380M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 300. In other embodiments of the present application, electronic device 300 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 310 may include one or more processing units, such as: the processor 310 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 310 for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 310. If the processor 310 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 310, thereby increasing the efficiency of the system.
In some embodiments, processor 310 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, the processor 310 may include multiple sets of I2C buses. The processor 310 may be coupled to the touch sensor 380K, the charger, the flash, the camera 393, etc., via different I2C bus interfaces. For example: the processor 310 may be coupled to the touch sensor 380K via an I2C interface, such that the processor 310 and the touch sensor 380K communicate via an I2C bus interface to implement the touch functionality of the electronic device 300.
The I2S interface may be used for audio communication. In some embodiments, the processor 310 may include multiple sets of I2S buses. The processor 310 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 310 and the audio module 370. In some embodiments, the audio module 370 may communicate audio signals to the wireless communication module 360 via an I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 370 and the wireless communication module 360 may be coupled by a PCM bus interface. In some embodiments, the audio module 370 may also transmit audio signals to the wireless communication module 360 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 310 with the wireless communication module 360. For example: the processor 310 communicates with the bluetooth module in the wireless communication module 360 through the UART interface to implement the bluetooth function. In some embodiments, the audio module 370 may transmit the audio signal to the wireless communication module 360 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
The MIPI interface may be used to connect processor 310 with peripheral devices such as display 394, camera 393, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 310 and camera 393 communicate over a CSI interface to implement the capture functionality of electronic device 300. The processor 310 and the display screen 394 communicate via the DSI interface to implement the display functions of the electronic device 300.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 310 with the camera 393, the display 394, the wireless communication module 360, the audio module 370, the sensor module 380, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 330 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 330 may be used to connect a charger to charge the electronic device 300, and may also be used to transmit data between the electronic device 300 and peripheral devices. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 300. In other embodiments of the present application, the electronic device 300 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 340 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 340 may receive charging input from a wired charger via the USB interface 330. In some wireless charging embodiments, the charging management module 340 may receive a wireless charging input through a wireless charging coil of the electronic device 300. The charging management module 340 may also supply power to the electronic device through the power management module 341 while charging the battery 342.
The power management module 341 is configured to connect the battery 342, the charging management module 340 and the processor 310. The power management module 341 receives input from the battery 342 and/or the charge management module 340 and provides power to the processor 310, the internal memory 321, the display 394, the camera 393, and the wireless communication module 360. The power management module 341 may also be configured to monitor parameters such as battery capacity, battery cycle count, and battery state of health (leakage, impedance). In other embodiments, the power management module 341 may also be disposed in the processor 310. In other embodiments, the power management module 341 and the charging management module 340 may be disposed in the same device.
The wireless communication function of the electronic device 300 may be implemented by the antenna 1, the antenna 2, the mobile communication module 350, the wireless communication module 360, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 300 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 350 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 300. The mobile communication module 350 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 350 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the filtered electromagnetic wave to the modem processor for demodulation. The mobile communication module 350 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be disposed in the processor 310. In some embodiments, at least some of the functional modules of the mobile communication module 350 may be disposed in the same device as at least some of the modules of the processor 310.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 370A, the receiver 370B, etc.) or displays images or video through the display 394. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be separate from the processor 310, and may be disposed in the same device as the mobile communication module 350 or other functional modules.
The wireless communication module 360 may provide solutions for wireless communication applied to the electronic device 300, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 360 may be one or more devices integrating at least one communication processing module. The wireless communication module 360 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 310. The wireless communication module 360 may also receive a signal to be transmitted from the processor 310, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 300 is coupled to mobile communication module 350 and antenna 2 is coupled to wireless communication module 360 such that electronic device 300 may communicate with networks and other devices via wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 300 implements display functions via the GPU, the display 394, and the application processor, among other things. The GPU is an image processing microprocessor coupled to a display 394 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 310 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 394 is used to display images, video, and the like. The display screen 394 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 300 may include 1 or N display screens 394, N being a positive integer greater than 1.
The electronic device 300 may implement a shooting function through the ISP, the camera 393, the video codec, the GPU, the display 394, the application processor, and the like.
The ISP is used to process the data fed back by the camera 393. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be located in camera 393.
Camera 393 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, electronic device 300 may include 1 or N cameras 393, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 300 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 300 may support one or more video codecs. In this way, the electronic device 300 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can realize applications such as intelligent recognition of the electronic device 300, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 320 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 300. The external memory card communicates with the processor 310 through the external memory interface 320 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 321 may be used to store computer-executable program code, which includes instructions. The internal memory 321 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area may store data (e.g., audio data, phone book, etc.) created during use of the electronic device 300, and the like. In addition, the internal memory 321 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a Universal Flash Storage (UFS), and the like. The processor 310 executes various functional applications of the electronic device 300 and data processing by executing instructions stored in the internal memory 321 and/or instructions stored in a memory provided in the processor.
The electronic device 300 may implement audio functions through the audio module 370, the speaker 370A, the receiver 370B, the microphone 370C, the earphone interface 370D, and the application processor. Such as music playing, recording, etc.
The audio module 370 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 370 may also be used to encode and decode audio signals. In some embodiments, the audio module 370 may be disposed in the processor 310, or some functional modules of the audio module 370 may be disposed in the processor 310.
The speaker 370A, also called "horn", is used to convert the audio electrical signal into a sound signal. The electronic device 300 may listen to music or to a hands-free conversation through the speaker 370A.
The receiver 370B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic device 300 receives a call or voice information, it can receive voice by placing the receiver 370B close to the ear of the person.
Microphone 370C, also known as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal into the microphone 370C by speaking the user's mouth near the microphone 370C. The electronic device 300 may be provided with at least one microphone 370C. In other embodiments, the electronic device 300 may be provided with two microphones 370C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 300 may further include three, four or more microphones 370C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 370D is used to connect wired headphones. The headset interface 370D may be the USB interface 330, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 380A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 380A may be disposed on the display screen 394. Pressure sensor 380A
Such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 380A, the capacitance between the electrodes changes. The electronic device 300 determines the intensity of the pressure from the change in capacitance. When a touch operation is applied to the display screen 394, the electronic apparatus 300 detects the intensity of the touch operation according to the pressure sensor 380A. The electronic apparatus 300 may also calculate the touched position from the detection signal of the pressure sensor 380A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 380B may be used to determine the motion pose of the electronic device 300. In some embodiments, the angular velocity of electronic device 300 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 380B. The gyro sensor 380B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 380B detects the shake angle of the electronic device 300, calculates the distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 300 through a reverse movement, thereby achieving anti-shake. The gyro sensor 380B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 380C is used to measure air pressure. In some embodiments, electronic device 300 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 380C.
The magnetic sensor 380D includes a hall sensor. The electronic device 300 may detect the opening and closing of the flip holster using the magnetic sensor 380D. In some embodiments, when the electronic device 300 is a flip phone, the electronic device 300 may detect the opening and closing of the flip according to the magnetic sensor 380D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 380E may detect the magnitude of acceleration of the electronic device 300 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 300 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 380F for measuring distance. The electronic device 300 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, the electronic device 300 may utilize the distance sensor 380F to range for fast focus.
The proximity light sensor 380G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 300 emits infrared light to the outside through the light emitting diode. The electronic device 300 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 300. When insufficient reflected light is detected, the electronic device 300 may determine that there are no objects near the electronic device 300. The electronic device 300 can utilize the proximity light sensor 380G to detect that the user holds the electronic device 300 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 380G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 380L is used to sense the ambient light level. The electronic device 300 may adaptively adjust the brightness of the display 394 based on the perceived ambient light level. The ambient light sensor 380L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 380L may also cooperate with the proximity light sensor 380G to detect whether the electronic device 300 is in a pocket to prevent inadvertent contact.
The fingerprint sensor 380H is used to capture a fingerprint. The electronic device 300 may utilize the collected fingerprint characteristics to implement fingerprint unlocking, access an application lock, fingerprint photographing, fingerprint incoming call answering, and the like.
The temperature sensor 380J is used to detect temperature. In some embodiments, the electronic device 300 implements a temperature processing strategy using the temperature detected by the temperature sensor 380J. For example, when the temperature reported by the temperature sensor 380J exceeds a threshold, the electronic device 300 performs a reduction in performance of a processor located near the temperature sensor 380J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 300 heats the battery 342 when the temperature is below another threshold to avoid the low temperature causing the electronic device 300 to shut down abnormally. In other embodiments, when the temperature is below a further threshold, the electronic device 300 performs a boost on the output voltage of the battery 342 to avoid an abnormal shutdown due to low temperature.
The touch sensor 380K is also referred to as a "touch device". The touch sensor 380K may be disposed on the display screen 394, and the touch sensor 380K and the display screen 394 form a touch screen, which is also referred to as a "touch screen". The touch sensor 380K is used to detect a touch operation applied thereto or thereabout. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided via the display 394. In other embodiments, the touch sensor 380K can be disposed on a surface of the electronic device 300 at a different location than the display 394.
The bone conduction sensor 380M can acquire a vibration signal. In some embodiments, the bone conduction transducer 380M can acquire a vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 380M may also contact the human body pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 380M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 370 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 380M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 380M, so as to realize the heart rate detection function.
Keys 390 include a power-on key, a volume key, etc. The keys 390 may be mechanical keys. Or may be touch keys. The electronic device 300 may receive a key input, and generate a key signal input related to user setting and function control of the electronic device 300.
Motor 391 may generate a vibration cue. The motor 391 may be used for both incoming call vibration prompting and touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 391 may also respond to different vibration feedback effects by performing touch operations on different areas of the display 394. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 392 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 395 is for connecting a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 300 by being inserted into and pulled out of the SIM card interface 395. The electronic device 300 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 395 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. Multiple cards can be inserted into the same SIM card interface 395 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 395 may also be compatible with different types of SIM cards. The SIM card interface 395 may also be compatible with an external memory card. The electronic device 300 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 300 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 300 and cannot be separated from the electronic device 300.
An embodiment of the present invention provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a terminal device, the instructions cause the terminal device to perform the steps performed by a master device or a slave device in the target content transmission method as shown in fig. 3 to 5.
Embodiments of the present invention further provide a computer program product containing instructions, which, when run on a computer or any at least one processor, causes the computer to perform the steps performed by the master device or the slave device in the target content transmission method as shown in fig. 3 to 5.
In the embodiments of the present invention, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and means that there may be three relationships, for example, a and/or B, and may mean that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein a, b, c may be single or multiple.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided by the present invention, any function, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing an electronic device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present invention, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the protection scope of the present invention. The protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (34)

1. A method for targeted content delivery, applied to a master device, the method comprising:
receiving an external device capability set sent by a slave device through a distributed communication connection established with the slave device, wherein the external device capability set comprises an external device name of the slave device;
selecting at least one first target content and at least one said external device name by a target application;
sending the first target content to the slave device so that at least one external device corresponding to the external device name outputs the first target content;
and receiving second target content input by at least one external device sent by the slave device.
2. The method of claim 1, wherein receiving the external device capability set sent by the slave device over a distributed communication connection, the external device capability set comprising a name of the slave device preceded by an external device name, further comprises:
establishing a distributed communication connection with the slave device over WiFi.
3. The method of claim 2, wherein establishing the distributed communication connection with the slave device via WiFi specifically comprises:
discovering the slave device through Bluetooth or the WiFi scanning;
performing security authentication with the slave device;
and when the security authentication is successful, establishing a secure communication channel with the slave equipment through the WiFi according to a distributed protocol.
4. The method of claim 3, wherein the slave device comprises a smart screen.
5. The method of claim 1, wherein the external device comprises: a screen, a microphone, a speaker, or a camera.
6. The method of claim 5, wherein the second target content comprises: video or audio.
7. The method of claim 1, wherein the target application comprises an online education APP.
8. The method of claim 7, wherein the first targeted content comprises online lesson video, courseware, or a chat interface.
9. A method for targeted content delivery, applied to a slave device, the method comprising:
sending an external device capability set to a master device through a distributed communication connection established with the master device, the external device capability set including an external device name;
receiving at least one first target content of a target application and at least one external device name sent by the main device;
and outputting the first target content through at least one external device corresponding to the external device name, and sending the second target content input by the external device to the main device.
10. The method of claim 9, wherein sending a set of external device capabilities to a master device over a distributed communication connection established with the master device, the set of external device capabilities including a previous external device name, further comprising:
and establishing a distributed communication connection with the main equipment through WiFi.
11. The method of claim 10, wherein the host device comprises a cell phone or a tablet computer.
12. The method of claim 9, wherein the external device comprises: a screen, a microphone, a speaker, or a camera.
13. The method of claim 12, wherein the second target content comprises video or audio.
14. The method of claim 9, wherein the target application comprises an online education APP.
15. The method of claim 14, wherein the first targeted content comprises online lesson video, courseware, or a chat interface.
16. A master device comprising a processor and a memory, wherein the memory is configured to store a computer program comprising program instructions that, when executed by the processor, cause the master device to perform the steps of:
receiving an external device capability set sent by a slave device through a distributed communication connection established with the slave device, wherein the external device capability set comprises an external device name of the slave device;
selecting at least one first target content and at least one said external device name by a target application;
sending the first target content to the slave device so that at least one external device corresponding to the external device name outputs the first target content;
and receiving second target content input by at least one external device sent by the slave device.
17. The master device of claim 16, wherein the program instructions, when executed by the processor, cause the master device to perform the steps of:
the receiving, over a distributed communication connection, an external device capability set sent by the slave device, where the external device capability set includes a name of an external device of the slave device, and the receiving further includes:
establishing a distributed communication connection with the slave device over WiFi.
18. The master device of claim 17, wherein the program instructions, when executed by the processor, cause the master device to perform the steps of:
the establishing of the distributed communication connection with the slave device through the WiFi specifically includes:
discovering the slave device through Bluetooth or the WiFi scanning;
performing security authentication with the slave device;
and when the security authentication is successful, establishing a secure communication channel with the slave equipment through the WiFi according to a distributed protocol.
19. The master device of claim 18, wherein the slave device comprises a smart screen.
20. The master device of claim 16, wherein the external device comprises: a screen, a microphone, a speaker, or a camera.
21. The master device of claim 20, wherein the second target content comprises: video or audio.
22. The master device of claim 16, wherein the target application comprises an online education APP.
23. The master device of claim 22, wherein the first targeted content comprises online lesson video, courseware, or a chat interface.
24. A slave device comprising a processor and a memory, wherein the memory is for storing a computer program comprising program instructions which, when executed by the processor, cause the slave device to perform the steps of:
sending an external device capability set to a master device through a distributed communication connection established with the master device, the external device capability set including an external device name;
receiving at least one first target content of a target application and at least one external device name sent by the main device;
and outputting the first target content through at least one external device corresponding to the external device name, and sending the second target content input by the external device to the main device.
25. The slave device of claim 24, wherein the program instructions, when executed by the processor, cause the slave device to perform the steps of:
sending an external device capability set to a master device through a distributed communication connection established with the master device, wherein the external device capability set further includes, before an external device name:
and establishing a distributed communication connection with the main equipment through WiFi.
26. The slave device of claim 25, wherein the master device comprises a cell phone or a tablet computer.
27. The slave device of claim 24, wherein the external device comprises: a screen, a microphone, a speaker, or a camera.
28. The slave device of claim 27, wherein the second targeted content comprises: video or audio.
29. The slave device of claim 24, wherein the target application comprises an online education APP.
30. The slave device of claim 29, wherein the first targeted content comprises online lesson video, courseware, or a chat interface.
31. A target content transmission system comprising a master device and a slave device;
the master device is configured to receive an external device capability set sent by the slave device through a distributed communication connection established with the slave device, where the external device capability set includes an external device name of the slave device; selecting at least one first target content and at least one said external device name by a target application; sending the first target content to the slave device; receiving second target content input by at least one external device and transmitted by the slave device;
the slave device is configured to send the set of external device capabilities to the master device over the distributed communication connection; receiving at least one first target content and at least one external device name of a target application sent by the main device; and outputting the first target content through at least one external device corresponding to the external device name, and sending the second target content input by the external device to the main device.
32. The targeted content delivery system of claim 31, wherein the host device comprises a cell phone or a tablet computer.
33. The system of claim 31, wherein the slave device comprises a smart screen.
34. A computer-readable storage medium, characterized in that it stores a computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method of any of claims 1-8 or claims 9-15.
CN202011271881.2A 2020-11-13 2020-11-13 Target content transmission method, master device, slave device, and storage medium Active CN114500725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011271881.2A CN114500725B (en) 2020-11-13 2020-11-13 Target content transmission method, master device, slave device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011271881.2A CN114500725B (en) 2020-11-13 2020-11-13 Target content transmission method, master device, slave device, and storage medium

Publications (2)

Publication Number Publication Date
CN114500725A true CN114500725A (en) 2022-05-13
CN114500725B CN114500725B (en) 2023-06-27

Family

ID=81490718

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011271881.2A Active CN114500725B (en) 2020-11-13 2020-11-13 Target content transmission method, master device, slave device, and storage medium

Country Status (1)

Country Link
CN (1) CN114500725B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170046111A1 (en) * 2015-08-12 2017-02-16 Samsung Electronics Co., Ltd. Electronic device and information sharing method thereof
CN110138937A (en) * 2019-05-07 2019-08-16 华为技术有限公司 A kind of call method, equipment and system
CN110377250A (en) * 2019-06-05 2019-10-25 华为技术有限公司 A kind of touch control method and electronic equipment thrown under screen scene
CN110519632A (en) * 2019-07-30 2019-11-29 华为技术有限公司 Throw screen method and apparatus
CN110738882A (en) * 2019-09-19 2020-01-31 北京文渊佳科技有限公司 method, device, equipment and storage medium for on-line teaching display control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170046111A1 (en) * 2015-08-12 2017-02-16 Samsung Electronics Co., Ltd. Electronic device and information sharing method thereof
CN110138937A (en) * 2019-05-07 2019-08-16 华为技术有限公司 A kind of call method, equipment and system
CN110377250A (en) * 2019-06-05 2019-10-25 华为技术有限公司 A kind of touch control method and electronic equipment thrown under screen scene
CN110519632A (en) * 2019-07-30 2019-11-29 华为技术有限公司 Throw screen method and apparatus
CN110738882A (en) * 2019-09-19 2020-01-31 北京文渊佳科技有限公司 method, device, equipment and storage medium for on-line teaching display control

Also Published As

Publication number Publication date
CN114500725B (en) 2023-06-27

Similar Documents

Publication Publication Date Title
CN110138937B (en) Call method, device and system
CN112312366B (en) Method, electronic equipment and system for realizing functions through NFC (near field communication) tag
CN112492193B (en) Method and equipment for processing callback stream
CN111132234A (en) Data transmission method and corresponding terminal
CN110557740A (en) Electronic equipment control method and electronic equipment
CN111835907A (en) Method, equipment and system for switching service across electronic equipment
CN113938720A (en) Multi-device cooperation method, electronic device and multi-device cooperation system
CN114422340A (en) Log reporting method, electronic device and storage medium
CN111865646A (en) Terminal upgrading method and related device
CN113225661A (en) Loudspeaker identification method and device and electronic equipment
CN113343193A (en) Identity verification method and device and electronic equipment
CN114339429A (en) Audio and video playing control method, electronic equipment and storage medium
CN114257920B (en) Audio playing method and system and electronic equipment
CN114339698A (en) Method for establishing wireless connection through equipment touch, electronic equipment and chip
CN111492678B (en) File transmission method and electronic equipment
CN114500901A (en) Double-scene video recording method and device and electronic equipment
CN112272191B (en) Data transfer method and related device
CN115514844A (en) Volume adjusting method, electronic equipment and system
CN112527220B (en) Electronic equipment display method and electronic equipment
CN109285563B (en) Voice data processing method and device in online translation process
CN115119336B (en) Earphone connection system, earphone connection method, earphone, electronic device and readable storage medium
WO2022037405A1 (en) Information verification method, electronic device and computer-readable storage medium
CN115525366A (en) Screen projection method and related device
CN115393676A (en) Gesture control optimization method and device, terminal and storage medium
CN113467747A (en) Volume adjustment method, electronic device, storage medium, and computer program product

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
GR01 Patent grant
GR01 Patent grant