Media channel scene switching method and device, equipment, medium and product
Automatically determine the data flow target device through the pre-trained flow judgment model, which solves the problem of unclear data flow when the AR wearable glasses device is connected to other devices, realizes intelligent data flow and privacy protection, and improves user experience and driving safety sex.
Patent Information
- Application Number
- CN202411400979.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2025-01-07
AI Technical Summary
When AR wearable glasses devices are connected and operated in concert with mobile phones, headphones, etc., the purpose of audio data and structured data flow is unclear, resulting in user manual selection, which is inconvenient to operate and may affect safe driving.
Through the pre-trained flow judgment model, determine the target device to which the data to be circulated should be transferred, realize automatic switching and distribution of data, meet different user needs, protect user privacy, and reduce the exposure of personal information in inconvenient occasions.
It realizes intelligent data circulation, improves user experience and driving safety, and reduces the risk of users exposing their personal information in inconvenient occasions.
Smart Images

Figure CN119277135A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a media channel scene switching method, device, equipment, medium and product. Background Art
[0002] At present, the working mode of augmented reality (AR) wearable glasses is centered on the wearable device or the mobile phone. In this center, a lot of data will be transmitted, such as text messages, incoming calls, navigation information, navigation voice data, etc. These data will have different privacy in different scenarios. When AR wearable glasses are connected with mobile phones, headphones, car computers, etc., the purpose of audio data and structured data transmission will be unclear.
[0003] For example, when a user is driving and wearing an AR wearable glasses device, and the car is full of people, there is no perfect implementation in the current technology to determine whether the incoming call is to the car computer or the AR glasses. Even if switching, the user needs to manually select the corresponding device to stream and play the data. When data needs to be streamed, switching is done by manual selection by the user, which makes manual operation inconvenient for the user and easily affects safe driving. Summary of the invention
[0004] The present invention provides a media channel scene switching method, device, equipment, medium and product, which achieves the effect of increasing user data privacy reminders and reducing the exposure of personal information by users in inconvenient situations.
[0005] In a first aspect, this embodiment provides a media channel scene switching method, the method comprising:
[0006] When the first device receives the data to be transferred, obtaining at least one second device connected to the first device;
[0007] Inputting the data to be circulated into a pre-trained circulation judgment model, and determining a target device from each of the second devices;
[0008] The data to be streamed is sent to the target device so as to play the data to be streamed through the target device.
[0009] In a second aspect, this embodiment provides a media channel scene switching device, the device comprising:
[0010] A device acquisition module, configured to acquire at least one second device connected to the first device when the first device receives the data to be transferred;
[0011] a target determination module, used for inputting the data to be circulated into a pre-trained circulation judgment model, and determining a target device from each of the second devices;
[0012] The data sending module is used to send the data to be circulated to the target device so as to play the data to be circulated through the target device.
[0013] In a third aspect, this embodiment provides an electronic device, including:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the media channel scene switching method described in any embodiment of the present invention.
[0017] In a fourth aspect, this embodiment provides a computer-readable storage medium, and the computer program is executed by the at least one processor, so that the at least one processor can execute the media channel scene switching method described in any embodiment of the present invention.
[0018] In a fifth aspect, an embodiment of the present invention further provides a computer program product, wherein the computer program product includes a computer program, and when the computer program is executed by a processor, the media channel scene switching method as described in any embodiment of the present invention is implemented.
[0019] The embodiment of the present invention provides a media channel scene switching method, device, equipment, medium and product, the method comprising: first, when a first device receives data to be circulated, obtaining at least one second device connected to the first device; then inputting the data to be circulated into a pre-trained flow judgment model, determining a target device from each of the second devices; finally, sending the data to be circulated to the target device to play the data to be circulated through the target device. The above technical scheme, in order to solve the problem that when different second devices are connected to the first device, the data stream of the first device needs to be transferred to the designated second device according to the user's usage requirements, judges the device to which the data to be circulated needs to be transferred through the flow judgment model, and automatically switches to the target device, realizes the reasonable distribution of these data, meets the user's needs for different data applications, protects the user's privacy, increases user data privacy reminders, and reduces the user's exposure of personal information in inconvenient occasions. The intelligent flow of data is realized, and the convenience and driving safety are improved.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 A schematic diagram of a flow chart of a media channel scene switching method provided in Embodiment 1 of the present invention;
[0023] Figure 2 A schematic diagram of a flow chart of another method for switching media channel scenes provided in Embodiment 2 of the present invention;
[0024] Figure 3 A schematic diagram of the structure of a media channel scene switching device provided in Embodiment 3 of the present invention;
[0025] Figure 4 A schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0026] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0027] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any other variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0028] It is understandable that before using the technical solutions disclosed in the embodiments of the present invention, the type, scope of use, usage scenarios, etc. of the personal information involved in the present invention should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0029] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present invention according to the prompt message.
[0030] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0031] It is understandable that the above notification and user authorization process is only illustrative and does not constitute a limitation on the implementation of the present invention. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present invention.
[0032] Embodiment 1
[0033] Figure 1 A flow chart of a media channel scene switching method provided in Embodiment 1 of the present invention is provided. The method can be applied to the situation where data flow is automatically switched. The method can be executed by a media channel scene switching device. The media channel scene switching device can be implemented in the form of hardware and / or software and is generally integrated in an electronic device.
[0034] like Figure 1 As shown, a media channel scene switching method provided in this embodiment 1 may specifically include the following steps:
[0035] S101. When a first device receives data to be transferred, at least one second device connected to the first device is obtained.
[0036] The application scenario of this embodiment can be described as follows: when AR wearable glasses are connected with mobile phones, headphones, car computers, etc., there will be situations where the purpose of audio data and structured data transfer is unclear. In this embodiment, a set of intelligent transfer strategies are designed to meet the user's data usage between different devices. For example, a navigation application is installed on the mobile phone, and there is also a navigation application on the AR wearable glasses, but the main body of the navigation application is on the mobile phone, and the AR wearable glasses are more about presenting and controlling the navigation data. Based on this distribution form, multimedia data such as audio, video, and navigation data are mainly running on the mobile phone, and the multimedia data can be transferred through Bluetooth. At this time, there may be a situation where the mobile phone is connected to the AR wearable glasses through Bluetooth, and other devices such as headphones are connected through Bluetooth. With the mobile phone as the center, there are multiple near-field devices connected. In this case, only one data stream channel can be selected for data flow. For example, the mobile phone is connected to headphones and car computers. If you listen to songs, you can only choose one of these two devices to play songs.
[0037] For example, a mobile phone is connected to AR wearable glasses and a car computer. There is a lot of data on the mobile phone that can be transmitted to the AR wearable glasses or the car computer via Bluetooth for display, but only one device can be selected for display. Some of this information contains sensitive information and some insensitive information. For example, in a driving scenario, the mobile phone is connected to headphones, a car computer, and AR wearable glasses. If there are other passengers in the car, some sensitive information is not desired to be played in the car computer. This embodiment provides a media channel scene switching method to achieve automatic switching of data flow. In order to solve the problem of AR wearable glasses being connected to a mobile phone, a mobile phone being connected to headphones, and a mobile phone being connected to a car computer, the data on the mobile phone side or the data stream of the AR wearable glasses needs to be transferred to a designated device according to the user's usage requirements. Based on user selection and intelligent decision-making, these data are reasonably distributed to meet the user's needs for different data applications.
[0038] Among them, the first device can be a mobile phone, a computer, etc., and the second device can be AR wearable glasses, headphones, a car machine output device, etc. The first device is communicatively connected to the second device. For example, it is assumed that the first device is a mobile phone, and the mobile phone is installed with a control application APP for AR wearable glasses, Bluetooth headphones, and a car machine. The AR wearable glasses are connected to the mobile phone via Bluetooth (Bluetooth, BT) or Bluetooth Low Energy (Bluetooth Low Energy, BLE), the mobile phone is connected to the Bluetooth headset via BT, and the mobile phone is connected to the car machine via BT. The control application APP integrates a multi-device media channel control center, and the multimedia device channel control center records the types of each connected device and the currently connected devices. It should be noted that the execution subject of this embodiment can be understood as a multimedia device channel control center, and the multi-device media channel control center selects data flow based on certain strategies.
[0039] In this embodiment, the data to be transferred can be specifically understood as data that needs to be played on other devices when the first device receives it. For example, when a mobile phone receives an incoming call, text message, navigation data, etc., the incoming call, text message, navigation data, etc. can all be considered as data to be transferred. Specifically, when the first device receives the data to be transferred, at least one second device connected to the first device is obtained. Since when the first device is connected to the second device, the relevant information of the corresponding connected device, such as the identification information of the device, the device type, etc., is recorded, the second device connected to the first device can be known.
[0040] S102: input the data to be circulated into a pre-trained circulation judgment model, and determine a target device from each second device.
[0041] It should be noted that when the application is initialized and the connected device is used for the first time, the user can be provided with a manual selection. After collecting multiple selections from a large number of users, the data collected can be sent to the cloud, and the cloud can train a general model based on the data and record it as a flow judgment model. The flow judgment model is specifically used to judge the data to be circulated, determine which device the data to be circulated should be transferred to, and record the specific device to be transferred to as the target device. The input of the flow judgment model can be considered as the flow data, and the output can be considered as the device to be transferred.
[0042] In this embodiment, the first device can collect the flow data in the historical time period and the device selected by the user to be transferred, and upload the collected data to the cloud, and the cloud trains the initial network based on these data, so as to obtain a trained model recorded as a flow judgment model. Among them, there is no specific restriction on which network the initial network uses. Exemplarily, assuming that the first device is a mobile phone, the multi-device media channel control center on the mobile phone collects the corresponding connected device information when the user's incoming call, SMS prompts, navigation data flow, music playback and other functions are running, and calibrates the data items in dimensions such as time, number of times, application name, and type. The cloud receives the calibrated data reported by the mobile phone, and then, based on the distribution of all data obtained, uses the historical flow data as the input sample of the initial network, and uses the device selected by the user as the output sample of the initial network, and trains the initial model to obtain a flow judgment model. The cloud sends the flow judgment model to the mobile phone, and after the mobile phone receives the data flow model, it uses the flow judgment model for data flow.
[0043] In this embodiment, the flow judgment model is integrated in the first device, and the output result obtained by inputting the data to be circulated into the flow judgment model is to determine the target device from each second device as the device to which the data to be circulated is to be circulated.
[0044] S103: Send the data to be circulated to the target device so as to play the data to be circulated through the target device.
[0045] In this embodiment, the data to be transferred is sent to the target device, so that the data to be transferred is played through the target device. Specifically, the device identification information of the target device is obtained, which is recorded as the target device identification information. The data to be transferred is sent to the target device through the channel corresponding to the target device identification information, so that the data to be transferred is played through the target device.
[0046] For example, when a call comes in, the phone is connected to the car computer and the AR wearable glasses. The transfer model determines whether it is a nuisance call. If it is, the contact will not be transferred to the glasses. If it is a call from the company or family, the classic Bluetooth connection of the AR wearable glasses will be actively started to transfer the current to the glasses for a private call.
[0047] For example, when a new message is received on the phone, the phone is connected to the vehicle computer and the AR wearable glasses. If the flow judgment model determines that the text message is payment, cash deposit, bank information, or personal information, the information will be transferred to the AR wearable glasses for prompting. If it is a common text message, such as an advertisement, this part of the information will not be transferred to the glasses or the vehicle computer.
[0048] The embodiment of the present invention provides a method for switching media channel scenes. In order to solve the problem that the data stream of the first device needs to be transferred to the designated second device according to the user's usage requirements when different second devices are connected to the first device, the device to which the transferred data needs to be transferred is judged through a transfer judgment model, and the device is automatically switched to the target device, thereby realizing reasonable distribution of these data, meeting the user's requirements for different data applications, protecting the user's privacy, increasing the user's data privacy reminder, and reducing the user's exposure of personal information in inconvenient occasions. The intelligent transfer of data is realized, and the convenience and driving safety are improved.
[0049] As an optional embodiment of the embodiment of the present invention, based on the above embodiment, this optional embodiment can optimize the method to further include: recording device identification information and device type of the second device to which the first device is connected.
[0050] In this embodiment, when the first device is connected to each second device, the device identification information and device type of the connected second device will be recorded. The device identification information can be specifically understood as a unique identifier for identifying the device. The device type can be a car machine, a Bluetooth headset, an AR wearable glasses, etc.
[0051] As another optional embodiment of the embodiment of the present invention, based on the above embodiment, this optional embodiment can optimize the method and further include:
[0052] 1) Collect historical flow data and the historical flow data corresponding to the selected flow devices to form a data training set and send the data training set to the cloud, so that the cloud can obtain a flow judgment model through the data training set training.
[0053] In this embodiment, the flow judgment model can be specifically understood as a model that determines which device the data is to be transferred to based on the flow data. The input of the flow judgment model is the flow data, and the output is the device to be transferred. It should be clear that the data required for the training of the flow judgment model is collected by the first device and sent to the cloud, and the training process of the model is performed in the cloud, so as to avoid excessive calculation of the first device and affect performance. The flow data collected by the first device is recorded as historical flow data, and the corresponding selected flow device is recorded as the device corresponding to the historical flow data selected for flow. The historical flow data and the device corresponding to the historical flow data selected for flow constitute a data training set.
[0054] In this embodiment, the data training set is used for training the circulation judgment model, and the initial network used in the training can be selected according to actual needs, and no specific restrictions are made here. Among them, the historical circulation data is used as the input of the initial network, and the device corresponding to the selected circulation of the historical circulation data is used as the output reference of the initial network. After the historical circulation data is input into the initial network, the model output predicts the selected device, and the output reference and the predicted selected device are used to calculate the loss function value, and the parameters of the initial network are adjusted based on the loss function value. This process is continuously executed in a loop until the training termination condition is reached. The trained initial network can accurately predict the selected device, and the trained initial network is recorded as the circulation judgment model.
[0055] Exemplarily, the input of the model can be switching recognition events, input events, etc., such as at what time the mobile phone is connected to glasses or other devices, and how long each device stays. Another example is to switch devices when receiving an incoming call, or to switch when some devices are connected. For example, when playing a song, after a call comes in, the caller information is switched to the AR wearable glasses. After answering the call, it is switched to the car computer, and then the song continues. At this time, if a more private message comes, it will switch to the AR wearable glasses to broadcast the voice for the user to listen to personally, and then switch to the car computer after listening. Another example is the AR wearable glasses that the mobile phone is connected to at the beginning, and then a new device is connected after getting in the car, and the glasses channel is switched. Or when a call or message comes in, the user manually switches to determine the use of different applications. These events are switching recognition events and input events.
[0056] In this embodiment, the multi-device media channel control center collects all the user usage characteristics of wearable AR glasses, and trains a general model according to the dimensional data such as time, data type, and data flow type; the cloud sends the training model to the mobile phone, and the multi-device media channel control center on the mobile phone identifies SMS, incoming calls and other information based on the model, and determines whether it is applicable to information or voice that can only be read / listened to separately, so as to select the corresponding channel to flow to the corresponding target device. In this way, the user usage characteristics are continuously collected to iterate the training model, improve the recognition accuracy, obtain the flow judgment model, and send it to the first device.
[0057] 2) Receive the flow judgment model sent by the cloud.
[0058] Specifically, the first device receives the flow judgment model sent by the cloud, and integrates the flow judgment model into the multi-device media channel control center, which is subsequently used to perform flow judgment on the flow data.
[0059] The above technical solution concretizes the training process of the general flow judgment model, and provides a basic general model for subsequent data flow judgment on the flow data.
[0060] Embodiment 2
[0061] Figure 2 A flow chart of a media channel scene switching method provided in Embodiment 2 of the present invention. This embodiment is a further optimization of the above embodiment. In this embodiment, "after determining the target device from each of the second devices" is further limited and optimized, and "sending the data to be circulated to the target device to play the data to be circulated through the target device" is further limited and optimized.
[0062] like Figure 2 As shown, this embodiment 2 provides a media channel scene switching method, which specifically includes the following steps:
[0063] S201. When a first device receives data to be transferred, obtain at least one second device connected to the first device.
[0064] S202: input the data to be circulated into a pre-trained circulation judgment model, and determine a target device from each second device.
[0065] S203: Present a device switching interface including the device type of the target device.
[0066] Among them, the device switching interface includes a default acceptance item and a manual selection item, and the default acceptance item displays a countdown for the set delay time.
[0067] In this embodiment, after the target device is determined from each second device based on the flow judgment model, the target device can be presented to the user in a visual manner, and the interface presenting the device type of the target device is recorded as the device switching interface. In addition to displaying the device type of the target device recommended by the flow judgment model, the device switching interface also includes a default acceptance item and a manual selection item. Exemplarily, if the device type of the recommended target device is a car computer, the car computer will be displayed on the device switching interface. The default acceptance item displays a countdown for the set delay time. For example, if the delay time is set to 10 seconds, when the device switching interface is initially presented, 10 seconds will be displayed on the default acceptance item, and then the remaining countdown time will be displayed in a countdown manner. When the user's manual selection operation is still not received after the set delay time, it indicates that the user defaults to the currently recommended target device. If the user does not want to use the currently recommended target device, the user can select the device required by the user as the target device by triggering the manual selection item.
[0068] S204: If no device reset operation is received within the set delay time, the target device is not updated.
[0069] The device reset operation is an operation in which the user reselects the target device for the manually selected item.
[0070] In this embodiment, the multi-device media channel control center on the mobile phone loads a general flow judgment model. The user can also make further adjustments to the target device based on the device switching interface according to their own characteristics to meet the scenarios of each user. On the basis of the general flow judgment model for switching, a prompt is used to prompt the user whether to switch when switching. For example, 10 seconds is set as the default delay time. If the user updates the switching plan within 10 seconds, the switch is performed according to the user's choice and the updated plan is adopted; if the user wants to use the recommended plan, no operation is required. After the default time, it will automatically switch to the switching device recommended by the general model. If the recommendation is not suitable, it can be rejected. In addition to prompting through the device switching interface, sound prompts can also be used. Specifically, if the device reset operation is not received within the set delay time, the target device recommended by the flow judgment model is used by default for data flow.
[0071] S205: If a device reset operation is received within the set delay time, the device determined by the device reset operation is updated to a new target device.
[0072] Specifically, if a device reset operation is received within the set delay time, indicating that the user does not want to use the currently recommended target device, the device determined by the user's device reset operation is updated to a new target device for the flow of the data to be circulated.
[0073] S206: Acquire target device identification information of the target device.
[0074] This step is used to obtain the device identification information of the target device, which is recorded as the target device identification information.
[0075] S207: Send the data to be circulated to the target device through the channel corresponding to the target device identification information so as to play the data to be circulated through the target device.
[0076] Specifically, the channel corresponding to the target device identification information is switched to serve as the data flow channel, and the data to be circulated is sent to the target device through the channel, so that the data to be circulated is played through the target device.
[0077] The above technical solution specifies the steps after determining the target device from each second device, and the step of sending the data to be circulated to the target device to play the data to be circulated through the target device. By providing the user with a device switching interface, the user further adjusts the target device recommended by the model according to his own characteristics to achieve the scenario that satisfies each user. When the first device receives the data to be circulated, it determines to which device the data to be circulated should be circulated through the flow judgment model, realizes the automatic flow and switching of the data to be circulated, increases the user data privacy reminder, and reduces the user's exposure of personal information in inconvenient occasions.
[0078] As an optional embodiment of the embodiment of the present invention, based on the above embodiment, this optional embodiment also includes:
[0079] a2) sending the device reset operation and the account information corresponding to the device reset operation to the cloud, so that the cloud updates the flow judgment model based on the device reset operation to obtain the flow judgment model corresponding to the account information.
[0080] In this embodiment, an accurate training model can be trained based on the user's device reset operation to replace the general flow judgment model to meet the needs of each user. The trained accurate model can be associated with the user's account information. When the user logs in to the personal account information, the model corresponding to the account information can be used to judge the data flow. The training process of the cloud for the accurate model is the same as the general flow judgment model training process, which will not be repeated here. The cloud sends the trained flow judgment model associated with the account information to the first device.
[0081] b2) receiving the flow judgment model corresponding to the account information sent by the cloud.
[0082] Specifically, the first device receives the flow judgment model corresponding to the account information sent by the cloud, and integrates the flow judgment model into the multi-device media channel control center, which is subsequently used to perform flow judgment on the flow data.
[0083] The above technical solution adds the training of personalized flow judgment models for users, thereby satisfying the flow judgment model suitable for each user and improving the accuracy of flow judgment of data to be circulated.
[0084] Embodiment 3
[0085] Figure 3 This is a schematic diagram of the structure of a media channel scene switching device provided in the third embodiment of the present invention. The device is applicable to the case of automatically switching data flow. The media channel scene switching device can be implemented in the form of hardware and / or software and is generally integrated in an electronic device. Figure 3As shown, the device includes: a device acquisition module 31, a target determination module 32 and a data sending module 33; wherein,
[0086] The device acquisition module 31 is used to acquire at least one second device connected to the first device when the first device receives the data to be transferred;
[0087] A target determination module 32, used for inputting the data to be circulated into a pre-trained circulation judgment model, and determining a target device from each second device;
[0088] The data sending module 33 is used to send the data to be circulated to the target device so as to play the data to be circulated through the target device.
[0089] The embodiment of the present invention provides a media channel scene switching device. In order to solve the problem that the data stream of the first device needs to be transferred to the designated second device according to the user's usage requirements when different second devices are connected to the first device, the device to which the transferred data needs to be transferred is judged through a transfer judgment model, and the device is automatically switched to the target device, thereby realizing reasonable distribution of the data, meeting the user's requirements for different data applications, protecting the user's privacy, increasing the user's data privacy reminder, and reducing the user's exposure of personal information in inconvenient occasions. The intelligent transfer of data is realized, and the convenience and driving safety are improved.
[0090] Optionally, the apparatus further includes a device recording module, configured to:
[0091] Record the device identification information and device type of the second device to which the first device is connected.
[0092] Optionally, the device further comprises a model training module, which is used to:
[0093] Collect historical flow data and the devices selected for flow corresponding to the historical flow data to form a data training set and send the data training set to the cloud, so that the cloud can obtain a flow judgment model through training the data training set;
[0094] Receive the flow judgment model sent by the cloud.
[0095] Optionally, the data sending module 33 is specifically used for:
[0096] Obtain target device identification information of the target device;
[0097] The data to be circulated is sent to the target device through the channel corresponding to the target device identification information so as to play the data to be circulated through the target device.
[0098] Optionally, the apparatus further includes an interface presentation module, which is specifically configured to: after determining the target device from each second device,
[0099] Presenting a device switching interface including the device type of the target device, wherein the device switching interface includes a default acceptance item and a manual selection item, and the default acceptance item displays a countdown of a set delay time;
[0100] If the device reset operation is not received within the set delay time, the target device will not be updated;
[0101] If a device reset operation is received within the set delay time, the device determined by the device reset operation is updated to a new target device. The device reset operation is an operation in which the user reselects a target device for a manually selected item.
[0102] Optionally, the device further includes a model updating module, specifically configured to:
[0103] Sending the device reset operation and the account information corresponding to the device reset operation to the cloud, so that the cloud updates the flow judgment model based on the device reset operation to obtain the flow judgment model corresponding to the account information;
[0104] Receive the flow judgment model corresponding to the account information sent by the cloud.
[0105] The media channel scene switching device provided in the embodiment of the present invention can execute the media channel scene switching method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0106] Embodiment 4
[0107] Figure 4 This is a schematic diagram of the structure of an electronic device provided in Embodiment 4 of the present invention. The components, their connections and relationships, and their functions shown herein are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0108] like Figure 4 As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0109] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0110] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as a media channel scene switching method.
[0111] In some embodiments, the media channel scene switching method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the media channel scene switching method described above may be performed. Alternatively, in other embodiments, the processor 41 may be configured to perform the media channel scene switching method in any other appropriate manner (e.g., by means of firmware).
[0112] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0113] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0114] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0115] To provide interaction with a user, the systems and techniques described herein can be implemented on a vehicle having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the vehicle. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0116] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0117] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0118] An embodiment of the present invention further provides a computer program product, including a computer program. When the computer program is executed by a processor, the media channel scene switching method provided by any embodiment of the present invention is implemented.
[0119] In the process of implementation, the computer program product can be written in one or more programming languages or a combination thereof to perform the computer program code for the operation of the present disclosure, including but not limited to object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (for example, using an Internet service provider to connect through the Internet).
[0120] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0121] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A media channel scene switching method, characterized in that: include: When the first device receives the data to be transferred, obtaining at least one second device connected to the first device; Inputting the data to be circulated into a pre-trained circulation judgment model, and determining a target device from each of the second devices; The data to be streamed is sent to the target device so as to play the data to be streamed through the target device.
2. The method according to claim 1, characterized in that Also includes: Record the device identification information and device type of the second device to which the first device is connected.
3. The method according to claim 1, characterized in that Also includes: Collecting historical flow data and the selected flow devices corresponding to the historical flow data to form a data training set and sending the data training set to the cloud, so that the cloud can obtain the flow judgment model through training with the data training set; Receive the flow judgment model sent by the cloud.
4. The method according to claim 2, characterized in that: The sending the data to be streamed to the target device so as to play the data to be streamed through the target device includes: Acquire target device identification information of the target device; The data to be circulated is sent to the target device through the channel corresponding to the target device identification information so as to play the data to be circulated through the target device.
5. The method according to claim 1, characterized in that After determining the target device from each of the second devices, the method further includes: Presenting a device switching interface including the device type of the target device, wherein the device switching interface includes a default acceptance item and a manual selection item, and the default acceptance item displays a countdown of a set delay time; If the device reset operation is not received within the set delay time, the target device is not updated; If a device reset operation is received within the set delay time, the device determined by the device reset operation is updated as a new target device, and the device reset operation is an operation in which the user reselects a target device for a manually selected item.
6. The method according to claim 5, characterized in that Also includes: Sending the device reset operation and the account information corresponding to the device reset operation to the cloud, so that the cloud updates the circulation judgment model based on the device reset operation to obtain the circulation judgment model corresponding to the account information; Receive a flow determination model corresponding to the account information sent by the cloud.
7. A media channel scene switching device, characterized in that: include: A device acquisition module, configured to acquire at least one second device connected to the first device when the first device receives the data to be transferred; a target determination module, used for inputting the data to be circulated into a pre-trained circulation judgment model, and determining a target device from each of the second devices; The data sending module is used to send the data to be circulated to the target device so as to play the data to be circulated through the target device.
8. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the media channel scene switching method according to any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the media channel scene switching method according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the media channel scene switching method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Prompting mode switching method, mobile terminal and cloud server
CN107920163A
Multimedia resource playing method and device and main control equipment
CN113676761A
Media playing method and device
CN115017342A
Service flow methods and related products
CN118101742A
Protection of data in a zero user interface environment
US20180330069A1