CN117119097A - Method, equipment and storage medium for incoming call resonance - Google Patents
Method, equipment and storage medium for incoming call resonance Download PDFInfo
- Publication number
- CN117119097A CN117119097A CN202310107378.0A CN202310107378A CN117119097A CN 117119097 A CN117119097 A CN 117119097A CN 202310107378 A CN202310107378 A CN 202310107378A CN 117119097 A CN117119097 A CN 117119097A
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- target electronic
- incoming call
- wake
- electronic device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 230000004044 response Effects 0.000 claims abstract description 55
- 238000004590 computer program Methods 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 40
- 230000006854 communication Effects 0.000 description 40
- 230000006855 networking Effects 0.000 description 37
- 230000005540 biological transmission Effects 0.000 description 30
- 238000010586 diagram Methods 0.000 description 24
- 239000010410 layer Substances 0.000 description 18
- 230000006870 function Effects 0.000 description 15
- 238000010295 mobile communication Methods 0.000 description 12
- 230000008569 process Effects 0.000 description 12
- 238000012545 processing Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 11
- 230000000694 effects Effects 0.000 description 8
- 230000008901 benefit Effects 0.000 description 6
- 238000007726 management method Methods 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 6
- 230000003993 interaction Effects 0.000 description 4
- 230000000977 initiatory effect Effects 0.000 description 3
- 238000009774 resonance method Methods 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 230000003416 augmentation Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000002618 waking effect Effects 0.000 description 2
- 230000007175 bidirectional communication Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 230000004807 localization Effects 0.000 description 1
- 230000001537 neural effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/57—Arrangements for indicating or recording the number of the calling subscriber at the called subscriber's set
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the application provides a method, equipment and a storage medium for incoming call resonance, wherein incoming call electronic equipment responds to incoming call information and sends a wake-up instruction to target electronic equipment through cloud equipment, and the target electronic equipment and the incoming call electronic equipment are in the same super terminal service; establishing a far-field channel with the target electronic equipment according to a wake-up response returned by the target electronic equipment, wherein the wake-up response corresponds to the wake-up instruction; and sending the incoming call information to the target electronic equipment through the far-field channel so as to enable the target electronic equipment and the incoming call electronic equipment to generate incoming call resonance. Therefore, under the condition that the connection resources of the near-field channel are limited, connection is established between the incoming call electronic equipment and the target electronic equipment through the far-field channel, so that the target electronic equipment and the incoming call electronic equipment generate incoming call resonance, the number of the electronic equipment with the incoming call resonance is increased, and the success rate of the incoming call resonance is improved.
Description
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a method, an apparatus, and a storage medium for electric resonance.
Background
The super terminal service can connect various electronic devices through a simple and quick mode, so that the requirement of multi-device cooperative work in daily work and life of people is met. The method can automatically discover devices which are logged in the same account nearby to form the super terminal, and a user can control a plurality of systems on the same electronic device at the same time without individual operation, so that the working efficiency is effectively improved.
In the prior art, each electronic device forming the super terminal is connected through a near field channel, and when one of the electronic devices is powered on, the electronic devices successfully connected through the near field channel can resonate at the same time. However, due to the limited connection resources of the near field channel, in the case of a large number of electronic devices, it is impossible to enable all electronic devices to maintain an effective connection through the near field channel.
Due to the limitation of connection resources of the near-field channel, when one electronic device in the super terminal is powered on, the number of electronic devices capable of resonating at the same time is small, and the success rate of the power on resonance is low.
Disclosure of Invention
The method, the device and the storage medium for incoming call resonance solve the problem that the success rate of the incoming call resonance of the electronic device is low in a super terminal service scene.
In order to achieve the above purpose, the application adopts the following technical scheme:
first aspect: the application provides a method for incoming call resonance, which is executed by an incoming call electronic device, wherein the incoming call electronic device responds to incoming call information and sends a wake-up instruction to a target electronic device through a cloud device, and the target electronic device and the incoming call electronic device are in the same super terminal service; according to a wake-up response returned by the target electronic equipment, the incoming electronic equipment establishes a far-field channel with the target electronic equipment, wherein the wake-up response corresponds to a wake-up instruction; the incoming electronic device can send incoming information to the target electronic device through the far-field channel so that the target electronic device and the incoming electronic device generate incoming resonance.
Therefore, when the incoming electronic equipment receives the incoming information, the incoming electronic equipment sends a wake-up instruction to the target electronic equipment through the cloud equipment, and the target electronic equipment receives the wake-up instruction and returns a wake-up response to the incoming electronic equipment. After the electronic equipment of the incoming call receives the wake-up response, a far-field channel can be established with the target electronic equipment, and after the far-field channel is established successfully, the electronic equipment of the incoming call can send incoming call information to the target electronic equipment through the far-field channel. Furthermore, the method provided by the application can wake up the target electronic equipment in a far-field channel mode, can establish connection between the incoming electronic equipment and the target electronic equipment through the far-field channel under the condition that the connection resources of the near-field channel are limited, and can send the information from the incoming electronic equipment to the target electronic equipment in a far-field channel establishment mode, so that the target electronic equipment and the incoming electronic equipment generate incoming resonance, the number of the electronic equipment with the incoming resonance is increased, and the success rate of the incoming resonance is improved.
In one possible implementation manner, in response to the incoming call information, sending, by the cloud device, a wake-up instruction to the target electronic device, including: responding to the incoming call information, and generating a wake-up instruction according to the device information of the electronic device of the incoming call, the device information of the target electronic device and the wake-up request; the wake-up request is used for requesting to wake up the target electronic equipment; and sending a wake-up instruction to the target electronic equipment through the cloud equipment.
The wake-up instruction is generated according to the equipment information of the electronic equipment of the incoming call, the equipment information of the target electronic equipment and the wake-up request, and then the wake-up instruction is sent to the target electronic equipment through the cloud equipment, so that the target electronic equipment can acquire the equipment information of the electronic equipment of the incoming call, analyze whether the equipment is the target electronic equipment which needs to be awakened, and further judge whether to return a wake-up response to the electronic equipment of the incoming call.
In one possible implementation manner, when the connection between the cloud device and the target electronic device is disconnected, sending, by the cloud device, a wake-up instruction to the target electronic device, including: and responding to the query request of the target electronic equipment, and sending a wake-up instruction to the target electronic equipment through the cloud equipment. Therefore, when the connection between the cloud end equipment and the target electronic equipment is disconnected, the wake-up instruction can be sent to the target electronic equipment.
In one possible implementation manner, according to a wake-up response returned by the target electronic device, a far-field channel is established with the target electronic device, including: according to the wake-up response returned by the target electronic equipment, performing far-field channel negotiation and session negotiation with the target electronic equipment; and when the far-field channel negotiation and the session negotiation are successful, establishing a far-field channel with the target electronic equipment. Therefore, the incoming call information is conveniently sent to the target electronic equipment through the far-field channel, so that the target electronic equipment and the incoming call electronic equipment generate incoming call resonance.
In one possible implementation, the wake-up reply includes: a reply message and device information of the target electronic device.
In one possible implementation manner, in response to the incoming call information, sending, by the cloud device, a wake-up instruction to the target electronic device, including: if the occupied number of the near field channels of the electronic equipment for incoming calls is smaller than or equal to the preset occupied number, a wake-up instruction is sent to the target electronic equipment through the cloud equipment in response to the incoming call information.
Therefore, under the condition that the connection resources of the near-field channel are limited, connection can be established between the incoming electronic equipment and the target electronic equipment through the far-field channel, and the far-field channel is established, so that the incoming electronic equipment is transmitted to the target electronic equipment, resonance of the target electronic equipment is realized, the number of the electronic equipment with the incoming resonance is increased, and the success rate of the incoming resonance is improved.
In one possible implementation, the method further includes: responding to the answer or hang-up instruction, and sending a closing instruction to the target electronic equipment, wherein the closing instruction comprises a closing request message and equipment information of the target electronic equipment to be closed; and according to the closing instruction, disconnecting the far-field channel with the target electronic equipment. Therefore, at one end of the electronic equipment of the incoming call, the incoming call resonance between the target electronic equipment and the electronic equipment of the incoming call can be ended by answering or hanging up the incoming call.
In one possible implementation, the method further includes: and when a closing instruction is sent to the target electronic equipment, reducing the connection reference number, wherein the connection reference number represents the number of the target electronic equipment connected with the electronic equipment of the incoming call.
In one possible implementation, the method further includes: when the connection reference number is 0, the connection with the cloud device is disconnected.
Second aspect: the present application provides a computer device comprising a processor and a memory: the memory is used for storing program codes and transmitting the program codes to the processor; the processor is configured to perform the steps of a method of electrical resonance as described above according to instructions in the program code.
Third aspect: the present application provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of a method of incoming resonance as described above.
It should be appreciated that the description of technical features, aspects, benefits or similar language in the present application does not imply that all of the features and advantages may be realized with any single embodiment. Conversely, it should be understood that the description of features or advantages is intended to include, in at least one embodiment, the particular features, aspects, or advantages. Therefore, the description of technical features, technical solutions or advantageous effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and advantageous effects described in the present embodiment may also be combined in any appropriate manner. Those of skill in the art will appreciate that an embodiment may be implemented without one or more particular features, aspects, or benefits of a particular embodiment. In other embodiments, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments.
Drawings
Fig. 1 is a schematic diagram of a scenario of an incoming call resonance according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an embodiment of the present application for achieving electric resonance through a far field channel;
fig. 3 is a schematic diagram of sending a wake-up instruction to a plurality of electronic devices according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a diagram illustrating a software structure of an electronic device according to an embodiment of the present application;
FIG. 6 is a schematic diagram of an incoming call resonance according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an embodiment of a wake-up initiation instruction;
fig. 8 is a schematic diagram of forwarding a wake-up instruction through a cloud device according to an embodiment of the present application;
FIG. 9 is a schematic diagram of a wake-up instruction according to an embodiment of the present application;
fig. 10 is a schematic diagram of ending an incoming call resonance according to an embodiment of the present application.
Detailed Description
The terms first, second, third and the like in the description and in the claims and in the drawings are used for distinguishing between different objects and not for limiting the specified order.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
For clarity and conciseness in the description of the following embodiments, a brief description of the related art will be given first:
the super terminal service can cooperate with a plurality of electronic devices such as a mobile phone, a tablet and the like by one key, and realize the cooperation office experience of multiple devices and multiple tasks. The electronic equipment for starting the super terminal service can automatically find out the electronic equipment which logs in the same account nearby and forms the super terminal with the electronic equipment, so that a user can control a plurality of systems on the same electronic equipment at the same time without individual operation, and the working efficiency is effectively improved.
In the super terminal service scene, when one electronic device receives incoming call information, other electronic devices connected with the electronic device through the super terminal service vibrate simultaneously, so that the effect of multi-device incoming call resonance is achieved. By means of the super terminal service, electronic equipment such as a mobile phone, a watch, a tablet computer and a vehicle-mounted display screen can be connected together, when the mobile phone receives incoming call information, the mobile phone can vibrate, and the electronic equipment such as the watch, the tablet computer, the vehicle-mounted display screen and the like connected with the mobile phone can vibrate at the same time, so that when the mobile phone is in a call, even if the mobile phone is not in the side of the user, the incoming call information can be acquired through other electronic equipment, and missed calls are avoided.
The technology of communication through near field channel, also called near field wireless communication technology, is a short-distance high-frequency wireless communication technology. Currently common near field communication technologies include mobile hotspot (Wifi), bluetooth (Bluetooth), and near field communication technology (NFC).
The technology of communication through a far-field channel generally refers to a technology of realizing information transmission between electronic devices through cloud devices such as network clouds.
At present, in the prior art, each electronic device forming a super terminal is connected through a near-field channel, and when one of the electronic devices is powered on, the electronic devices successfully connected through the near-field channel can vibrate at the same time. However, since the connection resources of the near-field channel are limited, an exemplary mobile phone may connect 8 bluetooth devices, but in order to support other services at the same time, for example, connect a bluetooth headset, a sound box, etc., only 3 bluetooth resources may be allocated to the super terminal service scenario, and each electronic device in the super terminal service scenario may implement incoming call resonance under the condition that the connection through bluetooth is successful. Furthermore, due to the limitation of connection resources of a near-field channel such as bluetooth, when one electronic device in the super terminal is powered on, the number of electronic devices capable of resonating at the same time is small, and the success rate of the power on resonance is low.
Based on the above, according to the incoming call resonance method provided by the application, when a certain electronic device receives incoming call information, the electronic device sends a wake-up instruction to a target electronic device through the cloud device, and the target electronic device receives the wake-up instruction and returns a wake-up response to the electronic device receiving the incoming call information, namely, returns the wake-up response to the electronic device receiving the incoming call information. After the electronic equipment of the incoming call receives the wake-up response, a far-field channel can be established with the target electronic equipment, and after the far-field channel is established successfully, the electronic equipment of the incoming call can send incoming call information to the target electronic equipment through the far-field channel. Therefore, the method provided by the application can wake up the electronic equipment which is not successfully connected with the near-field channel but is available with the far-field channel in a far-field channel mode under the condition that the connection of the near-field channel fails. Under the condition that the connection resources of the near-field channel are limited, connection is established between the incoming call electronic equipment and the target electronic equipment through the far-field channel, and the incoming call electronic equipment is sent to the target electronic equipment by establishing the far-field channel, so that the resonance of the target electronic equipment is realized, the number of the electronic equipment with the incoming call resonance is increased, and the success rate of the incoming call resonance is improved.
In addition, in the method provided by the application, under the condition that the incoming electronic equipment and the target electronic equipment can be connected through the near-field channel, the target electronic equipment can be awakened through the far-field channel, so that the incoming electronic equipment and the target electronic equipment can carry out information transmission through the far-field channel, the resonance of the target electronic equipment is realized, and the success rate of the incoming resonance is improved.
The application is further described below with reference to the accompanying drawings.
The embodiment of the application is suitable for the super terminal service scene, and when one electronic device in the super terminal service scene is in call, other electronic devices connected with the electronic device through the super terminal function can vibrate simultaneously, so that the effect of multi-device resonance is achieved. Fig. 1 is a schematic diagram of a scenario of an incoming call resonance according to an embodiment of the present application, in which a plurality of different electronic devices are shown, and the following description uses different serial numbers to distinguish the electronic devices. As shown in fig. 1, electronic device 1102, electronic device 1103, electronic device 1104, electronic device 1105, and electronic device 1106 are in the same super terminal business scenario as electronic device 1101, and can be connected to each other through far-field channels. Wherein electronic device 1103 and electronic device 1106 are in an off-screen state, and electronic device 1102, electronic device 1104, and electronic device 1105 are in an on-screen state. When the electronic device 1101 is powered on, the electronic device 1101 vibrates to alert the user of the incoming call information, and at this time, the electronic device 1102, the electronic device 1103, the electronic device 1104, the electronic device 1105 and the electronic device 1106 connected to the electronic device 1101 through the far-field channel can all perform incoming call resonance. Further, since the electronic device in the off-screen state may be regarded as an electronic device not used by the current user, and the electronic device in the on-screen state may be an electronic device being used by the current user, in order to save communication resources, in the case of an incoming call of the electronic device 1101, the embodiment of the present application may enable the on-screen electronic device 1102, the electronic device 1104, and the electronic device 1105 to resonate, while the electronic device 1103 and the electronic device 1106 in the off-screen state do not participate in the incoming call resonance. Therefore, the success rate of the incoming call resonance can be improved, and the communication resources can be saved.
In the present application, the electronic device may be a device such as a mobile phone, a tablet computer, a desktop, a laptop, a notebook, an Ultra mobile personal computer (Ultra-mobile Personal Computer, UMPC), a handheld computer, a netbook, a personal digital assistant (Personal Digital Assistant, PDA), a wearable electronic device, or a smart watch, and the specific form of the electronic device is not particularly limited.
In the embodiment of the application, when one electronic device in the super terminal service scene is in an incoming call, the electronic device can call the electronic device which is not successfully connected but available in the far field channel mode, so that the effect of incoming call resonance is achieved.
When the electronic device generates the incoming call service, the electronic device is an incoming call electronic device, which can communicate with the target electronic device to cooperatively execute the incoming call resonance method provided by the embodiment of the application, wherein the target electronic device and the incoming call electronic device are in the same super terminal service. The number of target electronic devices may be one or more. When the incoming call service is generated, the incoming call electronic equipment receives incoming call information, and when the near field channel between the incoming call electronic equipment and the target electronic equipment is judged to be unconnected, the target electronic equipment is awakened through the far field channel. And after receiving a wake-up instruction sent by the electronic equipment of the incoming call, the target electronic equipment resumes far-field channel connection with the electronic equipment of the incoming call and performs wake-up response. And after the electronic equipment of the incoming call receives the wake-up response of the target electronic equipment, the electronic equipment establishes far-field channel connection with the target electronic equipment. After the far-field channel is established successfully, the incoming call electronic equipment can send incoming call information to the target electronic equipment, so that incoming call resonance of the target electronic equipment is realized.
Application scene:
in the super terminal service scenario, a mobile phone is taken as an electronic device for incoming call, and a tablet computer is taken as a target electronic device connected with the mobile phone through super terminal service for illustration.
When the mobile phone and the tablet personal computer are both in the networking and online states, and the equipment is in the online state, when the mobile phone calls, a call module of the mobile phone can initiate a call sharing instruction to the call sharing module, and the call sharing module calls an interface of the transmission module to create a session (openSession). When the call sharing module invokes the interface of the transmission module, the transmission module judges whether a near-field channel of the mobile phone is free or not according to a session policy, and whether the near-field channel can be connected with the tablet personal computer or not. If the near field channel can be connected, establishing connection with the tablet personal computer through the near field channel; and if the near-field channel is not connectable, waking up the far-field channels of the mobile phone and the tablet personal computer at the opposite end.
Specifically, the process of waking up far-field channels of the mobile phone and the tablet personal computer at the opposite end mainly comprises the process of initiating a wake-up instruction from the mobile phone and receiving a wake-up response of the tablet personal computer by the mobile phone. In the interaction process of the mobile phone and the tablet personal computer, the tablet personal computer needs to analyze the wake-up instruction after receiving the wake-up instruction, so as to judge whether the object to be waken contains the device or not, and if the object to be waken pointed by the wake-up instruction sent by the mobile phone does not contain the tablet personal computer, the tablet personal computer can ignore the wake-up instruction; if the object to be awakened pointed by the awakening instruction sent by the mobile phone contains the tablet personal computer, the tablet personal computer needs to be connected again and returns an awakening response.
And after receiving the wake-up response of the tablet personal computer, the mobile phone establishes far-field channel connection with the tablet personal computer. In the process of establishing far-field channel connection, far-field channel negotiation (channel negotiation) and session negotiation are required, and the successful establishment of the far-field channel indicates that connection between the mobile phone and the tablet computer can be performed.
After the conversation is successfully established between the mobile phone and the tablet computer, the mobile phone can send the information to the tablet computer after the conversation sharing module of the mobile phone receives a message that the conversation is successfully established (onSessionOpened), so that the resonance display of the tablet computer is realized.
After the tablet personal computer performs incoming call resonance, after a user selects to answer or hang up incoming call information through the mobile phone, the established far-field channel between the mobile phone and the tablet personal computer can be automatically disconnected, and at the moment, the tablet personal computer stops the incoming call resonance.
Exemplary, as shown in fig. 2, the diagram is a schematic diagram of implementing incoming call resonance through a far-field channel according to an embodiment of the present application, where electronic device 0 is an incoming call electronic device, and electronic device 1 is a target electronic device. When the electronic device 0 receives the incoming call information, the electronic device 0 sends a wake-up instruction to the electronic device 1 through the cloud device, and establishes far-field channel connection with the electronic device 1 after receiving a wake-up response returned by the electronic device 1. After the electronic device 0 and the electronic device 1 complete the establishment of the far-field channel, the electronic device 0 can send the information to the electronic device 1 through the cloud device, so that the electronic device 1 and the electronic device 0 generate electric resonance.
Further, in the method provided by the embodiment of the application, the electronic equipment of the incoming call can send the wake-up instruction to a plurality of electronic equipment at the same time, wherein the target electronic equipment can select whether to establish far-field channel connection with the electronic equipment of the incoming call, and the plurality of electronic equipment and the electronic equipment of the incoming call are in the same super terminal service scene. As shown in fig. 3, the diagram is a schematic diagram of sending a wake-up instruction to a plurality of electronic devices according to an embodiment of the present application, and it should be noted that, in the diagram, the electronic device 1, the electronic device 2, the electronic device 3 and the electronic device 0 are different electronic devices, and for convenience of the following description, different serial numbers are used to distinguish the electronic devices.
Specifically, in the figure, the electronic device 0 is an electronic device for incoming call, the electronic device 1, the electronic device 2, the electronic device 3 and the electronic device 0 are in the same super terminal service scene, wherein the electronic device 1 and the electronic device 3 are target electronic devices, and the electronic device 2 is a non-target electronic device, that is, the wake-up instruction contains the device information of the electronic device 1 and the electronic device 3, but does not contain the device information of the electronic device 2. After the electronic device 1 receives the incoming call information, a wake-up instruction is sent to the electronic device 1, the electronic device 2 and the electronic device 3 through the cloud device, wherein the electronic device 1 and the electronic device 3 serve as electronic devices needing to be woken up, namely target electronic devices, whether far-field channel connection is established with the electronic devices of the incoming call or not can be selected, and the electronic device 2 of the non-target electronic devices directly ignores the wake-up instruction after receiving the wake-up instruction.
For example, after the electronic device 1 and the electronic device 3 receive the wake-up instruction sent by the electronic device 0, a dialog box about whether to agree to establish a far-field channel connection with the electronic device 0 appears on the interface, and the user may select "yes" to establish a far-field channel connection with the electronic device 0; or alternatively "no far field channel connection is not established with electronic device 0. As shown in fig. 3, in the electronic device 1, if yes, the electronic device 1 sends a wake-up response through the cloud device to establish far-field channel connection with the electronic device 0; if "no" is selected in the electronic device 3, the electronic device 3 ignores the wake-up instruction sent by the electronic device 0, and does not establish far-field channel connection with the electronic device 0. The electronic device 2 is in the same super terminal service as the electronic device 0, but is not a target electronic device, that is, is not an electronic device to be awakened, the awakening instruction does not include device information of the electronic device 2, and after receiving the awakening instruction sent by the electronic device 0, the electronic device 2 can automatically ignore the awakening instruction and does not return an awakening response.
In some embodiments, in this embodiment, the structures of the electronic device for incoming call and the target electronic device may be as shown in fig. 4, and fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
As shown in fig. 4, the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 140, a wireless communication module 150, an audio module 160, a sensor module 170, keys 180, a motor 191, an indicator 192, a display 193, a subscriber identity module (subscriber identification module, SIM) card interface 194, and the like.
It is to be understood that the configuration illustrated in this embodiment does not constitute a specific limitation on the electronic apparatus. In other embodiments, the electronic device may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. For example, in the present application, the processor 110 may send a wake-up instruction to the target electronic device through the cloud device in response to the incoming call information; establishing a far-field channel with the target electronic equipment according to the wake-up response returned by the target electronic equipment; after the far-field channel is established successfully, the incoming call information is sent to the target electronic equipment through the far-field channel, so that the target electronic equipment and the incoming call electronic equipment generate incoming call resonance.
The controller can be a neural center and a command center of the electronic device. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the 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 the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 160 via an I2S bus to enable communication between the processor 110 and the audio module 160. In some embodiments, the audio module 160 may transmit an audio signal to the wireless communication module 150 through the I2S interface, to implement a function of answering a call through a bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 160 and the wireless communication module 150 may be coupled by a PCM bus interface. In some embodiments, the audio module 160 may also transmit audio signals to the wireless communication module 150 through the PCM interface to implement a function of answering a call through the 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 for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 150. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 150 through a UART interface to implement a bluetooth function.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as the display 193. Processor 110 and display 193 communicate via a DSI interface to implement the caller identification functionality of the electronic device.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the display 193, the wireless communication module 150, the audio module 160, the sensor module 170, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
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 an electronic device, or may be used to transfer data between the electronic device and a peripheral device.
It should be understood that the connection relationship between the modules illustrated in this embodiment is only illustrative, and does not limit the structure of the electronic device. In other embodiments of the present application, the electronic device may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 140, the wireless communication module 150, 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 the electronic device may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into 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 140 may provide a solution for wireless communication including 2G/3G/4G/5G, etc. applied on an electronic device. The mobile communication module 140 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 140 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 140 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 140 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 140 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 the 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 transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to a speaker, a receiver, etc.), or displays images or video through the display screen 193. 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 140 or other functional module, independent of the processor 110.
The wireless communication module 150 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc. for application on an electronic device. The wireless communication module 150 may be one or more devices that integrate at least one communication processing module. The wireless communication module 150 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 150 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2.
In some embodiments, the antenna 1 and the mobile communication module 140 of the electronic device are coupled, and the antenna 2 and the wireless communication module 150 are coupled, so that the electronic device can communicate with the network and other devices through wireless communication technology. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The display 193 is used to display images, video, etc., and may display a series of graphical user interfaces (graphical user interface, GUIs), which are all the home screens of the electronic device. Generally, the size of the display 193 of an electronic device is fixed and only limited controls can be displayed in the display 193 of the electronic device. A control is a GUI element that is a software component contained within an application program that controls all data processed by the application program and interactive operations on that data, and a user can interact with the control by direct manipulation (direct manipulation) to read or edit information about the application program. In general, controls may include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, and the like.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, and so on.
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 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including 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 storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device (e.g., audio data, phonebook, etc.), and so forth. 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 (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device may implement audio functionality through the audio module 160, an application processor, and the like. Such as answering incoming call information, etc.
The audio module 160 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 160 may also be used to encode and decode audio signals. In some embodiments, the audio module 160 may be disposed in the processor 110, or some functional modules of the audio module 160 may be disposed in the processor 110.
The keys 180 include a power on key, a volume key, etc. The keys 180 may be mechanical keys. Or may be a touch key. The electronic device may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touch operations applied to different areas of the display screen 193.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 194 is used to connect to a SIM card. The SIM card may be inserted into the SIM card interface 194, or removed from the SIM card interface 194 to effect contact and separation with the electronic device. The electronic device may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 194 may support a Nano SIM card, micro SIM card, etc. The same SIM card interface 194 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 194 may also be compatible with different types of SIM cards. The SIM card interface 194 may also be compatible with external memory cards. The electronic equipment interacts with the network through the SIM card, so that the functions of communication, data communication and the like are realized. 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.
In addition, an operating system is run on the components. Such as the iOS operating system developed by apple corporation, the Android open source operating system developed by google corporation, the Windows operating system developed by microsoft corporation, etc. An operating application may be installed on the operating system.
The operating system of the electronic device may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the application, an Android system with a layered architecture is taken as an example, and the software structure of the electronic equipment is illustrated.
Fig. 5 is a diagram illustrating 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 with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages. As shown in fig. 5, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 5, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, 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, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is for providing communication functions of the electronic device. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, 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, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
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.
Although the Android system is taken as an example for explanation, the basic principle of the embodiment of the application is also applicable to electronic devices based on iOS, windows and other operating systems.
The following describes in detail an incoming call resonance method provided by the embodiment of the present application in conjunction with the above-mentioned terms and a schematic diagram of an incoming call resonance provided by the embodiment of the present application shown in fig. 6. According to the application, under the condition that the connection of the near-field channel fails, the electronic equipment which is not successfully connected but available in the far-field channel can be awakened in a far-field channel mode. Therefore, under the condition that the connection resources of the near-field channel are limited, the incoming call electronic equipment and the target electronic equipment are connected through the far-field channel, and the far-field channel is established, so that the information is sent to the target electronic equipment, the resonance of the target electronic equipment is realized, the number of the electronic equipment with the incoming call resonance is increased, and the success rate of the incoming call resonance is improved.
In order to realize incoming call resonance through a far-field channel, the far-field channel needs to be established between an incoming call electronic device and a target electronic device, the establishment of the far-field channel mainly involves the following steps, the incoming call electronic device needs to restore far-field channel connection with the target electronic device, the incoming call electronic device establishes a session with the target electronic device, and after the session is successfully established, service interaction can be realized between the incoming call electronic device and the target electronic device. It should be noted that, when the incoming electronic device and the target electronic device are connected through the far-field channel for the first time, the far-field channel is established between the incoming electronic device and the target electronic device, and after the far-field channel is successfully established, the incoming electronic device and the target electronic device can establish a session to realize service interaction. In the super terminal service scene, the embodiment of the application is described by taking the electronic equipment with the mobile phone as the incoming call as an example.
When the incoming electronic equipment and the target electronic equipment cannot be connected through the near-field channel and are required to be connected through the far-field channel, the incoming electronic equipment is required to be connected with the target electronic equipment through the far-field channel.
Specifically, when the mobile phone generates an incoming call service, the call module of the mobile phone receives the incoming call information and sends a call sharing instruction to the call sharing module. The call sharing module receives the call sharing instruction, calls an interface of the transmission module, and creates a session through a session creation (openSession) statement.
The openSession statement is used to open a new session (session) object, and each use is to open a new session object, and if the session objects are used multiple times in succession, a plurality of session objects are obtained. The session object is used to store information required for a particular session.
When the call sharing module invokes the interface of the transmission module, the transmission module can judge whether a near-field channel of the mobile phone is free or not according to the session policy, and whether other electronic devices can be connected through the near-field channel or not. Specifically, if the occupied number of the near field channels is greater than the preset occupied number, the near field channels of the mobile phone are free, and the near field channels of the mobile phone are not connectable; if the occupied number of the near field channels is smaller than or equal to the preset occupied number, the near field channels of the mobile phone are idle, and the near field channels of the mobile phone can be connected. Further, if the near field channel of the mobile phone can be connected, the mobile phone can be connected with the target electronic equipment through the near field channel; and if the near-field channel of the mobile phone is judged to be unconnectable, establishing connection between the mobile phone and the target electronic equipment through the far-field channel.
Under the condition that the mobile phone and the target electronic equipment are required to be connected through the far-field channel, the far-field channels of the mobile phone and the target electronic equipment at the opposite end can be awakened through the attribute setting interface. The target electronic device at the opposite end refers to an electronic device which is in the same super terminal service scene as the mobile phone and cannot be connected through a near field channel, and one or more target electronic devices at the opposite end may exist. By way of example, the target electronic devices at the opposite end may include cell phones, tablet computers, desktop computers, laptop computers, notebook computers, and smart watches, among others.
Specifically, as shown in fig. 7, the diagram is a schematic diagram of initiating a wake-up instruction according to an embodiment of the present application. When the near field channel is judged to be unconnectable, a transmission module sends a wake-up instruction to a device manager (DeviceManager), wherein the wake-up instruction comprises a wake-up request, device information of the electronic device and device information of target electronic device, and the wake-up request can be represented by a random code and is used for requesting to wake up the target electronic device; the equipment information of the electronic equipment can be an identity card identification number (ID) of the electronic equipment so that the target electronic equipment can return a wake-up response to the mobile phone; the device information of the target electronic device may be an ID of the target electronic device, and when there are a plurality of target electronic devices, the device information of each target electronic device may be stored in one information table.
Specifically, the device manager may generate a wake-up instruction according to the device information of the electronic device of the incoming call, the device information of the target electronic device, and the wake-up request through the attribute setting interface of the device manager, and after generating the wake-up instruction, the device manager sends the wake-up instruction to the networking module.
After receiving the wake-up instruction, the networking module of the mobile phone needs to forward the wake-up instruction to the networking module of the target electronic device through the cloud device, wherein the cloud device can comprise a device cloud, a Push cloud and the like. Fig. 8 is a schematic diagram of forwarding a wake-up instruction through a cloud device according to an embodiment of the present application, where in a process that a networking module of a mobile phone forwards the wake-up instruction to a networking module of a target electronic device, a Message Queue Telemetry Transport (MQTT) connection at a mobile phone end may be in a disconnected condition or may be in a connection maintaining condition.
Specifically, if the MQTT connection of the mobile phone terminal is in a disconnected state, the MQTT connection of the mobile phone terminal needs to be established or restored first, after the connection, a wake-up instruction is forwarded to the device cloud through the networking module of the mobile phone, the device cloud sends the wake-up instruction to the push cloud, and then the wake-up instruction is sent to the networking module of the target electronic device through the push cloud.
When the networking module of the mobile phone forwards the wake-up instruction to the equipment cloud, the networking module of the mobile phone adds 1 to the connection reference number, wherein the connection reference number represents the number of the electronic equipment connected with the incoming call to the target electronic equipment. When the connection reference number is 0, the MQTT connection between the networking module of the mobile phone and the equipment cloud is disconnected.
In the process of sending the wake-up instruction to the networking module of the target electronic device through the push cloud, at one end of the target electronic device, the connection between the push cloud and the target electronic device may be in a disconnected state. In the disconnected state, the pushing cloud cannot actively send the wake-up instruction to the target electronic equipment, and the pushing cloud module in the target electronic equipment is required to inquire the wake-up instruction from the pushing cloud and call back the inquired wake-up instruction to the networking module of the target electronic equipment. If the connection between the pushing cloud and the target electronic equipment is in a connection state, the pushing cloud directly sends the awakening instruction to a pushing cloud module in the target electronic equipment, and then the pushing cloud module recalls the awakening instruction to a networking module in the target electronic equipment. The networking module in the target electronic equipment is connected with the pushing cloud module.
Fig. 9 is a schematic diagram of receiving a wake-up instruction according to an embodiment of the present application, where after a networking module of a target electronic device receives the wake-up instruction sent by a mobile phone, the networking module of the target electronic device sends the wake-up instruction to a device manager of the target electronic device, and the device manager of the target electronic device sends the wake-up instruction to a transmission module of the target electronic device to notify the transmission module to execute the wake-up instruction.
Because the wake-up instruction contains the device information of the target electronic device, the transmission module analyzes the wake-up instruction after receiving the wake-up instruction. By analyzing the wake-up instruction, the device information of the target electronic device contained in the wake-up instruction can be obtained. If the wake-up instruction includes the device information of the electronic device, the electronic device is considered to be the electronic device to be wake-up, that is, the electronic device is the target electronic device, and the electronic device establishes far-field channel connection with the mobile phone. If the wake-up instruction does not contain the equipment information of the electronic equipment, the electronic equipment is considered not to belong to the electronic equipment needing to be woken up, namely the electronic equipment is not the target electronic equipment, and only the wake-up instruction is needed to be ignored.
Specifically, taking a target electronic device as a tablet computer as an example, in the process of establishing far-field channel connection between the tablet computer and a mobile phone, a transmission module of the tablet computer sends a wake-up response to a device manager of the tablet computer. And the device manager of the tablet computer sends the wake-up response to the networking module of the tablet computer. After receiving the wake-up response, the networking module needs to return the wake-up response to the mobile phone. The wake-up response is response data corresponding to the wake-up instruction and is used for feeding back to the mobile phone that the tablet computer has received the wake-up instruction, wherein the wake-up response at least comprises a response message and equipment information of the tablet computer. The response message can be used for informing the mobile phone that the tablet computer has received the wake-up instruction; the device information of the tablet computer is used for informing the mobile phone of which electronic device the wake-up response is fed back.
Similarly, the MQTT connection between the target electronic device and the push cloud may be in a disconnected condition at this time, or may be in a connection-maintaining condition. If the MQTT connection between the target electronic device and the push cloud is in the disconnected condition, the MQTT connection between the target electronic device and the push cloud needs to be restored, and after the MQTT connection between the target electronic device and the push cloud is restored, a wake-up response is sent to a networking module of the mobile phone through the device cloud. If the MQTT connection between the target electronic device and the push cloud is in a connected state, the wake-up response can be directly sent to the networking module of the mobile phone through the device cloud.
After the mobile phone receives the wake-up response sent by the target electronic device, the mobile phone can establish far-field channel connection with the target electronic device according to the wake-up response because the wake-up response at least comprises the response message and the device information of the target electronic device. In the establishment process of the far-field channel, far-field channel negotiation (channel negotiation) and session negotiation are required, and after the far-field channel negotiation and the session negotiation are successful, the mobile phone establishes the far-field channel with the target electronic equipment. In the process, if the session establishment fails, the call resonance will fail, if the session establishment is successful, the far-field channel between the electronic device of the call and the target electronic device is successfully established, and then the electronic device of the call can send the call information to the target electronic device through the far-field channel.
The far-field channel negotiation is used for determining that the mobile phone and the target electronic equipment can be successfully connected. Session negotiation is used to obtain keys, and in order to ensure the security of message transmission, the messages transmitted in the channels are usually encrypted, and further the keys need to be obtained through session negotiation so that the messages can be decrypted when they are obtained.
Specifically, after the networking module of the mobile phone receives the wake-up response sent by the target electronic device, the networking module of the mobile phone sends the wake-up response to the transmission module of the mobile phone through the device manager of the mobile phone. The method comprises the steps that a transmission module of a mobile phone sends a channel establishment instruction to a networking module, and after the channel establishment instruction is received by the networking module of a mobile phone end, far-field channel negotiation and session negotiation are carried out with the networking module of a target electronic device end so as to establish far-field channel connection between the mobile phone and the target electronic device.
After the session negotiation is successful, the transmission module of the mobile phone and the transmission module of the target device return a session establishment success (onSessionOpened) message to the respective call sharing module, which indicates that far-field channel connection has been successfully established between the mobile phone and the target electronic device, and attribute synchronization is realized between the device manager of the mobile phone and the device manager of the target electronic device. The call sharing module of the mobile phone can send the information to the call sharing module of the target electronic equipment through the transmission modules of the mobile phone and the target electronic equipment. After receiving the incoming call information, the call sharing module of the target electronic equipment can realize incoming call resonance of the target electronic equipment.
In summary, in the present application, under the condition that the connection resources of the near-field channel are limited, connection can be performed between the electronic device for incoming call and the target electronic device available for the far-field channel through the far-field channel. And sending incoming call information received by the incoming call electronic equipment to the target electronic equipment through the far-field channel, so as to realize incoming call resonance of the target electronic equipment, increase the number of the electronic equipment with the incoming call resonance and improve the success rate of the incoming call resonance.
Further, after the session negotiation is successful, the transmission module of the mobile phone and the transmission module of the target device send a wake-up attribute clearing instruction to respective device managers, and the wake-up instruction and the attribute in the wake-up response are deleted, namely, the wake-up request in the wake-up instruction, the device information of the electronic device of the incoming call and the device information of the target electronic device are deleted. The specific execution time is controlled by the corresponding transmission module of the mobile phone and the transmission module of the target equipment, and the response message in the wake-up response and the equipment information of the target electronic equipment are deleted, so that the target electronic equipment is convenient to wake up again later.
Further, after the user selects to answer or hang up the incoming call information on the mobile phone, the far-field channel established with the target electronic equipment can be disconnected, and the target electronic equipment stops incoming call resonance at the moment. Fig. 10 is a schematic diagram of ending an incoming call resonance according to an embodiment of the present application. After the incoming call resonance of the target electronic equipment is realized, the incoming call electronic equipment and the target electronic equipment are disconnected with the far-field channel, and the target electronic equipment stops the incoming call resonance.
At the mobile phone end, after receiving the answering or hanging-up instruction, the call sharing module of the mobile phone calls the interface of the transmission module, and closes the session through a closing session (session) statement. Wherein the close sentence corresponds to the openSession sentence. After closing the session, the established far field channel will be disconnected.
After the interface of the transmission module is called to close the session, sending a closing instruction to the networking module through the transmission module, wherein the closing instruction comprises a closing request message and equipment information of target electronic equipment to be closed, and the closing request can be represented by a random code and is used for closing the target electronic equipment; the device information of the target electronic device may be an ID of the target electronic device, and when there are a plurality of target electronic devices, the device information of each target electronic device may be stored in one information table. After the networking module of the mobile phone receives the channel closing instruction sent by the transmission module of the mobile phone, the corresponding connection reference count is reduced by 1, when the connection reference count is 0, the current mobile phone is not connected with the target electronic equipment, and the MQTT connection between the mobile phone and the equipment cloud can be disconnected.
In the process that the networking module of the mobile phone forwards the wake-up instruction to the networking module of the target electronic equipment, the MQTT connection of the mobile phone end can be in a disconnected condition or in a connection maintaining condition.
Specifically, if the MQTT connection of the mobile phone terminal is in a disconnected state, the MQTT connection of the mobile phone terminal needs to be restored first, after the connection is restored, a closing instruction is forwarded to the device cloud through the networking module of the mobile phone, and the device cloud sends the closing instruction to the networking module of the target electronic device. If the MQTT connection of the mobile phone end is in a connection state, the closing instruction can be directly forwarded to the equipment cloud through the networking module of the mobile phone, and the equipment cloud sends the closing instruction to the networking module of the target electronic equipment.
After receiving the closing instruction, the networking module of the target electronic equipment sends the closing instruction to the transmission module of the target electronic equipment, and after receiving the closing instruction, the transmission module of the target electronic equipment sends the closing channel instruction to the networking module of the target electronic equipment, closes the session, sends a session closing success message to the call sharing module of the target electronic equipment, and closes resonance by the call sharing module of the target electronic equipment. After the transmission module of the target electronic device sends the channel closing instruction to the networking module of the target electronic device, the number of connection reference numbers is correspondingly reduced by 1, when the connection reference count is 0, it indicates that no target electronic device is connected with the mobile phone at present, and the MQTT connection between the target electronic device and the push cloud can be disconnected.
In summary, in the embodiment of the present application, the incoming electronic device may send a wake-up instruction to the target electronic device through the cloud device, after receiving a wake-up response returned by the target electronic device, the incoming electronic device may establish far-field channel connection with the target electronic device, and after the far-field channel is established successfully, the incoming electronic device may send incoming information to the target electronic device through the far-field channel. Therefore, the method provided by the application can wake up the electronic equipment which is not successfully connected with the near-field channel but is available with the far-field channel in a far-field channel mode under the condition that the connection of the near-field channel fails. Under the condition that the connection resources of the near-field channel are limited, connection is established between the incoming call electronic equipment and the target electronic equipment through the far-field channel, and the incoming call electronic equipment is sent to the target electronic equipment by establishing the far-field channel, so that the resonance of the target electronic equipment is realized, the number of the electronic equipment with the incoming call resonance is increased, and the success rate of the incoming call resonance is improved. Meanwhile, after the incoming call resonance of the target electronic equipment is realized, the incoming call resonance can be ended by answering or hanging up the incoming call information on the incoming call electronic equipment.
The present embodiment also provides a computer-readable storage medium including instructions therein, which when executed on an electronic device, perform the related method steps described above to implement the method of the above embodiments.
The present embodiment also provides a computer device, the control device comprising a processor and a memory for storing computer program code, the computer program code comprising computer instructions which, when executed by the processor, perform the steps of the related methods as described above, implementing the methods in the embodiments described above.
In the several embodiments provided in this embodiment, it should be understood that the disclosed apparatus, storage medium, and method may be implemented in other manners. For example, the device, storage medium embodiments described above are merely illustrative.
The foregoing is merely illustrative of specific embodiments of the present application, and the scope of the present application is not limited thereto, but any changes or substitutions within the technical scope of the present application should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (11)
1. A method of incoming call resonance, the method performed by an electronic device of an incoming call, comprising:
responding to incoming call information, and sending a wake-up instruction to target electronic equipment through cloud equipment, wherein the target electronic equipment and the incoming call electronic equipment are in the same super terminal service;
establishing a far-field channel with the target electronic equipment according to a wake-up response returned by the target electronic equipment, wherein the wake-up response corresponds to the wake-up instruction;
and sending the incoming call information to the target electronic equipment through the far-field channel so as to enable the target electronic equipment and the incoming call electronic equipment to generate incoming call resonance.
2. The method of claim 1, wherein the sending, by the cloud device, a wake-up instruction to the target electronic device in response to the incoming call information comprises:
responding to the incoming call information, and generating a wake-up instruction according to the equipment information of the electronic equipment of the incoming call, the equipment information of the target electronic equipment and the wake-up request; the wake-up request is used for requesting to wake up the target electronic equipment;
and sending the wake-up instruction to the target electronic equipment through the cloud equipment.
3. The method of claim 1, wherein the sending, by the cloud device, the wake-up instruction to the target electronic device when the connection between the cloud device and the target electronic device is broken, comprises:
and responding to the query request of the target electronic equipment, and sending a wake-up instruction to the target electronic equipment through the cloud equipment.
4. The method according to claim 1, wherein the establishing a far-field channel with the target electronic device according to the wake-up response returned by the target electronic device includes:
according to the wake-up response returned by the target electronic equipment, performing far-field channel negotiation and session negotiation with the target electronic equipment;
and when the far-field channel negotiation and the session negotiation are successful, establishing a far-field channel with the target electronic equipment.
5. The method of claim 1, wherein the wake-up acknowledgement comprises:
a reply message and device information of the target electronic device.
6. The method of claim 1, wherein the sending, by the cloud device, a wake-up instruction to the target electronic device in response to the incoming call information comprises:
if the occupied number of the near field channels of the incoming call electronic equipment is smaller than or equal to the preset occupied number, a wake-up instruction is sent to the target electronic equipment through the cloud equipment in response to the incoming call information.
7. The method of any one of claims 1-6, further comprising:
responding to an answer or hang-up instruction, and sending a closing instruction to target electronic equipment, wherein the closing instruction comprises a closing request message and equipment information of the target electronic equipment which needs to be closed;
and according to the closing instruction, disconnecting a far-field channel with the target electronic equipment.
8. The method as recited in claim 7, further comprising:
and when a closing instruction is sent to the target electronic equipment, reducing the connection reference number, wherein the connection reference number represents the number of the target electronic equipment connected with the electronic equipment of the incoming call.
9. The method as recited in claim 8, further comprising:
when the connection reference number is 0, the connection with the cloud device is disconnected.
10. A computer device, the computer device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
the processor is configured to perform the steps of a method of electric resonance according to any one of claims 1-9 according to instructions in the program code.
11. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of a method of incoming resonance according to any one of claims 1-9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410756874.3A CN118660099A (en) | 2023-01-30 | 2023-01-30 | Method, equipment and storage medium for incoming call resonance |
CN202310107378.0A CN117119097B (en) | 2023-01-30 | 2023-01-30 | Method, equipment and storage medium for incoming call resonance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310107378.0A CN117119097B (en) | 2023-01-30 | 2023-01-30 | Method, equipment and storage medium for incoming call resonance |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410756874.3A Division CN118660099A (en) | 2023-01-30 | 2023-01-30 | Method, equipment and storage medium for incoming call resonance |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117119097A true CN117119097A (en) | 2023-11-24 |
CN117119097B CN117119097B (en) | 2024-06-25 |
Family
ID=88797178
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410756874.3A Pending CN118660099A (en) | 2023-01-30 | 2023-01-30 | Method, equipment and storage medium for incoming call resonance |
CN202310107378.0A Active CN117119097B (en) | 2023-01-30 | 2023-01-30 | Method, equipment and storage medium for incoming call resonance |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410756874.3A Pending CN118660099A (en) | 2023-01-30 | 2023-01-30 | Method, equipment and storage medium for incoming call resonance |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN118660099A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112887926A (en) * | 2019-11-30 | 2021-06-01 | 华为技术有限公司 | Calling method and device |
CN113676339A (en) * | 2020-05-14 | 2021-11-19 | 华为技术有限公司 | Multicast method, device, terminal equipment and computer readable storage medium |
CN115086481A (en) * | 2022-07-20 | 2022-09-20 | 荣耀终端有限公司 | Incoming call reminding method and electronic equipment |
-
2023
- 2023-01-30 CN CN202410756874.3A patent/CN118660099A/en active Pending
- 2023-01-30 CN CN202310107378.0A patent/CN117119097B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112887926A (en) * | 2019-11-30 | 2021-06-01 | 华为技术有限公司 | Calling method and device |
CN113676339A (en) * | 2020-05-14 | 2021-11-19 | 华为技术有限公司 | Multicast method, device, terminal equipment and computer readable storage medium |
CN115086481A (en) * | 2022-07-20 | 2022-09-20 | 荣耀终端有限公司 | Incoming call reminding method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN118660099A (en) | 2024-09-17 |
CN117119097B (en) | 2024-06-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230094272A1 (en) | Notification Processing System, Method, and Electronic Device | |
CN112291764B (en) | Content connection system | |
US20220353819A1 (en) | Method for Reducing Power Consumption of Mobile Terminal and Mobile Terminal | |
CN110730448A (en) | Method for establishing connection between devices and electronic device | |
US20240073978A1 (en) | Method for monitoring link and terminal device | |
CN116980867A (en) | Data transmission method and electronic equipment | |
CN116679900B (en) | Audio service processing method, firmware loading method and related devices | |
CN117119097B (en) | Method, equipment and storage medium for incoming call resonance | |
CN116489645B (en) | Data transmission method and electronic equipment | |
CN117425227A (en) | Method and device for establishing session based on WiFi direct connection | |
CN113835802A (en) | Device interaction method, system, device and computer readable storage medium | |
WO2023134522A1 (en) | Communication system, communication method, and device | |
CN117729561B (en) | System upgrading method, terminal and storage medium | |
CN117135729B (en) | Multi-device cooperation method, system and terminal device | |
CN115942253B (en) | Prompting method and related device | |
CN117118970B (en) | File downloading method, electronic equipment and storage medium | |
WO2024093703A1 (en) | Instance management method and apparatus, and electronic device and storage medium | |
CN118264709A (en) | Service discovery method and electronic equipment | |
CN117667506A (en) | Drawing library cloning method, system and electronic equipment | |
CN118368321A (en) | Link processing method and electronic equipment | |
CN117318921A (en) | Communication method, system and related device | |
CN116264600A (en) | Incoming call reminding method, electronic device and computer readable storage medium | |
CN118555434A (en) | Video image display method and related device | |
CN118033541A (en) | Spatial position determining method, system and equipment thereof | |
CN116795197A (en) | Layer processing method and electronic 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |