Equipment decision-making method, electronic equipment and storage medium
By detecting decision operations and dynamically setting decision-making capabilities in smart terminals, the problem of poor decision-making results in multi-device collaboration scenarios is solved, and the flexibility and scalability of decisions are improved, supporting the continuous evolution of the system.
Patent Information
- Application Number
- CN202310796976.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
AI Technical Summary
In multi-device collaboration scenarios, existing smart terminals cannot guarantee the optimal results of intelligent decisions, and the rules of the hyper-terminal are limited to weak scalability and flexibility, making it difficult to support the evolution of the system.
By detecting triggered decision operations in the device, obtaining decision-making capabilities, determining whether to make equipment decisions based on decision-making, and determining the decision-making mode, dynamically setting up the list of devices to be selected, supporting the decision-making capabilities of the device dimension and business dimension, and realizing intelligent or user decision-making modes .
It improves the flexibility and scalability of device decision-making, supports the iterative evolution of decision-making capabilities, and ensures that a better device selection experience is provided in multi-device collaboration scenarios.
Smart Images

Figure CN119232731A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent terminals, and in particular to a device decision method, an electronic device and a storage medium. Background Art
[0002] In multi-device collaboration scenarios, the intelligent decision-making of devices can help users select target collaborative devices, which can bring users a better user experience. However, due to the complexity and variability of user scenarios, the results of intelligent decision-making cannot be guaranteed to be optimal, and users are required to make independent decisions more often.
[0003] Currently, intelligent decision-making is usually performed by a super terminal. For example, the super terminal can be used as a general entrance for distributed capability control, connecting to various distributed services, and the super terminal can filter and sort the collaborative devices to select the target collaborative devices.
[0004] It can be seen that the above-mentioned intelligent decision-making model based on the super terminal has weak scalability and flexibility because the service access needs to be pre-restricted by the rules of the super terminal; in addition, when the intelligent decision-making is evolved, the super terminal will produce obvious bottlenecks, which is not conducive to the evolution of the system. Summary of the invention
[0005] The present application provides a device decision method, an electronic device and a storage medium, which help to improve the flexibility and scalability of device decision-making in distributed scenarios and facilitate the iterative evolution of decision-making capabilities.
[0006] In a first aspect, the present application provides a device decision method, applied to a first device, comprising: in response to detecting an operation that triggers a device decision, obtaining a decision capability, wherein the decision capability is used to characterize whether the device supports the ability to make device decisions; judging whether to make a device decision based on the decision capability; if it is determined to make a device decision, determining a decision mode; and determining a target collaborative device in a list of devices to be selected based on the determined decision mode, wherein the list of devices to be selected includes multiple second devices.
[0007] In this application, by setting the decision-making capabilities on demand, it helps to improve the flexibility and scalability of device decision-making in distributed scenarios, which is conducive to the iterative evolution of decision-making capabilities.
[0008] In one possible implementation, the decision-making capability includes the decision-making capability of the first device, and judging whether to make a device decision based on the decision-making capability includes: determining whether the first device supports making a device decision based on the decision-making capability of the first device.
[0009] In one possible implementation, the decision-making capability of the first device includes decision-making capability in device dimension, and determining whether the first device supports making device decisions based on the decision-making capability of the first device includes: determining whether the first device supports making device decisions based on the decision-making capability in device dimension of the first device.
[0010] In one possible implementation, the decision-making capability of the first device also includes decision-making capability in the business dimension. After determining whether the first device supports making device decisions based on the decision-making capability in the device dimension of the first device, the method further includes: determining whether the current business supports making device decisions based on the decision-making capability in the business dimension of the first device.
[0011] In one possible implementation, the decision-making capability also includes the decision-making capability of the second device, and judging whether to make a device decision based on the decision-making capability includes: determining whether the second device is displayed in the list of devices to be selected based on the decision-making capability of the second device.
[0012] In one possible implementation, the decision-making capability of the second device includes decision-making capability in a device dimension and / or decision-making capability in a business dimension.
[0013] In one possible implementation manner, if it is determined to make a device decision, determining the decision mode includes: if it is determined to make a device decision, querying the decision mode of the current service.
[0014] In one possible implementation manner, the method further includes: if the decision mode of the current business is not found, querying the decision mode of the business category to which the current business belongs.
[0015] In one possible implementation manner, the method further includes: if a decision mode of the business type to which the current business belongs is not found, querying the decision mode of the first device.
[0016] In one possible implementation manner, the method further includes: if the decision mode of the first device is not queried, no device decision is made, and the first device is used to play the current service.
[0017] In one possible implementation, the determined decision mode is an intelligent decision mode, and determining the target collaborative device in the list of devices to be selected based on the determined decision mode includes: determining the target collaborative device in the list of devices to be selected based on a preset intelligent decision algorithm.
[0018] In one possible implementation, the determined decision mode is a user decision mode, and determining the target collaborative device in the list of devices to be selected based on the determined decision mode includes: determining the target collaborative device in the list of devices to be selected in response to a user selection operation.
[0019] In a second aspect, the present application provides a device decision apparatus, comprising one or more functional modules, wherein the one or more functional modules are used to implement the device decision method as described in the first aspect.
[0020] In a third aspect, the present application provides an electronic device, comprising: a processor and a memory, wherein the memory is used to store a computer program; the processor is used to run the computer program to implement the device decision method as described in the first aspect.
[0021] In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program. When the computer-readable storage medium is executed on a computer, the computer implements the device decision method as described in the first aspect.
[0022] In a fifth aspect, the present application provides a computer program, which, when executed on a processor of an electronic device, enables the electronic device to execute the device decision method as described in the first aspect.
[0023] In one possible design, the program in the fifth aspect may be stored in whole or in part on a storage medium packaged together with the processor, or may be stored in whole or in part on a memory not packaged together with the processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0025] Figure 2 A system architecture diagram provided for an embodiment of the present application;
[0026] Figure 3 A schematic diagram of a flow chart of an embodiment of the device decision-making method provided in this application;
[0027] Figure 4 A schematic diagram of the structure of the device decision-making device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] In the embodiments of the present application, unless otherwise specified, the character " / " indicates that the objects before and after the association are in an or relationship. For example, A / B can represent A or B. "And / or" describes the association relationship of the associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone.
[0029] It should be pointed out that the words "first", "second", etc. involved in the embodiments of the present application are only used to distinguish the description purpose, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated, nor can they be understood as indicating or implying order.
[0030] In the embodiments of the present application, "at least one" refers to one or more, and "plurality" refers to two or more. In addition, "at least one of the following" or similar expressions refers to any combination of these items, which may include any combination of single items or plural items. For example, at least one of A, B, or C may represent: A, B, C, A and B, A and C, B and C, or A, B and C. Among them, each of A, B, and C may be an element itself, or a set containing one or more elements.
[0031] In the embodiments of the present application, "exemplary", "in some embodiments", "in another embodiment", etc. are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of the word "exemplary" is intended to present concepts in a concrete way.
[0032] In the embodiments of the present application, "of", "corresponding", and "corresponding" can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. In the embodiments of the present application, communication and transmission can sometimes be used interchangeably. It should be noted that when the distinction between them is not emphasized, the meanings to be expressed are consistent. For example, transmission can include sending and / or receiving, which can be a noun or a verb.
[0033] The equal to involved in the embodiments of the present application can be used in conjunction with greater than, and is applicable to the technical solution adopted when greater than, and can also be used in conjunction with less than, and is applicable to the technical solution adopted when less than. It should be noted that when equal to is used in conjunction with greater than, it cannot be used in conjunction with less than; when equal to is used in conjunction with less than, it cannot be used in conjunction with greater than.
[0034] In multi-device collaboration scenarios, the intelligent decision-making of devices can help users select target collaborative devices, which can bring users a better user experience. However, due to the complexity and variability of user scenarios, the results of intelligent decision-making cannot be guaranteed to be optimal, and users are required to make independent decisions more often.
[0035] Currently, intelligent decision-making is usually performed by a super terminal. For example, the super terminal can be used as a general entrance for distributed capability control, connecting to various distributed services, and the super terminal can filter and sort the collaborative devices to select the target collaborative devices.
[0036] It can be seen that the above-mentioned intelligent decision-making model based on the super terminal has weak scalability and flexibility because service access needs to be pre-restricted by the rules of the super terminal; in addition, when the intelligent decision-making is evolved, the super terminal will produce obvious bottlenecks, which is not conducive to the evolution of the system.
[0037] Based on the above problems, the embodiment of the present application proposes a device decision method, which is applied to electronic devices. The electronic device can be a fixed device, such as a large screen, a laptop computer, a desktop computer, etc. The electronic device can also be a mobile device, and the mobile device can also be called user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile terminal, user terminal, terminal, wireless communication device, user agent or user device. The mobile device can be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a vehicle networking terminal, a computer, a laptop computer, a handheld communication device, a handheld computing device, a satellite wireless device, a wireless modem card, a TV set top box (STB), a customer premise equipment (CPE) and / or other devices used to communicate on a wireless system and a next-generation communication system, for example, a mobile device in a 5G network or a mobile device in a future Public Land Mobile Network (PLMN) network. The mobile device can also be a wearable device. Wearable devices can also be called wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not just hardware devices, but also realize powerful functions through software support, data interaction, and cloud interaction.
[0038] It is understandable that the device decision method provided in the embodiment of the present application can be applied to different distributed scenarios, for example, multi-screen collaboration, smooth connection, headphone audio projection, screen projection and other scenarios. Taking multi-screen collaboration as an example, the electronic device may have a display screen. Taking headphone audio projection as an example, the electronic device may have an audio module. In other words, for different distributed scenarios, the electronic device may have corresponding business modules, and this application does not specifically limit this.
[0039] Figure 1 First, a schematic structural diagram of the electronic device 100 is shown as an example.
[0040] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0041] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0042] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (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. Different processing units may be independent devices or integrated into one or more processors.
[0043] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0044] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0045] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (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.
[0046] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0047] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
[0048] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0049] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0050] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.
[0051] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0052] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a MiniUSB interface, a MicroUSB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other terminal devices, such as AR devices, etc.
[0053] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0054] The charging management module 140 is used 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 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the terminal device through the power management module 141.
[0055] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0056] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0057] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0058] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0059] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0060] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0061] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. 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).
[0062] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0063] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0064] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0065] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0066] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0067] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0068] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0069] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0070] The external memory interface 120 can be used to connect an external memory card, such as a MicroSD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0071] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121, and / or instructions stored in a memory provided in the processor.
[0072] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.
[0073] The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signals. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0074] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0075] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0076] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can speak by putting their mouth close to microphone 170C to input the sound signal into microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, which can not only collect sound signals but also realize noise reduction function. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, realize directional recording function, etc.
[0077] The earphone interface 170D is used to connect a wired earphone and can be a USB interface 130 or a 3.5 mm open mobile terminal platform (OMTP) standard interface or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0078] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
[0079] The gyro sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., x, y, and z axes) can be determined by the gyro sensor 180B. The gyro sensor 180B can be used for anti-shake shooting. For example, when the shutter is pressed, the gyro sensor 180B detects the angle of the electronic device 100 shaking, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse movement to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenes.
[0080] The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
[0081] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of the flip leather case. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Then, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, the flip cover can be automatically unlocked.
[0082] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in all directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0083] The distance sensor 180F is used to measure the distance. The electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
[0084] The proximity light sensor 180G 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 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
[0085] The ambient light sensor 180L is used to sense the ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
[0086] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0087] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of a processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
[0088] The touch sensor 180K is also called a "touch control device". The touch sensor 180K can be set on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch control screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0089] The bone conduction sensor 180M can obtain a vibration signal. In some embodiments, the bone conduction sensor 180M can obtain a vibration signal of a vibrating bone block of the vocal part of the human body. The bone conduction sensor 180M can also contact the human pulse to receive a blood pressure beat signal. In some embodiments, the bone conduction sensor 180M can also be set in an earphone and combined into a bone conduction earphone. The audio module 170 can parse out a voice signal based on the vibration signal of the vibrating bone block of the vocal part obtained by the bone conduction sensor 180M to realize a voice function. The application processor can parse the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M to realize a heart rate detection function.
[0090] The key 190 includes a power key, a volume key, etc. The key 190 may be a mechanical key or a touch key. The electronic device 100 may receive key input and generate key signal input related to user settings and function control of the electronic device 100.
[0091] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0092] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.
[0093] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support NanoSIM cards, MicroSIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0094] Next, combine Figure 2 and Figure 3 The device decision method provided in the embodiment of the present application is described.
[0095] Figure 2 A system architecture diagram provided for an embodiment of the present application.
[0096] refer to Figure 2 The system architecture may include a first device and multiple second devices. The first device and the second device may form a distributed scenario. For example, the first device may be a master device, the second device may be a collaborative device, and the first device and the second device may be the electronic device 100 described above.
[0097] It is understandable that the first device and the second device may be connected by wire, or the first device and the second device may be connected by wireless. The present application does not specifically limit the above connection method.
[0098] A connection can also be established between the second devices ( Figure 2 (not shown) to facilitate communication between second devices.
[0099] It is understandable that the first device and the second device refer to the direction of the service flow. For example, when a device is the initiator of the service, the device is the first device, and when a device is the collaborator, the device can be the second device. In other words, any device in a distributed scenario can be the first device or the second device, and whether the device is the initiator or the collaborator can determine whether the device is the first device or the second device.
[0100] As mentioned above, distributed scenarios can include different business scenarios, such as multi-screen collaboration, smooth connection, headphone audio projection, screen projection, etc. Taking screen projection as an example, the user can operate on the first device and select a target collaborative device from multiple second devices to project the interface displayed on the first device to the target collaborative device.
[0101] Among them, both the first device and the second device can be pre-configured with decision-making capabilities and decision-making modes. The decision-making capability is used to characterize whether the first device or the second device supports device decision-making. The decision-making mode may include intelligent decision-making and user decision-making modes. Among them, the intelligent decision-making mode is used to characterize that the current device can use a preset decision algorithm to filter and sort the collaborative devices to select the target collaborative device. The user decision mode is used to characterize that the user can independently select the target collaborative device.
[0102] like Figure 3 The figure is a flow chart of an embodiment of the device decision method provided by the present application, which specifically includes the following steps:
[0103] Step 301: In response to detecting an operation that triggers a device decision, a first device acquires a decision-making capability.
[0104] Specifically, the operation that triggers the device decision may be that in a distributed scenario, a user starts a current service on a first device, thereby triggering an operation to make a decision on a collaborative device.
[0105] For example, the user can cast the video on the first device, thereby triggering the decision on the collaborative device to determine the target collaborative device, and after the target collaborative device is determined, the video of the first device can be cast on the target collaborative device. Alternatively, the user can cast the audio on the first device, thereby triggering the decision on the collaborative device to determine the target collaborative device, and after the target collaborative device is determined, the audio of the first device can be cast on the target collaborative device.
[0106] It can be understood that the above example scenarios are merely illustrative descriptions and do not constitute a limitation on the embodiments of the present application. In some embodiments, other scenarios that trigger device decisions may also be included, all of which are within the scope of protection of the present application.
[0107] In response to detecting an operation that triggers a device decision, the first device may obtain the decision capabilities of the first device and the second device. As described above, the decision capability is used to characterize whether the device supports the device decision capability. The decision capability may include two capabilities: support and non-support. The support capability is used to characterize that the device supports the device decision, and the non-support capability is used to characterize that the device does not support the device decision.
[0108] For example, taking the first device as an example, the supported capability of the first device indicates that the first device is capable of making device decisions, that is, the first device is capable of selecting a target collaborative device from multiple second devices. The unsupported capability of the first device indicates that the first device is incapable of making device decisions.
[0109] Taking the second device as an example, the support capability of the second device indicates that the second device can be included in the decision of the first device, so that the first device can make a decision among multiple second devices and select a target collaborative device. That is to say, the second device with support capability can appear in the list of candidate devices of the first device, and the list of candidate devices is used for the first device to make intelligent decisions. The list of candidate devices may include multiple second devices. The unsupport capability of the second device indicates that the second device is not included in the decision of the first device. That is to say, when the first device makes a device decision, the second device with unsupport capability will not appear in the list of candidate devices of the first device.
[0110] It is understandable that, in the initial state, the first device and the second device can preset the decision-making capabilities. After the second device presets the decision-making capabilities, it can be synchronized with the first device, so that the first device can obtain the decision-making capabilities of the second device. Exemplarily, after the first device presets the decision-making capabilities of the first device, the decision-making capabilities of the first device can be stored in the device database. In addition, after the second device synchronizes the decision-making capabilities with the first device, the first device can store the decision-making capabilities of the second device in the setting database, and can obtain the decision-making capabilities of the first device and the second device from the setting database when an operation that triggers a device decision is detected.
[0111] Step 302: The first device determines whether to make a device decision based on the decision-making capability.
[0112] Specifically, after the first device acquires the decision-making capability, it can determine whether to make a device decision based on the decision-making capability.
[0113] If the first device determines to make a device decision, step 303 may be executed. Alternatively,
[0114] If the first device determines not to make a device decision, step 305 may be executed.
[0115] The decision-making capability may include the decision-making capability of the first device and the decision-making capability of the second device.
[0116] The decision-making capability of the first device is used to indicate whether the first device supports device decision-making.
[0117] Exemplarily, if the decision-making capability of the first device is supported, it means that the first device supports making device decisions, and the first device can determine to make device decisions.
[0118] If the decision-making capability of the first device is not supported, it means that the first device does not support device decision-making, and the first device can determine not to make device decision.
[0119] The decision-making capability of the second device is used to characterize whether the second device participates in the device decision of the first device.
[0120] For example, if the decision-making capability of the second device is supported, it means that the second device participates in the device decision-making, and the second device can appear in the list of candidate devices of the first device. Or,
[0121] If the decision-making capability of the second device is not supported, it means that the second device does not participate in device decision-making, and the second device does not appear in the list of candidate devices of the first device.
[0122] In some optional embodiments, the decision-making capability may be divided into two dimensions: a device dimension and a business dimension.
[0123] Taking the first device as an example, the first device may determine whether to make a device decision based on the device dimension and / or the business dimension.
[0124] Exemplarily, the first device may determine whether to support device decision making from the dimension of the device. The first device may pre-configure the capability of not supporting device decision making from the dimension of the device, that is, the first device may be pre-configured to not support device decision making, and when the first device obtains the capability of not supporting device decision making, it may determine not to make device decision making. Alternatively, the first device may pre-configure the capability of supporting device decision making from the dimension of the device, that is, the first device may be pre-configured to support device decision making, and when the first device obtains the capability of supporting device decision making, it may determine to make device decision making.
[0125] In some optional embodiments, the first device may also be configured to enable device decision making. That is, before making a determination based on the decision-making capability of the device dimension, it may be determined whether the first device enables device decision making.
[0126] It can be understood that if the first device is set to enable device decision, the first device can, on this basis, further determine whether to make a device decision based on the decision-making capability of the device dimension, wherein the specific method of determining whether to make a device decision based on the decision-making capability of the device dimension can refer to the relevant description in the above embodiment, which will not be repeated here; or, if the first device is set to not enable device decision, the first device does not need to determine whether to make a device decision based on the decision-making capability of the device dimension, and can execute step 305.
[0127] In some optional embodiments, after the first device makes a judgment on the device decision based on the decision-making capability of the device dimension, it can also make a judgment on the device decision based on the decision-making capability of the business dimension. For example, when the first device determines that the device decision is supported in the device dimension, it can also make a judgment in the business dimension, that is, the priority of the device dimension judgment is higher than the business dimension. If the judgments of both the device dimension and the business dimension support the device decision, it can be determined that the first device can make the device decision.
[0128] Taking the business dimension as an example, the first device can determine whether to support device decision-making from the business dimension. Exemplarily, the first device can pre-configure different decision-making capabilities for different services. If the first device pre-configures the ability to not support device decision-making for service A, that is, when the service A is played in the first device, the first device does not support device decision-making, then after the first device determines that the first device supports device decision-making based on the decision-making capability of the device dimension, if the first device determines that the device does not support device decision-making based on the decision-making capability of the business dimension, the first device determines not to make a device decision; or, if the first device pre-configures the ability to support device decision-making for service A, that is, when the service A is played in the first device, the first device can support device decision-making, then after the first device determines that the first device supports device decision-making based on the decision-making capability of the device dimension, if the first device determines that the device supports device decision-making based on the decision-making capability of the business dimension, the first device determines to make a device decision.
[0129] Next, taking the second device as an example, the second device may determine whether to participate in the device decision based on the device dimension and / or the business dimension.
[0130] It is understandable that the first device can also obtain the decision-making capability of the second device. The second device can pre-configure the capability of not participating in device decision-making from the device dimension, that is, the second device configured with the capability of not participating in device decision-making will not appear in the list of candidate devices of the first device. Alternatively, the second device can pre-configure the capability of participating in device decision-making from the device dimension, that is, the second device configured with the capability of participating in device decision-making will appear in the list of candidate devices of the first device, so that the first device can select the target collaborative device according to the second device in the list of candidate devices.
[0131] In some optional embodiments, the second device may also pre-configure the ability to participate or not participate in device decision-making from the business dimension. After making a judgment based on the device dimension, the second device may also make a judgment based on the business dimension, thereby determining whether to participate in the device decision of the first device. The judgment method of the second device based on the device dimension and the business dimension may specifically refer to the judgment method of the first device based on the device dimension and the business dimension in the above embodiment, and will not be repeated here.
[0132] In some optional embodiments, the decision-making capabilities of the business dimension may also be dynamically updated during the broadcast of the business.
[0133] Among them, the update of decision-making capabilities in the business dimension may include the update of decision-making capabilities, for example, for the business, updating the capability of configuring not to support device decisions to configuring to support device decisions, or updating the capability of configuring to support device decisions to configuring not to support device decisions.
[0134] Step 303: The first device determines a decision mode.
[0135] Specifically, after the first device determines to make a device decision, it can determine a decision mode, wherein the decision mode may include intelligent decision and user decision, and the specific methods of intelligent decision and user decision can refer to the relevant description in the above embodiment, which will not be repeated here.
[0136] It is understandable that the decision mode can be preset in the first device. For example, the decision mode can be pre-stored in a setting database, so that the first device can obtain the decision mode from the setting database after determining the device decision.
[0137] In some optional embodiments, in the process of obtaining the decision mode, the decision mode may also be determined from a service dimension, a service category dimension, or a device dimension, wherein a service category may include multiple services.
[0138] Exemplarily, the business dimension, business category dimension or device dimension may include corresponding intelligent decision-making models and user decision-making models.
[0139] Taking the business dimension as an example, business A can be configured with an intelligent decision-making mode, business B can be configured with a user decision-making mode, and business C can be configured with an intelligent decision-making mode. In other words, different businesses can be configured with different decision-making modes.
[0140] Taking the business type dimension as an example, business type X can be configured with an intelligent decision mode, business type Y can be configured with an intelligent decision mode, and business type Z can be configured with a user decision mode. In other words, different business types can be configured with different decision modes. Compared with the decision mode of the business dimension, since each business needs to correspond to a decision mode, the complexity is higher and the development cost is higher, which is not conducive to continuous evolution and optimization. The decision mode of the business type can make multiple businesses correspond to one decision mode, thereby reducing complexity, reducing development costs, and facilitating continuous evolution and optimization.
[0141] Taking the device dimension as an example, device A can be configured with intelligent decision mode, device B can be configured with user decision mode, and device C can be configured with user decision mode. In other words, different devices can be configured with different decision modes.
[0142] It is understandable that the first device may configure one or more decision modes in the above service dimension, service type dimension and device dimension. The first device may obtain the corresponding decision mode according to the priority of the service dimension, service type dimension and device dimension.
[0143] Among them, the priority of the business dimension is greater than the priority of the business type dimension, and the priority of the business type dimension is greater than the priority of the device dimension.
[0144] Exemplarily, the first device may preferentially determine whether the current business is configured with a decision mode of the business dimension. If the first device determines that the current business is configured with a decision mode of the business dimension, the decision mode of the business dimension of the current business may be obtained. If the first device determines that the current business is not configured with a decision mode of the business dimension, it may determine whether the current business is configured with a decision mode of the business type dimension, wherein the business type may be the business type to which the current business belongs. If the first device determines that the current business is configured with a decision mode of the business type dimension, the decision mode of the business type dimension of the current business may be obtained. If the first device determines that the current business is not configured with a decision mode of the business type dimension, it may determine whether the current business is configured with a decision mode of the device dimension. If the first device determines that the current business is configured with a decision mode of the device dimension, it may obtain the decision mode of the device dimension of the current business; if the first device determines that the current business is not configured with a decision mode of the device dimension, step 305 may be executed.
[0145] Step 304: The first device determines a target collaborative device based on the determined decision mode.
[0146] Specifically, after the first device determines the decision mode, the second device may be determined according to the determined decision mode.
[0147] Exemplarily, if the determined decision mode is the intelligent decision mode, the first device may select a target device as the target collaborative device from the list of candidate devices according to a preset intelligent decision algorithm, wherein the list of candidate devices may include multiple candidate second devices.
[0148] If the determined decision mode is the user decision mode, the first device can display a list of devices to be selected, and the user can perform a selection operation on the first device. In response to the user's selection operation, the target collaborative device can be determined in the list of devices to be selected.
[0149] It is understandable that after the first device determines the target collaborative device, business collaboration can be performed through the target collaborative device. For example, the video of the first device can be projected on the target collaborative device, or the audio of the first device can be played through the target collaborative device, etc.
[0150] Step 305: The first device uses the device to play the service.
[0151] Specifically, if the first device does not make a device decision, the device can be used to play the service, that is, the first device does not need to make a device decision or determine a target collaborative device.
[0152] In the embodiment of the present application, by setting the decision-making capability on demand, the flexibility and scalability of device decision-making in distributed scenarios can be improved, which is conducive to the iterative evolution of decision-making capabilities.
[0153] Figure 4 This is a schematic diagram of the structure of an embodiment of the device decision-making device of the present application, such as Figure 4 As shown, the above-mentioned device decision device 40 is applied to the first device, and the device decision device 40 may include: an acquisition module 41, a judgment module 42 and; wherein,
[0154] An acquisition module 41, configured to acquire a decision capability in response to detecting an operation that triggers a device decision, wherein the decision capability is used to characterize whether the device supports the capability of device decision;
[0155] A determination module 42, configured to determine whether to make a device decision based on the decision-making capability;
[0156] The determination module 43 is used to determine the decision mode if it is determined to make a device decision; determine the target collaborative device in the list of devices to be selected based on the determined decision mode, wherein the list of devices to be selected includes multiple second devices
[0157] In one possible implementation, the decision-making capability includes the decision-making capability of the first device, and the judgment module 42 is further used to determine whether the first device supports device decision-making based on the decision-making capability of the first device.
[0158] In one possible implementation, the decision-making capability of the first device includes a decision-making capability in a device dimension, and the judgment module 42 is further used to determine whether the first device supports device decision-making based on the decision-making capability in the device dimension of the first device.
[0159] In one possible implementation, the decision-making capability of the first device also includes decision-making capability in the business dimension, and the judgment module 42 is further used to determine whether the current business supports device decision-making based on the decision-making capability in the business dimension of the first device.
[0160] In one possible implementation, the decision-making capability also includes the decision-making capability of the second device, and the judgment module 42 is further used to determine whether the second device is displayed in the list of devices to be selected based on the decision-making capability of the second device.
[0161] In one possible implementation, the decision-making capability of the second device includes decision-making capability in a device dimension and / or decision-making capability in a business dimension.
[0162] In one possible implementation, the determination module 43 is further configured to query a decision mode of the current service if it is determined to make a device decision.
[0163] In one possible implementation, the determination module 43 is further configured to query the decision mode of the business category to which the current business belongs if the decision mode of the current business is not found.
[0164] In one possible implementation, the determination module 43 is further configured to query the decision mode of the first device if no decision mode of the service type to which the current service belongs is found.
[0165] In one possible implementation, the determination module 43 is further configured to, if no decision mode of the first device is found, not make a device decision and use the first device to play the current service.
[0166] In one possible implementation, the determined decision mode is an intelligent decision mode, and the determination module 43 is further used to determine the target collaborative device in the list of devices to be selected based on a preset intelligent decision algorithm.
[0167] In one possible implementation, the determined decision mode is a user decision mode, and the determination module 43 is further used to determine the target collaborative device in the list of devices to be selected in response to a user's selection operation.
[0168] Figure 4 The equipment decision-making device 40 provided in the illustrated embodiment can be used to execute the technical solution of the method embodiment illustrated in the present application. Its implementation principle and technical effects can be further referred to the relevant description in the method embodiment.
[0169] It should be understood that the above Figure 4The division of the various modules of the device decision device 40 shown is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the detection module can be a separately established processing element, or it can be integrated in a chip of an electronic device. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. In the implementation process, each step of the above method or each of the above modules can be completed by an integrated logic circuit of hardware in the processor element or instructions in software form.
[0170] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more microprocessors (DSP), or one or more field programmable gate arrays (FPGA). For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0171] In the above embodiments, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units; hereinafter referred to as: NPU) and an image signal processor (Image Signal Processing; hereinafter referred to as: ISP). The processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASIC, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.
[0172] An embodiment of the present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method provided by the embodiment shown in the present application.
[0173] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program is run on a computer, it enables the computer to execute the method provided by the embodiment shown in the present application.
[0174] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next 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 single or plural items. For example, at least one of a, b and c can be represented by: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, c can be single or multiple.
[0175] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0176] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0177] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk and other media that can store program codes.
[0178] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A device decision method, characterized in that: Applied to a first device, the method includes: In response to detecting an operation that triggers a device decision, acquiring a decision capability, wherein the decision capability is used to characterize whether the device supports the capability of device decision; Determining whether to make a device decision based on the decision-making capability; If it is determined to make an equipment decision, then determine the decision mode; A target collaborative device is determined in a list of devices to be selected based on the determined decision mode, wherein the list of devices to be selected includes a plurality of second devices.
2. The method according to claim 1, characterized in that The decision-making capability includes the decision-making capability of the first device, and judging whether to make a device decision based on the decision-making capability includes: A determination is made based on a decision-making capability of the first device whether the first device supports making a device decision.
3. The method according to claim 2, characterized in that The decision-making capability of the first device includes a decision-making capability in a device dimension, and determining whether the first device supports device decision-making based on the decision-making capability of the first device includes: Determine whether the first device supports making device decisions based on the decision-making capability of the device dimension of the first device.
4. The method according to claim 3, characterized in that The decision-making capability of the first device further includes a decision-making capability in a business dimension. After determining whether the first device supports making device decisions based on the decision-making capability in a device dimension of the first device, the method further includes: Determine whether the current business supports device decision making based on the decision-making capability of the business dimension of the first device.
5. The method according to any one of claims 1 to 4, characterized in that: The decision-making capability also includes the decision-making capability of the second device, and judging whether to make a device decision based on the decision-making capability includes: Determine whether the second device is displayed in the list of devices to be selected based on the decision-making capability of the second device.
6. The method according to claim 5, characterized in that The decision-making capability of the second device includes decision-making capability in device dimension and / or decision-making capability in business dimension.
7. The method according to any one of claims 1 to 6, characterized in that: If it is determined to make a device decision, then determining the decision mode includes: If you decide to make a device decision, query the decision mode of the current business.
8. The method according to claim 7, characterized in that The method further comprises: If the decision model of the current business is not found, the decision model of the business type to which the current business belongs is queried.
9. The method according to claim 8, characterized in that The method further comprises: If the decision mode of the service type to which the current service belongs is not found, the decision mode of the first device is queried.
10. The method according to claim 9, characterized in that The method further comprises: If the decision mode of the first device is not found, no device decision is made, and the first device is used to play the current service.
11. The method according to any one of claims 7 to 10, characterized in that: The determined decision mode is an intelligent decision mode, and determining the target collaborative device in the list of devices to be selected based on the determined decision mode includes: The target collaborative device is determined from the list of candidate devices based on a preset intelligent decision-making algorithm.
12. The method according to any one of claims 7 to 10, characterized in that: The determined decision mode is a user decision mode, and determining the target collaborative device in the list of devices to be selected based on the determined decision mode includes: In response to the user's selection operation, a target collaborative device is determined in the list of devices to be selected.
13. An electronic device, characterized in that: include: A processor and a memory, wherein the memory is used to store a computer program; and the processor is used to run the computer program to implement the device decision method according to any one of claims 1 to 12.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the device decision method according to any one of claims 1 to 12 is implemented.
Citation Information
Patent Citations
Decision-making method and device for service continuation and electronic equipment
CN113890745A
Equipment collaboration method and related device
CN116156044A
Home network apparatus and system for cooperative work service and method thereof
US20050021714A1
