Business operation method and electronic equipment
By using networking technology to switch to a device with a strong signal when the signal is weak, the problem of service failure of electronic devices when the signal is insufficient is solved, thus improving the user experience.
Patent Information
- Application Number
- CN202411081158.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2026-02-10
AI Technical Summary
When electronic devices lack sufficient signal strength, they cannot operate normally, resulting in service failure or quality degradation. For example, when the cellular signal is weak, calls may fail or the call quality may be poor, and when the Wi-Fi signal is weak, games may lag.
By using a network approach, the communication signals of other electronic devices are used to switch services, selecting the device with the strongest signal or the closest distance to switch the communication signal, thus ensuring the normal operation of the service.
It enables automatic switching to a device with a strong signal when the signal is weak, ensuring normal business operation, improving user experience, and making it imperceptible to the user.
Smart Images

Figure CN121509915A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic devices, and more specifically, to a method for operating a business and electronic devices. Background Technology
[0002] The quality of services provided by electronic devices is often related to signal strength. Strong signal strength allows devices to run services smoothly, while weak signal strength can prevent proper operation. For example, when making calls over a cellular network, a strong cellular signal ensures successful calls and normal conversations. Without a cellular signal or with weak signal strength, calls may fail or be of poor quality, making normal communication impossible. Similarly, when playing games over Wi-Fi, a strong Wi-Fi signal allows for smooth gameplay, while weak signal strength can cause lag and stuttering. Therefore, ensuring the normal operation of services by electronic devices has become a pressing technical challenge. Summary of the Invention
[0003] This application provides a method for operating a service and an electronic device. Through the method provided in this application, an electronic device operates a service through the communication signals of other electronic devices, ensuring the normal operation of the service.
[0004] In a first aspect, a method for operating a service is provided, the method comprising: operating a first service via a first communication signal, the first communication signal being a communication signal corresponding to a first electronic device; and, when a preset condition is met, switching to operating the first service via a second communication signal, wherein the second communication signal is a communication signal corresponding to a second electronic device, and the first electronic device and the second electronic device are networked electronic devices.
[0005] In this embodiment, the first electronic device can initially run the first service using its own communication signal, and then switch to running the first service using the communication signal of the second electronic device when preset conditions are met. Through the technical solution provided by this application, even when the signal strength of the first electronic device's communication signal is low or there is no communication signal, the first service can still be run using the communication signal of the second electronic device, thus ensuring the normal operation of the first service. Furthermore, the switching process can be automatic and imperceptible to the user, thus improving the user experience.
[0006] In conjunction with the first aspect, in some implementations of the first aspect, before switching to run the first service via the second communication signal when the preset conditions are met, the method further includes: when the preset conditions are met, determining the second electronic device based on the calling parameters of N electronic devices, wherein the calling parameters include the signal strength of the communication signal, the N electronic devices are electronic devices networked with the first electronic device, the N electronic devices include the second electronic device, and N≥1 and is an integer.
[0007] In this application, the first electronic device is networked with N electronic devices. The first electronic device can determine which electronic device's communication signal to use to run the first service based on the calling parameters of the N electronic devices, ensuring that the first electronic device can select a communication signal with a strong signal strength to run the first service.
[0008] In conjunction with the first aspect, in some implementations of the first aspect, the second electronic device is the electronic device with the strongest signal strength of the communication signal among the N electronic devices.
[0009] In conjunction with the first aspect, in some implementations of the first aspect, the calling parameter also includes the distance between the N electronic devices and the first electronic device, the signal strength of the communication signals of M electronic devices among the N electronic devices is greater than or equal to a first threshold, the M electronic devices include the second electronic device, the second electronic device is the electronic device among the M electronic devices that is closest to the first electronic device, and N≥M≥1 and M is an integer.
[0010] In conjunction with the first aspect, in some implementations of the first aspect, the first service is a call service, the telephone number corresponding to the call service is a first telephone number, and the switching to run the first service through the second communication signal includes: sending the first telephone number to the second electronic device so that the second electronic device can call the first telephone number through the second communication signal; and exchanging call data corresponding to the call service with the electronic device corresponding to the first telephone number through the second electronic device.
[0011] In conjunction with the first aspect, in some implementations of the first aspect, the preset condition includes failure to dial the first telephone number via the first communication signal.
[0012] In conjunction with the first aspect, in some implementations of the first aspect, the first communication signal and the second communication signal are cellular signals, and the telephone number corresponding to the first communication signal is the same as the telephone number corresponding to the second communication signal.
[0013] In conjunction with the first aspect, in some implementations of the first aspect, the first communication signal and the second communication signal are cellular signals, and the telephone number corresponding to the first communication signal is different from the telephone number corresponding to the second communication signal.
[0014] In conjunction with the first aspect, in some implementations of the first aspect, the first service is a video playback service, and the switch to running the first service via the second communication signal includes: establishing a connection with the server corresponding to the video playback service via the second communication signal to run the video playback service.
[0015] In conjunction with the first aspect, in some implementations of the first aspect, the preset condition includes one or more of the following: connection to the server fails or the number of video frames is less than or equal to the second threshold.
[0016] In conjunction with the first aspect, in some implementations of the first aspect, the first service is a game service, and the switch to run the first service via the second communication signal includes: establishing a connection with the server corresponding to the game service via the second communication signal to run the game service.
[0017] In conjunction with the first aspect, in some implementations of the first aspect, the preset condition includes one or more of the following: connection to the server fails or the game frame rate is less than or equal to the third threshold.
[0018] Secondly, a method for operating a service is provided, the method comprising: before operating a first service, determining a first communication signal based on the signal strength of a communication signal of a first electronic device and calling parameters of N electronic devices, wherein the calling parameters include the signal strength of the communication signal, the N electronic devices are electronic devices networked with the first electronic device, and N≥1 and are integers; and operating the first service through the first communication signal.
[0019] In this embodiment of the application, before running a service, the first electronic device can first determine the signal strength of its own communication signal and the signal strength of the communication signals of the electronic devices networked with it, and then select a communication signal from them based on the determination result, and run the service through the communication signal, which can ensure the normal operation of the service. The above process is performed automatically without the user's awareness, which helps to improve the user experience.
[0020] In conjunction with the second aspect, in some implementations of the second aspect, the first communication signal is the communication signal with the strongest signal strength among the communication signals of the first electronic device and the N electronic devices.
[0021] In conjunction with the second aspect, in some implementations of the second aspect, the first communication signal is the communication signal of the first electronic device, the signal strength of the first communication signal is less than the signal strength of the communication signals of one or more of the N electronic devices, and the difference between the signal strength of the first communication signal and the signal strength of the communication signals of the N electronic devices is less than or equal to a first threshold.
[0022] In conjunction with the second aspect, in some implementations of the second aspect, the signal strength of the first communication signal is greater than or equal to the second threshold.
[0023] In conjunction with the second aspect, in some implementations of the second aspect, the signal strength of the communication signal of the first electronic device is less than the second threshold, the signal strength of the communication signal of one or more of the N electronic devices is greater than or equal to the second threshold, and the first communication signal is the communication signal of any one of the one or more electronic devices.
[0024] In conjunction with the second aspect, in some implementations of the second aspect, the signal strength of the communication signal of the first electronic device is less than the second threshold, the signal strength of the communication signal of one or more of the N electronic devices is greater than or equal to the second threshold, and the electronic device corresponding to the first communication signal is the electronic device that is closest to the first electronic device among the one or more electronic devices.
[0025] In conjunction with the second aspect, in some implementations of the second aspect, the first service includes call service, video playback service, and game service.
[0026] Thirdly, a method for making a call is provided, the method comprising: calling a first phone number via a first cellular signal; and when calling the first phone number via the first cellular signal fails, switching to calling the first phone number via a second cellular signal.
[0027] In this embodiment, the first electronic device is a multi-SIM device. When the first electronic device fails to make a call through the first cellular signal corresponding to one of the SIM cards, it can make a call through the second cellular signal corresponding to the other SIM card to ensure that the user can make a successful call. The above process can be performed automatically and the user will not be aware of it, which helps to improve the user experience.
[0028] Fourthly, an electronic device is provided, comprising one or more processors; one or more memories; the one or more memories storing one or more computer programs, the one or more computer programs including instructions that, when executed by the one or more processors, cause the foregoing aspects or any possible implementation thereof to be performed.
[0029] Fifthly, a computer-readable storage medium is provided, comprising a computer program or instructions that, when executed on a computer, cause the first aspect and any possible implementation of the method of the first aspect to be performed.
[0030] In a sixth aspect, a computer program product is provided, comprising a computer program or instructions that, when executed on a computer, cause the first aspect and any possible implementation of the method of the first aspect to be performed.
[0031] In a seventh aspect, a computer program is provided that, when run on a computer, causes the methods described in the first aspect and any possible implementation thereof to be executed.
[0032] Eighthly, an electronic device according to an embodiment of this application includes modules / units for performing the above aspects or any possible design of the above aspects; these modules / units can be implemented in hardware or by hardware executing corresponding software.
[0033] For the beneficial effects in aspects four through eight, please refer to the beneficial effects in aspects one through three, which will not be repeated here. Attached Figure Description
[0034] Figure 1 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application.
[0035] Figure 2 This is a software structure block diagram of the electronic device provided in the embodiments of this application.
[0036] Figure 3 This is a set of GUIs provided in the embodiments of this application.
[0037] Figure 4 This is a set of GUIs provided in the embodiments of this application.
[0038] Figure 5 This is a set of GUIs provided in the embodiments of this application.
[0039] Figure 6 This is a schematic flowchart illustrating the method for running services provided in the embodiments of this application.
[0040] Figure 7 This is a schematic flowchart illustrating the method for running services provided in the embodiments of this application.
[0041] Figure 8 This is a schematic flowchart illustrating the method for running services provided in the embodiments of this application.
[0042] Figure 9This is a schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0043] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings.
[0044] The terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. As used in the specification and appended claims of this application, the singular expressions “a,” “an,” “the,” “the,” “the,” and “this” are intended to also include expressions such as “one or more,” unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of this application, “at least one” and “one or more” refer to one, two, or more than two. The term “and / or” is used to describe the relationship between related objects, indicating that three relationships may exist; for example, A and / or B can indicate: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character “ / ” generally indicates that the preceding and following related objects are in an “or” relationship.
[0045] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0046] The following describes an electronic device, a user interface for such an electronic device, and embodiments for using such an electronic device. In some embodiments, the electronic device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or music player, such as a mobile phone, tablet computer, wearable electronic device with wireless communication capabilities (such as a smartwatch), etc. Exemplary embodiments of the portable electronic device include, but are not limited to, carrying... Alternatively, it could be a portable electronic device with another operating system. The aforementioned portable electronic device could also be other portable electronic devices, such as laptops. It should also be understood that in some other embodiments, the aforementioned electronic device may not be a portable electronic device, but rather a desktop computer.
[0047] For example, Figure 1A schematic diagram of the structure of electronic device 100 is shown. 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, antenna 1, 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, a headphone jack 170D, a sensor module 180, buttons 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, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity 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.
[0048] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 100. In other embodiments of this application, the electronic device 100 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0049] Processor 110 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0050] The controller can be the nerve center and command center of the electronic device 100. The controller can generate operation control signals according to the instruction opcode and timing signals to complete the control of fetching and executing instructions.
[0051] The processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory can store instructions or data that the processor 110 has just used or that are used repeatedly. If the processor 110 needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0052] In some embodiments, the processor 110 may include one or more interfaces. Interfaces 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.
[0053] The wireless communication function of electronic device 100 can be realized through antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, modem processor and baseband processor, etc.
[0054] 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 one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with tuning switches.
[0055] The mobile communication module 150 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 150 may be housed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 may be housed in the same device.
[0056] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates 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 processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 170A, receiver 170B, etc.) or displays images or videos through the display screen 194. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 110 and may be housed in the same device as the mobile communication module 150 or other functional modules.
[0057] The wireless communication module 160 can provide solutions for wireless communication applications on the electronic device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. 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 antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 110. The wireless communication module 160 can also receive signals to be transmitted from processor 110, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.
[0058] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, enabling electronic device 100 to communicate with networks and other devices via 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-CDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).
[0059] Electronic device 100 implements display functions through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 110 may include one or more GPUs, which execute program instructions to generate or modify display information.
[0060] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Mini LED, a MicroLED, a Micro-OLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.
[0061] Internal memory 121 can be used to store computer executable program code, which includes instructions. Processor 110 executes various functional applications and data processing of electronic device 100 by running the instructions stored in internal memory 121. Internal memory 121 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 100 (such as audio data, phonebook, etc.). Furthermore, internal memory 121 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc.
[0062] Electronic device 100 can implement audio functions, such as music playback and recording, through audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and application processor.
[0063] The audio module 170 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 may be located in the processor 110, or some functional modules of the audio module 170 may be located in the processor 110.
[0064] The speaker 170A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music or make hands-free calls through the speaker 170A.
[0065] The receiver 170B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a telephone call or voice message, the receiver 170B can be brought close to the ear to listen to the voice.
[0066] Microphone 170C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 170C, inputting the sound signal into microphone 170C. Electronic device 100 may have at least one microphone 170C. In some embodiments, electronic device 100 may have two microphones 170C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 100 may also have three, four, or more microphones 170C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.
[0067] Figure 2 This is a software structure block diagram of an electronic device 100 according to an embodiment of this application. The layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer. The application layer may include a series of application packages.
[0068] like Figure 2 As shown, the application layer can include camera, settings, third-party applications, etc. Third-party applications can include gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, SMS, etc.
[0069] The application framework layer provides application programming interfaces (APIs) and programming frameworks for applications in the application layer. The application framework layer may include some predefined functions.
[0070] like Figure 2 As shown, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
[0071] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, and capture screenshots. The content provider stores and retrieves data, making this data accessible to applications. This data may include videos, images, audio, made and received phone calls, browsing history and bookmarks, phone books, etc.
[0072] The view system includes visual controls, such as controls for displaying text, controls for displaying images, and such as the indicator information for displaying the virtual shutter button in the embodiments of this application. The view system can be used to build applications. The display interface can consist of one or more views. For example, a display interface including a text message notification icon can include a view for displaying text and a view for displaying images.
[0073] The phone manager is used to provide communication functions for electronic device 100. For example, it manages call status (including connection and disconnection).
[0074] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0075] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of completed downloads or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating electronic devices, and flashing indicator lights.
[0076] The Android runtime consists of core libraries and a virtual machine. The Android runtime is responsible for scheduling and managing the Android system.
[0077] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0078] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0079] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0080] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0081] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0082] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0083] A 2D graphics engine is a graphics engine for 2D drawing.
[0084] In addition, the system library may also include status monitoring service modules, such as a physical status recognition module for analyzing and recognizing user gestures; and a sensor service module for monitoring sensor data uploaded by various sensors at the hardware layer to determine the physical status of the electronic device 100.
[0085] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0086] The hardware layer can include various types of sensors, such as Figure 1 The various sensors described in the document include accelerometers, gyroscopes, touch sensors, etc., which are involved in the embodiments of this application.
[0087] It should be noted that, Figure 2 This example only illustrates one way of dividing the system framework and should not be construed as a specific limitation on the embodiments of this application. In the embodiments of this application, different frameworks can be used for different operating systems when the electronic device is equipped with different operating systems. It is understood that when different frameworks are adopted, the way the framework is divided into layers, the specific naming, and the specific layer in which each of the above modules is located can be different.
[0088] The services performed by electronic devices are often related to signal strength. Strong signal strength allows devices to run services smoothly, while weak signal strength can hinder their operation. For example, when making a call using a cellular signal, a strong signal ensures a successful call and normal conversation. Without a cellular signal or with weak signal strength, the call may fail or be of poor quality, making a normal conversation impossible. Similarly, when playing games using Wi-Fi, a strong signal allows for smooth gameplay, while weak signal strength can cause lag and stuttering. Therefore, ensuring the normal operation of electronic devices has become a pressing technical challenge.
[0089] The following section first describes the method for running services provided in the embodiments of this application in conjunction with a graphical user interface (GUI).
[0090] Figure 3 A set of GUIs provided in embodiments of this application is shown.
[0091] like Figure 3 As shown, electronic device #1, in response to user input, can display interface 301, which is a call interface. Electronic device #1 can display the calling phone number "XXX-XXXXXXXX" on interface 301. Here, electronic device #1 is making a call to "XXX-XXXXXXXX" based on a cellular signal; the user corresponding to electronic device #1 is user #1, and the user corresponding to "XXX-XXXXXXXX" is user #2. Electronic devices #1 and #2 are already networked.
[0092] Networking, through distributed networking technology, allows any electronic device to connect with other devices of varying communication capabilities into a network. Networking expands the scope of distributed electronic device networks beyond single or one-to-one communication connections. Distributed networking can create a dynamic network from electronic devices in various scenarios (home, industrial manufacturing, etc.). Within this dynamic network, the communication and service capabilities of each device can be effectively managed. When any electronic device within the network has a service requirement, it can access the network at any time to provide information about the necessary devices, supporting the establishment of service channels.
[0093] Continue to refer to Figure 3Since the cellular signal strength of electronic device #1 is too weak to successfully call "XXX-XXXXXXXX", electronic device #1 can notify electronic device #2 to call "XXX-XXXXXXXX". In other words, electronic device #1 can use the communication signal of electronic device #2 to call "XXX-XXXXXXXX".
[0094] In some embodiments, when electronic device #2 calls “XXX-XXXXXXXX”, it may be making a call to “XXX-XXXXXXXX” based on a cellular signal.
[0095] When electronic device #2 makes a call to “XXX-XXXXXXXX” based on a cellular signal, it may include the following two possible implementation methods.
[0096] One possible implementation is that the phone number used by electronic device #2 to call “XXX-XXXXXXXX” is the same as the phone number used by electronic device #1 to call “XXX-XXXXXXXX”. In other words, electronic device #1 and electronic device #2 share the same phone number, and the same phone number is presented to the outside world for both the caller and the called party.
[0097] For example, electronic device #1 includes a subscriber identification module (SIM) card, and electronic device #2 includes an embedded subscriber identification module (eSIM), where the eSIM is an electronic SIM card, which is a data file. The SIM card of electronic device #1 and the eSIM of electronic device #2 correspond to the same phone number, i.e., "one number for two devices".
[0098] One possible implementation is that the phone number used by electronic device #2 to call “XXX-XXXXXXXX” is different from the phone number used by electronic device #1 to call “XXX-XXXXXXXX”.
[0099] For example, electronic device #1 includes SIM card #1, and electronic device #2 includes SIM card #2, wherein the phone number corresponding to SIM card #1 is different from the phone number corresponding to SIM card #2.
[0100] In some embodiments, when electronic device #2 calls “XXX-XXXXXXXX”, it may be making the call to “XXX-XXXXXXXX” based on a Wi-Fi signal.
[0101] There is a communication link between electronic device #1 and electronic device #2. When electronic device #2 successfully calls "XXX-XXXXXXXX", it can forward the received call data to electronic device #1, allowing user #1 on electronic device #1 to hear the corresponding voice content from user #2. Similarly, electronic device #1 can also send call data to electronic device #2, which will then forward the call data to the electronic device corresponding to user #2, allowing user #2 to hear the corresponding voice content from user #1.
[0102] In this embodiment of the application, when electronic device #1 is unable to perform a call service through its own communication signal, it can call the communication signal of electronic device #2 to perform the call service, thereby improving the success rate of the call. Moreover, the above process is performed automatically and without the user's awareness, so the user will not be aware of the call failure of electronic device #1, which helps to improve the user experience.
[0103] exist Figure 3 In the GUI shown, taking electronic device #1 networking with another electronic device as an example, in other embodiments of this application, electronic device #1 can also network with multiple electronic devices, and the electronic device that needs to call the communication signal can be determined based on factors such as the communication signals of the multiple electronic devices and the location of the multiple electronic devices. The following text combines... Figure 4 Please provide a detailed explanation.
[0104] Figure 4 A set of GUIs provided in embodiments of this application is shown.
[0105] like Figure 4 As shown, electronic device #1, in response to user input, can display interface 401, which is a call interface. Electronic device #1 can display the calling phone number "XXX-XXXXXXXX" on interface 401, where electronic device #1 is making a call to "XXX-XXXXXXXX" based on a cellular signal. The user corresponding to electronic device #1 is user #1, and the user corresponding to "XXX-XXXXXXXX" is user #2. Electronic devices #1, #2, #3, and #4 are networked electronic devices.
[0106] Continue to refer to Figure 4 Since the cellular signal strength of electronic device #1 is low, it cannot successfully call "XXX-XXXXXXXX". Therefore, electronic device #1 can select one of electronic devices from electronic devices #2, electronic devices #3 and electronic devices #4. Taking electronic device #3 as an example, electronic device #1 can notify electronic device #3 to call "XXX-XXXXXXXX".
[0107] It should be understood that the description of the electronic device #3 calling "XXX-XXXXXXXX" can be found above, and will not be repeated here for the sake of brevity.
[0108] When determining an electronic device from a plurality of electronic devices, electronic device #1 may include the following possible implementations.
[0109] In one possible implementation, electronic device #1 can first send a request message to another electronic device, requesting a call to "XXX-XXXXXXXX". Upon receiving this request message, if there is a communication signal for a call to "XXX-XXXXXXXX", the receiving electronic device can then call "XXX-XXXXXXXX" and transmit the call data back to electronic device #1 via the communication link. If there is no communication signal for a call to "XXX-XXXXXXXX", it can send a feedback message to electronic device #1, indicating that there is no communication signal for a call to "XXX-XXXXXXXX". After receiving this feedback message, electronic device #1 can continue sending request messages to other electronic devices until it finds an electronic device with a communication signal for a call to "XXX-XXXXXXXX".
[0110] For example, taking a network of electronic devices #1, #2, #3, and #4 as an example, electronic device #1 can first send a request message to electronic device #2. Since electronic device #2 does not have a cellular network and cannot call "XXX-XXXXXXXX", electronic device #2 can send a feedback message to electronic device #1. After receiving the feedback message from electronic device #2, electronic device #1 can send a request message to electronic device #3. Since electronic device #3 has a cellular network, electronic device #3 can call "XXX-XXXXXXXX" and can transmit the call data to electronic device #1 through the communication link. Since electronic device #1 has already called "XXX-XXXXXXXX" through the cellular signal of electronic device #3, electronic device #1 does not need to send a request message to electronic device #4.
[0111] Understandably, in this possible implementation, electronic device #1 may not send request information to all electronic devices networked with it.
[0112] It is also understandable that an electronic device calling "XXX-XXXXXXXX" without a communication signal can be interpreted as the electronic device lacking the communication capability to call "XXX-XXXXXXXX". For example, if electronic device #2 is a tablet computer without a cellular signal, then the tablet computer cannot call "XXX-XXXXXXXX" via a cellular signal.
[0113] One possible implementation is that electronic device #1 can first send a request message to another electronic device, requesting a call to "XXX-XXXXXXXX". Upon receiving this request message, if there is a communication signal for a call to "XXX-XXXXXXXX" and the signal strength is greater than or equal to threshold #1, then the electronic device can call "XXX-XXXXXXXX" and transmit the call data to electronic device #1 via the communication link. If there is no communication signal for a call to "XXX-XXXXXXXX" or the signal strength is less than threshold #1, then the electronic device #1 can send feedback information indicating that there is no communication signal for a call to "XXX-XXXXXXXX" or the signal strength is less than threshold #1. After receiving this feedback information, electronic device #1 can continue to send request messages to other electronic devices until it finds an electronic device with a communication signal for a call to "XXX-XXXXXXXX" and a signal strength greater than or equal to threshold #1. Threshold #1 can be understood as the threshold at which call quality will not be affected. In other words, when the signal strength is greater than or equal to threshold #1, call quality will not be affected; when the signal strength is less than threshold #1, call quality may be affected.
[0114] For example, taking a network of electronic devices #1, #2, #3, and #4 as an example, electronic device #1 can first send a request message to electronic device #2. Since electronic device #2 does not have a cellular network and cannot call "XXX-XXXXXXXX", electronic device #2 can send a feedback message to electronic device #1. After receiving the feedback message from electronic device #2, electronic device #1 can send a request message to electronic device #3. Since electronic device #3 has a cellular network and the signal strength of the cellular signal is greater than threshold #1, electronic device #3 can call "XXX-XXXXXXXX" and can transmit the call data to electronic device #1 through the communication link. Since electronic device #1 has already called "XXX-XXXXXXXX" through the cellular signal of electronic device #3, electronic device #1 does not need to send a request message to electronic device #4.
[0115] Understandably, in this possible implementation, electronic device #1 may not send request information to all electronic devices networked with it.
[0116] One possible implementation is that electronic device #1 can first send a request message to another electronic device, requesting a call to "XXX-XXXXXXXX". Upon receiving this request message, if there is a communication signal for a call to "XXX-XXXXXXXX", the receiving electronic device can then call "XXX-XXXXXXXX" and transmit the call data back to electronic device #1 via the communication link. If there is no communication signal for a call to "XXX-XXXXXXXX", since there can be communication links between this electronic device and other electronic devices networked with electronic device #1, it can send the request message to those other networked electronic devices. This process continues until an electronic device with a communication signal for a call to "XXX-XXXXXXXX" is found.
[0117] For example, consider a network of electronic devices #1, #2, #3, and #4. Any two of these four devices can have a communication link. Electronic device #1 can first send a request to electronic device #2. Since electronic device #2 lacks a cellular network and cannot call "XXX-XXXXXXXX", it can then send a request to electronic device #3. Because electronic device #3 has a cellular network, it can call "XXX-XXXXXXXX" and transmit the call data to electronic device #1 via the communication link. Since electronic device #3 has the communication signal to call "XXX-XXXXXXXX", it does not need to send a request to electronic device #4.
[0118] It is understandable that in this possible implementation, some electronic devices that are networked with electronic device #1 may not receive the request information.
[0119] One possible implementation is that electronic device #1 can first send a request message to another electronic device, requesting a call to "XXX-XXXXXXXX". Upon receiving this request message, if there is a communication signal for a call to "XXX-XXXXXXXX" and the signal strength is greater than or equal to threshold #1, then the electronic device can call "XXX-XXXXXXXX" and transmit the call data back to electronic device #1 via the communication link. If there is no communication signal for a call to "XXX-XXXXXXXX" or the signal strength is less than threshold #1, since there can be communication links between this electronic device and other electronic devices networked with electronic device #1, this electronic device can send request messages to other electronic devices networked with electronic device #1. This process continues until an electronic device with a communication signal for a call to "XXX-XXXXXXXX" and a signal strength greater than or equal to threshold #1 is found.
[0120] For example, consider a network of electronic devices #1, #2, #3, and #4. Any two of these four devices can have a communication link. Electronic device #1 can first send a request to electronic device #2. Since electronic device #2 lacks a cellular network and cannot call "XXX-XXXXXXXX", it can then send a request to electronic device #3. Because electronic device #3 has a cellular network and its signal strength exceeds threshold #1, it can call "XXX-XXXXXXXX" and transmit the call data to electronic device #1 via the communication link. Since electronic device #3 has a communication signal to call "XXX-XXXXXXXX", it does not need to send a request to electronic device #4.
[0121] It is understandable that in this possible implementation, some electronic devices that are networked with electronic device #1 may not receive the request information.
[0122] One possible implementation is that electronic device #1 can determine whether the electronic devices it is networked with have a communication signal to call "XXX-XXXXXXXX", and then randomly select an electronic device from the electronic devices that have a communication signal to call "XXX-XXXXXXXX".
[0123] For example, taking electronic device #1 as a network with electronic device #2, electronic device #3 and electronic device #4, electronic device #1 can determine that electronic device #2 does not have the communication signal to call "XXX-XXXXXXXX", while electronic devices #3 and electronic device #4 have the communication signal to call "XXX-XXXXXXXX". Therefore, electronic device #1 can choose any one of electronic devices from electronic device #3 and electronic device #4 to call "XXX-XXXXXXXX".
[0124] One possible implementation is that electronic device #1 can determine whether the electronic devices in its network have a communication signal to call "XXX-XXXXXXXX", and then select an electronic device from the electronic devices that have a communication signal to call "XXX-XXXXXXXX" based on factors such as signal strength and distance from electronic device #1. Several possible scenarios are illustrated below.
[0125] 1) Electronic device #1 can be selected as the electronic device with the strongest communication signal strength.
[0126] For example, taking electronic device #1 as a network with electronic devices #2, #3 and #4, electronic device #1 can first determine that electronic device #2 does not have the communication signal to call "XXX-XXXXXXXX", while electronic devices #3 and #4 do have the communication signal to call "XXX-XXXXXXXX". Among them, the signal strength of electronic device #3 is greater than that of electronic device #4. Therefore, electronic device #1 can determine to call "XXX-XXXXXXXX" through the communication signal of electronic device #3.
[0127] 2) Electronic device #1 can arbitrarily select an electronic device whose communication signal strength is greater than or equal to threshold #1.
[0128] For example, taking electronic device #1 as a network with electronic devices #2, #3, #4 and #5, electronic device #1 can determine that electronic device #2 does not have the communication signal to call "XXX-XXXXXXXX", while electronic devices #3, #4 and #5 do have the communication signal to call "XXX-XXXXXXXX". Among them, the signal strength of electronic devices #3 and #4 is greater than the threshold #1, and the signal strength of electronic device #5 is less than the threshold #1. Therefore, electronic device #1 can determine that it can call "XXX-XXXXXXXX" through the communication signal of electronic device #3 or electronic device #4.
[0129] 3) Electronic device #1 can be selected from electronic devices that have communication signals and are closest to electronic device #1.
[0130] For example, taking electronic device #1 as a network with electronic devices #2, #3 and #4, electronic device #1 can determine that electronic device #2 does not have the communication signal to call "XXX-XXXXXXXX", while electronic devices #3 and #4 do have the communication signal to call "XXX-XXXXXXXX". The distance between electronic device #3 and electronic device #1 is less than the distance between electronic device #4 and electronic device #1. Therefore, electronic device #1 can determine that it can call "XXX-XXXXXXXX" through the communication signal of electronic device #3.
[0131] 4) Electronic device #1 can be selected from electronic devices whose communication signal strength is greater than or equal to threshold #1 and which are the closest to electronic device #1.
[0132] For example, taking electronic device #1 and electronic devices #2, #3 and #4 as a network, electronic device #1 can determine that electronic device #2 does not have the communication signal to call "XXX-XXXXXXXX", while electronic devices #3 and #4 have the communication signal to call "XXX-XXXXXXXX". Among them, the signal strength of the communication signal of electronic devices #3 and #4 is greater than the threshold #1 and the distance between electronic devices #3 and #1 is less than the distance between electronic devices #4 and #1. Therefore, electronic device #1 can determine that it can call "XXX-XXXXXXXX" through the communication signal of electronic device #3. Understandably, in this example, the signal strength of the communication signal of electronic device #4 can be greater than that of electronic device #3. However, since the signal strength of the communication signal of electronic device #3 is greater than the threshold #1, it indicates that "XXX-XXXXXXXX" can be called through the communication signal of electronic device #3 without affecting the call quality. At the same time, since the distance between electronic device #1 and electronic device #3 is less than the distance between electronic device #1 and electronic device #4, the call delay of electronic device #1 calling "XXX-XXXXXXXX" through the communication signal of electronic device #3 will be less than the call delay of electronic device #1 calling "XXX-XXXXXXXX" through the communication signal of electronic device #4. Therefore, electronic device #1 can determine that it can call "XXX-XXXXXXXX" through the communication signal of electronic device #3.
[0133] In this embodiment, when electronic device #1 is unable to perform a call service through its own communication signal, it can select electronic device #3 with a communication signal from among the multiple electronic devices networked with it to perform the call service, thereby improving the success rate of the call. Moreover, the above process is performed automatically and without the user's awareness, so the user will not be aware of the call failure of electronic device #1, which helps to improve the user experience.
[0134] Understandable Figure 3 and Figure 4 This paper only uses electronic device #1 running a call service as an example, but the embodiments of this application are not limited to this. In other embodiments of this application, electronic device #1 can also call the communication signals of other electronic devices to run other services.
[0135] For example, electronic device #1 responds to a user's operation by running a video playback service. When video playback fails or the video frame rate falls below a threshold #2, electronic device #1 can invoke the communication signals of electronic device #2 to continue the video playback service. This invocation of electronic device #1's use of electronic device #2's communication signals to run the video playback service can be understood as electronic device #1 interacting with the server corresponding to the video playback service through the communication signals of electronic device #2 (e.g., cellular signals, Wi-Fi signals).
[0136] For example, electronic device #1 responds to user actions by running a game. When the game connection to the server fails or the game's frame rate falls below threshold #3, electronic device #1 can invoke the communication signals of electronic device #2 to run the game. This invocation of electronic device #1's use of electronic device #2's communication signals to run the game can be understood as electronic device #1 interacting with the server corresponding to the game through the communication signals of electronic device #2 (e.g., cellular signals, Wi-Fi signals).
[0137] In the above description, electronic device #1 can invoke the communication signals of other electronic devices when a service fails or the service performance is poor (e.g., the video frame rate is below threshold #2, the game frame rate is below threshold #3). However, this application embodiment is not limited to this. In some other embodiments of this application, before running a service, electronic device #1 can first determine its own signal strength and the signal strength of the electronic devices networked with it, thereby selecting an electronic device with a strong signal and running the service through the communication signal of that electronic device. The following description, in conjunction with... Figure 5 Please provide an explanation.
[0138] Figure 5 A set of GUIs provided in embodiments of this application is shown.
[0139] like Figure 5 As shown, electronic device #1 is networked with electronic devices #2, #3, and #4. Electronic device #1 displays interface 501, which is a dialing interface. Electronic device #1 can display the phone number to be called as "XXX-XXXXXXXX" on interface 501. Electronic device #1 can also display a dialing control 502 on interface 501, which is used to trigger the call service. When electronic device #1 detects a user clicking the dialing control 502, it can determine which electronic device's communication signal is being used to call "XXX-XXXXXXXX" based on the signal strength of electronic device #1's communication signal and the calling parameters of electronic devices #2, #3, and #4. The calling parameters include the signal strength of the communication signal and the distance to electronic device #1.
[0140] When selecting which electronic device's communication signal to call "XXX-XXXXXXXX", electronic device #1 can include the following possible implementation methods.
[0141] One possible implementation is that electronic device #1 can call "XXX-XXXXXXXX" using the communication signal with the strongest signal strength among the electronic devices in the network.
[0142] For example, taking electronic device #1 as a network with electronic devices #2, #3 and #4, if electronic device #1 determines that the signal strength of its communication signal is greater than that of electronic device #2, and the signal strength of its communication signal is greater than that of electronic devices #1 and #4, then electronic device #1 can determine that it is calling "XXX-XXXXXXXX" through the communication signal of electronic device #3.
[0143] One possible implementation is that when the signal strength of the communication signal of electronic device #1 is less than the signal strength of the communication signals of one or more other electronic devices in the network, but the difference between the signal strength of the communication signal of electronic device #1 and the signal strength of the communication signals of other electronic devices in the network is less than or equal to threshold #4, electronic device #1 can call "XXX-XXXXXXXX" through its own communication signal.
[0144] For example, taking electronic device #1 as a network with electronic devices #2, #3 and #4, if electronic device #1 determines that the signal strength of its communication signal is less than that of electronic devices #2, #3 and #4, but the difference between the signal strength of electronic device #1 and the signal strength of electronic devices #2, #3 and #4 is less than the threshold #4, then electronic device #1 can determine that it is calling "XXX-XXXXXXXX" through its own communication signal.
[0145] In one possible implementation, the signal strength of the communication signal of electronic device #1 is less than threshold #1, while the signal strength of the communication signals of one or more other electronic devices in the network is greater than or equal to threshold #1. Electronic device #1 can call "XXX-XXXXXXXX" through any communication signal with a signal strength greater than or equal to threshold #1.
[0146] For example, taking electronic device #1 as a network with electronic devices #2, #3 and #4, if electronic device #1 determines that the signal strength of the communication signal between electronic devices #1 and #4 is less than the threshold #1, and the signal strength of the communication signal between electronic devices #2 and #3 is greater than the threshold #1, then electronic device #1 can call "XXX-XXXXXXXX" through the communication signal of electronic device #2 or #3.
[0147] In one possible implementation, the signal strength of the communication signal of electronic device #1 is less than threshold #1, while the signal strength of the communication signal of one or more other electronic devices in the network is greater than or equal to threshold #1. Electronic device #1 can call "XXX-XXXXXXXX" through the communication signal of the electronic device closest to it that has a communication signal strength greater than or equal to threshold #1.
[0148] For example, taking electronic device #1 as a network with electronic devices #2, #3 and #4 as an example, if electronic device #1 determines that the signal strength of the communication signal between electronic devices #1 and #4 is less than the threshold #1, and the signal strength of the communication signal between electronic devices #2 and #3 is greater than the threshold #1, and the distance between electronic devices #2 and #1 is greater than the distance between electronic devices #1 and #3, then electronic device #1 can call "XXX-XXXXXXXX" through the communication signal of electronic device #3.
[0149] In this embodiment of the application, before running a service, electronic device #1 can first determine the signal strength of its own communication signal and the signal strength of the communication signals of the electronic devices networked with it, and then select a communication signal from them based on the determination result, and run the service through the communication signal, which can ensure the normal operation of the service. The above process is performed automatically without the user's awareness, which helps to improve the user experience.
[0150] It should be noted that, Figure 5 This application uses a call service as an example for illustration, but the embodiments are not limited to this. In other embodiments of this application, the service may also be a video playback service, a game service, etc.
[0151] The above section describes the method for running services provided in the embodiments of this application in conjunction with the GUI. The following section will describe the method for running services provided in the embodiments of this application in conjunction with the flowchart.
[0152] Figure 6This illustration shows a schematic flowchart of a method for operating services provided in an embodiment of this application. This method can be executed by electronic device #1, or by a component of electronic device #1 (e.g., processor, chip system, etc.). The following description uses electronic device #1 as the executing entity. Figure 6 As shown, the method includes:
[0153] S601, Service #1 is operated through communication signal #1, where communication signal #1 is the communication signal corresponding to electronic device #1.
[0154] In some embodiments, electronic device #1 may operate service #1 via communication signal #1 in response to user operation.
[0155] For example, such as Figure 3 As shown, electronic device #1 responds to the user's operation by calling "XXX-XXXXXXXX" via cellular signal.
[0156] S602, when the preset conditions are met, switch to running service #1 through communication signal #2, where communication signal #2 is the communication signal corresponding to electronic device #2, and electronic device #2 is an electronic device that is networked with electronic device #1.
[0157] When preset conditions are met, electronic device #1 can run service #1 by calling communication signal #2 of electronic device #2. It is understood that when electronic device #1 runs the first service through the communication signal of electronic device #2, there is a communication link between electronic device #1 and electronic device #2. Electronic device #2 can forward received data to electronic device #1 and can also forward data sent by electronic device #1.
[0158] For example, electronic device #1 calls “XXX-XXXXXXXX” through the cellular signal of electronic device #2. After the call is successful, electronic device #2 can forward the received call data to electronic device #1, and can also forward the call data sent by electronic device #1 to the electronic device corresponding to “XXX-XXXXXXXX”.
[0159] In this embodiment, electronic device #1 can first run service #1 using its own communication signal, and then switch to running service #1 using the communication signal of electronic device #2 when preset conditions are met. Through the technical solution provided by this application, even when the signal strength of the communication signal of electronic device #1 is low or there is no communication signal, service #1 can still be run using the communication signal #2 of electronic device #2, thus ensuring the normal operation of service #1. Furthermore, the switching process can be automatic and imperceptible to the user, thus improving the user experience.
[0160] In some embodiments, S602, when a preset condition is met, switching to run service #1 via communication signal #2 includes:
[0161] When the preset conditions are met, electronic device #2 is determined according to the calling parameters of N electronic devices. The calling parameters include one or more of the following: the signal strength of the communication signal, the distance between electronic device #1 and electronic device #2. The N electronic devices are electronic devices that are networked with electronic device #1.
[0162] Switch to running service #1 via communication signal #2.
[0163] In this application, electronic device #1 is networked with N electronic devices. Electronic device #1 can determine which electronic device's communication signal to use to run service #1 based on the calling parameters of the N electronic devices.
[0164] In some embodiments, the electronic device #2 is any one of the N electronic devices that has a communication signal for running service #1.
[0165] In this embodiment of the application, some of the N electronic devices that are networked with electronic device #1 may not have the communication signal to run service #1. Therefore, electronic device #1 can arbitrarily select one electronic device from the N electronic devices that have the communication signal to run service #1.
[0166] For example, taking service #1 as a call service, and electronic device #1, electronic device #2, electronic device #3, and electronic device #4 as a network, electronic device #3 does not have cellular signals, while electronic devices #2 and #4 do have cellular signals. Electronic device #1 can choose to run the call service through the cellular signal of electronic device #2.
[0167] In some embodiments, the electronic device #2 is the electronic device that is closest to electronic device #1 among the N electronic devices that have communication signals for running service #1.
[0168] For example, if service #1 is a voice call service, and electronic device #1 is networked with electronic device #2, electronic device #3 and electronic device #4, where electronic device #3 does not have a cellular signal, while electronic devices #2 and #4 do have cellular signals, and the distance between electronic device #2 and electronic device #1 is less than the distance between electronic device #4 and electronic device #1, then electronic device #1 can choose to run the voice call service through the cellular signal of electronic device #2.
[0169] In some embodiments, electronic device #2 is the electronic device with the strongest communication signal among the N electronic devices.
[0170] For example, if service #1 is a voice call service, and electronic device #1 is networked with electronic device #2, electronic device #3 and electronic device #4, where electronic device #3 does not have a cellular signal, while electronic devices #2 and #4 do have cellular signals, and the signal strength of the cellular signal of electronic device #2 is greater than that of the cellular signal of electronic device #4, then electronic device #1 can choose to run the voice call service through the cellular signal of electronic device #2.
[0171] In some embodiments, the signal strength of the communication signals of M of the N electronic devices is greater than a threshold #1, and the M electronic devices include electronic device #2, which is the electronic device that is closest to electronic device #1 among the M electronic devices.
[0172] For example, taking service #1 as a call service, and electronic device #1, electronic device #2, electronic device #3, and electronic device #4 as a network, where electronic device #3 does not have a cellular signal, while electronic devices #2 and #4 do have cellular signals, the signal strength of the cellular signals of electronic devices #2 and #4 is greater than threshold #1, and the distance between electronic device #2 and electronic device #1 is less than the distance between electronic device #4 and electronic device #1, then electronic device #1 can choose to run the call service through the cellular signal of electronic device #2.
[0173] In some embodiments, service #1 may be a call service running through a telephone application, and the telephone number corresponding to the call service is telephone number #1. Switching to run service #1 through communication signal #2 includes:
[0174] Send telephone number #1 to electronic device #2 so that electronic device #2 can call telephone number #1 through the communication signal #2;
[0175] The call data corresponding to this call service is exchanged through electronic device #2.
[0176] Electronic device #1 can send phone number #1 to electronic device #2. After receiving phone number #1, electronic device #2 can call that phone number #2 via communication signal #2. After electronic device #2 successfully makes the call, electronic device #1 can exchange call data with the electronic device corresponding to phone number #1 through electronic device #2.
[0177] In some embodiments, when service #1 is a call service, the telephone number corresponding to the call service is telephone number #1, and the preset condition includes failure to call telephone number #1 via communication signal #1.
[0178] For example, taking communication signal #1 and communication signal #2 as cellular signals, when electronic device #1 fails to call telephone number #1 through its own cellular signal, it can switch to calling telephone number #1 through the cellular signal of electronic device #2.
[0179] In some embodiments, when communication signal #1 and communication signal #2 are cellular signals, the telephone numbers corresponding to communication signal #1 and communication signal #2 can be the same, i.e., "one number, two terminals".
[0180] For example, electronic device #1 includes a SIM card, and electronic device #2 includes an eSIM card. The SIM card of electronic device #1 and the eSIM card of electronic device #2 correspond to the same phone number.
[0181] In some embodiments, when communication signal #1 and communication signal #2 are cellular signals, the telephone numbers corresponding to communication signal #1 and communication signal #2 may be different.
[0182] In some embodiments, service #1 is a video playback service. Switching to run service #1 via communication signal #2 includes:
[0183] A connection is established with the server corresponding to the video playback service via communication signal #2 to run the video playback service.
[0184] Electronic device #1 establishes a connection with the server corresponding to the video playback service through communication signal #2. The server can send the corresponding video data to electronic device #2, and then electronic device #2 sends it to electronic device #1, so that electronic device #1 can run the video playback service normally.
[0185] In some embodiments, when service #1 is a video playback service, the preset conditions include one or more of the following: connection to the server fails or the number of video frames is less than or equal to threshold #2.
[0186] Electronic device #1 needs to connect to a server to play videos. When electronic device #1 fails to connect to the server corresponding to the video playback service via communication signal #1 or when the number of video frames is less than or equal to the threshold #2, it can switch to running the video playback service via communication signal #2 of electronic device #2. The types of communication signal #1 and communication signal #2 can be the same (e.g., both communication signal #1 and communication signal #2 are cellular signals), or the types of communication signal #1 and communication signal #2 can be different (e.g., communication signal #1 is a cellular signal and communication signal #2 is a Wi-Fi signal).
[0187] In this embodiment, when electronic device #1 fails to connect to the server corresponding to the video playback service via its own communication signal or when the video frame rate is low, it can switch to playing the video via the communication signal of electronic device #2. Since the communication signal is switched, the probability of successfully running the video playback service is increased, which helps to improve the user experience.
[0188] In some embodiments, service #1 is a game service. Switching to run service #1 via communication signal #2 includes:
[0189] The game service is run by establishing a connection with the server corresponding to the game service through communication signal #2.
[0190] Electronic device #1 establishes a connection with the server corresponding to the game service through communication signal #2. The server can send the corresponding game data to electronic device #2, and then electronic device #2 sends it to electronic device #1, so that electronic device #1 can run the game service normally.
[0191] In some embodiments, when service #1 is a game service, the preset conditions include one or more of the following: connection to the server fails or the game frame rate is less than or equal to threshold #3.
[0192] Electronic device #1 needs to connect to a server to run the game service. When electronic device #1 fails to connect to the server corresponding to the game service via communication signal #1 or when the game frame rate is less than or equal to threshold #3, it can switch to running the game service via communication signal #2 of electronic device #2. The types of communication signal #1 and communication signal #2 can be the same or different.
[0193] In this embodiment, when electronic device #1 fails to connect to the server corresponding to the game service via its own communication signal or when the game frame rate is low, it can switch to running the game service via the communication signal of electronic device #2. Since the communication signal is switched, the probability of successfully running the game service is increased, which helps to improve the user experience.
[0194] It should be noted that the above description only uses the example of service #1 being a call service, video playback service, or game service, but this application embodiment does not specifically limit this; service #1 can be any service that operates based on communication signals. When electronic device #1 fails to run service #1 through its own communication signals or the effect is poor, it can switch to running service #1 through the communication signals of other electronic devices. For example, service #1 can also be a download service, a music playback service, a video call service, etc. Poor performance of service #1 can be understood as service #1 failing to operate normally due to low signal strength of the communication signal of electronic device #1, such as low video frame rate or slow download speed.
[0195] In response to Figure 6 In the description, electronic device #1 can switch to running service #1 via the communication signals of other electronic devices. In some other embodiments of this application, electronic device #1 can determine whether to run service #1 via its own communication signals or via the communication signals of other electronic devices before running service #1, and then run service #1 according to the determined result. The following will combine... Figure 7 A detailed introduction will be provided.
[0196] Figure 7 This illustration shows a schematic flowchart of a method for operating services provided in an embodiment of this application. This method can be executed by electronic device #1, or by a component of electronic device #1 (e.g., processor, chip system, etc.). The following description uses electronic device #1 as the executing entity. Figure 7 As shown, the method includes:
[0197] S701, before running service #1, determine communication signal #1 based on the signal strength of electronic device #1 and the calling parameters of N electronic devices. The calling parameters include the signal strength of the communication signal, and the N electronic devices are electronic devices that are networked with electronic device #1, where N ≥ 1 and is an integer.
[0198] Before running service #1, electronic device #1 can first determine the signal strength of its own communication signal and the signal strength of the N electronic devices networked with it, so as to determine communication signal #1 based on the signal strength of each electronic device's communication signal.
[0199] For example, taking service #1 as a call service, such as Figure 5 As shown, before running service #1, electronic device #1 can be understood as responding to the user's click on the dial control 502 before calling "XXX-XXXXXXXX".
[0200] For example, taking service #1 as a video playback service, before running service #1, electronic device #1 can be understood as responding to the user's click on the video application's icon, before launching the video application. Alternatively, before running service #1, electronic device #1 can also be understood as responding to the user's selection to play video #1 within the video application, before playing video #1.
[0201] For example, taking service #1 as a game service, electronic device #1 before running service #1 can be understood as the electronic device responding to the user's click on the application icon of the game application before launching the game application.
[0202] In some embodiments, communication signal #1 is the communication signal with the strongest signal strength among the communication signals of electronic device #1 and N electronic devices.
[0203] For example, taking electronic device #1 as a network with electronic devices #2, #3 and #4, the signal strength of the communication signal of electronic device #2 is greater than that of electronic device #1, the signal strength of the communication signal of electronic device #3 is greater than that of electronic device #2, and the signal strength of the communication signal of electronic device #4 is greater than that of electronic device #3. Therefore, electronic device #1 can determine that the communication signal of electronic device #4 is communication signal #1.
[0204] In some embodiments, communication signal #1 is a communication signal of electronic device #1, the signal strength of communication signal #1 is less than the signal strength of the communication signals of one or more of the N electronic devices, and the difference between the signal strength of communication signal #1 and the signal strength of the communication signals of the N electronic devices is less than or equal to threshold #4.
[0205] For example, taking electronic device #1 as a network with electronic devices #2, #3 and #4, the signal strength of the communication signal of electronic device #1 is less than the signal strength of the communication signals of electronic devices #2, #3 and #4. However, the difference between the signal strength of the communication signal of electronic device #1 and the signal strength of the communication signals of electronic devices #2, #3 and #4 is less than the threshold #4. Therefore, electronic device #1 can determine its own communication signal as signal #1.
[0206] In some embodiments, the signal strength of the communication signal of electronic device #1 is less than the threshold #1, and the signal strength of the communication signal of one or more of the N electronic devices is greater than or equal to the threshold #1. Electronic device #1 can determine any communication signal with a signal strength greater than or equal to the threshold #1 as communication signal #1.
[0207] For example, taking electronic device #1 and electronic devices #2, #3 and #4 as a network, if the signal strength of the communication signal between electronic device #1 and electronic device #4 is less than the threshold #1, and the signal strength of the communication signal between electronic device #2 and electronic device #3 is greater than the threshold #1, then electronic device #1 can determine that the communication signal of electronic device #2 or electronic device #3 is the communication signal #1.
[0208] In some embodiments, the calling parameters also include the distance between the electronic device #1 and the electronic device #1, the signal strength of the communication signal of the electronic device #1 is less than the threshold #1, the signal strength of the communication signal of one or more of the N electronic devices is greater than or equal to the threshold #1, and the electronic device #1 can determine the communication signal of the electronic device that is closest to the electronic device #1 and whose communication signal strength is greater than or equal to the threshold #1 as the communication signal #1.
[0209] For example, taking the networking of electronic device #1 with electronic device #2, electronic device #3 and electronic device #4 as an example, the signal strength of the communication signal between electronic device #1 and electronic device #4 is less than the threshold #1, the signal strength of the communication signal between electronic device #2 and electronic device #3 is greater than the threshold #1, and the distance between electronic device #2 and electronic device #1 is greater than the distance between electronic device #1 and electronic device #3, then electronic device #1 can determine that the communication signal of electronic device #3 is the communication signal #1.
[0210] S702 operates service #1 via communication signal #1.
[0211] In this embodiment of the application, before running a service, electronic device #1 can first determine the signal strength of its own communication signal and the signal strength of the communication signals of the electronic devices networked with it, and then select a communication signal from them based on the determination result, and run the service through the communication signal, which can ensure the normal operation of the service. The above process is performed automatically without the user's awareness, which helps to improve the user experience.
[0212] Figure 8 This illustration shows a schematic flowchart of a method for operating a service provided in an embodiment of this application. This method can be executed by an electronic device #1, or by a component of the electronic device #1 (e.g., a processor, chip system, etc.). The following description uses the electronic device #1 as the executing entity. The electronic device #1 includes a SIM card #1 and a SIM card #2. The SIM card #1 corresponds to cellular signal #1, and the SIM card #2 corresponds to cellular signal #2. Figure 8 As shown, the method includes:
[0213] S801, call phone number #1 via cellular signal #1.
[0214] Electronic device #1 can respond to a user's operation by calling phone number #1 via cellular signal #1, where cellular signal #1 corresponds to SIM card #1, and the phone number corresponding to SIM card #1 is phone number #2.
[0215] S802, when calling phone number #1 via cellular signal #1 fails, switch to calling phone number #2 via cellular signal #2.
[0216] In this embodiment of the application, electronic device #1 is a multi-SIM device. When electronic device #1 fails to make a call through the cellular signal corresponding to one of the SIM cards #1, it can make a call through the cellular signal corresponding to another SIM card #2 to ensure that the user can make a successful call. The above process can be carried out automatically and the user will not be aware of it, which helps to improve the user experience.
[0217] The methods for operating services provided by the embodiments of this application have been described in detail above. In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terminology and / or descriptions between the various embodiments are consistent and can be referenced by each other. Technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.
[0218] The foregoing primarily describes an operational service provided by the embodiments of this application from the perspective of an electronic device. It is understood that, in order to achieve the above functions, the electronic device includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0219] When each function is divided into different modules (or units) to correspond to its specific function, Figure 9 This application provides a schematic diagram illustrating the composition of an electronic device 900. Figure 9 As shown, the electronic device 900 includes a service module 910 and a switching module 920.
[0220] The service module 910 is used to run a first service through a first communication signal, wherein the first communication signal is the communication signal corresponding to the first electronic device.
[0221] The switching module 920 is used to switch to the second communication module when preset conditions are met. The second communication signal is the communication signal corresponding to the second electronic device. The first electronic device and the second electronic device are networked electronic devices.
[0222] Service module 910 is also used to run the first service via the second communication signal.
[0223] In some embodiments, the switching module 920 is specifically used to determine the second electronic device according to the calling parameters of N electronic devices when a preset condition is met. The calling parameters include the signal strength of the communication signal, the N electronic devices are electronic devices that are networked with the first electronic device, the N electronic devices include the second electronic device, and N≥1 and is an integer.
[0224] In some embodiments, the second electronic device is the electronic device with the highest signal strength of the communication signal among the N electronic devices.
[0225] In some embodiments, the calling parameters also include the distance between the first electronic device and the first electronic device, the signal strength of the communication signals of M electronic devices out of N electronic devices is greater than or equal to a first threshold, the M electronic devices include a second electronic device, the second electronic device is the electronic device among the M electronic devices that is closest to the first electronic device, and N≥M≥1 and M is an integer.
[0226] In some embodiments, the first service is a call service, and the phone number corresponding to the call service is a first phone number. The service module 910 is specifically used to send the first phone number to the second electronic device so that the second electronic device can call the first phone number through the second communication signal; and to exchange call data corresponding to the call service between the second electronic device and the electronic device corresponding to the first phone number.
[0227] In some embodiments, the preset conditions include failure to dial the first phone number via the first communication signal.
[0228] In some embodiments, the first communication signal and the second communication signal are cellular signals, and the telephone number corresponding to the first communication signal is the same as the telephone number corresponding to the second communication signal.
[0229] In some embodiments, the first communication signal and the second communication signal are cellular signals, and the telephone number corresponding to the first communication signal is different from the telephone number corresponding to the second communication signal.
[0230] In some embodiments, the first service is a video playback service, and the service module 910 is specifically used to establish a connection with the server corresponding to the video playback service through a second communication signal to run the video playback service.
[0231] In some embodiments, the preset conditions include one or more of the following: connection to the server fails or the number of video frames is less than or equal to a second threshold.
[0232] In some embodiments, the first service is a game service, and the service module 910 is specifically used to establish a connection with the server corresponding to the game service through a second communication signal to run the game service.
[0233] In some embodiments, the preset conditions include one or more of the following: connection to the server fails or the game frame rate is less than or equal to a third threshold.
[0234] In some embodiments, the switching module 920 is configured to determine the first communication signal based on the signal strength of the communication signal of the first electronic device and the calling parameters of N electronic devices before running the first service, wherein the calling parameters include the signal strength of the communication signal, and the N electronic devices are electronic devices that are networked with the first electronic device, and N≥1 and are integers.
[0235] Service module 910 is used to run the first service through the first communication signal.
[0236] In some embodiments, the first communication signal is the communication signal with the strongest signal strength among the communication signals of the first electronic device and the N electronic devices.
[0237] In some embodiments, the first communication signal is a communication signal of a first electronic device, the signal strength of the first communication signal is less than the signal strength of the communication signals of one or more of the N electronic devices, and the difference between the signal strength of the first communication signal and the signal strength of the communication signals of the N electronic devices is less than or equal to a first threshold.
[0238] In some embodiments, the signal strength of the first communication signal is greater than or equal to the second threshold.
[0239] In some embodiments, the signal strength of the communication signal of the first electronic device is less than the second threshold, and the signal strength of the communication signal of one or more of the N electronic devices is greater than or equal to the second threshold. The first communication signal is the communication signal of any one of the one or more electronic devices.
[0240] In some embodiments, the signal strength of the communication signal of the first electronic device is less than the second threshold, the signal strength of the communication signal of one or more of the N electronic devices is greater than or equal to the second threshold, and the electronic device corresponding to the first communication signal is the electronic device that is closest to the first electronic device among the one or more electronic devices.
[0241] In some embodiments, the first service includes call service, video playback service, and game service.
[0242] This application provides a computer program product that, when run on an electronic device, causes the electronic device to execute the technical solutions described in the above embodiments. Its implementation principle and technical effects are similar to those of the related embodiments described above, and will not be repeated here.
[0243] This application provides a readable storage medium containing instructions that, when executed by an electronic device, cause the electronic device to perform the technical solution described in the above embodiments. The implementation principle and technical effects are similar and will not be repeated here.
[0244] This application provides a chip for executing instructions. When the chip is running, it executes the technical solutions described in the above embodiments. Its implementation principle and technical effects are similar and will not be repeated here.
[0245] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this application.
[0246] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0247] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0248] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0249] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0250] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or parts of the technical solutions, can be embodied in the form of software products. These computer software products are stored in a storage medium and include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0251] The above description is merely a specific implementation of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the embodiments of this application should be included within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.
Claims
1. A method for operating a business, characterized in that, The method includes: The first service is operated through a first communication signal, wherein the first communication signal is the communication signal corresponding to the first electronic device; When preset conditions are met, the system switches to run the first service via a second communication signal, wherein the second communication signal is the communication signal corresponding to the second electronic device, and the first electronic device and the second electronic device are networked electronic devices.
2. The method according to claim 1, characterized in that, Before switching to run the first service via the second communication signal when the preset conditions are met, the method further includes: When the preset conditions are met, the second electronic device is determined according to the calling parameters of N electronic devices, wherein the calling parameters include the signal strength of the communication signal, the N electronic devices are electronic devices that are networked with the first electronic device, the N electronic devices include the second electronic device, and N≥1 and N is an integer.
3. The method according to claim 2, characterized in that, The second electronic device is the one with the strongest communication signal among the N electronic devices.
4. The method according to claim 2, characterized in that, The calling parameters also include the distance between the N electronic devices and the first electronic device, the signal strength of the communication signals of M electronic devices among the N electronic devices is greater than or equal to a first threshold, the M electronic devices include the second electronic device, the second electronic device is the electronic device among the M electronic devices that is closest to the first electronic device, and N≥M≥1 and M is an integer.
5. The method according to any one of claims 1 to 4, characterized in that, The first service is a call service, and the phone number corresponding to the call service is a first phone number. The step of switching to run the first service via the second communication signal includes: Send the first phone number to the second electronic device so that the second electronic device can call the first phone number via the second communication signal; The second electronic device exchanges call data corresponding to the call service with the electronic device corresponding to the first telephone number.
6. The method according to claim 5, characterized in that, The preset condition includes failure to dial the first phone number via the first communication signal.
7. The method according to claim 5 or 6, characterized in that, The first communication signal and the second communication signal are cellular signals, and the telephone number corresponding to the first communication signal is the same as the telephone number corresponding to the second communication signal.
8. The method according to claim 5 or 6, characterized in that, The first communication signal and the second communication signal are cellular signals, and the telephone number corresponding to the first communication signal is different from the telephone number corresponding to the second communication signal.
9. The method according to any one of claims 1 to 4, characterized in that, The first service is a video playback service, and the switching to run the first service via the second communication signal includes: The second communication signal is used to establish a connection with the server corresponding to the video playback service in order to run the video playback service.
10. The method according to claim 9, characterized in that, The preset conditions include one or more of the following: failure to connect to the server or video frame count less than or equal to the second threshold.
11. The method according to any one of claims 1 to 4, characterized in that, The first service is a game service, and the switching to run the first service via the second communication signal includes: The second communication signal is used to establish a connection with the server corresponding to the game service in order to run the game service.
12. The method according to claim 11, characterized in that, The preset conditions include one or more of the following: failure to connect to the server or game frame rate less than or equal to a third threshold.
13. A method for operating a business, characterized in that, The method includes: Before running the first service, the first communication signal is determined based on the signal strength of the communication signal of the first electronic device and the calling parameters of N electronic devices. The calling parameters include the signal strength of the communication signal, and the N electronic devices are electronic devices that are networked with the first electronic device, where N ≥ 1 and is an integer. The first service is executed through the first communication signal.
14. The method according to claim 13, characterized in that, The first communication signal is the communication signal with the strongest signal strength among the communication signals of the first electronic device and the N electronic devices.
15. The method according to claim 13, characterized in that, The first communication signal is the communication signal of the first electronic device, the signal strength of the first communication signal is less than the signal strength of the communication signals of one or more of the N electronic devices, and the difference between the signal strength of the first communication signal and the signal strength of the communication signals of the N electronic devices is less than or equal to a first threshold.
16. The method according to claim 15, characterized in that, The signal strength of the first communication signal is greater than or equal to the second threshold.
17. The method according to claim 13, characterized in that, The signal strength of the communication signal of the first electronic device is less than the second threshold, and the signal strength of the communication signal of one or more of the N electronic devices is greater than or equal to the second threshold. The first communication signal is the communication signal of any one of the one or more electronic devices.
18. The method according to claim 13, characterized in that, The signal strength of the communication signal of the first electronic device is less than the second threshold, the signal strength of the communication signal of one or more of the N electronic devices is greater than or equal to the second threshold, and the electronic device corresponding to the first communication signal is the electronic device that is closest to the first electronic device among the one or more electronic devices.
19. The method according to any one of claims 13 to 18, characterized in that, The first service includes voice call service, video playback service, and gaming service.
20. An electronic device, characterized in that, It includes one or more processors; one or more memories; said one or more memories storing one or more computer programs, said one or more computer programs including instructions that, when executed by said one or more processors, cause the method of any one of claims 1 to 12 or the method of any one of claims 13 to 19 to be performed.
21. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that, when executed on a computer, cause the method of any one of claims 1 to 12 or any one of claims 13 to 19 to be performed.
22. A chip, characterized in that, The chip includes a processor and a communication interface, the communication interface being used to receive signals and transmit the signals to the processor, the processor processing the signals such that the method of any one of claims 1 to 12 or the method of any one of claims 13 to 19 is executed.
23. A computer program product, characterized in that, When the computer program product is run on a computer, it causes the computer to perform the method as described in any one of claims 1 to 12 or the method as described in any one of claims 13 to 19.