CN111031492B - Call demand response method and device and electronic equipment - Google Patents

Call demand response method and device and electronic equipment Download PDF

Info

Publication number
CN111031492B
CN111031492B CN201911168219.1A CN201911168219A CN111031492B CN 111031492 B CN111031492 B CN 111031492B CN 201911168219 A CN201911168219 A CN 201911168219A CN 111031492 B CN111031492 B CN 111031492B
Authority
CN
China
Prior art keywords
contextual model
information
cluster
call
electronic devices
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911168219.1A
Other languages
Chinese (zh)
Other versions
CN111031492A (en
Inventor
张志军
姜文浩
刘莉莉
郭兴民
李锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN201911168219.1A priority Critical patent/CN111031492B/en
Publication of CN111031492A publication Critical patent/CN111031492A/en
Priority to PCT/CN2020/129736 priority patent/WO2021104122A1/en
Application granted granted Critical
Publication of CN111031492B publication Critical patent/CN111031492B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/32Connectivity information management, e.g. connectivity discovery or connectivity update for defining a routing cluster membership

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides a call demand response method, a call demand response device and electronic equipment, wherein the method comprises the following steps: acquiring a first contextual model corresponding to a device cluster, wherein the device cluster comprises cluster head devices; obtaining the running condition of the equipment cluster in the first contextual model; when at least one call requirement is detected, at least one first electronic device and at least one first response instruction which respond to the at least one call requirement are obtained according to the operation condition, and the at least one first electronic device and the at least one first response instruction are in one-to-one correspondence with the at least one call requirement; and sending the corresponding first response instruction to each first electronic device in the at least one first electronic device. The embodiment of the application is beneficial to improving the reasonability and convenience of the call demand response.

Description

Call demand response method and device and electronic equipment
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method and an apparatus for responding to a call request, and an electronic device.
Background
Currently, the process of responding to a call request (such as an incoming call, a voice call, a video call, etc.) is as follows: the watch B and the mobile phone C of the user A log in the account number of the user A, the user D uses the mobile phone E to dial the call to the user A through the account number of the user A, at the moment, the watch B and the mobile phone C of the user A ring at the same time, and the user A can select the watch B or the mobile phone C to answer the call of the user D.
The rationality of the call demand response is reduced because the user A selects the electronic equipment to answer the incoming call of the user D completely depends on personal habits; meanwhile, the user A needs to manually select the electronic equipment for answering the incoming call of the user D, so that the convenience of call demand response is reduced.
Disclosure of Invention
The embodiment of the application provides a call demand response method and electronic equipment, which are used for improving the reasonability and convenience of call demand response.
In a first aspect, an embodiment of the present application provides a call demand response method, which is applied to a cluster head device, and includes:
acquiring a first contextual model corresponding to a device cluster, wherein the device cluster comprises cluster head devices;
obtaining the running condition of the equipment cluster in the first contextual model;
when at least one call requirement is detected, at least one first electronic device and at least one first response instruction which respond to the at least one call requirement are obtained according to the operation condition, and the at least one first electronic device and the at least one first response instruction are in one-to-one correspondence with the at least one call requirement;
and sending the corresponding first response instruction to each first electronic device in the at least one first electronic device.
It can be seen that, compared with the case that the user completely depends on personal habits to select the electronic device to respond to the call requirement, in the embodiment of the present application, the cluster head device obtains the first electronic device responding to the call requirement according to the operation condition of the device cluster in the first contextual model, and the actual operation condition of the electronic device is considered, so that the rationality of the call requirement response is improved. Meanwhile, compared with the electronic equipment which needs to manually select the electronic equipment for responding to the call requirement by the user, in the embodiment of the application, the first electronic equipment for responding to the call requirement does not need to be manually selected by the user, so that the convenience of the call requirement response is improved.
In some possible embodiments, the cluster head device is user-specified; or the cluster head device is selected from the device cluster according to the communication capability, the data operation capability and the data storage capability of the electronic device.
It can be seen that, in this example, no matter the cluster head device is specified by the user, or the cluster head device is selected from the device cluster according to the communication capability, the data operation capability and the data storage capability of the electronic device, the cluster head device is optimal in various contextual models, and further, the first electronic device and the first response instruction for responding to the call requirement are obtained based on the optimal cluster head device, and the corresponding first response instruction is sent to the first electronic device, which is beneficial to improving the efficiency of the call requirement response.
In some possible embodiments, the cluster head device includes a display screen, and obtaining a first contextual model corresponding to the device cluster includes:
displaying a contextual model interface through a display screen, wherein the contextual model interface comprises first prompt information and a plurality of contextual models, and the first prompt information is used for indicating a user to select one contextual model from the plurality of contextual models as the contextual model of the equipment cluster;
when touch operation for the contextual model interface is detected, obtaining a contextual model corresponding to the touch operation;
and determining the contextual model corresponding to the touch operation as a first contextual model corresponding to the equipment cluster.
Therefore, in this example, the first contextual model corresponding to the device cluster is obtained based on the touch operation of the user on the contextual model interface, so that the user can select a suitable contextual model as the first contextual model corresponding to the device cluster, which is beneficial to improving the user experience.
In some possible embodiments, obtaining a first contextual model corresponding to a device cluster includes:
acquiring a historical scene mode record, wherein the historical scene mode record comprises a mapping relation between a time period and a scene mode;
acquiring current time;
determining a target contextual model corresponding to the time period of the current time according to the mapping relation between the time period and the contextual model;
and determining the target contextual model as a first contextual model corresponding to the equipment cluster.
As can be seen, in this example, the first contextual model corresponding to the device cluster is obtained based on the historical contextual model record and the current time, and the user does not need to manually select on the contextual model interface, so that convenience in selecting the first contextual model corresponding to the device cluster is improved.
In some possible embodiments, the device cluster includes U electronic devices, where U is an integer greater than 1, and obtaining an operating condition of the device cluster in the first contextual model includes:
sending (U-1) third requests to (U-1) electronic devices, wherein the (U-1) third requests correspond to the (U-1) electronic devices one by one, the third requests are used for indicating the corresponding electronic devices to feed back device information, function information and running information corresponding to the first contextual model, and the device cluster comprises cluster head devices and the (U-1) electronic devices;
receiving (U-1) first device information, (U-1) first function information and (U-1) first operation information which are sent by (U-1) electronic devices, wherein the (U-1) first device information, (U-1) first function information and the (U-1) first operation information are all in one-to-one correspondence with the (U-1) electronic devices;
acquiring first equipment information, first function information and first operation information corresponding to a first contextual model of cluster head equipment;
and determining the U pieces of first equipment information, the U pieces of first function information and the U pieces of first running information as the running condition of the equipment cluster in the first contextual model.
Therefore, in an example, the cluster head device obtains the operation condition of the device cluster in the first contextual model, so that the cluster head device determines the first electronic device responding to the call requirement based on the operation condition of the device cluster in the first contextual model, and the reasonability of the call requirement response is further improved.
In some possible embodiments, the method for obtaining an operating condition of the device cluster in the first contextual model includes:
sending (V-1) fourth requests to (V-1) electronic devices, wherein the (V-1) fourth requests correspond to the (V-1) electronic devices one by one, the fourth requests are used for indicating the corresponding electronic devices to feed back device information and function information, and a device cluster comprises the (V-1) electronic devices and a cluster head device;
receiving (V-1) second device information and (V-1) second function information sent by (V-1) electronic devices, wherein the (V-1) second device information and the (V-1) second function information are in one-to-one correspondence with the (V-1) electronic devices;
acquiring second equipment information and second function information of cluster head equipment;
acquiring V pieces of second operation information corresponding to the first contextual model according to the pre-stored device information and the mapping relation between the contextual model and the operation information, wherein the V pieces of second operation information correspond to the V pieces of second device information one by one;
and determining the V pieces of second equipment information, the V pieces of second function information and the V pieces of second running information as the running conditions of the equipment cluster in the first contextual model.
As can be seen, in this example, the cluster head device obtains the operating condition of the device cluster in the first contextual model, so that the cluster head device determines the first electronic device responding to the call requirement based on the operating condition of the device cluster in the first contextual model, thereby improving the rationality of the functional response.
In some possible embodiments, obtaining at least one first electronic device and at least one first response instruction for responding to at least one call requirement according to an operation condition includes:
obtaining a target call demand response model corresponding to the first contextual model according to the mapping relation between the contextual models and the call demand response model;
inputting at least one call requirement and operation condition into a target call requirement response model for processing, and outputting at least one first electronic device responding to the at least one call requirement;
at least one first response instruction is generated according to the at least one call requirement and the at least one first electronic device.
It can be seen that, in this example, the cluster head device obtains the first electronic device responding to the call requirement based on the operation condition of the device cluster in the first contextual model, and thus, the reasonability of the call requirement response is improved by considering the operation condition of the electronic device. Meanwhile, the user does not need to manually select the electronic equipment for responding to the call requirement, so that the convenience of responding to the call requirement is improved.
In some possible embodiments, the method further comprises:
detecting whether a switching operation for the scene mode exists in real time or periodically;
when switching operation aiming at the contextual model is detected, a second contextual model corresponding to the switching operation is obtained;
and switching the scene mode from the first scene mode to the second scene mode.
It can be seen that, in this example, the user can switch the profile at any time, which is helpful to improve the convenience of switching the profile.
In a second aspect, an embodiment of the present application provides a call demand response apparatus, which is applied to a cluster head device, and includes:
an obtaining unit, configured to obtain a first contextual model corresponding to a device cluster, where the device cluster includes a cluster head device;
the obtaining unit is further used for obtaining the running condition of the equipment cluster in the first contextual model;
the obtaining unit is further configured to obtain, when at least one call requirement is detected, at least one first electronic device and at least one first response instruction, which respond to the at least one call requirement, according to an operation condition, where the at least one first electronic device and the at least one first response instruction are in one-to-one correspondence with the at least one call requirement;
the sending unit is used for sending a corresponding first response instruction to each first electronic device in at least one first electronic device.
In a third aspect, the present application provides a call demand response apparatus, comprising a processor, a communication interface and a memory coupled to each other, wherein:
the processor is used for obtaining a first contextual model corresponding to a device cluster, and the device cluster comprises cluster head devices;
the communication interface is used for obtaining the running condition of the equipment cluster in the first contextual model;
the processor is further used for obtaining at least one first electronic device and at least one first response instruction which respond to at least one calling requirement according to the operation condition when the at least one calling requirement is detected, wherein the at least one first electronic device and the at least one first response instruction are in one-to-one correspondence with the at least one calling requirement;
the communication interface is further used for sending a corresponding first response instruction to each first electronic device in the at least one first electronic device.
In a fourth aspect, the present application provides a computer-readable storage medium storing computer instructions, wherein the computer program is executed by hardware (such as a processor) to implement part or all of the steps of any one of the methods performed by the call demand response apparatus in the embodiments of the present application.
In a fifth aspect, the embodiments of the present application provide a computer program product, which when run on a computer, causes the computer to perform some or all of the steps of the call demand response method of the above aspects.
In a sixth aspect, an embodiment of the present application provides a chip system, where the chip system includes a processor, and is configured to support an electronic device to implement part or all of the steps of the call demand response method in the above aspects.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
Fig. 1 is a schematic architecture diagram of a call system according to an embodiment of the present application;
FIG. 2 shows a schematic structural diagram of an electronic device;
fig. 3 is a block diagram of a software structure of an electronic device according to an embodiment of the present application;
fig. 4A is a schematic flowchart of a call demand response method according to an embodiment of the present application;
fig. 4B is a schematic diagram for obtaining a first contextual model corresponding to a device cluster according to an embodiment of the present application;
fig. 4C is a schematic flowchart of a method for selecting a cluster head device from a device cluster according to an embodiment of the present application;
fig. 4D is a schematic flowchart of a method for selecting a cluster head device from a watch, a mobile phone, and a tablet according to an embodiment of the present disclosure;
fig. 4E is a schematic flowchart of another method for selecting a cluster head device from a device cluster according to an embodiment of the present application;
fig. 4F is a schematic flowchart of another method for selecting a cluster head device from a watch, a mobile phone, and a tablet computer according to an embodiment of the present disclosure;
fig. 4G is a flowchart illustrating a method for a cluster head device to obtain an operation condition of a device cluster in a first contextual model and obtain at least one first electronic device responding to at least one call request and at least one first response instruction according to the operation condition, according to an embodiment of the present application;
fig. 4H is a flowchart illustrating a method for a mobile phone to obtain operating conditions of a watch, a mobile phone, and a tablet computer in a power saving mode, and obtain two first electronic devices responding to an incoming call and a video call and two first response instructions according to the operating conditions, according to an embodiment of the present application;
fig. 4I is a flowchart illustrating another method for a cluster head device to obtain an operation condition of a device type in a first contextual model and obtain at least one first electronic device responding to at least one call request and at least one first response instruction according to the operation condition, according to an embodiment of the present application;
fig. 4J is a flowchart illustrating another method for a mobile phone to obtain operating conditions of a watch, a mobile phone, and a tablet computer in a performance mode, and obtain two first electronic devices responding to an incoming call and a video call and two first response instructions according to the operating conditions, according to an embodiment of the present application;
fig. 5 is a block diagram illustrating functional units of a call demand response apparatus according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a call demand response apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a chip system according to an embodiment of the present application.
Detailed Description
The embodiments of the present application will be described below with reference to the drawings. The terminology used in the description of the embodiments herein is for the purpose of describing particular embodiments herein only and is not intended to be limiting of the application.
Referring to fig. 1, fig. 1 is a schematic diagram of a call system according to an embodiment of the present disclosure. As shown in fig. 1, the call system may include: a caller device, i.e., the first electronic device 100; called party devices including a second electronic device 200, a third electronic device 300, and a fourth electronic device 400; a server 500.
Any two electronic devices of the second electronic device 200, the third electronic device 300, and the fourth electronic device 400 may communicate through a short-range wireless communication technology, where the short-range wireless communication technology may be a wireless internet access (Wi-Fi) technology, a bluetooth technology, a Zigbee (Zigbee) technology, or the like; the second electronic device 200, the third electronic device 300, and the fourth electronic device 400 logged in the same account form a device cluster, where the device cluster includes a cluster head device, and the cluster head device may be one of the second electronic device 200, the third electronic device 300, and the fourth electronic device 400.
The first electronic device 100 may be configured to send a call request to the cluster head device through the first account. The first account may be associated with a cluster head device. The association may be stored on server 500.
The first electronic device 100 may query the devices associated with the first account on the server 500, such as the second electronic device 200, the third electronic device 300, and the fourth electronic device 400, where the second electronic device 200 is a cluster head device. When the first electronic device 100 makes a call through the first account, the second electronic device 200 receives a call request sent by the first electronic device 100.
The called party device may include: a second electronic device 200, a third electronic device 300, and a fourth electronic device 400. If the cluster head device is the second electronic device 200, the second electronic device 200 may select a corresponding electronic device from among the second electronic device 200, the third electronic device 300, and the fourth electronic device 400 to respond when receiving the paging initiated by the server 500.
The server 500 may be configured to store a correspondence between the account number and the associated device. For example, the server 500 stores a first account and a device associated with the first account: a second electronic device 200, a third electronic device 300, and a fourth electronic device 400. Specifically, the server 500 may store a first account, and the device identifier corresponding to the first account is: a device identification of the second electronic device 200, a device identification of the third electronic device 300, and a device identification of the fourth electronic device 400.
For example, as shown in fig. 1, server 500 may store a first account number "136 x" and other account numbers, such as account number "155 x". The service may also store a device identification corresponding to each account. For example, the first account number "136 x" corresponds to the device id of the mobile phone 200, the device id of the watch 300, and the device id of the speaker 400. The account "155 x" corresponds to the device identifier of the mobile phone 210, the device identifier of the watch 310, the device identifier of the television 320, and the device identifier of the sound box 410, and the mobile phone 210, the watch 310, the television 320, and the sound box 410 are not shown in fig. 1.
The communication connections between the calling party device, the called party device and the server 500 are described below. The first electronic device 100 may establish a communication connection with the server 500. The communication connection between the first electronic device 100 and the server 500 may be used for the first electronic device 100 to acquire a device associated with an account from the server 500, and may also be used for sending a call request to the server 500.
The server 500 may establish a communication connection with a cluster head device in the called party device, which communication connection may be used for addressing the cluster head device.
The process by which the calling party device pages the called party device is described below. The first electronic device 100 may indirectly page the called party device via the server 500. As shown in fig. 1, the first electronic device 100 may transmit a call request for paging a cluster head device to the server 500. Taking the cluster head device as the second electronic device 200 as an example, the call request may carry the device identifier of the second electronic device 200. The server 500 may obtain the communication ID of the second electronic device 200 according to the device identifier carrying the second electronic device 200, address the second electronic device 200 according to the communication ID, and initiate paging to the second electronic device 200, where the second electronic device selects one electronic response call request from the second electronic device 200, the third electronic device 300, and the fourth electronic device 400.
In this embodiment, the caller device may be connected to a data network (e.g., a carrier data network) or a local area network, such that the caller device establishes a communication connection with the server 500. The cluster head device comprised by the called party device may also be connected to a data network or a local area network, so that the server 500 may establish a communication connection with the cluster head device, which communication connection is used for addressing the cluster head device. When the cluster head device is not connected to the data network and not connected to the local area network, the server 500 fails to address the cluster head device. The server 500 is unable to indirectly initiate paging to the called party device resulting in a failure of the calling party device to page the called party device. When the calling party device is not connected to the data network and not connected to the local area network, the calling party device fails to send a paging request to the server 500, resulting in a failure of the calling party device to page the called party device.
In this embodiment of the application, the third electronic device 300 is not limited to a smart watch, and may also be a wearable device such as a bracelet. The fourth electronic device 400 is not limited to the smart speaker, and may also be a terminal device such as a laptop computer, a palm computer, a tablet computer, a smart television, a portable media player, and a vehicle-mounted media player.
In order to improve the reasonability and convenience of call demand response, the embodiment of the application provides a call demand response method, a call demand response device and electronic equipment. The electronic device according to the embodiment of the present application is described below, where the electronic device is a cluster head device, and the cluster head device may be a mobile phone, a watch, a tablet computer, an intelligent sound box, an intelligent router, or the like.
When the cluster head device is a mobile phone, fig. 2 shows a schematic structural diagram of the electronic device.
The electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not limit the electronic device. In other embodiments of the present application, an electronic device may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components may be used. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can be a neural center and a command center of the electronic device. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the electronic device.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to implement a function of answering a call through a bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device, and may also be used to transmit data between the electronic device and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules according to the embodiment of the present invention is only an exemplary illustration, and does not limit the structure of the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in an electronic device may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication applied to electronic devices, including Wireless Local Area Networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite Systems (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of the electronic device is coupled to the mobile communication module 150 and antenna 2 is coupled to the wireless communication module 160 so that the electronic device can communicate with the network and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, among others. GNSS may include Global Positioning System (GPS), global navigation satellite system (GLONASS), beidou satellite navigation system (BDS), quasi-zenith satellite system (QZSS), and/or Satellite Based Augmentation System (SBAS).
The electronic device implements the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device selects a frequency point, the digital signal processor is used for performing fourier transform and the like on the frequency point energy.
Video codecs are used to compress or decompress digital video. The electronic device may support one or more video codecs. In this way, the electronic device can play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can realize applications such as intelligent cognition of electronic equipment, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The data storage area can store data (such as audio data, phone book and the like) created in the using process of the electronic device. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The electronic device may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic device answers a call or voice information, it can answer the voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device may be provided with at least one microphone 170C. In other embodiments, the electronic device may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and the like.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronics determine the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus detects the intensity of the touch operation based on the pressure sensor 180A. The electronic device may also calculate the position of the touch from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion pose of the electronic device. In some embodiments, the angular velocity of the electronic device about three axes (i.e., x, y, and z axes) may be determined by the gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyroscope sensor 180B detects a shake angle of the electronic device, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device is a flip, the electronic device may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device in various directions (typically three axes). When the electronic device is at rest, the magnitude and direction of gravity can be detected. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device may measure distance by infrared or laser. In some embodiments, taking a picture of a scene, the electronic device may utilize the distance sensor 180F to range to achieve fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device emits infrared light to the outside through the light emitting diode. The electronic device uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device. When insufficient reflected light is detected, the electronic device may determine that there are no objects near the electronic device. The electronic device can detect that the electronic device is held by a user and close to the ear for conversation by utilizing the proximity light sensor 180G, so that the screen is automatically extinguished, and the purpose of saving power is achieved. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. The electronic device may adaptively adjust the brightness of the display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic equipment can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access to an application lock, fingerprint photographing, fingerprint incoming call answering and the like.
The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device heats the battery 142 when the temperature is below another threshold to avoid an abnormal shutdown of the electronic device due to low temperatures. In other embodiments, the electronic device performs a boost on the output voltage of the battery 142 when the temperature is below a further threshold to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device at a different position than the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signals acquired by the bone conduction sensor 180M, and the heart rate detection function is realized.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic device may receive a key input, and generate a key signal input related to user settings and function control of the electronic device.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic device by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic equipment can support 1 or N SIM card interfaces, and N is a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic equipment realizes functions of conversation, data communication and the like through the interaction of the SIM card and the network. In some embodiments, the electronic device employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
When the cluster head device is an intelligent router, the electronic device may further include a POWER interface (POWER), a RESET key (RESET), a MODEM (MODEM) or a connection port (WAN) between a switch and the router, and a connection port (LAN) between a computer and the router.
The software system of the electronic device may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the invention takes an operating system with a layered architecture as an example, and exemplifies a software structure of an electronic device.
Fig. 3 is a block diagram of a software structure of an electronic device according to an embodiment of the present application.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the operating system is divided into four layers, an application layer, an application framework layer, a runtime (runtime) and system library, and a kernel layer, from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 3, the application package may include applications such as camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layers may include a window manager, a notification manager, a content provider, a view system, a phone manager, an explorer, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The Runtime comprises a core library and a virtual machine. runtime is responsible for scheduling and management of the system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The following describes exemplary workflow of software and hardware of the electronic device in connection with capturing a photo scene.
When the touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 193.
Referring to fig. 4A, fig. 4A is a method for responding to a call request provided in the embodiment of the present application, where the method for responding to a call request includes steps 401 and 404, which are as follows:
401: the cluster head device obtains a first contextual model corresponding to a device cluster, wherein the device cluster comprises the cluster head device.
In some embodiments, the cluster of devices includes a plurality of electronic devices including at least two of: watch, mobile phone, tablet computer, desktop, bluetooth headset, intelligent audio amplifier, intelligent router etc..
In some embodiments, the first contextual mode may be a power saving mode, a performance mode, a sports mode, a gaming mode, or the like; the optimization goal of the power saving mode is to maximize the service time of the equipment with the fastest power consumption in the equipment cluster; the optimization goal of the performance mode is to maximize the performance experience of the user; the optimization goal of the movement pattern is to maximize the user's movement experience; the optimization goal of the gaming mode is to maximize the user's gaming experience. If the equipment cluster comprises the watch, the mobile phone and the tablet personal computer, and the first contextual model corresponding to the equipment cluster is the power saving model, the contextual models of the watch, the mobile phone and the tablet personal computer are all the power saving models.
In some embodiments, the obtaining, by the cluster head device, a first profile corresponding to the device cluster includes:
if the cluster head equipment comprises a display screen, the cluster head equipment displays a contextual model interface through the display screen, the contextual model interface comprises first prompt information and a plurality of contextual models, and the first prompt information is used for prompting a user to select one contextual model from the plurality of contextual models as the contextual model of the equipment cluster;
when touch operation aiming at the contextual model interface is detected, the cluster head equipment obtains a contextual model corresponding to the touch operation;
and the cluster head equipment determines the contextual model corresponding to the touch operation as a first contextual model corresponding to the equipment cluster.
The plurality of contextual models may be presented directly on the contextual model interface or may be presented on the contextual model interface by a pull-down contextual model option.
The contextual model interface of the device cluster can be opened through the device cluster APP.
The above is merely an exemplary description of "the cluster head device obtains the first contextual model corresponding to the device cluster", and should not be construed as a limitation to "the cluster head device obtains the first contextual model corresponding to the device cluster", in other words, the cluster head device may also obtain the first contextual model corresponding to the device cluster through the display screens of other electronic devices in the device cluster.
For example, as shown in fig. 4B, fig. 4B is a schematic diagram of obtaining a first contextual model corresponding to a device cluster according to an embodiment of the present disclosure, where if a cluster head device is a mobile phone, the mobile phone displays a contextual model interface through a display screen, the contextual model interface includes first prompt information (please select one contextual model from the following four models as the first contextual model corresponding to the device cluster), a power saving model, a performance model, a motion model, and a game model, and when a touch operation of the power saving model for the contextual model interface is detected, the power saving model is determined as the first contextual model corresponding to the device cluster.
Therefore, in this example, the first contextual model corresponding to the device cluster is obtained based on the touch operation of the user on the contextual model interface, so that the user can select a suitable contextual model as the first contextual model corresponding to the device cluster, which is beneficial to improving the user experience.
In some embodiments, the obtaining, by the cluster head device, a first profile corresponding to the device cluster includes:
if the cluster head equipment comprises a loudspeaker and a microphone, the cluster head equipment sends out second prompt information through the loudspeaker, and the second prompt information is used for prompting a user to select one contextual model from a plurality of contextual models as the contextual model of the equipment cluster;
the cluster head equipment collects voice information through a microphone;
the cluster head equipment performs voice-text conversion on the voice information to obtain text content corresponding to the voice information;
and the cluster head equipment determines the text content as a first contextual model corresponding to the equipment cluster.
The second prompt message may be: please select one profile from the power saving profile, the performance profile, the sport profile and the game profile as a first profile corresponding to the device cluster.
The above is merely an exemplary description of "the cluster head device obtains the first contextual model corresponding to the device cluster", and should not be understood as a limitation to "the cluster head device obtains the first contextual model corresponding to the device cluster", in other words, the cluster head device may also obtain the first contextual model corresponding to the device cluster through the speaker and the microphone of other electronic devices in the device cluster, where the speaker and the microphone correspond to the same electronic device.
It can be seen that, in this example, the first contextual model corresponding to the device cluster is obtained based on the voice information of the user, and the user does not need to manually select on the contextual model interface, so that not only can the user select a suitable contextual model as the first contextual model corresponding to the device cluster, but also the convenience of selecting the first contextual model corresponding to the device cluster is improved.
In some embodiments, the obtaining, by the cluster head device, a first profile corresponding to the device cluster includes:
the cluster head equipment acquires a historical scene mode record, wherein the historical scene mode record comprises a mapping relation between a time period and a scene mode;
the cluster head equipment acquires the current time;
the cluster head equipment determines a target contextual model corresponding to the time period of the current time according to the mapping relation between the time period and the contextual model;
the cluster head device determines the target contextual model as a first contextual model corresponding to the device cluster.
Due to the relative regularity of the work and living habits of the user, the contextual model corresponding to the device cluster in a certain period of time is relatively fixed, the mapping relationship between the period of time and the contextual model is stored in the cluster head device in advance, and the mapping relationship between the period of time and the contextual model is shown in the following table 1:
TABLE 1
Time period Contextual model
A first period of time Power saving mode
A second period of time Performance modes
A third period of time Motion pattern
The fourth time period Game mode
…… ……
If the time period is the first time period, the scene mode is a power saving mode; if the time period is the second time period, the contextual model is a performance model; if the time period is a third time period, the contextual model is a motion model; if the time period is the fourth time period, the contextual model is the game model.
As can be seen, in this example, the first contextual model corresponding to the device cluster is obtained based on the historical contextual model record and the current time, and the user does not need to manually select on the contextual model interface, so that convenience in selecting the first contextual model corresponding to the device cluster is improved.
402: the cluster head device obtains the running condition of the device cluster in the first contextual model.
The operation condition of the device cluster in the first contextual model includes device information, function information, and operation information corresponding to the first contextual model of each electronic device included in the device cluster.
The device information includes a device name and a device model, and the device name may include a watch, a mobile phone, a tablet computer, a desktop computer, a bluetooth headset, an intelligent speaker, an intelligent router, and the like.
The function information comprises at least one function and at least one function using state, the at least one function using state corresponds to the at least one function in a one-to-one mode, the functions can comprise audio, video, Bluetooth, cellular, WLAN, vibration and the like, and the function using state comprises activation and non-activation.
If the first contextual model is the power saving mode, the operation information of the electronic device corresponding to the first contextual model may include a current remaining power amount and a power consumption rate of the electronic device, an extra power consumption rate of each function of the at least one function, the extra power consumption rate of each function of the at least one function is enabled and stored in the electronic device in advance, the extra power consumption rate of the target function is a ratio of a power consumption amount corresponding to the target function within a period of time to a duration of the period of time when the electronic device is only enabled with the target function, and the power consumption amount corresponding to the target function is a difference between a total power consumption amount corresponding to the electronic device within the period of time and a power consumption amount of the electronic device.
If the first contextual model is the performance model, the operation information of the electronic device corresponding to the first contextual model may include a performance utility for enabling each of the at least one function, the performance utility being a user satisfaction degree to which the electronic device enables a certain function, and the performance utility for enabling each of the at least one function may be user-specified.
The above is merely an exemplary description of "operation information of the electronic device corresponding to the first profile", and should not be construed as a limitation of "operation information of the electronic device corresponding to the first profile".
403: when at least one call requirement is detected, the cluster head equipment obtains at least one first electronic equipment and at least one first response instruction which respond to the at least one call requirement according to the operation condition, and the at least one first electronic equipment and the at least one first response instruction are in one-to-one correspondence with the at least one call requirement.
Call requirements may include incoming calls, voice calls, video calls, and the like.
In some embodiments, the cluster head device may obtain the at least one first electronic device and the at least one first response instruction for responding to the at least one call requirement according to the operation condition, and may adopt a serial manner or a parallel manner.
It can be seen that, in this example, the cluster head device obtains the first electronic device responding to the call requirement based on the operation condition of the device cluster in the first contextual model, and thus, the reasonability of the call requirement response is improved by considering the operation condition of the electronic device. Meanwhile, the user does not need to manually select the response electronic equipment to respond to the call requirement, so that the convenience of call requirement response is improved.
404: the cluster head device sends a corresponding first response instruction to each first electronic device in the at least one first electronic device.
In some embodiments, the cluster head device may send its corresponding first response instruction to each of the at least one first electronic device in a serial manner or a parallel manner.
If the call requirement is an incoming call, the first response instruction can be ringing or vibration; specifically, if the current time is in the preset conference time period, the first response instruction is vibration, the cluster head device sends the first response instruction to the first electronic device, and the first electronic device receives the first response instruction, displays an incoming call interface and vibrates; if the current time is not in the conference time period, the first response instruction is ringing, the cluster head device sends the first response instruction to the first electronic device, and the first electronic device receives the first response instruction, displays a calling interface and rings; the above is merely an exemplary illustration of the first response instruction and should not be construed as a limitation of the first response instruction.
It can be seen that, compared with the case that the user completely depends on personal habits to select the electronic device to respond to the call requirement, in the embodiment of the present application, the cluster head device obtains the first electronic device responding to the call requirement according to the operation condition of the device cluster in the first contextual model, and the actual operation condition of the electronic device is considered, so that the reasonability of the call requirement response is improved. Meanwhile, compared with the electronic equipment which needs to manually select the electronic equipment for responding to the call requirement by the user, in the embodiment of the application, the first electronic equipment for responding to the call requirement does not need to be manually selected by the user, so that the convenience of the call requirement response is improved.
In some embodiments, the cluster head device is user-specified; if the cluster of devices includes a handset and at least one of: watch, tablet computer, desk-top machine, bluetooth earphone, then user's designated cluster head apparatus is the mobile phone; if the cluster of devices includes a smart speaker and at least one of: watch, mobile phone, tablet computer, desktop, bluetooth headset, then user's designated cluster head equipment is the intelligent loudspeaker box; if the cluster of devices includes an intelligent router and at least one of: the system comprises a watch, a mobile phone, a tablet personal computer, a desktop computer and a Bluetooth headset, wherein the cluster head equipment designated by a user is an intelligent router; if the device cluster comprises a smart speaker, a smart router and at least one of: watch, cell-phone, panel computer, desktop, bluetooth headset, then user's appointed cluster head equipment is intelligent audio amplifier or intelligent router. When the cluster head equipment is an intelligent sound box or an intelligent router, the user is generally in an intelligent home scene at the moment, the intelligent sound box or the intelligent router is used as the cluster head equipment, and the problem of insufficient electric quantity does not need to be worried. The above is merely an exemplary description of "the cluster head device is user-specified", and should not be construed as a limitation of "the cluster head device is user-specified".
In some embodiments, the cluster head device is selected from a cluster of devices based on the communication capabilities, data computation capabilities, and data storage capabilities of the electronic device.
The communication capability of the electronic equipment is determined according to the transmission rate and the coverage area of the electronic equipment, and the cluster head equipment selected from the equipment cluster can be periodically selected.
As shown in fig. 4C, fig. 4C is a schematic flowchart of a method for selecting a cluster head device from a device cluster according to an embodiment of the present application, where the device cluster includes N electronic devices, N is an integer greater than 1, and the method for selecting a cluster head device from the device cluster includes steps a1-a10, which are specifically as follows:
a1: the target electronic equipment sends (N-1) first requests to (N-1) electronic equipment except the target electronic equipment, wherein the (N-1) first requests correspond to the (N-1) electronic equipment one by one, and the first requests are used for indicating the feedback communication capacity, the data operation capacity and the data storage capacity of the corresponding electronic equipment.
In some embodiments, the target electronic device is the highest polling level electronic device of the N electronic devices; if N electronic devices include a watch, a mobile phone, a tablet computer, a desktop computer, a bluetooth headset, a smart speaker, and a smart router, then the polling levels of the N electronic devices may be in order of magnitude: the intelligent sound box is intelligent router, mobile phone, tablet computer, desktop computer, watch and Bluetooth earphone; the order of magnitude of the polling levels of the N electronic devices may be stored in advance in each of the N electronic devices. The above is merely an exemplary description of "order of magnitude of polling levels of N electronic devices", and should not be construed as a limitation of "order of magnitude of polling levels of N electronic devices".
In some embodiments, the communication capability, the data operation capability and the data storage capability of the electronic device are stored in the electronic device in advance, and the communication capability, the data operation capability and the data storage capability of the electronic device can be configured by a user; the above is merely an exemplary description of "the communication capability, the data operation capability, and the data storage capability of the electronic device", and should not be construed as limiting the "the communication capability, the data operation capability, and the data storage capability of the electronic device".
A2: the (N-1) electronic devices receive the (N-1) first requests sent by the target electronic device, and send the (N-1) first communication capabilities, the (N-1) first data operation capabilities and the (N-1) first data storage capabilities, the (N-1) first communication capabilities, the (N-1) first data operation capabilities and the (N-1) first data storage capabilities to the target electronic device, wherein the (N-1) first requests are in one-to-one correspondence with the (N-1) electronic devices.
A3: the target electronic device receives (N-1) first communication capabilities, (N-1) first data operation capabilities and (N-1) first data storage capabilities, and acquires the first communication capabilities, the first data operation capabilities and the first data storage capabilities of the target electronic device.
A4: the target electronic equipment judges whether the N first communication capacities are the same or not;
if not, step A5 is performed.
If so, step A6 is performed.
A5: and the target electronic equipment determines the electronic equipment corresponding to the maximum communication capability in the N first communication capabilities as cluster head equipment.
A6: the target electronic equipment judges whether the N first data computing capacities are the same or not;
if not, step A7 is performed.
If so, step A8 is performed.
A7: and the target electronic equipment determines the electronic equipment corresponding to the maximum data operation capability in the N first data operation capabilities as cluster head equipment.
A8: the target electronic equipment judges whether the N first data storage capacities are the same or not;
if not, step A9 is performed.
If so, step A10 is performed.
A9: and the target electronic equipment determines the electronic equipment corresponding to the maximum data storage capacity in the N first data storage capacities as cluster head equipment.
A10: the target electronic device determines any one of the N electronic devices as a cluster head device.
For example, as shown in fig. 4D, fig. 4D is a schematic flowchart of a method for selecting cluster head devices from a watch, a mobile phone, and a tablet computer according to an embodiment of the present application, where the method for selecting cluster head devices from a watch, a mobile phone, and a tablet computer includes steps a11-a20, which are as follows:
a11: the mobile phone sends a first request to both the watch and the tablet personal computer, wherein the first request is used for indicating that both the watch and the tablet personal computer feed back communication capacity, data operation capacity and data storage capacity;
a12: the watch receives a first request sent by the mobile phone, and sends the communication capacity, the data operation capacity and the data storage capacity of the watch to the mobile phone; the tablet computer receives a first request sent by the mobile phone and sends the communication capacity, the data operation capacity and the data storage capacity of the tablet computer to the mobile phone;
a13: the mobile phone receives the communication capacity, the data operation capacity and the data storage capacity of the watch and the communication capacity, the data operation capacity and the data storage capacity of the tablet personal computer, and acquires the communication capacity, the data operation capacity and the data storage capacity of the mobile phone;
a14: the mobile phone judges whether the three communication capacities of the watch, the mobile phone and the tablet computer are the same or not;
if not, step A15 is performed.
If so, step A16 is performed.
A15: and the mobile phone determines the electronic equipment corresponding to the maximum communication capability in the three communication capabilities as cluster head equipment.
A16: the mobile phone judges whether the three data computing capabilities of the mobile phone, the mobile phone and the tablet computer are the same or not;
if not, step A17 is performed.
If so, step A18 is performed.
A17: the mobile phone determines the electronic equipment corresponding to the maximum data operation capability in the three data operation capabilities as cluster head equipment.
A18: the mobile phone judges whether the three data storage capacities of the mobile phone, the mobile phone and the tablet computer are the same or not;
if not, step A19 is performed.
If so, step A20 is performed.
A19: and the mobile phone determines the electronic equipment corresponding to the maximum data storage capacity in the three data storage capacities as cluster head equipment.
A20: the mobile phone determines any one electronic device of the watch, the mobile phone and the tablet computer as a cluster head device.
As shown in fig. 4E, fig. 4E is a schematic flowchart of another method for selecting a cluster head device from a device cluster according to an embodiment of the present application, where the device cluster includes M electronic devices, M is an integer greater than 1, and the method for selecting a cluster head device from a device cluster includes steps B1-B7, which are specifically as follows:
b1: the target electronic device sends (M-1) second requests to (M-1) electronic devices except the target electronic device, wherein the (M-1) second requests correspond to the (M-1) electronic devices one by one, and the second requests are used for indicating the feedback communication capability, the data operation capability and the data storage capability of the corresponding electronic devices.
Step B1 is described above with reference to step A1 and will not be described further herein.
B2: the (M-1) electronic devices receive the (M-1) second requests sent by the target electronic device, and send the (M-1) second communication capabilities, the (M-1) second data operation capabilities and the (M-1) second data storage capabilities to the target electronic device, wherein the (M-1) second communication capabilities, the (M-1) second data operation capabilities and the (M-1) second data storage capabilities are in one-to-one correspondence with the (M-1) electronic devices.
B3: and the target electronic equipment receives the (M-1) second communication capacities, the (M-1) second data operation capacities and the (M-1) second data storage capacities, and acquires the second communication capacity, the second data operation capacity and the second data storage capacity of the target electronic equipment.
B4: and the target electronic equipment obtains M first comprehensive scores according to the M second communication capacities, the M second data operation capacities, the M second data storage capacities and a comprehensive score formula, wherein the M first comprehensive scores correspond to the M electronic equipment one to one.
In some embodiments, a composite score formula is pre-stored in the target electronic device, the composite score formula being:
P=Q×T1+R×T2+S×T3
p is the composite score, Q is the second communication capability, T1A weight corresponding to the second communication capability, R is a second data operation capability, T2Is the weight corresponding to the second data operation capability, S is the second data storage capability, T3A weight corresponding to the second data storage capacity, T1+T2+T3=1。
B5: the target electronic equipment judges whether the M first comprehensive scores are the same;
if not, go to step B6.
If so, step B7 is performed.
B6: and the target electronic equipment determines the electronic equipment corresponding to the maximum comprehensive score in the M first comprehensive scores as cluster head equipment.
B7: the target electronic device determines any one of the M electronic devices as a cluster head device.
It can be seen that, in this example, no matter the cluster head device is specified by the user, or the cluster head device is selected from the device cluster according to the communication capability, the data operation capability and the data storage capability of the electronic device, the cluster head device is optimal in various contextual models, and further, the first electronic device and the first response instruction for responding to the call requirement are obtained based on the optimal cluster head device, and the corresponding first response instruction is sent to the first electronic device, which is beneficial to improving the efficiency of the call requirement response.
For example, as shown in fig. 4F, fig. 4F is a schematic flow chart of another method for selecting cluster head devices from a watch, a mobile phone, and a tablet computer according to an embodiment of the present application, where the method for selecting cluster head devices from a watch, a mobile phone, and a tablet computer includes steps B8-B14, which are as follows:
b8: the mobile phone sends a second request to both the watch and the tablet personal computer, and the second request is used for indicating that both the watch and the tablet personal computer feed back communication capacity, data operation capacity and data storage capacity.
B9: the watch receives a second request sent by the mobile phone and sends the communication capacity, the data operation capacity and the data storage capacity of the watch to the mobile phone; and the tablet computer receives the second request sent by the mobile phone and sends the communication capability, the data operation capability and the data storage capability of the tablet computer to the mobile phone.
B10: the mobile phone receives the communication capacity, the data operation capacity and the data storage capacity of the watch and the communication capacity, the data operation capacity and the data storage capacity of the tablet personal computer, and obtains the communication capacity, the data operation capacity and the data storage capacity of the mobile phone.
B11: the mobile phone obtains the comprehensive score of the watch, the comprehensive score of the tablet personal computer and the comprehensive score of the mobile phone according to the communication capacity, the data operation capacity and the data storage capacity of the watch, the communication capacity, the data operation capacity and the data storage capacity of the tablet personal computer, the communication capacity, the data operation capacity and the data storage capacity of the mobile phone and a comprehensive score formula.
B12: the mobile phone judges whether the three comprehensive scores of the watch, the mobile phone and the tablet personal computer are the same or not;
if not, go to step B13.
If so, step B14 is performed.
B13: and the mobile phone determines the electronic equipment corresponding to the maximum comprehensive score in the three comprehensive scores as cluster head equipment.
B14: the mobile phone determines any one electronic device of the watch, the mobile phone and the tablet computer as a cluster head device.
As shown in fig. 4G, fig. 4G is a method for a cluster head device to obtain an operation condition of a device cluster in a first scenario mode and obtain at least one first electronic device and at least one first response instruction for responding to at least one call request according to the operation condition, where the device cluster includes U electronic devices, U is an integer greater than 1, and the method for the cluster head device to obtain the operation condition of the device cluster in the first scenario mode and obtain at least one first electronic device and at least one first response instruction for responding to at least one call request according to the operation condition includes steps C1-C10, which are specifically as follows:
c1: the cluster head device sends (U-1) third requests to (U-1) electronic devices except the cluster head device, wherein the (U-1) third requests correspond to the (U-1) electronic devices one by one, and the third requests are used for indicating the corresponding electronic devices to feed back device information, function information and running information corresponding to the first contextual model.
Device information, function information, and operation information corresponding to different profiles of the electronic device are stored in the electronic device in advance.
C2: the (U-1) electronic devices receive the (U-1) third requests sent by the cluster head device, and send (U-1) first device information, (U-1) first function information and (U-1) first operation information corresponding to the first contextual model to the cluster head device, wherein the (U-1) first device information, (U-1) first function information and the (U-1) first operation information are all in one-to-one correspondence with the (U-1) electronic devices.
C3: the cluster head equipment receives (U-1) first equipment information, (U-1) first function information and (U-1) first operation information, and acquires the first equipment information, the first function information and the first operation information corresponding to the first contextual model of the cluster head equipment.
In some embodiments, the device cluster includes U electronic devices, where U is an integer greater than 1, and the obtaining, by the cluster head device, the operating condition of the device cluster in the first contextual model includes:
the cluster head device receives (U-1) first device information, (U-1) first function information and (U-1) first operation information corresponding to a first contextual model, wherein the (U-1) first device information, (U-1) first function information and (U-1) first operation information are sent by (U-1) electronic devices, the (U-1) first device information, the (U-1) first function information and the (U-1) first operation information are all in one-to-one correspondence with the (U-1) electronic devices, and the device cluster comprises the cluster head device and the (U-1) electronic devices;
the cluster head equipment acquires first equipment information, first function information and first operation information corresponding to a first contextual model of the cluster head equipment;
the cluster head device determines the U pieces of first device information, the U pieces of first function information and the U pieces of first operation information as the operation condition of the device cluster in the first contextual model.
As can be seen, in this example, the cluster head device passively receives the operating conditions of (U-1) electronic devices in the first contextual model, and obtains the operating conditions of the cluster head device in the first contextual model, so that the cluster head device determines the first electronic device responding to the call requirement based on the operating conditions of the device cluster in the first contextual model, thereby improving the rationality of the call requirement response.
C4: the cluster head device determines the U pieces of first device information, the U pieces of first function information and the U pieces of first operation information as the operation condition of the device cluster in the first contextual model.
C5: and the cluster head equipment acquires a first call response model corresponding to the power saving mode according to the mapping relation between the contextual model and the call demand response model.
The mapping relationship between the contextual model and the call demand response model is stored in the cluster head device in advance, and is shown in the following table 2:
TABLE 2
Contextual model Call demand response model
Power saving mode First call demand response model
Performance modes Second call demand response model
Motion pattern Third Call demand response model
Game mode Fourth call demand response model
…… ……
If the contextual model is the power saving mode, the call demand response model is a first call demand response model; if the contextual model is the performance mode, the call demand response model is a second call demand response model; if the contextual model is the motion mode, the call demand response model is a third call demand response model; if the contextual model is the game mode, the call demand response model is a fourth call demand response model.
C6: the cluster head device inputs at least one call requirement and operating conditions into the first call requirement response model.
C7: the cluster head device obtains the current remaining power and the power consumption rate of each electronic device, the extra power consumption rate of each function of the at least one function, the power consumption rate of the incoming call and the power consumption rate of the video call according to the running condition.
C8: the cluster head device calls a first call demand response function in the first call demand response model.
The first call demand response function is stored in the first call demand response model in advance, and the first call demand response function is as follows:
Figure GDA0003193982290000221
Figure GDA0003193982290000222
i is a set formed by all electronic equipment included in the equipment cluster, I belongs to I as any one electronic equipment in the equipment cluster, the set of at least one calling requirement is S, S belongs to S as any one calling requirement in the at least one calling requirement,
Figure GDA0003193982290000223
Figure GDA0003193982290000224
indicating that the electronic device i is provided with the function s,
Figure GDA0003193982290000225
indicating that the electronic device i does not have the function s,
Figure GDA0003193982290000226
indicating the rate of excessive power consumption, r, of an electronic device i enabling a function siIs the current remaining capacity of the electronic device, ziIs the rate at which the electronic device consumes power,
Figure GDA0003193982290000227
Figure GDA0003193982290000228
indicating that the electronic device i enables the function s,
Figure GDA0003193982290000229
indicating that electronic device i is not enabledAnd (4) energy s.
C9: the cluster head device obtains at least one first electronic device responding to at least one call requirement according to the current remaining power and power consumption rate of each electronic device, the extra power consumption rate of each function enabling at least one function, the power consumption rate enabling incoming calls, the power consumption rate enabling video calls and a first call requirement response function.
C10: the cluster head device generates at least one first response instruction according to at least one call requirement and at least one first electronic device, and the at least one first response instruction is in one-to-one correspondence with the at least one call requirement and the at least one first electronic device respectively.
The first response instruction includes a call request and a first electrical device to which the call request is transmitted.
As can be seen, in this example, the cluster head device obtains the operating condition of the device cluster in the first contextual model, so that the cluster head device determines the first electronic device responding to the call requirement based on the operating condition of the device cluster in the first contextual model, thereby improving the rationality of the call requirement response.
For example, as shown in fig. 4H, fig. 4H is a flowchart illustrating a method for a mobile phone to obtain operation conditions of a watch, a mobile phone, and a tablet computer in a power saving mode and obtain two first electronic devices responding to an incoming call and a video call and two first response instructions according to the operation conditions, where the method for the mobile phone to obtain operation conditions of the watch, the mobile phone, and the tablet computer in the power saving mode and obtain two first electronic devices responding to the incoming call and the video call and two first response instructions according to the operation conditions includes steps C11-C20, which are as follows:
c11: the mobile phone sends a third request to both the watch and the tablet computer, wherein the third request is used for indicating the watch and the tablet computer to feed back equipment information, function information and running information corresponding to a power saving mode;
c12: the watch receives a third request sent by the mobile phone, and sends device information, function information and running information corresponding to the power saving mode of the watch to the mobile phone; the tablet computer receives a third request sent by the mobile phone, and sends equipment information, function information and running information corresponding to the power saving mode of the tablet computer to the mobile phone;
c13: the mobile phone receives the device information, the function information and the operation information of the watch, the device information, the function information and the operation information of the tablet personal computer, and obtains the device information, the function information and the operation information corresponding to the power saving mode of the mobile phone.
C14: the mobile phone determines the device information, the function information and the operation information of the watch, the device information, the function information and the operation information of the tablet computer, and the device information, the function information and the operation information corresponding to the power saving mode of the mobile phone as the operation condition of the device cluster in the power saving mode.
C15: the mobile phone obtains a first call response model corresponding to the power saving mode according to the mapping relation between the contextual model and the call demand response model.
C16: the mobile phone inputs the incoming call, the video call and the running condition of the equipment cluster in the power saving mode into the first call demand response model.
C17: the mobile phone obtains the current remaining power and the power consumption rate of each of the watch, the mobile phone and the tablet computer, the extra power consumption rate of each of the at least one function, the power consumption rate of the incoming call and the power consumption rate of the video call according to the running condition.
C18: the mobile phone calls a first call demand response function in the first call demand response model.
C19: the mobile phone obtains a mobile phone response incoming call and a tablet computer response video call according to the current remaining power and the power consumption rate of each of the watch, the mobile phone and the tablet computer, the extra power consumption rate of each of the at least one function, the power consumption rate of the incoming call, the power consumption rate of the video call and the first call demand response function.
C20: the mobile phone generates a response instruction according to the incoming call and the mobile phone, and generates another response instruction according to the video call and the tablet computer.
As shown in fig. 4I, fig. 4I is a method for a cluster head device to obtain an operation condition of a device cluster in a first scenario mode and obtain at least one first electronic device and at least one first response instruction for responding to at least one call request according to the operation condition, where the device cluster includes V electronic devices, V is an integer greater than 1, and the method for the cluster head device to obtain the operation condition of the device cluster in the first scenario mode and obtain at least one first electronic device and at least one first response instruction for responding to at least one call request according to the operation condition includes steps D1-D11, which are specifically as follows:
d1: the cluster head device sends (V-1) fourth requests to (V-1) electronic devices except the cluster head device, wherein the (V-1) fourth requests correspond to the (V-1) electronic devices one by one, and the fourth requests are used for indicating the corresponding electronic devices to feed back device information and function information.
Step D1 is described above with reference to step C1 and will not be further described herein.
D2: and (V-1) electronic equipment receives the (V-1) fourth requests sent by the cluster head equipment, and sends (V-1) second equipment information and (V-1) second function information to the cluster head equipment, wherein the (V-1) second equipment information and the (V-1) second function information are in one-to-one correspondence with the (V-1) electronic equipment.
D3: and the cluster head equipment receives the (V-1) pieces of second equipment information and the (V-1) pieces of second function information and acquires the second equipment information and the second function information of the cluster head equipment.
D4: and the cluster head equipment acquires V pieces of second operation information corresponding to the first contextual model according to the mapping relation among the equipment information, the contextual model and the operation information, wherein the V pieces of second operation information correspond to the V pieces of second equipment information one by one.
Mapping relationships among the device information, the contextual model and the operation information are stored in the cluster head device in advance, and the mapping relationships among the device information, the contextual model and the operation information are shown in the following table 3:
TABLE 3
Figure GDA0003193982290000241
If the device information is device information 1 and the contextual model is the power saving model, the running information is running information 11; if the device information is device information 1 and the contextual model is the performance model, the running information is running information 12; if the device information is device information 2 and the profile is power saving mode, the running information is running information 21; if the device information is device information 2 and the profile is the performance profile, the operation information is operation information 22; if the device information is device information 3 and the profile is power saving mode, the running information is running information 31; if the device information is device information 3 and the profile is the performance mode, the operation information is operation information 32.
The second operation information is described in relation to step D1, and will not be described here.
D5: and the cluster head device determines the V pieces of second device information, the V pieces of second function information and the V pieces of second running information as the running condition of the device cluster in the first contextual model.
In some embodiments, the cluster head device includes V electronic devices, where V is an integer greater than 1, and the obtaining, by the cluster head device, the operating condition of the device cluster in the first contextual model includes:
the cluster head device receives (V-1) second device information and (V-1) second function information which are sent by (V-1) electronic devices, wherein the (V-1) second device information and the (V-1) second function information are respectively in one-to-one correspondence with the (V-1) electronic devices, and the device cluster comprises the cluster head device and the (V-1) electronic devices;
the cluster head equipment acquires second equipment information and second function information of the cluster head equipment;
the cluster head equipment acquires V pieces of second operation information corresponding to the first contextual model according to the mapping relation among the equipment information, the contextual model and the operation information, wherein the V pieces of second operation information correspond to the V pieces of second equipment information one by one;
and the cluster head device determines the V pieces of second device information, the V pieces of second function information and the V pieces of second running information as the running condition of the device cluster in the first contextual model.
In some embodiments, after the cluster head device obtains the device information, the function information, and the operation information corresponding to the first scenario mode of each electronic device in the device cluster, the cluster head device generates a state table according to the device information, the function information, and the operation information corresponding to the first scenario mode of each electronic device in the device cluster, or the cluster head device stores the device information, the function information, and the operation information corresponding to the first scenario mode of each electronic device in the device cluster to a preset storage location in the cluster head device, where the preset storage location may be specified by a user.
D6: and the cluster head equipment obtains a second call demand response model corresponding to the performance model according to the mapping relation between the contextual model and the call demand response model.
D7: the cluster head device inputs at least one call requirement and operating condition into the second call requirement response model.
D8: the cluster head equipment obtains the performance utility of each electronic equipment for starting each function in at least one function, the performance utility for starting an incoming call and the performance utility for starting a video call according to the operation condition.
D9: the cluster head device calls a second call demand response function in a second call demand response model.
The second call demand response function is stored in the second call demand response model in advance, and the second call demand response function is as follows:
Figure GDA0003193982290000251
Figure GDA0003193982290000252
i is a set formed by all electronic equipment included in the equipment cluster, I belongs to I as any one electronic equipment in the equipment cluster, the set of at least one calling requirement is S, S belongs to S as any one calling requirement in the at least one calling requirement,
Figure GDA0003193982290000253
Figure GDA0003193982290000254
indicating that the electronic device i is provided with the function s,
Figure GDA0003193982290000255
indicating that the electronic device i does not have the function s,
Figure GDA0003193982290000256
indicating the performance utility of the enabling function s of the electronic device i,
Figure GDA0003193982290000257
Figure GDA0003193982290000258
indicating that the electronic device i enables the function s,
Figure GDA0003193982290000259
indicating that the electronic device i does not enable the function s.
D10: the cluster head device obtains at least one first electronic device responding to at least one call requirement according to the performance utility of each function of each electronic device, the performance utility of the incoming call, the performance utility of the video call and a second call requirement response function.
D11: the cluster head device generates at least one first response instruction according to at least one call requirement and at least one first electronic device, and the at least one first response instruction is in one-to-one correspondence with the at least one call requirement and the at least one first electronic device respectively.
For example, as shown in fig. 4J, fig. 4J is a flowchart illustrating a method for a mobile phone to obtain operation conditions of a watch, a mobile phone, and a tablet computer in a performance mode and obtain two first electronic devices responding to an incoming call and a video call and two first response instructions according to the operation conditions, where the method for the mobile phone to obtain operation conditions of the watch, the mobile phone, and the tablet computer in the performance mode and obtain two first electronic devices responding to an incoming call and a video call and two first response instructions according to the operation conditions includes steps D12-D22, which are as follows:
d12: the mobile phone sends a fourth request to both the watch and the tablet computer, and the fourth request is used for indicating the watch and the tablet computer to feed back equipment information and function information;
d13: the watch receives a fourth request sent by the mobile phone and sends the equipment information and the function information of the watch to the mobile phone; the tablet computer receives a fourth request sent by the mobile phone and sends the equipment information and the function information of the tablet computer to the mobile phone;
d14: the mobile phone receives the device information and the function information of the watch, the device information and the function information of the tablet personal computer and obtains the device information and the function information of the mobile phone.
D15: the mobile phone obtains the running information of the watch, the running information of the mobile phone and the running information of the tablet computer corresponding to the performance mode according to the mapping relation of the equipment information, the contextual model and the running information;
d16: the mobile phone determines the equipment information, the function information and the operation information of the watch, the equipment information, the function information and the operation information of the tablet personal computer, and the equipment information, the function information and the operation information corresponding to the performance mode of the mobile phone as the operation condition of the equipment cluster in the performance mode.
D17: and the mobile phone obtains a second call response model corresponding to the performance mode according to the mapping relation between the contextual model and the call demand response model.
D18: and the mobile phone inputs the incoming call, the video call and the running condition of the equipment cluster in the performance mode into a second call demand response model.
D19: the mobile phone obtains a performance utility of enabling each of the at least one function, a performance utility of enabling an incoming call, and a performance utility of enabling a video call of each of the watch, the mobile phone, and the tablet computer according to the operation condition.
D20: the handset calls a second call demand response function in the second call demand response model.
D21: the mobile phone obtains a mobile phone response incoming call and a tablet computer response video call according to the performance utility of each of the watch, the mobile phone and the tablet computer for enabling each of the at least one function, the performance utility of enabling the incoming call, the performance utility of enabling the video call and a second call demand response function.
D22: the mobile phone generates a response instruction according to the incoming call and the mobile phone, and generates another response instruction according to the video call and the tablet computer.
In some embodiments, when a switching operation for a contextual model is detected, a cluster head device obtains a second contextual model corresponding to the switching operation;
and the cluster head equipment switches the scene mode from the first scene mode to the second scene mode.
The cluster head device may detect whether there is a switching operation for the contextual model in real time, or may periodically detect whether there is a switching operation for the contextual model.
It can be seen that, in this example, the user can switch the profile at any time, which is helpful to improve the convenience of switching the profile.
Referring to fig. 5, fig. 5 is a block diagram of functional units of a call demand response apparatus provided in an embodiment of the present application, and is applied to a cluster head device, where the call demand response apparatus 500 includes:
an obtaining unit 510, configured to obtain a first contextual model corresponding to a device cluster, where the device cluster includes a cluster head device;
an obtaining unit 510, configured to obtain an operation condition of the device cluster in the first contextual model;
an obtaining unit 510, configured to obtain, when at least one call requirement is detected, at least one first electronic device and at least one first response instruction that respond to the at least one call requirement according to an operation condition, where the at least one first electronic device and the at least one first response instruction are in one-to-one correspondence with the at least one call requirement;
a sending unit 520, configured to send a corresponding first response instruction to each of the at least one first electronic device.
In some possible embodiments, the cluster head device is user-specified; or the cluster head device is selected from the device cluster according to the communication capability, the data operation capability and the data storage capability of the electronic device.
In some possible embodiments, the cluster head device includes a display screen, and in terms of obtaining the first contextual model corresponding to the device cluster, the obtaining unit 510 is specifically configured to:
displaying a contextual model interface through a display screen, wherein the contextual model interface comprises first prompt information and a plurality of contextual models, and the first prompt information is used for indicating a user to select one contextual model from the plurality of contextual models as the contextual model of the equipment cluster;
when touch operation for the contextual model interface is detected, obtaining a contextual model corresponding to the touch operation;
and determining the contextual model corresponding to the touch operation as a first contextual model corresponding to the equipment cluster.
In some possible embodiments, in terms of obtaining the first contextual model corresponding to the device cluster, the obtaining unit 510 is specifically configured to:
acquiring a historical scene mode record, wherein the historical scene mode record comprises a mapping relation between a time period and a scene mode;
acquiring current time;
determining a target contextual model corresponding to the time period of the current time according to the mapping relation between the time period and the contextual model;
and determining the target contextual model as a first contextual model corresponding to the equipment cluster.
In some possible embodiments, the device cluster includes U electronic devices, U is an integer greater than 1, and in terms of obtaining the operating condition of the device cluster in the first contextual model, the obtaining unit 510 is specifically configured to:
sending (U-1) third requests to (U-1) electronic devices, wherein the (U-1) third requests correspond to the (U-1) electronic devices one by one, the third requests are used for indicating the corresponding electronic devices to feed back device information, function information and running information corresponding to the first contextual model, and the device cluster comprises cluster head devices and the (U-1) electronic devices;
receiving (U-1) first device information, (U-1) first function information and (U-1) first operation information which are sent by (U-1) electronic devices, wherein the (U-1) first device information, (U-1) first function information and the (U-1) first operation information are all in one-to-one correspondence with the (U-1) electronic devices;
acquiring first equipment information, first function information and first operation information corresponding to a first contextual model of cluster head equipment;
and determining the U pieces of first equipment information, the U pieces of first function information and the U pieces of first running information as the running condition of the equipment cluster in the first contextual model.
In some possible embodiments, the device cluster includes V electronic devices, where V is an integer greater than 1, and in terms of obtaining the operating condition of the device cluster in the first contextual model, the obtaining unit 510 is specifically configured to:
sending (V-1) fourth requests to (V-1) electronic devices, wherein the (V-1) fourth requests correspond to the (V-1) electronic devices one by one, the fourth requests are used for indicating the corresponding electronic devices to feed back device information and function information, and a device cluster comprises the (V-1) electronic devices and a cluster head device;
receiving (V-1) second device information and (V-1) second function information sent by (V-1) electronic devices, wherein the (V-1) second device information and the (V-1) second function information are in one-to-one correspondence with the (V-1) electronic devices;
acquiring second equipment information and second function information of cluster head equipment;
acquiring V pieces of second operation information corresponding to the first contextual model according to the pre-stored device information and the mapping relation between the contextual model and the operation information, wherein the V pieces of second operation information correspond to the V pieces of second device information one by one;
and determining the V pieces of second equipment information, the V pieces of second function information and the V pieces of second running information as the running conditions of the equipment cluster in the first contextual model.
In some possible embodiments, in terms of obtaining at least one first electronic device and at least one first response instruction for responding to at least one call requirement according to an operation condition, the obtaining unit 510 is specifically configured to:
obtaining a target call demand response model corresponding to the first contextual model according to the mapping relation between the contextual models and the call demand response model;
inputting at least one call requirement and operation condition into a target call requirement response model for processing, and outputting at least one first electronic device responding to the at least one call requirement;
at least one first response instruction is generated according to the at least one call requirement and the at least one first electronic device.
In some possible embodiments, the call demand response device further comprises a switching unit 530,
an obtaining unit 510, configured to detect, in real time or periodically, whether there is a switching operation for the contextual model; when switching operation aiming at the contextual model is detected, a second contextual model corresponding to the switching operation is obtained;
a switching unit 530, configured to switch the contextual model from the first contextual model to the second contextual model.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a call demand response apparatus according to an embodiment of the present application, where the call demand response apparatus 600 includes a memory 610, a communication interface 620, and a processor 630, which are coupled to each other; such as memory 610, communication interface 620, and processor 630, are coupled by bus 640.
The Memory 610 may include, but is not limited to, Random Access Memory (RAM), Erasable Programmable Read Only Memory (EPROM), Read-Only Memory (ROM), or portable Read-Only Memory (CD-ROM), etc., and the Memory 610 is used for related instructions and data.
The processor 630 may be one or more Central Processing Units (CPUs), and in the case that the processor 630 is one CPU, the CPU may be a single-core CPU or a multi-core CPU.
The processor 630 is configured to read the program code stored in the memory 610, and cooperate with the communication interface 620 to perform part or all of the steps of the method performed by the call request responding apparatus 600 in the above-described embodiment of the present application.
A processor 630, configured to obtain a first profile corresponding to a device cluster, where the device cluster includes a cluster head device;
a communication interface 620, configured to obtain an operating condition of the device cluster in the first contextual model;
the processor 630 is further configured to, when at least one call requirement is detected, obtain at least one first electronic device and at least one first response instruction for responding to the at least one call requirement according to an operation condition, where the at least one first electronic device and the at least one first response instruction are in one-to-one correspondence with the at least one call requirement;
the communication interface 620 is further configured to send its corresponding first response instruction to each of the at least one first electronic device.
In some possible embodiments, the cluster head device is user-specified; or the cluster head device is selected from the device cluster according to the communication capability, the data operation capability and the data storage capability of the electronic device.
In some possible embodiments, the cluster head device includes a display screen, and in terms of obtaining the first contextual model corresponding to the device cluster, the processor 630 is specifically configured to:
displaying a contextual model interface through a display screen, wherein the contextual model interface comprises first prompt information and a plurality of contextual models, and the first prompt information is used for indicating a user to select one contextual model from the plurality of contextual models as the contextual model of the equipment cluster;
when touch operation for the contextual model interface is detected, obtaining a contextual model corresponding to the touch operation;
and determining the contextual model corresponding to the touch operation as a first contextual model corresponding to the equipment cluster.
In some possible embodiments, in obtaining the first contextual model corresponding to the device cluster, the processor 630 is specifically configured to:
acquiring a historical scene mode record, wherein the historical scene mode record comprises a mapping relation between a time period and a scene mode;
acquiring current time;
determining a target contextual model corresponding to the time period of the current time according to the mapping relation between the time period and the contextual model;
and determining the target contextual model as a first contextual model corresponding to the equipment cluster.
In some possible embodiments, the device cluster includes U electronic devices, U is an integer greater than 1, and in terms of obtaining the operating condition of the device cluster in the first contextual model, the processor 630 is specifically configured to:
sending (U-1) third requests to (U-1) electronic devices, wherein the (U-1) third requests correspond to the (U-1) electronic devices one by one, the third requests are used for indicating the corresponding electronic devices to feed back device information, function information and running information corresponding to the first contextual model, and the device cluster comprises cluster head devices and the (U-1) electronic devices;
receiving (U-1) first device information, (U-1) first function information and (U-1) first operation information which are sent by (U-1) electronic devices, wherein the (U-1) first device information, (U-1) first function information and the (U-1) first operation information are all in one-to-one correspondence with the (U-1) electronic devices;
acquiring first equipment information, first function information and first operation information corresponding to a first contextual model of cluster head equipment;
and determining the U pieces of first equipment information, the U pieces of first function information and the U pieces of first running information as the running condition of the equipment cluster in the first contextual model.
In some possible embodiments, the device cluster includes V electronic devices, where V is an integer greater than 1, and in terms of obtaining the operating condition of the device cluster in the first contextual model, the processor 630 is specifically configured to:
sending (V-1) fourth requests to (V-1) electronic devices, wherein the (V-1) fourth requests correspond to the (V-1) electronic devices one by one, the fourth requests are used for indicating the corresponding electronic devices to feed back device information and function information, and a device cluster comprises the (V-1) electronic devices and a cluster head device;
receiving (V-1) second device information and (V-1) second function information sent by (V-1) electronic devices, wherein the (V-1) second device information and the (V-1) second function information are in one-to-one correspondence with the (V-1) electronic devices;
acquiring second equipment information and second function information of cluster head equipment;
acquiring V pieces of second operation information corresponding to the first contextual model according to the pre-stored device information and the mapping relation between the contextual model and the operation information, wherein the V pieces of second operation information correspond to the V pieces of second device information one by one;
and determining the V pieces of second equipment information, the V pieces of second function information and the V pieces of second running information as the running conditions of the equipment cluster in the first contextual model.
In some possible embodiments, in terms of obtaining at least one first electronic device and at least one first response instruction for responding to at least one call requirement according to an operation condition, the processor 630 is specifically configured to:
obtaining a target call demand response model corresponding to the first contextual model according to the mapping relation between the contextual models and the call demand response model;
inputting at least one call requirement and operation condition into a target call requirement response model for processing, and outputting at least one first electronic device responding to the at least one call requirement;
at least one first response instruction is generated according to the at least one call requirement and the at least one first electronic device.
In some possible embodiments, processor 630 is further configured to:
detecting whether a switching operation for the scene mode exists in real time or periodically;
when switching operation aiming at the contextual model is detected, a second contextual model corresponding to the switching operation is obtained;
and switching the scene mode from the first scene mode to the second scene mode.
Embodiments of the present application also provide a computer-readable storage medium storing computer instructions, where the computer program is executed by hardware (for example, a processor, etc.) to implement part or all of the steps of any one of the methods performed by the call demand response apparatus in the embodiments of the present application.
Embodiments of the present application also provide a computer program product, which when run on a computer or a processor, causes the computer or the processor to perform some or all of the steps of the call demand response method of the above aspects.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a chip system according to an embodiment of the present disclosure, where the chip system 700 may include: a processor 701, and one or more interfaces 702 coupled to the processor 701. The following are exemplary:
the processor 701 may be used to read and execute computer readable instructions. In particular implementations, the processor 701 may mainly include a controller, an operator, and a register. Illustratively, the controller is mainly responsible for instruction decoding and sending out control signals for operations corresponding to the instructions. The arithmetic unit is mainly responsible for executing fixed-point or floating-point arithmetic operation, shift operation, logic operation and the like, and can also execute address operation and conversion. The register is mainly responsible for storing register operands, intermediate operation results and the like temporarily stored in the instruction execution process. In a specific implementation, the hardware architecture of the processor 701 may be an Application Specific Integrated Circuit (ASIC) architecture, a microprocessor without interlocked pipeline stage architecture (MIPS) architecture, an advanced reduced instruction set machine (ARM) architecture, or an NP architecture. The processors 701 may be single core or multicore.
Illustratively, the interface 702 may be used to input data to be processed to the processor 701, and may output a processing result of the processor 701 to the outside. In a specific implementation, the interface 702 may be a general purpose input/output (GPIO) interface, and may be connected to a plurality of peripheral devices (e.g., a display (LCD), a camera (camara), a Radio Frequency (RF) module, etc.). The interface 702 is connected to the processor 701 via a bus 703.
In some embodiments, the processor 701 may be configured to call, from the memory, an implementation program or data of the call demand response method provided in one or more embodiments of the present application on the network device or the terminal device side, so that the chip may implement the call demand response method shown in fig. 4A. The memory may be integrated with the processor 701 or may be coupled to the system-on-chip 700 via the interface 702, i.e. the memory may be part of the system-on-chip 700 or may be separate from the system-on-chip 700. The interface 702 may be used to output the results of the execution by the processor 701. In this application, the interface 702 may be specifically configured to output the decoding result of the processor 701. For the method for responding to the call request provided by one or more embodiments of the present application, reference may be made to the foregoing embodiments, which are not described herein again.
In the above-described embodiments, all or part of the functions may be implemented by software, hardware, or a combination of software and hardware. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the embodiments of the present application are all or partially generated when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a Solid State Disk (SSD)), among others.
One of ordinary skill in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the above method embodiments. And the aforementioned storage medium includes: various media capable of storing program codes, such as ROM or RAM, magnetic or optical disks, etc.

Claims (19)

1. A call demand response method is applied to cluster head equipment and comprises the following steps:
obtaining a first contextual model corresponding to a device cluster, wherein the device cluster comprises a plurality of electronic devices, and the cluster head device is one of the plurality of electronic devices;
obtaining the running condition of the device cluster in the first contextual model, wherein the running condition of the device cluster in the first contextual model comprises device information, function information and running information corresponding to the first contextual model of each of the plurality of electronic devices;
when at least one call requirement is detected, at least one first electronic device and at least one first response instruction which respond to the at least one call requirement are obtained according to the operation condition, and the at least one first electronic device and the at least one first response instruction are in one-to-one correspondence with the at least one call requirement;
and sending a corresponding first response instruction to each first electronic device in the at least one first electronic device.
2. The method of claim 1, wherein the cluster head device is user-specified; or the cluster head equipment is selected from the equipment cluster according to the communication capacity, the data operation capacity and the data storage capacity of the electronic equipment.
3. The method according to claim 1, wherein the cluster head device includes a display screen, and the obtaining a first contextual model corresponding to the device cluster includes:
displaying a contextual model interface through the display screen, wherein the contextual model interface comprises first prompt information and a plurality of contextual models, and the first prompt information is used for instructing a user to select one contextual model from the plurality of contextual models as the contextual model of the equipment cluster;
when touch operation aiming at the contextual model interface is detected, obtaining a contextual model corresponding to the touch operation;
and determining the contextual model corresponding to the touch operation as a first contextual model corresponding to the equipment cluster.
4. The method of claim 1, wherein the obtaining the first contextual model corresponding to the device cluster comprises:
acquiring a historical scene mode record, wherein the historical scene mode record comprises a mapping relation between a time period and a scene mode;
acquiring current time;
determining a target contextual model corresponding to the time period of the current time according to the mapping relation between the time period and the contextual model;
and determining the target contextual model as a first contextual model corresponding to the equipment cluster.
5. The method according to claim 3 or 4, wherein the device cluster includes U electronic devices, U is an integer greater than 1, and the obtaining the operating condition of the device cluster in the first contextual model includes:
sending (U-1) third requests to (U-1) electronic devices, where the (U-1) third requests correspond to the (U-1) electronic devices one to one, the third requests are used to indicate the corresponding electronic devices to feed back device information, function information, and operation information corresponding to the first contextual model, and the device cluster includes the cluster head device and the (U-1) electronic devices;
receiving (U-1) first device information, (U-1) first function information and (U-1) first operation information sent by the (U-1) electronic devices, wherein the (U-1) first device information, the (U-1) first function information and the (U-1) first operation information are all in one-to-one correspondence with the (U-1) electronic devices;
acquiring first device information, first function information and first operation information corresponding to the first contextual model of the cluster head device;
and determining U pieces of first equipment information, U pieces of first function information and U pieces of first operation information as the operation condition of the equipment cluster in the first contextual model.
6. The method according to claim 3 or 4, wherein the device cluster includes V electronic devices, where V is an integer greater than 1, and the obtaining the operating condition of the device cluster in the first contextual model includes:
sending (V-1) fourth requests to (V-1) electronic devices, wherein the (V-1) fourth requests correspond to the (V-1) electronic devices one to one, the fourth requests are used for indicating the corresponding electronic devices to feed back device information and function information, and the device cluster comprises the (V-1) electronic devices and the cluster head device;
receiving (V-1) pieces of second device information and (V-1) pieces of second function information sent by the (V-1) pieces of electronic equipment, wherein the (V-1) pieces of second device information and the (V-1) pieces of second function information are in one-to-one correspondence with the (V-1) pieces of electronic equipment;
acquiring second device information and second function information of the cluster head device;
acquiring V pieces of second operation information corresponding to the first contextual model according to prestored device information, a mapping relation between the contextual model and the operation information, wherein the V pieces of second operation information correspond to the V pieces of second device information one by one;
and determining the V pieces of second device information, the V pieces of second function information and the V pieces of second operation information as the operation conditions of the device cluster in the first contextual model.
7. The method according to claim 3 or 4, wherein the obtaining of the at least one first electronic device and the at least one first response instruction for responding to the at least one call requirement according to the operation condition comprises:
obtaining a target call demand response model corresponding to the first contextual model according to the mapping relation between the contextual models and the call demand response model;
inputting the at least one call requirement and the operation condition into the target call requirement response model for processing, and outputting at least one first electronic device responding to the at least one call requirement;
generating at least one first response instruction according to the at least one call requirement and the at least one first electronic device.
8. The method of claim 7, further comprising:
detecting whether a switching operation for the scene mode exists in real time or periodically;
when switching operation aiming at the contextual model is detected, obtaining a second contextual model corresponding to the switching operation;
switching the contextual model from the first contextual model to the second contextual model.
9. A call demand response device, applied to a cluster head device, includes:
an obtaining unit, configured to obtain a first contextual model corresponding to a device cluster, where the device cluster includes a plurality of electronic devices, and the cluster head device is one of the plurality of electronic devices;
the obtaining unit is further configured to obtain an operation condition of the device cluster in the first contextual model, where the operation condition of the device cluster in the first contextual model includes device information and function information of each of the plurality of electronic devices and operation information corresponding to the first contextual model;
the obtaining unit is further configured to obtain, when at least one call requirement is detected, at least one first electronic device and at least one first response instruction that respond to the at least one call requirement according to the operating condition, where the at least one first electronic device and the at least one first response instruction are both in one-to-one correspondence with the at least one call requirement;
a sending unit, configured to send a corresponding first response instruction to each of the at least one first electronic device.
10. The apparatus of claim 9, wherein the cluster head device is user-specified; or the cluster head equipment is selected from the equipment cluster according to the communication capacity, the data operation capacity and the data storage capacity of the electronic equipment.
11. The apparatus according to claim 9, wherein the cluster head device includes a display screen, and in terms of obtaining the first contextual model corresponding to the device cluster, the obtaining unit is specifically configured to:
displaying a contextual model interface through the display screen, wherein the contextual model interface comprises first prompt information and a plurality of contextual models, and the first prompt information is used for instructing a user to select one contextual model from the plurality of contextual models as the contextual model of the equipment cluster;
when touch operation aiming at the contextual model interface is detected, obtaining a contextual model corresponding to the touch operation;
and determining the contextual model corresponding to the touch operation as a first contextual model corresponding to the equipment cluster.
12. The apparatus according to claim 9, wherein, in obtaining the first contextual model corresponding to the device cluster, the obtaining unit is specifically configured to:
acquiring a historical scene mode record, wherein the historical scene mode record comprises a mapping relation between a time period and a scene mode;
acquiring current time;
determining a target contextual model corresponding to the time period of the current time according to the mapping relation between the time period and the contextual model;
and determining the target contextual model as a first contextual model corresponding to the equipment cluster.
13. The apparatus according to claim 11 or 12, wherein the device cluster includes U electronic devices, where U is an integer greater than 1, and in terms of obtaining the operating condition of the device cluster in the first contextual model, the obtaining unit is specifically configured to:
sending (U-1) third requests to (U-1) electronic devices, where the (U-1) third requests correspond to the (U-1) electronic devices one to one, the third requests are used to indicate the corresponding electronic devices to feed back device information, function information, and operation information corresponding to the first contextual model, and the device cluster includes the cluster head device and the (U-1) electronic devices;
receiving (U-1) first device information, (U-1) first function information and (U-1) first operation information sent by the (U-1) electronic devices, wherein the (U-1) first device information, the (U-1) first function information and the (U-1) first operation information are all in one-to-one correspondence with the (U-1) electronic devices;
acquiring first device information, first function information and first operation information corresponding to the first contextual model of the cluster head device;
and determining U pieces of first equipment information, U pieces of first function information and U pieces of first operation information as the operation condition of the equipment cluster in the first contextual model.
14. The apparatus according to claim 11 or 12, wherein the device cluster includes V electronic devices, where V is an integer greater than 1, and in terms of obtaining the operating condition of the device cluster in the first contextual model, the obtaining unit is specifically configured to:
sending (V-1) fourth requests to (V-1) electronic devices, wherein the (V-1) fourth requests correspond to the (V-1) electronic devices one to one, the fourth requests are used for indicating the corresponding electronic devices to feed back device information and function information, and the device cluster comprises the (V-1) electronic devices and the cluster head device;
receiving (V-1) pieces of second device information and (V-1) pieces of second function information sent by the (V-1) pieces of electronic equipment, wherein the (V-1) pieces of second device information and the (V-1) pieces of second function information are in one-to-one correspondence with the (V-1) pieces of electronic equipment;
acquiring second device information and second function information of the cluster head device;
acquiring V pieces of second operation information corresponding to the first contextual model according to prestored device information, a mapping relation between the contextual model and the operation information, wherein the V pieces of second operation information correspond to the V pieces of second device information one by one;
and determining the V pieces of second device information, the V pieces of second function information and the V pieces of second operation information as the operation conditions of the device cluster in the first contextual model.
15. The apparatus according to claim 11 or 12, wherein, in obtaining at least one first electronic device and at least one first response instruction for responding to at least one call requirement according to the operating condition, the obtaining unit is specifically configured to:
obtaining a target call demand response model corresponding to the first contextual model according to the mapping relation between the contextual models and the call demand response model;
inputting the at least one call requirement and the operation condition into the target call requirement response model for processing, and outputting at least one first electronic device responding to the at least one call requirement;
generating at least one first response instruction according to the at least one call requirement and the at least one first electronic device.
16. The apparatus of claim 15, further comprising a switching unit,
the obtaining unit is further configured to detect whether there is a switching operation for the contextual model in real time or periodically; when switching operation aiming at the contextual model is detected, obtaining a second contextual model corresponding to the switching operation;
the switching unit is configured to switch the contextual model from the first contextual model to the second contextual model.
17. A call demand response apparatus, characterized in that the apparatus comprises a processor, a communication interface and a memory coupled to each other, wherein:
the processor is configured to obtain a first contextual model corresponding to a device cluster, where the device cluster includes a plurality of electronic devices, and a cluster head device is one of the plurality of electronic devices;
the communication interface is configured to obtain an operation condition of the device cluster in the first contextual model, where the operation condition of the device cluster in the first contextual model includes device information and function information of each of the plurality of electronic devices and operation information corresponding to the first contextual model;
the processor is further configured to obtain at least one first electronic device and at least one first response instruction for responding to at least one call requirement according to the operating condition when the at least one call requirement is detected, where the at least one first electronic device and the at least one first response instruction are in one-to-one correspondence with the at least one call requirement;
the communication interface is further configured to send a corresponding first response instruction to each of the at least one first electronic device.
18. A computer-readable storage medium, in which a computer program is stored, the computer program being executable by hardware to implement the method of any one of claims 1 to 8 as performed by the call demand response apparatus.
19. A chip system, wherein the chip system comprises a processor for supporting an electronic device to implement the method of any one of claims 1 to 8.
CN201911168219.1A 2019-11-25 2019-11-25 Call demand response method and device and electronic equipment Active CN111031492B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201911168219.1A CN111031492B (en) 2019-11-25 2019-11-25 Call demand response method and device and electronic equipment
PCT/CN2020/129736 WO2021104122A1 (en) 2019-11-25 2020-11-18 Method and apparatus for responding to call request, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911168219.1A CN111031492B (en) 2019-11-25 2019-11-25 Call demand response method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111031492A CN111031492A (en) 2020-04-17
CN111031492B true CN111031492B (en) 2021-11-19

Family

ID=70202054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911168219.1A Active CN111031492B (en) 2019-11-25 2019-11-25 Call demand response method and device and electronic equipment

Country Status (2)

Country Link
CN (1) CN111031492B (en)
WO (1) WO2021104122A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111031492B (en) * 2019-11-25 2021-11-19 荣耀终端有限公司 Call demand response method and device and electronic equipment
CN113820960A (en) * 2021-09-16 2021-12-21 珠海格力电器股份有限公司 Equipment resource sharing system, method and device, intelligent equipment and storage medium
CN117692481B (en) * 2024-02-04 2024-04-12 常熟理工学院 Remote monitoring system for chronic diseases

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580738A (en) * 2015-01-22 2015-04-29 小米科技有限责任公司 Method and device for setting information reminding modes
CN104754121A (en) * 2015-03-13 2015-07-01 百度在线网络技术(北京)有限公司 Event reminding method and device
CN106469040A (en) * 2015-08-19 2017-03-01 华为终端(东莞)有限公司 Communication means, server and equipment
CN109379503A (en) * 2018-12-24 2019-02-22 维沃移动通信有限公司 A kind of income prompting method and mobile terminal
CN110138968A (en) * 2019-04-30 2019-08-16 努比亚技术有限公司 A kind of incoming call reminding method, wearable device and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488525A (en) * 2012-06-08 2014-01-01 诺基亚公司 Determination of user preference relevant to scene
KR102193619B1 (en) * 2013-07-01 2020-12-21 삼성전자주식회사 Method for updating state information of application and mathod for managing the state information of application in an electronic device, and the electronic device
KR102086490B1 (en) * 2015-07-08 2020-04-20 콘비다 와이어리스, 엘엘씨 M2M clustering management
CN107295533B (en) * 2017-06-20 2020-06-30 海信集团有限公司 Method and device for electing cluster head node
CN109769225B (en) * 2019-03-05 2021-11-30 维沃移动通信有限公司 Vehicle-to-vehicle V2V communication method, network equipment and terminal
CN111031492B (en) * 2019-11-25 2021-11-19 荣耀终端有限公司 Call demand response method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580738A (en) * 2015-01-22 2015-04-29 小米科技有限责任公司 Method and device for setting information reminding modes
CN104754121A (en) * 2015-03-13 2015-07-01 百度在线网络技术(北京)有限公司 Event reminding method and device
CN106469040A (en) * 2015-08-19 2017-03-01 华为终端(东莞)有限公司 Communication means, server and equipment
CN109379503A (en) * 2018-12-24 2019-02-22 维沃移动通信有限公司 A kind of income prompting method and mobile terminal
CN110138968A (en) * 2019-04-30 2019-08-16 努比亚技术有限公司 A kind of incoming call reminding method, wearable device and storage medium

Also Published As

Publication number Publication date
CN111031492A (en) 2020-04-17
WO2021104122A1 (en) 2021-06-03

Similar Documents

Publication Publication Date Title
CN109814766B (en) Application display method and electronic equipment
CN113645351B (en) Application interface interaction method, electronic device and computer-readable storage medium
CN111628916B (en) Method for cooperation of intelligent sound box and electronic equipment
CN111602108B (en) Application icon display method and terminal
CN115016869B (en) Frame rate adjusting method, terminal equipment and frame rate adjusting system
CN112119641B (en) Method and device for realizing automatic translation through multiple TWS (time and frequency) earphones connected in forwarding mode
CN113961157B (en) Display interaction system, display method and equipment
WO2021104122A1 (en) Method and apparatus for responding to call request, and electronic device
CN114995715B (en) Control method of floating ball and related device
CN113973398A (en) Wireless network connection method, electronic equipment and chip system
CN115333941A (en) Method for acquiring application running condition and related equipment
CN113438366A (en) Information notification interaction method, electronic device and storage medium
WO2022242412A1 (en) Method for killing application, and related device
CN113923372B (en) Exposure adjusting method and related equipment
CN113380240B (en) Voice interaction method and electronic equipment
WO2022007757A1 (en) Cross-device voiceprint registration method, electronic device and storage medium
CN114079642B (en) Mail processing method and electronic equipment
CN111982037B (en) Height measuring method and electronic equipment
CN114827098A (en) Method and device for close shooting, electronic equipment and readable storage medium
CN116048831B (en) Target signal processing method and electronic equipment
WO2024114212A1 (en) Cross-device focus switching method, electronic device and system
CN113973152A (en) Unread message quick reply method and electronic equipment
CN115906033A (en) Voiceprint authentication response method and system and electronic equipment
CN115792431A (en) Abnormal position detection method and electronic equipment
CN115857964A (en) Application program installation method and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210423

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Applicant after: Honor Device Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Applicant before: HUAWEI TECHNOLOGIES Co.,Ltd.

GR01 Patent grant
GR01 Patent grant