WO2022252808A1 - Communication control method, apparatus, and system, electronic device, and storage medium - Google Patents

Communication control method, apparatus, and system, electronic device, and storage medium Download PDF

Info

Publication number
WO2022252808A1
WO2022252808A1 PCT/CN2022/085532 CN2022085532W WO2022252808A1 WO 2022252808 A1 WO2022252808 A1 WO 2022252808A1 CN 2022085532 W CN2022085532 W CN 2022085532W WO 2022252808 A1 WO2022252808 A1 WO 2022252808A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
processing result
response processing
request
communication request
Prior art date
Application number
PCT/CN2022/085532
Other languages
French (fr)
Chinese (zh)
Inventor
周龙
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022252808A1 publication Critical patent/WO2022252808A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/42229Personal communication services, i.e. services related to one subscriber independent of his terminal and/or location
    • H04M3/42263Personal communication services, i.e. services related to one subscriber independent of his terminal and/or location where the same subscriber uses different terminals, i.e. nomadism
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers

Definitions

  • the present application relates to the technical field of communication, and more specifically, to a communication control method, device, system, electronic equipment, and storage medium.
  • the present application proposes a communication control method, device, system, electronic equipment and storage medium to solve the above problems.
  • the embodiment of the present application provides a communication control method, which is applied to the first device, and the first device and the second device share the same communication account information, and the method includes: receiving the information generated based on the communication account a communication request; respond to a control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction; and based on the communication connection relationship between the first device and the second device, sending the response processing result to the second device, so that the second device processes the communication request based on the response processing result.
  • the embodiment of the present application provides a communication control method, which is applied to the second device, and the first device and the second device share the same communication account information.
  • the method includes: receiving the information generated based on the communication account A communication request; when receiving a response processing result sent by the first device, process the communication request based on the response processing result, wherein the response processing result is that the first device responds to the communication A control instruction of the request, and determine a response processing result to the communication request based on the control instruction.
  • the embodiment of the present application provides a communication control method applied to a communication control system
  • the communication control system includes a first device and a second device, and the first device and the second device share the same Communication account information
  • the method includes: the first device receiving a communication request generated based on the communication account; the second device receiving the communication request generated based on the communication account; when the first device responds to the a control instruction for a communication request, and determine a response processing result for the communication request based on the control instruction; the first device sends the responding to the second device with a processing result; and the second device processes the communication request based on the response processing result.
  • the embodiment of the present application provides a communication control device, which is applied to the first device, and the first device and the second device share the same communication account information, and the device includes: an information receiving module, configured to receive information based on A communication request generated by the communication account; an instruction response module, configured to respond to a control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction; and a result sending module, configured to respond to the communication request based on the control instruction
  • the communication connection relationship between the first device and the second device sending the response processing result to the second device, so that the second device performs the communication request based on the response processing result deal with.
  • the embodiment of the present application provides a communication control device, which is applied to the second device, and the first device and the second device share the same communication account information, and the device includes: an information receiving module, configured to receive information based on A communication request generated by the communication account; a request processing module configured to process the communication request based on the response processing result when receiving the response processing result sent by the first device, wherein the response processing As a result, the first device responds to the control instruction for the communication request, and determines a response processing result for the communication request based on the control instruction.
  • the embodiment of the present application provides a communication control system
  • the communication control system includes a first device and a second device, and the first device and the second device share the same communication account information, wherein:
  • the first device is configured to receive a communication request generated based on the communication account;
  • the second device is configured to receive a communication request generated based on the communication account;
  • the first device is also configured to receive the communication request generated based on the communication account;
  • the first device responds to the control instruction for the communication request, determine a response processing result for the communication request based on the control instruction;
  • the first device is further configured to: A communication connection relationship between two devices, sending the response processing result to the second device; and the second device is further configured to process the communication request based on the response processing result.
  • the embodiment of the present application provides an electronic device, including one or more processors; memory; one or more programs, wherein the one or more programs are stored in the memory and configured as Executed by the one or more processors, the one or more programs are configured to perform the above method.
  • the embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the above method.
  • FIG. 1 shows a schematic diagram of an application environment of a communication control method provided by an embodiment of the present application.
  • FIG. 2 shows a sequence diagram of a communication control method provided by an embodiment of the present application.
  • FIG. 3 shows a schematic flowchart of another communication control method provided by an embodiment of the present application.
  • FIG. 4 shows a schematic flowchart of another communication control method provided by an embodiment of the present application.
  • Fig. 5 shows a schematic flowchart of still another communication control method provided by the embodiment of the present application.
  • Fig. 6 shows a schematic flowchart of still another communication control method provided by the embodiment of the present application.
  • Fig. 7 shows a schematic flowchart of still another communication control method provided by the embodiment of the present application.
  • FIG. 8 shows a schematic flowchart of yet another communication control method provided by the embodiment of the present application.
  • FIG. 9 shows a schematic flowchart of still another communication control method provided by the embodiment of the present application.
  • FIG. 10 shows a block diagram of a communication control device provided by an embodiment of the present application.
  • Fig. 11 shows a module block diagram of another communication control device provided by an embodiment of the present application.
  • Fig. 12 shows a block diagram of an electronic device for executing the communication control method according to the embodiment of the present application according to the embodiment of the present application.
  • FIG. 13 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • a smart watch can share the phone number of the main device (smart phone) after enabling the Embedded-SIM (Embedded-SIM) one-number dual service.
  • the main device smart phone
  • Embedded-SIM Embedded-SIM
  • both the watch and the phone will ring, and the phone will hang up
  • the watch will keep ringing, requiring the user to click hangup on the watch, which makes the user's hangup experience inconvenient, and continuing to ring will also cause power consumption problems.
  • the inventor proposes the communication control method, device, system, electronic device and storage medium provided by the embodiment of the present application.
  • the first device processes the communication request, according to the communication between the first device and the second device
  • the communication connection relationship between the second device and the second device are controlled synchronously to process the communication request, so as to realize the synchronous processing of the communication request by the first device and the second device, reduce user involvement, and further reduce the power consumption of the second device.
  • the specific communication control method will be described in detail in the subsequent embodiments.
  • FIG. 1 shows a schematic diagram of an application environment applicable to the communication control method provided by the embodiment of the present application.
  • the communication control system 10 includes a first device 101 and a second device 102, wherein the first device 101 and the second device 102 share the same communication account information, and the first device 101 and the second device 102 can be connected via Bluetooth or It can be connected through WiFi or ZigBee, which is not limited here.
  • the first device 101 may include a personal computer, a smart phone, a tablet computer, a wearable electronic device, etc., and is not limited here. For example, as shown in FIG.
  • the first device 101 may be a mobile phone; the second device 102 may include Personal computers, smart phones, tablet computers, wearable electronic devices, car phones, etc. are not limited here.
  • the first device 102 may be a wristband.
  • the fact that the device 101 and the device 102 share the same communication account information may mean that when a communication request based on the communication account is generated, the communication request will be sent to the device 101 and the device 102 at the same time.
  • the first device 101 and the second device 102 can be two devices that have activated eSIM One Number Dual Service. Therefore, the first device and the second device can share a phone number, that is, the same communication account information can be phone number.
  • the first device and the second device may use the same communication account to log into the instant messaging software at the same time, therefore, the same communication account information may refer to the login account of the instant messaging software.
  • the communication control system 10 may also include a base station 103 and a mobile network 104, wherein both the first device 101 and the second device 102 can independently establish a wireless connection to the base station 103, and can independently register with the mobile network 104, receive A notification issued by the mobile network 104.
  • the communication control system 10 may also include a server 105, where the server 105 may be a traditional server or a cloud server, which is not limited here.
  • the server 105 can respectively establish a connection with the first device 101 and the second device 102 through a data network such as 2G/3G/4G/5G, or can connect with the first device 101 and the second device 102 through a wireless network such as WIFI. establish connection.
  • FIG. 2 shows a sequence diagram of a communication control method provided by an embodiment of the present application.
  • the communication control method is applied to a communication control system
  • the communication control system includes a first device and a second device
  • the first device and the second device share the same communication
  • the communication control method may specifically include the following steps S110 to S150.
  • Step S110 the first device receives a communication request generated based on the communication account.
  • the communication control system includes a first device and a second device, wherein the first device and the second device share the same communication account information.
  • the first device and the second device may be two devices that have activated eSIM One Number Dual Service. Therefore, the first device and the second device may share a phone number, that is, the same communication account information may be a phone number .
  • the first device and the second device may use the same communication account to log into the instant messaging software at the same time, therefore, the same communication account information may refer to the login account of the instant messaging software.
  • the communication account may be a phone number, or a login account of an instant messaging software, which is not limited here.
  • the communication request may include a call request, for example, a voice call call request, a video call call request, etc.
  • the communication request may also include a chat request, that is, a request for interaction through text messages.
  • the first device and the second device when a communication request based on the communication account is generated (for example, an incoming call event to the communication account occurs), the first device and the second device will simultaneously receive the communication request based on the communication account. Further, when the first device and the second device receive a communication request generated based on the communication account, they may simultaneously receive prompt information of the communication request, wherein the prompt information is used to remind the user that there are currently other users who want to interact with them.
  • the prompt information may be output by ringing a bell, by vibrating, or by displaying a notification on the screen, which is not limited herein.
  • the first device and the second device are two devices that have activated the eSIM one-number dual service. The first device and the second device share a phone number.
  • the first device When a call comes in to the phone number, the first device The first device and the second device are independently connected to the base station, therefore, the first device and the second device will simultaneously receive a call notification to the phone number.
  • the first device can be a mobile phone
  • the second device can be a watch.
  • the mobile network sends a call request through the base station
  • the mobile phone and the watch can simultaneously receive an incoming call notification and ring.
  • the first device and the second device can use the same communication account to log in to the instant messaging software at the same time, and when a communication request is initiated to the login account, the first device and the second device can receive the communication request at the same time announcement of.
  • the first device can be a mobile phone
  • the second device can be a computer.
  • the first device and the second device can simultaneously receive the prompt information of the video call call.
  • the communication request may include at least one of a call request, an incoming short message connection request, a video connection request, and a meeting connection request.
  • Step S120 the second device receives a communication request generated based on the communication account.
  • both the first device and the second device will receive the communication generated based on the communication account ask.
  • Step S130 When the first device responds to the control instruction for the communication request, determine a response processing result for the communication request based on the control instruction.
  • the user can control the first device or the second device to respond to the communication request.
  • the first device responds to the control instruction for the communication request, it may determine a response processing result for the communication request based on the control instruction.
  • the user's operation on the first device may be acquired to determine the control instruction for the communication request.
  • a sensor may be provided under the screen of the first device, and the sensor detects the user's operation on the screen. When the sensor detects that the screen is touched, the contact information for the communication request can be obtained by determining the touched area.
  • Control instruction For example, the communication request may be a call request, and an answer control and a hang up control may be displayed on the screen of the first device. If it is detected that the touched area is the area where the answer control is located, it may be determined that the control command for the communication request is to answer the call. instruction. Further, the control instruction for the communication request can also be obtained by determining the user's operation path.
  • the communication request can be a call request
  • the screen of the first device can display an answering area, a hanging up area, and a mobile control. If the operation path is to move the mobile control to the hangup area, it can be determined that the control instruction for the communication request is a hangup instruction.
  • the first device can respond to the control instruction for the communication request, and determine the response processing result for the communication request based on the control instruction, and the response processing result can be used to represent the user's response to the communication request.
  • the action requested by the communication the corresponding relationship between the control instruction and the response processing result can be stored in advance, and the response processing result for the communication request can be determined according to the control instruction by querying the corresponding relationship.
  • the first device may answer the incoming call in response to the control instruction, and determine the response processing result of the communication request according to the correspondence between the control instruction and the response processing result , that is, after answering the communication request, the processing result of the communication request is answering.
  • Step S140 the first device sends a response processing result to the second device based on the communication connection relationship between the first device and the second device.
  • the first device and the second device may communicate through a wireless connection.
  • the first device and the second device can be connected through Bluetooth.
  • the first device can send the response processing result to the second device through the Bluetooth connection. equipment.
  • the second device may send the response processing result to the second device in other ways
  • the first device may send the response processing result to the second device through the communication network, specifically, based on the connection status of the communication network of the first device and the connection status of the communication network of the second device, it may be determined whether the first device is connected to the communication network.
  • the connection state of the second device when there is a communication connection between the first device and the second device, the first device can send the response processing result to the second device through the communication network.
  • the first device may send the response processing result to the second device through the communication network .
  • the server connected to the first device and the second device may also be determined, The first device may send the response processing result to the second device through the server.
  • the first device can send the response processing result to the second device through the local area network, for example, the first device can determine that it is the same as the second device Whether the devices are connected to the same Wi-Fi network, if the first device and the second device are connected to the same Wi-Fi network, the first device can send the response processing result to the second device through the Wi-Fi network.
  • the first device may send a response processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device can process the communication request synchronously.
  • the first device may send the response processing result to the second device through the Bluetooth connection, may also send the response processing result to the second device through the mobile communication network, and may also send the response processing result to the second device through the server. This is not limited.
  • Step S150 the second device processes the communication request based on the response processing result.
  • the second device when the second device receives the response processing result sent by the first device, it may process the communication request based on the response processing result.
  • different response processing results correspond to different processing methods, and a corresponding relationship between response processing results and communication request processing methods may be preset, and the corresponding processing methods may be determined according to the received response processing results.
  • the response processing result is that the first device hangs up the communication request
  • the second device when requesting to answer the processing result, it can be determined that the second device handles the communication request as stopping responding to the communication request.
  • the second device can also not display the communication request when it is determined that the first device answers the communication request. ask.
  • the above examples are only examples, and are not limited here, and the corresponding relationship between specific response processing results and processing methods can be set according to requirements.
  • the user when both the first device and the second device receive a communication request generated based on the communication account, the user can also operate the second device so that the second device responds to a control instruction for the communication request, based on the control The instruction determines the response processing result for the communication request, and then the second device can send the response processing result to the first device according to the communication connection relationship between the first device and the second device, and the first device can send the response processing result to the first device based on the response processing result. Communication requests are processed.
  • both the mobile phone and the watch receive an incoming call notification ring, when the user hangs up the incoming call through the mobile phone, the mobile phone can send the incoming call hangup information to the watch, so that the watch can hang up the incoming call synchronously; when the user hangs up the incoming call through the watch When the incoming call is hung up, the watch can send the incoming call hanging up information to the mobile phone, so that the mobile phone can hang up the incoming call synchronously.
  • the first device receives the communication request generated based on the communication account; the second device receives the communication request generated based on the communication account; when the first device responds to the control instruction for the communication request, based on the control instruction Determine the response processing result for the communication request; the first device sends the response processing result to the second device based on the communication connection relationship between the first device and the second device; the second device processes the communication request based on the response processing result. Therefore, after the first device processes the communication request, according to the communication connection relationship between the first device and the second device, the second device is synchronously controlled to process the communication request, so that the communication request between the first device and the second device is realized. Synchronization processing reduces user involvement, thereby reducing power consumption of the second device.
  • Fig. 3 shows a schematic flowchart of another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the first device, and the first device and the second device share the same communication account information , the communication control method may specifically include the following steps S210 to S230.
  • Step S210 Receive a communication request generated based on the communication account.
  • step S210 for the specific description of step S210, please refer to step S110, which will not be repeated here.
  • Step S220 Respond to the control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction.
  • Step S230 Based on the communication connection relationship between the first device and the second device, send a response processing result to the second device, so that the second device processes the communication request based on the response processing result.
  • step S220-step S230 please refer to step S130-step S140, which will not be repeated here.
  • the communication request generated based on the communication account is received; the control instruction for the communication request is responded to, and the response processing result for the communication request is determined based on the control instruction; and based on the relationship between the first device and the second device and send the response processing result to the second device, so that the second device processes the communication request based on the response processing result. Therefore, after the first device processes the communication request, according to the communication connection relationship between the first device and the second device, the second device is synchronously controlled to process the communication request, so that the communication request between the first device and the second device is realized. Synchronization processing reduces user involvement, thereby reducing power consumption of the second device.
  • Figure 4 is a schematic flow diagram showing another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the first device, and the first device and the second device share the same communication account information, the communication request includes a call request, and the communication control method may specifically include the following steps S310 to S330.
  • Step S310 Receive a communication request generated based on the communication account.
  • step S310 for the specific description of step S310, please refer to step S110, which will not be repeated here.
  • Step S320 Respond to the hangup instruction of the call request, and determine a hangup processing result of the call request based on the hangup instruction.
  • the first device and the second device since the first device and the second device share the same communication account, when a call request is made to the communication account, the first device and the second device will simultaneously receive the call request. For example, the first device and the second device will simultaneously receive and output a call request notification ringing, if the user hangs up the call request through the first device, and the second device will keep ringing when the hangup notification is not issued, it is necessary to The user also clicks to hang up on the second device, which makes it inconvenient for the user to hang up. At the same time, continuing to ring the phone also brings power consumption problems. Therefore, when the user hangs up the call request through the first device, the second device can be synchronously controlled to hang up the call request. Specifically, the first device may respond to a hangup instruction for the call request, and determine a hangup processing result for the call request based on the hangup instruction.
  • the user may operate the first device, and the first device determines the user's operation on the call request by detecting the user's operation.
  • multiple sensors may be provided under the screen of the first device. Different sensors are used to detect different areas of the screen, and different areas correspond to different operation instructions. For example, area A corresponds to the hang-up operation, and area B corresponds to the answering operation. , area C corresponds to the mute operation, etc., when it is detected that area A is touched by the user, it can be determined that the user's operation on the call request is a hangup operation, that is, the user's instruction on the call request is a hangup instruction.
  • the user can operate the call request through voice, and when the first device receives the user's voice information, it can obtain the operation corresponding to the voice information, for example, when the first device receives the user's voice "Rejection" can determine that the user's command for the call request is a hang up command.
  • the first device responds to the hang up instruction for the call request, and can respond to the call request according to the control instruction of the call request and the call request.
  • the corresponding relationship of the response processing results of the hang-up instruction is determined as the hang-up processing result of the call request.
  • Step S330 Based on the communication connection relationship between the first device and the second device, send a hangup processing result to the second device, so that the second device hangs up the call request based on the hangup processing result.
  • the first device when it hangs up the call request, it may send the hangup processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device can
  • the hangup processing result is a call request to hang up.
  • the first device may send the hang-up processing result to the second device through the Bluetooth connection, may also send the hang-up processing result to the second device through the mobile communication network, and may also send the hang-up processing result to the second device through the server.
  • equipment is not limited here.
  • the second device when the first device hangs up the call request, the second device is synchronously controlled to hang up the call request, so that the user does not need to control the second device to hang up the call request, improving user Hang up experience, while reducing the power consumption of the second device.
  • Fig. 5 is a schematic flow diagram showing another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the first device, and the first device and the second device share the same communication account information, the method may specifically include step S410 to step S440.
  • Step S410 Receive a communication request generated based on the communication account.
  • Step S420 Respond to the control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction.
  • step S410-step S420 please refer to step S210-step S220, which will not be repeated here.
  • Step S430 Obtain the Bluetooth connection status between the first device and the second device.
  • the first device and the second device can communicate through Bluetooth, therefore, the Bluetooth connection status between the first device and the second device can be acquired.
  • the Bluetooth connection status between the first device and the second device can be obtained in real time, or the Bluetooth connection status between the first device and the second device can be obtained at intervals of preset time intervals, or the first device can be obtained according to the method set by the user.
  • the Bluetooth connection state between the device and the second device is not limited here.
  • the Bluetooth connection state between the first device and the second device may include a connected state and an unconnected state.
  • the Bluetooth connection status between the first device and the second device can be obtained by checking the status values of the Bluetooth modules of the first device and the second device, specifically, when the first device and the second device When the devices are connected via Bluetooth, the first status value is returned; when the first device and the second device are not connected via Bluetooth, the second status value can be returned, so that the first status value and the second status value can be detected Determine whether a Bluetooth connection is established between the first device and the second device in a manner.
  • Step S440 Based on the Bluetooth connection status between the first device and the second device, send a response processing result to the second device, so that the second device processes the communication request based on the response processing result.
  • the response processing result may be sent to the second device based on the established Bluetooth connection status between the first device and the second device, so that the second device processes the communication request based on the response processing result.
  • the first device may send the response processing result to the second device through the Bluetooth connection; wherein, when the first device and the second device establish the Bluetooth connection, The second device starts broadcasting, the first device scans the broadcast packet data, and when the first device scans the broadcast packet data of the second device, it establishes a Bluetooth connection with the second device, and when the first device establishes a Bluetooth connection with the second device, Data transmission is possible, and the first device can send the response processing result to the second device through the Bluetooth connection, thereby using low-power Bluetooth communication to realize the synchronous control of the communication request between the first device and the second device, reducing the cost of the first device. and the power consumption of the second device.
  • the way the first device sends the response processing result can be determined through the Bluetooth connection status between the first device and the second device, so as to realize the communication request between the first device and the second device. synchronous control.
  • FIG. 6 is a schematic flow diagram showing another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the first device, and the first device and the second device share the same communication account information, the method may specifically include the following steps S510 to S550.
  • Step S510 Receive a communication request generated based on the communication account.
  • Step S520 Respond to the control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction.
  • step S510-step S520 please refer to step S210-step S220, which will not be repeated here.
  • Step S530 Obtain the communication network connection status of the first device, and acquire the communication network connection status of the second device.
  • the communication network connection status of the first device may be acquired, and the communication network connection status of the second device may be acquired.
  • the connection status of the communication network of the first device and the second device can be respectively obtained in real time, or the communication network connection status of the first device and the second device can be respectively obtained at intervals of preset time intervals, or the connection status of the communication network of the first device and the second device can be respectively obtained according to the method set by the user.
  • the communication network connection status of a device and a second device can be respectively obtained in real time, or the communication network connection status of the first device and the second device can be respectively obtained at intervals of preset time intervals, or the connection status of the communication network of the first device and the second device can be respectively obtained according to the method set by the user.
  • the current network status of the device can be detected, all information about the network connection can be obtained, and then the network connection information can be retrieved as needed, for example, the information about the WiFi connection can be obtained, and the information about the mobile data connection can also be obtained, according to the network
  • the connection information acquires the communication network connection status of the device.
  • the first device and the second device will respectively send a broadcast, and the first device and the second device can determine their own communication network connection status by listening to the broadcast.
  • Step S540 Determine the connection status between the first device and the second device based on the communication network connection status of the first device and the communication network connection status of the second device.
  • the connection status between the first device and the second device may be determined based on the communication network connection status of the first device and the communication network connection status of the second device.
  • the first device and the second device may transmit data through the communication network. Therefore, through the communication network connection status of the first device and the second device, it can be judged whether the first device and the second device have established a connection with the communication network, that is, it can be judged whether the first device and the second device have been connected to the network, and then the first device can be determined.
  • the connection status with the second device When both the first device and the second device are connected to the communication network, it can be determined that the connection status of the first device and the second device is connected, and at this time, the first device and the second device can transmit data through the communication network.
  • the device may be determined whether the device establishes a connection with the communication network by checking the network connection information.
  • the network connection information may include the time when the network is established and the time when the network is disconnected, and whether the device has established a connection with the communication network can be determined by checking whether the current period is the time when the network is established.
  • it may be determined whether the device has established a connection with the communication network by monitoring the type of broadcast, and when the type of broadcast is monitored indicating that the device has established a connection with the network, it may be determined that the device has established a connection with the communication network.
  • Step S550 When there is a communication connection between the first device and the second device, send a response processing result to the second device, so that the second device processes the communication request based on the response processing result.
  • the response processing result may be sent to the second device based on the connection state between the first device and the second device, so that the second device processes the communication request based on the response processing result.
  • the first device may send the response processing result to the second device through the communication network, so that the second device may process the communication request based on the response processing result.
  • step S550 may specifically include steps S551 to S553.
  • Step S551 Obtain associated information of the communication request, the associated information includes at least one item of an associated identifier, a time stamp, and an incoming call number.
  • the first device and the second device need to be paired first.
  • the first device and the second device may respectively establish data connections with the server, and the first device may send device information to the server for registration, where the device information may include device address information, device identification information, and device communication account information, etc.
  • the first device is paired with the second device, and the device information of the second device can be obtained, and the device information of the second device is sent to the server, and the server associates the device information of the first device with the device information of the second device , to get the associated record.
  • the server may also send the identification information of the association record, that is, the association identifier, to the first device and the second device for storage, so that the first device or the second device can find the corresponding association record from the server according to the association identifier. Record.
  • the associated information of the communication request may be further obtained, wherein the associated information may include at least one of an associated identifier, a time stamp, and an incoming call number .
  • the pre-stored association identifier of the first device can be further obtained, so that when the server obtains the association identifier sent by the first device, it can, according to The association identifier finds the association record between the first device and the second device.
  • the time stamp may be the time when the communication request is generated, or the time when the first device receives the communication request.
  • the incoming call number may be another communication account that sends a communication request to the communication account.
  • Step S552 When there is a communication connection between the first device and the second device, determine a server connected to the first device and the second device.
  • the first device When the first device sends the response processing result to the second device based on the communication connection between the first device and the second device, it may first determine based on the communication network connection status of the first device and the communication network connection status of the second device The server connected to the first device and the second device sends the response processing result to the second device through the server. In one embodiment, it may be determined according to the communication network connection status of the first device whether the first device has established a connection with the communication network. When the first device has established a connection with the communication network, the first device may query the server The address, port and identification information of the first device can be used to determine the server connected to the first device.
  • the second device when it has established a connection with the communication network, it can be determined by querying the address, port and identification information of the server in the second device.
  • the server connected to the second device determines the server connected to both the first device and the second device from the server connected to the first device and the server connected to the second device.
  • Step S553 Send the response processing result and associated information to the server, so that the server obtains the address information of the second device based on the associated information, and sends the response processing result and associated information to the second device based on the address information of the second device, so that The second device is allowed to verify the associated information to determine whether to process the response processing result.
  • the first device may send the response processing result and associated information to the server, where the associated information may include an associated identifier, caller number, and time stamp, etc. at least one.
  • the server can obtain the association identifier in the association information by parsing the association information, find the corresponding association record according to the association identifier, and then obtain the device information of the second device, and obtain the address information of the second device according to the device information of the second device , and then the server may send the response processing result to the second device according to the address information of the second device.
  • the second device when receiving the response processing result sent by the first device, may verify the response processing result to obtain the verification result, so as to ensure whether the received response processing result is accurate. Further, when the first device sends the response processing result to the communication request, it will synchronously send the association information of the communication request, wherein the association information includes at least one of association identifier, time stamp, and caller number.
  • Verifying the response processing result may be verifying the association information of the communication request, specifically, verifying whether the association identifier stored locally by the second device is consistent with the association identifier sent by the first device, or verifying that the second device Whether the time stamp of receiving the communication request generated based on the communication account is consistent with the time stamp sent by the first device may also be to verify whether the caller number received by the second device is consistent with the caller number received by the first device.
  • the step of sending the response processing result to the second device may specifically include steps S610 to S630.
  • Step S610 Detect whether the first device and the second device are connected through Bluetooth.
  • the Bluetooth connection status between the first device and the second device can be obtained by checking the status values of the Bluetooth modules of the first device and the second device, specifically, when the first device and the second device When connected by Bluetooth, return the first state value; when the first device and the second device are not connected by Bluetooth, return the second state value, so that by detecting the first state value and the second state value
  • the method determines whether a Bluetooth connection is established between the first device and the second device.
  • Step S620 If the first device and the second device are connected through Bluetooth, send the response processing result to the second device through the Bluetooth connection.
  • the first status value when the first status value is detected, it may indicate that the first device and the second device are connected through Bluetooth, and then the response processing result may be sent to the second device through the Bluetooth connection.
  • the first device is a mobile phone
  • the second device is a watch.
  • the mobile phone and the watch receive an incoming call notification, the mobile phone hangs up the phone and detects whether the mobile phone and the watch are connected via Bluetooth. If the mobile phone and the watch are connected via Bluetooth, pass The Bluetooth connection sends a response processing result to the watch, so that the watch hangs up the phone.
  • Step S630 If the first device and the second device are not connected via Bluetooth, execute the steps of acquiring the communication network connection status of the first device and acquiring the communication network connection status of the second device.
  • the second status value when the second status value is detected, it may indicate that the first device and the second device are not connected through Bluetooth, and the first device may send the response processing result to the second device in other ways.
  • the connection state of the communication network of the first device and the connection state of the communication network of the second device can be obtained.
  • the first device is connected to the communication network and the second device is also connected to the communication network, it is possible to obtain The server to which the two devices are connected, so that the first device can send the response processing result to the server, and the server forwards the response processing result to the second device.
  • the method for the first device to send the response processing result to the second device is determined, so as to realize the communication between the first device and the second device. Synchronous control of communication requests by the second device.
  • FIG. 7 is a schematic flowchart showing another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the first device, and the first device and the second device share the same communication Account information, the communication request includes a call request, and the communication control method may specifically include the following steps S710 to S730.
  • Step S710 Receive a communication request generated based on the communication account.
  • step S710 for the specific description of step S710, please refer to step S110, which will not be repeated here.
  • Step S720 Respond to the answering instruction of the call request, and determine an answering processing result of the call request based on the answering instruction.
  • the second device since the first device and the second device will receive and output the call request notification at the same time, if the user answers the call request through the first device and does not issue an answer notification, the second device will always ring , the user is also required to operate the second device, which makes the user's call experience inconvenient, and at the same time, continuing to ring also brings power consumption problems. Therefore, when the user answers the call request through the first device, the second device can be synchronously controlled to stop responding to the call request. Specifically, the first device may respond to an answering instruction of the call request, and determine an answering processing result of the call request based on the answering instruction. Among them, different control instructions for the call request will have different response processing results for the communication request.
  • the corresponding relationship between the call request control instruction and the call request response processing result can be , determining that the response processing result corresponding to the answering instruction is the processing result of the call request after the call request is answered.
  • Step S730 Based on the communication connection relationship between the first device and the second device, send an answering processing result to the second device, so that the second device stops responding to the call request based on the answering processing result.
  • the answer processing result may be sent to the second device, so that the second device As a result of the processing, stop responding to the call request.
  • the first device may send the answering processing result to the second device through the Bluetooth connection, may also send the answering processing result to the second device through the mobile communication network, and may also send the answering processing result to the second device through the server, which is not limited herein .
  • the second device when the first device answers the call request, the second device is synchronously controlled to stop responding to the call request, so that the user does not need to control the second device to stop responding to the call request, thereby improving the user's listening experience. At the same time, the power consumption of the second device can also be reduced.
  • FIG. 8 shows a schematic flowchart of yet another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the second device, and the second device shares the same communication with the first device
  • the communication control method may specifically include the following steps S810 to S820.
  • Step S810 Receive a communication request generated based on the communication account.
  • step S810 for the specific description of step S810, please refer to step S120, which will not be repeated here.
  • Step S820 When receiving the response processing result sent by the first device, process the communication request based on the response processing result, wherein the response processing result is that the first device responds to the control instruction for the communication request, and determines the communication request based on the control instruction. The response processing result of the request.
  • step S820 please refer to step S150, which will not be repeated here.
  • the communication request generated based on the communication account is received, and when the response processing result sent by the first device is received, the communication request is processed based on the response processing result, wherein the response processing result is the first
  • the device responds to the control instruction for the communication request, and determines a response processing result for the communication request based on the control instruction. Therefore, when receiving the response processing result of the communication request from the first device, the second device processes the communication request synchronously, so that the second device can process the communication request synchronously without the need for the user to operate the second device, reducing The user operates while reducing the power consumption of the second device.
  • FIG. 9 shows a schematic flow chart of still another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the second device, and the second device shares the same communication with the first device
  • the communication control method may specifically include the following steps S910 to S930.
  • Step S910 Receive a communication request generated based on the communication account.
  • step S910 for the specific description of step S910, please refer to step S120, which will not be repeated here.
  • Step S920 When receiving the response processing result sent by the first device, verify the response processing result to obtain a verification result.
  • the second device when receiving the response processing result sent by the first device, may verify the response processing result to obtain the verification result, so as to ensure whether the received response processing result is accurate. Further, when the first device sends the response processing result to the communication request, it will synchronously send the association information of the communication request, wherein the association information includes at least one of association identifier, time stamp, and caller number.
  • Verifying the response processing result may be verifying the association information of the communication request, specifically, verifying whether the association identifier stored locally by the second device is consistent with the association identifier sent by the first device, or verifying that the second device Whether the time stamp of receiving the communication request generated based on the communication account is consistent with the time stamp sent by the first device may also be to verify whether the caller number received by the second device is consistent with the caller number received by the first device.
  • Step S930 If the verification result indicates that the response processing result has passed the verification, the second device processes the communication request.
  • the second device may process the communication request.
  • the verification result indicates that the response processing result is verified, which may refer to the verification of the associated information of the communication request.
  • the associated identifier stored locally by the second device is consistent with the associated identifier sent by the first device, or that the The time stamp when the second device receives the communication request generated based on the communication account is consistent with the time stamp sent by the first device, or the caller number received by the second device is consistent with the caller number received by the first device.
  • the response processing result sent by the first device is received, the response processing result is verified, so as to ensure the consistency and accuracy of the first device and the second device synchronously processing the communication request .
  • FIG. 10 shows a block diagram of a communication control device 200 provided by an embodiment of the present application. The following will describe the block diagram described in FIG. 10 , wherein the communication control device 200 is applied to the first device, and the first device and the second device share the same communication account information.
  • the communication control device 200 includes: an information receiving module 210 , command response module 220 and result sending module 230, wherein:
  • the information receiving module 210 is configured to receive a communication request generated based on a communication account.
  • the instruction response module 220 is configured to respond to a control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction.
  • the communication request includes a call request
  • the instruction response module 220 includes: a hangup operation response submodule, wherein:
  • the hangup operation response submodule is used for responding to the hangup instruction of the call request, and determining the hangup processing result of the call request based on the hangup instruction.
  • the communication request includes a call request
  • the instruction response module 220 includes: an answering operation response submodule, wherein:
  • the answering operation response submodule is used for responding to the answering instruction of the call request, and determining the answering processing result of the call request based on the answering instruction.
  • the result sending module 230 is configured to send a response processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device processes the communication request based on the response processing result.
  • the communication request includes a call request
  • the result sending module 230 includes: a hangup instruction sending submodule, wherein:
  • a hangup command sending submodule configured to send a hangup processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device hangs up the call request based on the hangup processing result .
  • the result sending module 230 includes: a bluetooth state acquisition submodule and a first result sending submodule, wherein:
  • the bluetooth status acquisition submodule is used to acquire the bluetooth connection status between the first device and the second device.
  • the first result sending submodule is configured to send a response processing result to the second device based on the Bluetooth connection status between the first device and the second device, so that the second device processes the communication request based on the response processing result.
  • the result sending module 230 includes: a first network state acquiring submodule, a connection state determining submodule and a second result sending submodule, wherein:
  • the first network status acquisition sub-module is used to acquire the communication network connection status of the first device and the communication network connection status of the second device.
  • a connection state determining submodule configured to determine the connection state between the first device and the second device based on the communication network connection state of the first device and the communication network connection state of the second device;
  • the second result sending submodule is configured to send a response processing result to the second device based on the connection status between the first device and the second device, so that the second device processes the communication request based on the response processing result .
  • the second result sending submodule also includes: an information acquisition unit, a server determination unit, and a result sending unit, wherein:
  • the information obtaining unit is used to obtain associated information of the communication request, the associated information includes at least one of an associated identifier, a time stamp, and an incoming call number.
  • the server determining unit is configured to determine a server connected to the first device and the second device based on the communication network connection status of the first device and the communication network connection status of the second device.
  • the result sending unit is configured to send the response processing result and the associated information to the server, so that the server obtains the address information of the second device based on the associated information, and sends the response processing result and the associated information to the server based on the address information of the second device.
  • a second device the second device verifies the association information to determine whether to process the response processing result.
  • result sending submodule 230 also includes: a Bluetooth detection submodule, a third result sending submodule and a second network state acquisition submodule, wherein:
  • the Bluetooth detection submodule is used to detect whether the first device and the second device are connected through Bluetooth.
  • the third result sending submodule is configured to send the response processing result to the second device through the Bluetooth connection if the first device and the second device are connected through the Bluetooth connection.
  • the second network status acquiring sub-module is used to execute the steps of acquiring the communication network connection status of the first device and acquiring the communication network connection status of the second device if the first device and the second device are not connected via Bluetooth.
  • the result sending submodule 230 also includes: an information sending submodule and a device pairing submodule, wherein:
  • the information sending submodule is configured to send the device information of the first device to the server.
  • the device pairing sub-module is configured to pair with the second device, and send the device information of the second device to the server, so that the server associates the device information of the first device with the device information of the second device to obtain an association record.
  • the communication request includes a call request
  • the result sending submodule 230 also includes: a receiving instruction sending submodule, wherein:
  • the answering instruction sending submodule is configured to send the answering processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device stops responding to the communication request based on the answering processing result.
  • FIG. 11 shows a block diagram of another communication control device 300 provided by the embodiment of the present application. The following will describe the block diagram described in FIG. 11 , wherein the communication control device 300 is applied to the second device, and the second device and the first device share the same communication account information.
  • the communication control device 300 includes: an information receiving module 310 And the request processing module 320, wherein:
  • the information receiving module 310 is configured to receive a communication request generated based on the communication account.
  • the request processing module 320 is configured to process the communication request based on the response processing result when receiving the response processing result sent by the first device, wherein the response processing result is that the first device responds to a control instruction for the communication request, and based on the control The command determines the result of the processing of the response to the communication request.
  • the request processing module 320 includes: a result verification submodule and a request processing submodule, wherein:
  • the result verification sub-module is used to verify the response processing result and obtain the verification result.
  • the request processing sub-module is used for processing the communication request by the second device if the verification result indicates that the response processing result is verified.
  • the coupling between the modules may be electrical, mechanical or other forms of coupling.
  • each functional module in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.
  • the embodiment of the present application also provides a communication control system, the communication control system includes a first device and a second device, the first device and the second device share the same communication account information, wherein:
  • the first device is configured to receive a communication request generated based on a communication account.
  • the second device is configured to receive a communication request generated based on the communication account.
  • the first device is further configured to, when the first device responds to the control instruction for the communication request, determine a response processing result for the communication request based on the control instruction.
  • the first device is further configured to send a response processing result to the second device based on the communication connection relationship between the first device and the second device;
  • the second device is further configured to process the communication request based on the response processing result.
  • FIG. 12 shows a structural block diagram of an electronic device 400 provided by an embodiment of the present application.
  • the electronic device 400 in this application may include one or more of the following components: a processor 410, a memory 420, and one or more application programs, wherein one or more application programs may be stored in the memory 420 and configured to be executed by a or a plurality of processors 410, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
  • the processor 410 may include one or more processing cores.
  • the processor 410 uses various interfaces and lines to connect various parts in the entire electronic device 400, and executes or executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 420, and calling data stored in the memory 420.
  • the processor 410 may adopt at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware.
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PLA Programmable Logic Array
  • the processor 410 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • the CPU mainly handles the operating system, user interface and application programs, etc.
  • the GPU is used to render and draw the displayed content
  • the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 410, but may be realized by a communication chip alone.
  • the memory 420 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory). Memory 420 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
  • the memory 420 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like.
  • the data storage area may also be data created by the electronic device 400 during use (such as phonebook, audio and video data, chat record data) and the like.
  • FIG. 13 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
  • Program codes are stored in the computer-readable storage medium 500, and the program codes can be invoked by a processor to execute the methods described in the foregoing method embodiments.
  • the computer readable storage medium 500 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
  • the computer-readable storage medium 500 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium).
  • the computer-readable storage medium 500 has a storage space for program code 510 for executing any method steps in the above methods. These program codes can be read from or written into one or more computer program products.
  • Program code 510 may, for example, be compressed in a suitable form.
  • the communication control method, device, system, electronic device and storage medium provided by the embodiments of the present application are applied to the first device, and the first device and the second device share the same communication account information.
  • the method includes: receiving A communication request generated based on the communication account; responding to a control instruction for the communication request, and determining a response processing result for the communication request based on the control instruction; and sending the response processing result to the communication connection relationship between the first device and the second device. the second device, so that the second device processes the communication request based on the response processing result. Therefore, after the first device processes the communication request, according to the communication connection relationship between the first device and the second device, the second device is synchronously controlled to process the communication request, thereby realizing the communication between the first device and the second device.
  • the synchronous processing of requests reduces user involvement, thereby reducing power consumption of the second device.

Abstract

The present application discloses a communication control method, apparatus, and system, an electronic device, and a storage medium. The method is applied to a first device, and the first device and a second device share information of a same communication account. The method comprises: receiving a communication request generated on the basis of the communication account; responding to a control instruction for the communication request, and determining a responding result for the communication request on the basis of the control instruction; and sending the responding result to the second device on the basis of a communication connection relationship between the first device and the second device, so that the second device processes the communication request on the basis of the responding result. According to the present application, after the first device processes the communication request, according to the communication connection relationship between the first device and the second device, the second device is synchronously controlled to process the communication request, thereby implementing synchronous processing of the communication request by the first device and the second device, reducing user involvement, and further reducing the power consumption of the second device.

Description

通讯控制方法、装置、系统、电子设备及存储介质Communication control method, device, system, electronic equipment and storage medium
相关申请的交叉引用Cross References to Related Applications
本申请要求于2021年06月03日提交的申请号为CN202110619993.0的中国申请的优先权,其在此出于所有目的通过引用将其全部内容并入本文。This application claims the priority of the Chinese application No. CN202110619993.0 filed on June 3, 2021, which is hereby incorporated by reference in its entirety for all purposes.
技术领域technical field
本申请涉及通信技术领域,更具体地,涉及一种通讯控制方法、装置、系统、电子设备及存储介质。The present application relates to the technical field of communication, and more specifically, to a communication control method, device, system, electronic equipment, and storage medium.
背景技术Background technique
随着通信技术的发展,允许多个设备共享同一个通讯账号信息,这样使得用户可以在多个设备同时接收到通讯请求。With the development of communication technology, multiple devices are allowed to share the same communication account information, so that users can receive communication requests on multiple devices at the same time.
发明内容Contents of the invention
鉴于上述问题,本申请提出了一种通讯控制方法、装置、系统、电子设备及存储介质,以解决上述问题。In view of the above problems, the present application proposes a communication control method, device, system, electronic equipment and storage medium to solve the above problems.
第一方面,本申请实施例提供了一种通讯控制方法,应用于第一设备,所述第一设备和第二设备共享同一个通讯账号信息,该方法包括:接收基于所述通讯账号产生的通讯请求;响应针对所述通讯请求的控制指令,并基于所述控制指令确定对于所述通讯请求的响应处理结果;以及基于所述第一设备与所述第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备,以使所述第二设备基于所述响应处理结果对所述通讯请求进行处理。In the first aspect, the embodiment of the present application provides a communication control method, which is applied to the first device, and the first device and the second device share the same communication account information, and the method includes: receiving the information generated based on the communication account a communication request; respond to a control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction; and based on the communication connection relationship between the first device and the second device, sending the response processing result to the second device, so that the second device processes the communication request based on the response processing result.
第二方面,本申请实施例提供了一种通讯控制方法,应用于第二设备,第一设备和所述第二设备共享同一个通讯账号信息,该方法包括:接收基于所述通讯账号产生的通讯请求;当接收到所述第一设备发送的响应处理结果时,基于所述响应处理结果对所述通讯请求进行处理,其中,所述响应处理结果为所述第一设备响应针对所述通讯请求的控制指令,并基于所述控制指令确定对于所述通讯请求的响应处理结果。In the second aspect, the embodiment of the present application provides a communication control method, which is applied to the second device, and the first device and the second device share the same communication account information. The method includes: receiving the information generated based on the communication account A communication request; when receiving a response processing result sent by the first device, process the communication request based on the response processing result, wherein the response processing result is that the first device responds to the communication A control instruction of the request, and determine a response processing result to the communication request based on the control instruction.
第三方面,本申请实施例提供了一种通讯控制方法,应用于通讯控制系统,所述通讯控制系统包括第一设备以及第二设备,所述第一设备与所述第二设备共享同一个通讯账号信息,该方法包括:所述第一设备接收基于所述通讯账号产生的通讯请求;所述第二设备接收基于所述通讯账号产生的通讯请求;当所述第一设备响应针对所述通讯请求的控制指令,并基于所述控制指令确定对于所述通讯请求的响应处理结果;所述第一设备基于所述第一设备与所述第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备;以及所述第二设备基于所述响应处理结果对所述通讯请求进行处理。In the third aspect, the embodiment of the present application provides a communication control method applied to a communication control system, the communication control system includes a first device and a second device, and the first device and the second device share the same Communication account information, the method includes: the first device receiving a communication request generated based on the communication account; the second device receiving the communication request generated based on the communication account; when the first device responds to the a control instruction for a communication request, and determine a response processing result for the communication request based on the control instruction; the first device sends the responding to the second device with a processing result; and the second device processes the communication request based on the response processing result.
第四方面,本申请实施例提供了一种通讯控制装置,应用于第一设备,所述第一设备和第二设备共享同一个通讯账号信息,该装置包括:信息接收模块,用于接收基于所述通讯账号产生的通讯请求;指令响应模块,用于响应针对所述通讯请求的控制指令,并基于所述控制指令确定对于所述通讯请求的响应处理结果;以及结果发送模块,用于基于所述第一设备与所述第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备,以使所述第二设备基于所述响应处理结果对所述通讯请求进行处理。In a fourth aspect, the embodiment of the present application provides a communication control device, which is applied to the first device, and the first device and the second device share the same communication account information, and the device includes: an information receiving module, configured to receive information based on A communication request generated by the communication account; an instruction response module, configured to respond to a control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction; and a result sending module, configured to respond to the communication request based on the control instruction The communication connection relationship between the first device and the second device, sending the response processing result to the second device, so that the second device performs the communication request based on the response processing result deal with.
第五方面,本申请实施例提供了一种通讯控制装置,应用于第二设备,第一设备和所述第二设备共享同一个通讯账号信息,该装置包括:信息接收模块,用于接收基于所述通讯账号产生的通讯请求;请求处理模块,用于当接收到所述第一设备发送的响应处理结果时,基于所述响应处理结果对所述通讯请求进行处理,其中,所述响应处理结果为所述第一设备响应针对所述通讯请求的控制指令,并基于所述控制指令确定对于所述通讯请求的响应处理结果。In the fifth aspect, the embodiment of the present application provides a communication control device, which is applied to the second device, and the first device and the second device share the same communication account information, and the device includes: an information receiving module, configured to receive information based on A communication request generated by the communication account; a request processing module configured to process the communication request based on the response processing result when receiving the response processing result sent by the first device, wherein the response processing As a result, the first device responds to the control instruction for the communication request, and determines a response processing result for the communication request based on the control instruction.
第六方面,本申请实施例提供了一种通讯控制系统,所述通讯控制系统包括第一设备和第二设备,所述第一设备和所述第二设备共享同一个通讯账号信息,其中:所述第一设备,用于接收基于所述通讯账号产生的通讯请求;所述第二设备,用于接收基于所述通讯账号产生的通讯请求;所述第一设备,还用于当所述第一设备响应针对所述通讯请求的控制指令时,并基于所述控制指令确定对于所述通讯请求的响应处理结果;所述第一设备,还用于基于所述第一设备与所述第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备;以及所述第二设备,还用于基于所述响应处理结果对所述通讯请求进行处理。In a sixth aspect, the embodiment of the present application provides a communication control system, the communication control system includes a first device and a second device, and the first device and the second device share the same communication account information, wherein: The first device is configured to receive a communication request generated based on the communication account; the second device is configured to receive a communication request generated based on the communication account; the first device is also configured to receive the communication request generated based on the communication account; When the first device responds to the control instruction for the communication request, determine a response processing result for the communication request based on the control instruction; the first device is further configured to: A communication connection relationship between two devices, sending the response processing result to the second device; and the second device is further configured to process the communication request based on the response processing result.
第七方面,本申请实施例提供了一种电子设备,包括一个或多个处理器;存储器;一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行上述方法。In a seventh aspect, the embodiment of the present application provides an electronic device, including one or more processors; memory; one or more programs, wherein the one or more programs are stored in the memory and configured as Executed by the one or more processors, the one or more programs are configured to perform the above method.
第八方面,本申请实施例提供了一种计算机可读取存储介质,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行上述方法。In an eighth aspect, the embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be invoked by a processor to execute the above method.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1示出了本申请实施例提供的通讯控制方法的应用环境示意图。FIG. 1 shows a schematic diagram of an application environment of a communication control method provided by an embodiment of the present application.
图2示出了本申请实施例提供的一通讯控制方法的时序图。FIG. 2 shows a sequence diagram of a communication control method provided by an embodiment of the present application.
图3示出了本申请实施例提供的又一通讯控制方法的流程示意图。FIG. 3 shows a schematic flowchart of another communication control method provided by an embodiment of the present application.
图4示出了本申请实施例提供的另一通讯控制方法的流程示意图。FIG. 4 shows a schematic flowchart of another communication control method provided by an embodiment of the present application.
图5示出了本申请实施例提供的再一通讯控制方法的流程示意图。Fig. 5 shows a schematic flowchart of still another communication control method provided by the embodiment of the present application.
图6示出了本申请实施例提供的还一通讯控制方法的流程示意图。Fig. 6 shows a schematic flowchart of still another communication control method provided by the embodiment of the present application.
图7示出了本申请实施例提供的又另一通讯控制方法的流程示意图。Fig. 7 shows a schematic flowchart of still another communication control method provided by the embodiment of the present application.
图8示出了本申请实施例提供的又再一通讯控制方法的流程示意图。FIG. 8 shows a schematic flowchart of yet another communication control method provided by the embodiment of the present application.
图9示出了本申请实施例提供的又还一通讯控制方法的流程示意图。FIG. 9 shows a schematic flowchart of still another communication control method provided by the embodiment of the present application.
图10示出了本申请实施例提供的一通讯控制装置的模块框图。FIG. 10 shows a block diagram of a communication control device provided by an embodiment of the present application.
图11示出了本申请实施例提供的又一通讯控制装置的模块框图。Fig. 11 shows a module block diagram of another communication control device provided by an embodiment of the present application.
图12示出了本申请实施例用于执行根据本申请实施例的通讯控制方法的电子设备的框图。Fig. 12 shows a block diagram of an electronic device for executing the communication control method according to the embodiment of the present application according to the embodiment of the present application.
图13示出了本申请实施例提供的一种计算机可读取存储介质的结构框图。FIG. 13 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
随着通信技术的发展,允许多个设备共享同一个通讯账号,这样使得用户可以在多个设备同时接收到通讯请求。但目前的多个设备同步处理通讯请求的效果不佳,当用户在一个设备对通讯请求进行处理后,其余的设备不能很好进行同步处理,甚至需要用户在其他设备对通讯请求再进行处理,使得用户操作体验不便。With the development of communication technology, multiple devices are allowed to share the same communication account, so that users can receive communication requests on multiple devices at the same time. However, the current synchronous processing of communication requests by multiple devices is not effective. When a user processes a communication request on one device, other devices cannot perform synchronous processing well, and even requires the user to process the communication request on other devices. Make user operation experience inconvenient.
例如,智能手表在开通了嵌入式SIM(Embedded-SIM)一号双业务后,可以共用主设备(智能手机)的电话号码,当来电时候,手表和手机都会响铃,此时手机挂断电话,移动网络不下发挂断通知,那么手表就会一直响铃,需要用户在手表上也点击挂断,使得用户的挂断体验不便,同时继续响铃也会带来功耗问题。For example, a smart watch can share the phone number of the main device (smart phone) after enabling the Embedded-SIM (Embedded-SIM) one-number dual service. When a call comes in, both the watch and the phone will ring, and the phone will hang up If the mobile network does not issue a hangup notification, the watch will keep ringing, requiring the user to click hangup on the watch, which makes the user's hangup experience inconvenient, and continuing to ring will also cause power consumption problems.
针对上述问题,发明人提出了本申请实施例提供的通讯控制方法、装置、系统、电子设备及存储介质,通过在第一设备对通讯请求进行处理后,根据第一设备与第二设备之间的通信连接关系,同步控制第二设备对通讯请求进行处理,实现第一设备与第二设备对通讯请求的同步处理,减少用户涉入,进而降低第二设备的功耗。其中,具体的通讯控制方法在后续的实施例中进行详细的说明。In view of the above problems, the inventor proposes the communication control method, device, system, electronic device and storage medium provided by the embodiment of the present application. After the first device processes the communication request, according to the communication between the first device and the second device The communication connection relationship between the second device and the second device are controlled synchronously to process the communication request, so as to realize the synchronous processing of the communication request by the first device and the second device, reduce user involvement, and further reduce the power consumption of the second device. Wherein, the specific communication control method will be described in detail in the subsequent embodiments.
下面将先对本申请所涉及的一种应用环境进行介绍。An application environment involved in this application will first be introduced below.
请参阅图1,图1示出了可用于本申请实施例提供的通讯控制方法的应用环境示意图。通讯控制系统10包括第一设备101以及第二设备102,其中,第一设备101和第二设备102共享同一个通讯账号信息,第一设备101与第二设备102之间可以通过蓝牙连接、也可以通过WiFi连接、还可以通过ZigBee连接,在此不作限定。其中,第一设备101可以包括个人电脑、智能手机、平板电脑、穿戴式电子设备等,在此不作限定,例如,如图1所示,第一设备101可以是手机;第二设备102可以包括个人电脑、智能手机、平板电脑、穿戴式电子设备、车载电话等,在此不作限定,例如,如图1所示,第一设备102可以是手环。进一步地,设备101和设备102共享同一个通讯账号信息,可以是指当基于该通讯账号的通讯请求产生时,会同时向设备101和设备102发送通讯请求。在一些实施方式中,第一设备101和第二设备102可以是开通eSIM一号双业务的两个设备,因此,第一设备和第二设备可以共用电话号码,即同一个通讯账号信息可以是电话号码。在另一些实施方式中,第一设备和第二设备可以同时采用同一个通讯账号登录即时通讯软件,因此,同一个通讯账号信息可以是指即时通讯软件的登录账号。Please refer to FIG. 1 . FIG. 1 shows a schematic diagram of an application environment applicable to the communication control method provided by the embodiment of the present application. The communication control system 10 includes a first device 101 and a second device 102, wherein the first device 101 and the second device 102 share the same communication account information, and the first device 101 and the second device 102 can be connected via Bluetooth or It can be connected through WiFi or ZigBee, which is not limited here. Wherein, the first device 101 may include a personal computer, a smart phone, a tablet computer, a wearable electronic device, etc., and is not limited here. For example, as shown in FIG. 1 , the first device 101 may be a mobile phone; the second device 102 may include Personal computers, smart phones, tablet computers, wearable electronic devices, car phones, etc. are not limited here. For example, as shown in FIG. 1 , the first device 102 may be a wristband. Further, the fact that the device 101 and the device 102 share the same communication account information may mean that when a communication request based on the communication account is generated, the communication request will be sent to the device 101 and the device 102 at the same time. In some implementations, the first device 101 and the second device 102 can be two devices that have activated eSIM One Number Dual Service. Therefore, the first device and the second device can share a phone number, that is, the same communication account information can be phone number. In other embodiments, the first device and the second device may use the same communication account to log into the instant messaging software at the same time, therefore, the same communication account information may refer to the login account of the instant messaging software.
进一步地,通讯控制系统10还可以包括基站103以及移动网络104,其中,第一设备101和第二设备102都可以独立的建立到基站103的无线连接,并且能够独立的注册移动网络104,接收移动网络104下发的通知。Further, the communication control system 10 may also include a base station 103 and a mobile network 104, wherein both the first device 101 and the second device 102 can independently establish a wireless connection to the base station 103, and can independently register with the mobile network 104, receive A notification issued by the mobile network 104.
进一步地,通讯控制系统10还可以包括服务器105,其中,服务器105可以采用传统服务器,也可以采用云端服务器,在此不作限定。服务器105可以通过2G/3G/4G/5G等数据网络的形式分别与第一设备101和第二设备102建立连接,也可以通过WIFI等无线网络的形式分别与第一设备101和第二设备102建立连接。Further, the communication control system 10 may also include a server 105, where the server 105 may be a traditional server or a cloud server, which is not limited here. The server 105 can respectively establish a connection with the first device 101 and the second device 102 through a data network such as 2G/3G/4G/5G, or can connect with the first device 101 and the second device 102 through a wireless network such as WIFI. establish connection.
请参阅图2,图2示出了本申请实施例提供的一通讯控制方法的时序图。下面将针对图2所示的流程进行详细的阐述,其中,该通讯控制方法应用于通讯控制系统,该通讯控制系统包括第一设备以及第二设备,第一设备与第二设备共享同一个通讯账号信息,该通讯控制方法具体可以包括以下步骤S110至步骤S150。Please refer to FIG. 2 , which shows a sequence diagram of a communication control method provided by an embodiment of the present application. The process shown in Figure 2 will be described in detail below, wherein the communication control method is applied to a communication control system, the communication control system includes a first device and a second device, and the first device and the second device share the same communication For account information, the communication control method may specifically include the following steps S110 to S150.
步骤S110:第一设备接收基于通讯账号产生的通讯请求。Step S110: the first device receives a communication request generated based on the communication account.
在本实施例中,通讯控制系统包括第一设备和第二设备,其中,第一设备和第二设备共享同一个通讯账号信息。在一些实施方式中,第一设备和第二设备可以是开通eSIM一号双业务的两个设备,因此,第一设备和第二设备可以共用电话号码,即同一个通讯账号信息可以是电话号码。在一些实施方式中,第一设备和第二设备可以同时采用同一个通讯账号登录即时通讯软件,因此,同一个通讯账号信息可以是指即时通讯软件的登录账号。In this embodiment, the communication control system includes a first device and a second device, wherein the first device and the second device share the same communication account information. In some implementations, the first device and the second device may be two devices that have activated eSIM One Number Dual Service. Therefore, the first device and the second device may share a phone number, that is, the same communication account information may be a phone number . In some embodiments, the first device and the second device may use the same communication account to log into the instant messaging software at the same time, therefore, the same communication account information may refer to the login account of the instant messaging software.
其他用户可以通过对该通讯账号产生通讯请求,来与该用户进行交互。其中,通讯账号可以是电话号码,也可以是即时通讯软件的登录账号,在此不作限定。通讯请求可以包括通话请求,例如可以是语音通话呼叫请求、视频通话呼叫请求等,通讯请求也可以包括聊天请求,即可以是通过文字信息进行交互的请求。Other users can interact with the user by generating a communication request for the communication account. Wherein, the communication account may be a phone number, or a login account of an instant messaging software, which is not limited here. The communication request may include a call request, for example, a voice call call request, a video call call request, etc. The communication request may also include a chat request, that is, a request for interaction through text messages.
在一些实施方式中,当基于该通讯账号的通讯请求产生时(如对该通讯账号的来电呼入事件发生),第一设备和第二设备会同时接收到基于通讯账号产生的通讯请求。进一步地,第一设备和第二设备在接收到基于通讯账号产生的通讯请求时可以同步收到该通讯请求的提示信息,其中,提示信息用于提示用户当前有其他用户想要与其进行交互。提示信息可以通过响铃的方式输出,也可以通过震动的方式输出,还可以通过在屏幕上显示通知的方式输出,在此不作限定。作为一种实施方式,第一设备和第二设备是开通eSIM一号双业务的两个设备,第一设备和第二设备共用电话号码,当有来电呼入该电话号码时,由于第一设备和第二设备是与基站独立连接,因此,第一设备和第二设备会同时接收到对该电话号码的呼叫通知。例如,第一设备可以是手机,第二设备可以是手表,当移动网络通过基站发送呼叫请求时,手机和手表可以同时接收到来电通知响铃。作为另一种实施方式,第一设备和第二设备可以同时采用同一个通讯账号登录即时通讯软件,当对该登录账号发起通讯请求时,第一设备和第二设备可以同时接收到该通讯请求的通知。例如,第一设备可以是手机,第二设备可以是电脑,当通讯软件的该登录账号有视频通话呼叫时,第一设备和第二设备可以同时接收到视频通话呼叫的提示信息。在其他的实施例中,通讯请求可以包括通话请求、短消息呼入连接请求、视频连接请求、会议连接请求中的至少一种。In some embodiments, when a communication request based on the communication account is generated (for example, an incoming call event to the communication account occurs), the first device and the second device will simultaneously receive the communication request based on the communication account. Further, when the first device and the second device receive a communication request generated based on the communication account, they may simultaneously receive prompt information of the communication request, wherein the prompt information is used to remind the user that there are currently other users who want to interact with them. The prompt information may be output by ringing a bell, by vibrating, or by displaying a notification on the screen, which is not limited herein. As an implementation, the first device and the second device are two devices that have activated the eSIM one-number dual service. The first device and the second device share a phone number. When a call comes in to the phone number, the first device The first device and the second device are independently connected to the base station, therefore, the first device and the second device will simultaneously receive a call notification to the phone number. For example, the first device can be a mobile phone, and the second device can be a watch. When the mobile network sends a call request through the base station, the mobile phone and the watch can simultaneously receive an incoming call notification and ring. As another implementation, the first device and the second device can use the same communication account to log in to the instant messaging software at the same time, and when a communication request is initiated to the login account, the first device and the second device can receive the communication request at the same time announcement of. For example, the first device can be a mobile phone, and the second device can be a computer. When the login account of the communication software has a video call call, the first device and the second device can simultaneously receive the prompt information of the video call call. In other embodiments, the communication request may include at least one of a call request, an incoming short message connection request, a video connection request, and a meeting connection request.
步骤S120:第二设备接收基于通讯账号产生的通讯请求。Step S120: the second device receives a communication request generated based on the communication account.
在本实施例中,由于第一设备和第二设备共享同一个通讯账号信息,因此,当对该通讯账号进行通讯请求时,第一设备和第二设备都会接收到基于该通讯账号产生的通讯请求。In this embodiment, since the first device and the second device share the same communication account information, when a communication request is made to the communication account, both the first device and the second device will receive the communication generated based on the communication account ask.
步骤S130:当第一设备响应针对通讯请求的控制指令时,基于所述控制指令确定对于所述通讯请求的响应处理结果。Step S130: When the first device responds to the control instruction for the communication request, determine a response processing result for the communication request based on the control instruction.
在本实施例中,第一设备和第二设备在接收到基于通讯账号产生的通讯请求后,用户可以对第一设备或第二设备进行控制,以对该通讯请求进行响应。当第一设备响应针对通讯请求的控制指令时,可以基于控制指令确定对于该通讯请求的响应处理结果。In this embodiment, after the first device and the second device receive the communication request generated based on the communication account, the user can control the first device or the second device to respond to the communication request. When the first device responds to the control instruction for the communication request, it may determine a response processing result for the communication request based on the control instruction.
在一些实施方式中,可以获取用户对第一设备的操作以确定针对通讯请求的控制指令。作为一种实施方式,第一设备的屏幕下可以设置有传感器,通过传感器检测用户对屏幕的操作,当通过传感器检测到屏幕被触碰时,可以通过确定被触碰的区域获取针对通讯请求的控制指令。例如,通讯请求可以是通话请求,第一设备的屏幕上可以显示接听控件和挂断控件,若检测到被触碰的区域为接听控件所在的区域,则可以确定针对通讯请求的控制指令为接听指令。进一步地,还可以通过确定用户的操作路径获取针对通讯请求的控制指令,例如通讯请求可以是通话请求,第一设备的屏幕上可以显示有接听区域、挂断区域、移动控件,若检测到用户的操作路径是将移动控件移动至挂断区域,则可以确定针对通讯请求的控制指令是挂断指令。In some implementation manners, the user's operation on the first device may be acquired to determine the control instruction for the communication request. As an implementation, a sensor may be provided under the screen of the first device, and the sensor detects the user's operation on the screen. When the sensor detects that the screen is touched, the contact information for the communication request can be obtained by determining the touched area. Control instruction. For example, the communication request may be a call request, and an answer control and a hang up control may be displayed on the screen of the first device. If it is detected that the touched area is the area where the answer control is located, it may be determined that the control command for the communication request is to answer the call. instruction. Further, the control instruction for the communication request can also be obtained by determining the user's operation path. For example, the communication request can be a call request, and the screen of the first device can display an answering area, a hanging up area, and a mobile control. If the operation path is to move the mobile control to the hangup area, it can be determined that the control instruction for the communication request is a hangup instruction.
在一些实施方式中,在确定针对通讯请求的控制指令后,第一设备可以响应针对通讯请求的控制指令,并基于控制指令确定对于通讯请求的响应处理结果,响应处理结果可以用于表征用户对通讯请求的操作。其中,可以预先存储有控制指令与响应处理结果的对应关系,通过查询对应关系,即可根据控制指令确定对于通讯请求的响应处理结果。例如,当确定针对通讯请求的控制指令为接听指令时,第一设备可以响应该控制指令,对来电进行接听,并根据控制指令与响应处理结果的对应关系,确定对该通讯请求的响应处理结果,即对该通讯请求进行接听后,该通讯请求的处理结果为接听。In some implementations, after determining the control instruction for the communication request, the first device can respond to the control instruction for the communication request, and determine the response processing result for the communication request based on the control instruction, and the response processing result can be used to represent the user's response to the communication request. The action requested by the communication. Wherein, the corresponding relationship between the control instruction and the response processing result can be stored in advance, and the response processing result for the communication request can be determined according to the control instruction by querying the corresponding relationship. For example, when it is determined that the control instruction for the communication request is an answer instruction, the first device may answer the incoming call in response to the control instruction, and determine the response processing result of the communication request according to the correspondence between the control instruction and the response processing result , that is, after answering the communication request, the processing result of the communication request is answering.
步骤S140:第一设备基于第一设备与第二设备之间的通信连接关系,发送响应处理结果至第二设备。Step S140: the first device sends a response processing result to the second device based on the communication connection relationship between the first device and the second device.
在本实施例中,第一设备和第二设备可以通过无线连接方式进行通信。作为一种实施方式,第一设备和第二设备之间可以通过蓝牙进行连接,当第一设备与第二设备之间通过蓝牙连接时,第一设备可以通过蓝牙连接发送响应处理结果至第二设备。In this embodiment, the first device and the second device may communicate through a wireless connection. As an implementation, the first device and the second device can be connected through Bluetooth. When the first device and the second device are connected through Bluetooth, the first device can send the response processing result to the second device through the Bluetooth connection. equipment.
作为另一种实施方式,当第一设备与第二设备之间未通过蓝牙连接时,第二设备可以通过其他方式将响应处理结果发送至第二设备第一设备与第二设备之间也可以通过通信网络进行通信,第一设备可以通过通信网络发送响应处理结果至第二设备,具体地,可以基于第一设备的通信网络连接状态以及第二设备的通信网络连接状态,确定第一设备与第二设备的连接状态,当第一设备与第二设备之间存在通信连接时,第一设备可以通过通信网络发送响应处理结果至第二设备。例如,可以分别检测第一设备、第二设备是否与通信网络建立连接,当第一设备、第二设备均与通信网络建立连接,第一设备可以通过通信网络将响应处理结果发送至第二设备。进一步地,当第一设备与第二设备之间存在通信连接时,或者当第一设备、第二设备均与通信网络建立连接时,还可以确定与第一设备、第二设备连接的服务器,第一设备可以通过该服务器发送响应处理结果至第二设备。作为另一种实施方式,当第一设备和第二设备均连接至同一个局域网时,第一设备可以通过该局域网发送响应处理结果至第二设备,例如,第一设备可以确定其与第二设备是否连接在同一个Wi-Fi网络下,若第一设备与第二设备连接在同一个Wi-Fi网络下,第一设备可以通过该Wi-Fi网络将响应处理结果发送至第二设备。As another implementation mode, when the first device and the second device are not connected through Bluetooth, the second device may send the response processing result to the second device in other ways To communicate through the communication network, the first device may send the response processing result to the second device through the communication network, specifically, based on the connection status of the communication network of the first device and the connection status of the communication network of the second device, it may be determined whether the first device is connected to the communication network. The connection state of the second device, when there is a communication connection between the first device and the second device, the first device can send the response processing result to the second device through the communication network. For example, it is possible to separately detect whether the first device and the second device are connected to the communication network, and when both the first device and the second device are connected to the communication network, the first device may send the response processing result to the second device through the communication network . Further, when there is a communication connection between the first device and the second device, or when both the first device and the second device establish a connection with the communication network, the server connected to the first device and the second device may also be determined, The first device may send the response processing result to the second device through the server. As another implementation manner, when both the first device and the second device are connected to the same local area network, the first device can send the response processing result to the second device through the local area network, for example, the first device can determine that it is the same as the second device Whether the devices are connected to the same Wi-Fi network, if the first device and the second device are connected to the same Wi-Fi network, the first device can send the response processing result to the second device through the Wi-Fi network.
第一设备对通讯请求进行处理后,可以基于第一设备与第二设备之间的通信连接关系,发送响应处理结果至第二设备,以使第二设备可以同步对通讯请求进行处理。其中,第一设备可以通过蓝牙连接将响应处理结果发送至第二设备,也可以通过移动通信网络将响应处理结果发送至第二设备,还可以通过服务器将响应处理结果发送至第二设备,在此不作限定。After processing the communication request, the first device may send a response processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device can process the communication request synchronously. Wherein, the first device may send the response processing result to the second device through the Bluetooth connection, may also send the response processing result to the second device through the mobile communication network, and may also send the response processing result to the second device through the server. This is not limited.
步骤S150:第二设备基于响应处理结果对通讯请求进行处理。Step S150: the second device processes the communication request based on the response processing result.
在本实施例中,第二设备在接收到第一设备发送的响应处理结果时,可以基于响应处理结果对通讯请求进行处理。具体地,不同的响应处理结果对应不同的处理方式,可以预先设置有响应处理结果与通讯请求的处理方式的对应关系,即可根据接收到的响应处理结果确定对应的处理方式。例如,当响应处理结果为第一设备对通讯请求进行挂断的处理结果时,可以确定第二设备对通讯请求的处理方式为对通讯请求进行挂断;当响应处理结果为第一设备对通讯请求进行接听的处理结果时,可以确定第二设备对通讯请求的处理方式为停止响应该通讯请求,进一步地,第二设备也可以在确定第一设备对通讯请求进行接听时,不显示该通讯请求。上述举例仅为示例,在此不作限定,具体响应处理结果与处理方式的对应关系可以根据需求自行设定。In this embodiment, when the second device receives the response processing result sent by the first device, it may process the communication request based on the response processing result. Specifically, different response processing results correspond to different processing methods, and a corresponding relationship between response processing results and communication request processing methods may be preset, and the corresponding processing methods may be determined according to the received response processing results. For example, when the response processing result is that the first device hangs up the communication request, it can be determined that the second device handles the communication request as hanging up the communication request; When requesting to answer the processing result, it can be determined that the second device handles the communication request as stopping responding to the communication request. Further, the second device can also not display the communication request when it is determined that the first device answers the communication request. ask. The above examples are only examples, and are not limited here, and the corresponding relationship between specific response processing results and processing methods can be set according to requirements.
在一些实施方式中,当第一设备和第二设备均接收到基于通讯账号产生的通讯请求,用户还可以对第二设备进行操作,以使第二设备响应针对通讯请求的控制指令,基于控制指令确定对于通讯请求的响应处理结果,进而第二设备可以根据第一设备与第二设备之间的通信连接关系,将响应处理结果发送至第一设备,由第一设备基于该响应处理结果对通讯请求进行处理。例如,手机和手表都接收到来电通知响铃,当用户通过手机对来电进行挂断时,手机可以将来电挂断信息发送至手表,以使手表对来电同步进行挂断;当用户通过手表对来电进行挂断时,手表可以将来电挂断信息发送至手机,以使手机对来电同步进行挂断。In some embodiments, when both the first device and the second device receive a communication request generated based on the communication account, the user can also operate the second device so that the second device responds to a control instruction for the communication request, based on the control The instruction determines the response processing result for the communication request, and then the second device can send the response processing result to the first device according to the communication connection relationship between the first device and the second device, and the first device can send the response processing result to the first device based on the response processing result. Communication requests are processed. For example, both the mobile phone and the watch receive an incoming call notification ring, when the user hangs up the incoming call through the mobile phone, the mobile phone can send the incoming call hangup information to the watch, so that the watch can hang up the incoming call synchronously; when the user hangs up the incoming call through the watch When the incoming call is hung up, the watch can send the incoming call hanging up information to the mobile phone, so that the mobile phone can hang up the incoming call synchronously.
本实施例提供的通讯控制方法中,第一设备接收基于通讯账号产生的通讯请求;第二设备接收基于通讯账号产生的通讯请求;当第一设备响应针对通讯请求的控制指令时,基于控制指令确定对于通讯请求的响应处理结果;第一设备基于第一设备与第二设备之间的通信连接关系,发送响应处理结果至第二设备;第二设备基于响应处理结果对通讯请求进行处理。从而通过在第一设备对通讯请求进行处理后,根据第一设备与第二设备之间的通信连接关系,同步控制第二设备对通讯请求进行处理,实现第一设备与第二设备对通讯请求的同步处理,减少用户涉入,进而降低第二设备的功耗。In the communication control method provided in this embodiment, the first device receives the communication request generated based on the communication account; the second device receives the communication request generated based on the communication account; when the first device responds to the control instruction for the communication request, based on the control instruction Determine the response processing result for the communication request; the first device sends the response processing result to the second device based on the communication connection relationship between the first device and the second device; the second device processes the communication request based on the response processing result. Therefore, after the first device processes the communication request, according to the communication connection relationship between the first device and the second device, the second device is synchronously controlled to process the communication request, so that the communication request between the first device and the second device is realized. Synchronization processing reduces user involvement, thereby reducing power consumption of the second device.
请参阅图3,图3示出了本申请实施例提供的又一通讯控制方法的流程示意图,其中,该通讯控制方法应用于第一设备,第一设备与第二设备共享同一个通讯账号信息,该通讯控制方法具体可以包括以下步骤S210至步骤S230。Please refer to Fig. 3, Fig. 3 shows a schematic flowchart of another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the first device, and the first device and the second device share the same communication account information , the communication control method may specifically include the following steps S210 to S230.
步骤S210:接收基于通讯账号产生的通讯请求。Step S210: Receive a communication request generated based on the communication account.
其中,步骤S210的具体描述请参阅步骤S110,在此不再赘述。Wherein, for the specific description of step S210, please refer to step S110, which will not be repeated here.
步骤S220:响应针对通讯请求的控制指令,并基于控制指令确定对于通讯请求的响应处理结果。Step S220: Respond to the control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction.
步骤S230:基于第一设备与第二设备之间的通信连接关系,发送响应处理结果至第二设备,以使第二设备基于响应处理结果对通讯请求进行处理。Step S230: Based on the communication connection relationship between the first device and the second device, send a response processing result to the second device, so that the second device processes the communication request based on the response processing result.
其中,步骤S220-步骤S230的具体描述请参阅步骤S130-步骤S140,在此不再赘述。Wherein, for the specific description of step S220-step S230, please refer to step S130-step S140, which will not be repeated here.
本实施例提供的通讯控制方法中,接收基于通讯账号产生的通讯请求;响应针对通讯请求的控制指令,并基于控制指令确定对于通讯请求的响应处理结果;以及基于第一设备与第二设备之间的通信连接关系,发送响应处理结果至第二设备,以使第二设备基于响应处理结果对通讯请求进行处理。从而通过在第一设备对通讯请求进行处理后,根据第一设备与第二设备之间的通信连接关系,同步控制第二设备对通讯请求进行处理,实现第一设备与第二设备对通讯请求的同步处理,减少用户涉入,进而降低第二设备的功耗。In the communication control method provided in this embodiment, the communication request generated based on the communication account is received; the control instruction for the communication request is responded to, and the response processing result for the communication request is determined based on the control instruction; and based on the relationship between the first device and the second device and send the response processing result to the second device, so that the second device processes the communication request based on the response processing result. Therefore, after the first device processes the communication request, according to the communication connection relationship between the first device and the second device, the second device is synchronously controlled to process the communication request, so that the communication request between the first device and the second device is realized. Synchronization processing reduces user involvement, thereby reducing power consumption of the second device.
请参阅图4,图4是示出了本申请实施例提供的另一通讯控制方法的流程示意图,其中,该通讯控制方法应用于第一设备,第一设备与第二设备共享同一个通讯账号信息,该通讯请求包括通话请求,该通讯 控制方法具体可以包括以下步骤S310至步骤S330。Please refer to Figure 4, Figure 4 is a schematic flow diagram showing another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the first device, and the first device and the second device share the same communication account information, the communication request includes a call request, and the communication control method may specifically include the following steps S310 to S330.
步骤S310:接收基于通讯账号产生的通讯请求。Step S310: Receive a communication request generated based on the communication account.
其中,步骤S310的具体描述请参阅步骤S110,在此不再赘述。Wherein, for the specific description of step S310, please refer to step S110, which will not be repeated here.
步骤S320:响应对通话请求的挂断指令,并基于挂断指令确定对通话请求的挂断处理结果。Step S320: Respond to the hangup instruction of the call request, and determine a hangup processing result of the call request based on the hangup instruction.
在本实施例中,由于第一设备和第二设备共享同一个通讯账号,当对该通讯账号进行通话请求时,第一设备和第二设备会同时接收到该通话请求。例如,第一设备和第二设备会同时接收并输出通话请求通知响铃,若用户通过第一设备对通话请求进行挂断,不下发挂断通知时,第二设备会一直响铃,就需要用户在第二设备也去点击挂断,这样用户挂断体验不便,同时继续响铃也带来了功耗问题。因此可以在用户通过第一设备对通话请求进行挂断,同步控制第二设备对通话请求进行挂断。具体地,第一设备可以响应对通话请求的挂断指令,并基于挂断指令确定对通话请求的挂断处理结果。In this embodiment, since the first device and the second device share the same communication account, when a call request is made to the communication account, the first device and the second device will simultaneously receive the call request. For example, the first device and the second device will simultaneously receive and output a call request notification ringing, if the user hangs up the call request through the first device, and the second device will keep ringing when the hangup notification is not issued, it is necessary to The user also clicks to hang up on the second device, which makes it inconvenient for the user to hang up. At the same time, continuing to ring the phone also brings power consumption problems. Therefore, when the user hangs up the call request through the first device, the second device can be synchronously controlled to hang up the call request. Specifically, the first device may respond to a hangup instruction for the call request, and determine a hangup processing result for the call request based on the hangup instruction.
在一些实施方式中,用户可以对第一设备进行操作,第一设备通过检测用户的操作来确定用户对通话请求的操作。具体地,第一设备的屏幕下可以设置有多个传感器,不同的传感器用来检测屏幕不同的区域,不同的区域对应不同的操作指令,例如,区域A对应挂断操作,区域B对应接听操作,区域C对应静音操作等,当检测到区域A被用户触碰,则可以确定用户对通话请求的操作为挂断操作,即用户对通话请求的指令为挂断指令。作为另一种实施方式,用户可以通过语音来对通话请求进行操作,当第一设备接收到用户的语音信息时,可以获取该语音信息对应的操作,例如,当第一设备接收到用户说出的“拒接”,可以确定用户对通话请求的指令为挂断指令。In some implementation manners, the user may operate the first device, and the first device determines the user's operation on the call request by detecting the user's operation. Specifically, multiple sensors may be provided under the screen of the first device. Different sensors are used to detect different areas of the screen, and different areas correspond to different operation instructions. For example, area A corresponds to the hang-up operation, and area B corresponds to the answering operation. , area C corresponds to the mute operation, etc., when it is detected that area A is touched by the user, it can be determined that the user's operation on the call request is a hangup operation, that is, the user's instruction on the call request is a hangup instruction. As another implementation, the user can operate the call request through voice, and when the first device receives the user's voice information, it can obtain the operation corresponding to the voice information, for example, when the first device receives the user's voice "Rejection" can determine that the user's command for the call request is a hang up command.
进一步地,对通话请求的不同控制指令,会对应对通话请求的不同响应处理结果,在本实施例中,第一设备响应对通话请求的挂断指令,可以根据通话请求的控制指令与通话请求的响应处理结果的对应关系,确定挂断指令对应的响应处理结果为对通话请求的挂断处理结果。Further, different control instructions for the call request will have different response processing results for the call request. In this embodiment, the first device responds to the hang up instruction for the call request, and can respond to the call request according to the control instruction of the call request and the call request. The corresponding relationship of the response processing results of the hang-up instruction is determined as the hang-up processing result of the call request.
步骤S330:基于第一设备与第二设备之间的通信连接关系,发送挂断处理结果至第二设备,以使第二设备基于挂断处理结果将通话请求进行挂断。Step S330: Based on the communication connection relationship between the first device and the second device, send a hangup processing result to the second device, so that the second device hangs up the call request based on the hangup processing result.
在本实施例中,当第一设备对通话请求进行挂断时,可以基于第一设备与第二设备之间的通信连接关系,发送挂断处理结果至第二设备,以使第二设备基于该挂断处理结果将通话请求进行挂断。其中,第一设备可以通过蓝牙连接将挂断处理结果发送至第二设备,也可以通过移动通信网络将挂断处理结果发送至第二设备,还可以通过服务器将挂断处理结果发送至第二设备,在此不作限定。In this embodiment, when the first device hangs up the call request, it may send the hangup processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device can The hangup processing result is a call request to hang up. Wherein, the first device may send the hang-up processing result to the second device through the Bluetooth connection, may also send the hang-up processing result to the second device through the mobile communication network, and may also send the hang-up processing result to the second device through the server. equipment is not limited here.
本实施例提供的通讯控制方法中,在第一设备对通话请求进行挂断时,同步控制第二设备对通话请求进行挂断,从而无需用户控制第二设备对通话请求进行挂断,提升用户的挂断体验,同时降低第二设备的功耗。In the communication control method provided by this embodiment, when the first device hangs up the call request, the second device is synchronously controlled to hang up the call request, so that the user does not need to control the second device to hang up the call request, improving user Hang up experience, while reducing the power consumption of the second device.
请参阅图5,图5是示出了本申请实施例提供的再一通讯控制方法的流程示意图,其中,该通讯控制方法应用于第一设备,第一设备与第二设备共享同一个通讯账号信息,该方法具体可以包括步骤S410至步骤S440。Please refer to Fig. 5, Fig. 5 is a schematic flow diagram showing another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the first device, and the first device and the second device share the same communication account information, the method may specifically include step S410 to step S440.
步骤S410:接收基于通讯账号产生的通讯请求。Step S410: Receive a communication request generated based on the communication account.
步骤S420:响应针对通讯请求的控制指令,并基于控制指令确定对于通讯请求的响应处理结果。Step S420: Respond to the control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction.
其中,步骤S410-步骤S420的具体描述请参阅步骤S210-步骤S220,在此不再赘述。Wherein, for the specific description of step S410-step S420, please refer to step S210-step S220, which will not be repeated here.
步骤S430:获取第一设备与第二设备之间的蓝牙连接状态。Step S430: Obtain the Bluetooth connection status between the first device and the second device.
在本实施例中,第一设备和第二设备可以通过蓝牙进行通信,因此,可以获取第一设备与第二设备之间的蓝牙连接状态。其中,可以实时获取第一设备与第二设备之间的蓝牙连接状态,也可以间隔预设时长获取第一设备与第二设备之间的蓝牙连接状态,也可以按用户设置的方式获取第一设备与第二设备之间的蓝牙连接状态,在此不作限定。In this embodiment, the first device and the second device can communicate through Bluetooth, therefore, the Bluetooth connection status between the first device and the second device can be acquired. Among them, the Bluetooth connection status between the first device and the second device can be obtained in real time, or the Bluetooth connection status between the first device and the second device can be obtained at intervals of preset time intervals, or the first device can be obtained according to the method set by the user. The Bluetooth connection state between the device and the second device is not limited here.
其中,第一设备与第二设备之间的蓝牙连接状态可以包括处于连接状态和未处于连接状态。作为一种实施方式,可以通过查看第一设备和第二设备的蓝牙模块的状态值的方式来获取第一设备与第二设备之间的蓝牙连接状态,具体地,当第一设备与第二设备之间通过蓝牙连接时,返回第一状态值;当第一设备与第二设备之间未通过蓝牙连接时,可以返回第二状态值,从而可以通过检测第一状态值和第二状态值的方式确定第一设备与第二设备之间是否建立了蓝牙连接。Wherein, the Bluetooth connection state between the first device and the second device may include a connected state and an unconnected state. As an implementation manner, the Bluetooth connection status between the first device and the second device can be obtained by checking the status values of the Bluetooth modules of the first device and the second device, specifically, when the first device and the second device When the devices are connected via Bluetooth, the first status value is returned; when the first device and the second device are not connected via Bluetooth, the second status value can be returned, so that the first status value and the second status value can be detected Determine whether a Bluetooth connection is established between the first device and the second device in a manner.
步骤S440:基于第一设备与第二设备之间的蓝牙连接状态,发送响应处理结果至第二设备,以使第二设备基于响应处理结果对通讯请求进行处理。Step S440: Based on the Bluetooth connection status between the first device and the second device, send a response processing result to the second device, so that the second device processes the communication request based on the response processing result.
在本实施例中,可以基于第一设备与第二设备之间已建立的蓝牙连接状态,将响应处理结果发送至第二设备,以使第二设备基于响应处理结果对通讯请求进行处理。具体地,当第一设备与第二设备之间通过蓝牙连接时,第一设备可以通过蓝牙连接将响应处理结果发送至第二设备;其中,第一设备和第二设备在建立蓝牙连接时,第二设备开始广播,第一设备扫描广播包数据,当第一设备扫描到第二设备的广播包数据时,与第二设备建立蓝牙连接,当第一设备与第二设备建立蓝牙连接后,可以进行数据传输,第一设备可以将响应处理结果通过蓝牙连接发送给第二设备,从而采用低功耗的蓝牙通信来实现第一设备和第二设 备对通讯请求的同步控制,降低第一设备和第二设备的功耗。In this embodiment, the response processing result may be sent to the second device based on the established Bluetooth connection status between the first device and the second device, so that the second device processes the communication request based on the response processing result. Specifically, when the first device and the second device are connected through Bluetooth, the first device may send the response processing result to the second device through the Bluetooth connection; wherein, when the first device and the second device establish the Bluetooth connection, The second device starts broadcasting, the first device scans the broadcast packet data, and when the first device scans the broadcast packet data of the second device, it establishes a Bluetooth connection with the second device, and when the first device establishes a Bluetooth connection with the second device, Data transmission is possible, and the first device can send the response processing result to the second device through the Bluetooth connection, thereby using low-power Bluetooth communication to realize the synchronous control of the communication request between the first device and the second device, reducing the cost of the first device. and the power consumption of the second device.
本实施例提供的通讯控制方法中,可以通过第一设备与第二设备之间的蓝牙连接状态,确定第一设备发送响应处理结果的方式,从而实现第一设备与第二设备对通讯请求的同步控制。In the communication control method provided in this embodiment, the way the first device sends the response processing result can be determined through the Bluetooth connection status between the first device and the second device, so as to realize the communication request between the first device and the second device. synchronous control.
请参阅图6,图6是示出了本申请实施例提供的还一通讯控制方法的流程示意图,其中,该通讯控制方法应用于第一设备,第一设备与第二设备共享同一个通讯账号信息,该方法具体可以包括以下步骤S510至步骤S550。Please refer to FIG. 6. FIG. 6 is a schematic flow diagram showing another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the first device, and the first device and the second device share the same communication account information, the method may specifically include the following steps S510 to S550.
步骤S510:接收基于通讯账号产生的通讯请求。Step S510: Receive a communication request generated based on the communication account.
步骤S520:响应针对通讯请求的控制指令,并基于控制指令确定对于通讯请求的响应处理结果。Step S520: Respond to the control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction.
其中,步骤S510-步骤S520的具体描述请参阅步骤S210-步骤S220,在此不再赘述。Wherein, for the specific description of step S510-step S520, please refer to step S210-step S220, which will not be repeated here.
步骤S530:获取第一设备的通信网络连接状态,以及获取第二设备的通信网络连接状态。Step S530: Obtain the communication network connection status of the first device, and acquire the communication network connection status of the second device.
在本实施例中,可以获取第一设备的通信网络连接状态,以及获取第二设备的通信网络连接状态。其中,可以分别实时获取第一设备和第二设备的通信网络连接状态,也可以间隔预设时长分别获取第一设备和第二设备的通信网络连接状态,也可以按用户设置的方式分别获取第一设备和第二设备的通信网络连接状态。In this embodiment, the communication network connection status of the first device may be acquired, and the communication network connection status of the second device may be acquired. Among them, the connection status of the communication network of the first device and the second device can be respectively obtained in real time, or the communication network connection status of the first device and the second device can be respectively obtained at intervals of preset time intervals, or the connection status of the communication network of the first device and the second device can be respectively obtained according to the method set by the user. The communication network connection status of a device and a second device.
在一些实施方式中,可以检测设备当前的网络状态,获取网络连接的所有信息,然后可以根据需要取出网络连接信息,例如,可以获取WiFi连接的信息,也可以获取移动数据连接的信息,根据网络连接信息获取设备的通信网络连接状态。在另一些实施方式中,通信网络连接状态在发生改变时,第一设备和第二设备会分别发送广播,第一设备和第二设备可以通过监听广播的方式,确定自己的通信网络连接状态。In some implementations, the current network status of the device can be detected, all information about the network connection can be obtained, and then the network connection information can be retrieved as needed, for example, the information about the WiFi connection can be obtained, and the information about the mobile data connection can also be obtained, according to the network The connection information acquires the communication network connection status of the device. In some other embodiments, when the communication network connection status changes, the first device and the second device will respectively send a broadcast, and the first device and the second device can determine their own communication network connection status by listening to the broadcast.
步骤S540:基于第一设备的通信网络连接状态以及第二设备的通信网络连接状态,确定第一设备与第二设备的连接状态。Step S540: Determine the connection status between the first device and the second device based on the communication network connection status of the first device and the communication network connection status of the second device.
在本实施例中,可以基于第一设备的通信网络连接状态以及第二设备的通信网络连接状态,确定第一设备与第二设备的连接状态。其中,当第一设备的通信网络状态表明第一设备已联网,第二设备的通信网络状态表明第二设备已联网时,第一设备与第二设备可以通过通信网络传输数据。因此,可以通过第一设备和第二设备的通信网络连接状态,判断第一设备、第二设备是否与通信网络建立连接,即判断第一设备、第二设备是否已联网,进而确定第一设备与第二设备的连接状态。当第一设备、第二设备均与通信网络建立连接时,可以确定第一设备与第二设备的连接状态为已连接状态,此时,第一设备和第二设备可以通过通信网络传输数据。In this embodiment, the connection status between the first device and the second device may be determined based on the communication network connection status of the first device and the communication network connection status of the second device. Wherein, when the communication network status of the first device indicates that the first device is connected to the Internet, and the communication network status of the second device indicates that the second device is connected to the Internet, the first device and the second device may transmit data through the communication network. Therefore, through the communication network connection status of the first device and the second device, it can be judged whether the first device and the second device have established a connection with the communication network, that is, it can be judged whether the first device and the second device have been connected to the network, and then the first device can be determined. The connection status with the second device. When both the first device and the second device are connected to the communication network, it can be determined that the connection status of the first device and the second device is connected, and at this time, the first device and the second device can transmit data through the communication network.
在一种实施方式中,可以通过查看网络连接信息,确定设备与通信网络是否建立连接。具体地,网络连接信息中可以包括网络建立连接的时间以及网络断开连接的时间,可以通过查看当前时段是否处于网络建立连接的时间,即可确定设备与通信网络是否建立了连接。在另一种实施方式中,可以通过监听广播的类型确定设备与通信网络是否建立连接,当监听到广播的类型表征设备与网络建立连接时,可以确定设备与通信网络已建立连接。In an implementation manner, it may be determined whether the device establishes a connection with the communication network by checking the network connection information. Specifically, the network connection information may include the time when the network is established and the time when the network is disconnected, and whether the device has established a connection with the communication network can be determined by checking whether the current period is the time when the network is established. In another implementation manner, it may be determined whether the device has established a connection with the communication network by monitoring the type of broadcast, and when the type of broadcast is monitored indicating that the device has established a connection with the network, it may be determined that the device has established a connection with the communication network.
步骤S550:当第一设备与第二设备之间存在通信连接时,发送响应处理结果至第二设备,以使第二设备基于响应处理结果对通讯请求进行处理。Step S550: When there is a communication connection between the first device and the second device, send a response processing result to the second device, so that the second device processes the communication request based on the response processing result.
在本实施例中,可以基于第一设备与第二设备的连接状态,发送响应处理结果至第二设备,以使第二设备基于响应处理结果对通讯请求进行处理。具体地,当第一设备与第二设备的之间存在通信连接时,表明第一设备与第二设备的连接状态为已连接状态,因此第一设备和第二设备可以通过通信网络传输数据,第一设备可以通过通信网络发送响应处理结果至第二设备,以使第二设备可以基于响应处理结果对通讯请求进行处理。In this embodiment, the response processing result may be sent to the second device based on the connection state between the first device and the second device, so that the second device processes the communication request based on the response processing result. Specifically, when there is a communication connection between the first device and the second device, it indicates that the connection status between the first device and the second device is connected, so the first device and the second device can transmit data through the communication network, The first device may send the response processing result to the second device through the communication network, so that the second device may process the communication request based on the response processing result.
在一些实施方式中,步骤S550具体可以包括步骤S551至步骤S553。In some implementation manners, step S550 may specifically include steps S551 to S553.
步骤S551:获取通讯请求的关联信息,该关联信息包括关联标识、时间戳、来电号码中的至少一项。Step S551: Obtain associated information of the communication request, the associated information includes at least one item of an associated identifier, a time stamp, and an incoming call number.
在本实施例中,第一设备与第二设备在共享同一个通讯账号信息时,需要先对第一设备和第二设备进行配对。具体地,第一设备和第二设备可以分别建立与服务器的数据连接,第一设备可以将设备信息发送至服务器以进行注册,其中,设备信息可以包括设备的地址信息、设备的标识信息以及设备的通讯账号信息等。同时第一设备与第二设备进行配对,可以获取第二设备的设备信息,并将第二设备的设备信息发送至服务器,由服务器将第一设备的设备信息与第二设备的设备信息进行关联,得到关联记录。进一步地,服务器还可以将关联记录的标识信息,即关联标识分别发送给第一设备和第二设备进行存储,以使第一设备或第二设备可以根据关联标识从服务器中查找到对应的关联记录。In this embodiment, when the first device and the second device share the same communication account information, the first device and the second device need to be paired first. Specifically, the first device and the second device may respectively establish data connections with the server, and the first device may send device information to the server for registration, where the device information may include device address information, device identification information, and device communication account information, etc. At the same time, the first device is paired with the second device, and the device information of the second device can be obtained, and the device information of the second device is sent to the server, and the server associates the device information of the first device with the device information of the second device , to get the associated record. Further, the server may also send the identification information of the association record, that is, the association identifier, to the first device and the second device for storage, so that the first device or the second device can find the corresponding association record from the server according to the association identifier. Record.
在获取第一设备的通信网络连接状态以及第二设备的通信网络连接状态后,还可以进一步获取通讯请求的关联信息,其中,关联信息可以包括关联标识、时间戳、来电号码中的至少一项。在获取第一设备的通信网络连接状态以及第二设备的通信网络连接状态后,可以进一步获取第一设备预先存储的关联标识,以使服务器在获取到第一设备发送的关联标识时,可以根据关联标识查找到第一设备与第二设备的关联记录。时间戳可以是产生通讯请求的时间,也可以是第一设备接收到通讯请求的时间。来电号码可以是指向 该通讯账号发送通讯请求的其他通讯账号。After obtaining the communication network connection status of the first device and the communication network connection status of the second device, the associated information of the communication request may be further obtained, wherein the associated information may include at least one of an associated identifier, a time stamp, and an incoming call number . After acquiring the communication network connection status of the first device and the communication network connection status of the second device, the pre-stored association identifier of the first device can be further obtained, so that when the server obtains the association identifier sent by the first device, it can, according to The association identifier finds the association record between the first device and the second device. The time stamp may be the time when the communication request is generated, or the time when the first device receives the communication request. The incoming call number may be another communication account that sends a communication request to the communication account.
步骤S552:当第一设备与第二设备之间存在通信连接时,确定与第一设备、第二设备连接的服务器。Step S552: When there is a communication connection between the first device and the second device, determine a server connected to the first device and the second device.
当第一设备基于第一设备与第二设备之间的通信连接将响应处理结果发送至第二设备时,可以先基于第一设备的通信网络连接状态以及第二设备的通信网络连接状态,确定与第一设备、第二设备连接的服务器,通过服务器将响应处理结果发送至第二设备。在一种实施方式中,可以根据第一设备的通信网络连接状态确定第一设备是否与通信网络建立了连接,当第一设备与通信网络已建立连接时,可以通过在第一设备中查询服务器的地址、端口以及标识信息来确定与第一设备连接的服务器,同样地,当第二设备与通信网络已建立连接时,可以通过在第二设备中查询服务器的地址、端口以及标识信息来确定与第二设备连接的服务器,从与第一设备连接的服务器和与第二设备连接的服务器中,确定与第一设备、第二设备均连接的服务器。When the first device sends the response processing result to the second device based on the communication connection between the first device and the second device, it may first determine based on the communication network connection status of the first device and the communication network connection status of the second device The server connected to the first device and the second device sends the response processing result to the second device through the server. In one embodiment, it may be determined according to the communication network connection status of the first device whether the first device has established a connection with the communication network. When the first device has established a connection with the communication network, the first device may query the server The address, port and identification information of the first device can be used to determine the server connected to the first device. Similarly, when the second device has established a connection with the communication network, it can be determined by querying the address, port and identification information of the server in the second device The server connected to the second device determines the server connected to both the first device and the second device from the server connected to the first device and the server connected to the second device.
步骤S553:将响应处理结果以及关联信息发送至服务器,以使服务器基于关联信息获取第二设备的地址信息,并基于第二设备的地址信息,发送响应处理结果和关联信息至第二设备,以允许第二设备对关联信息进行验证以确定是否对响应处理结果进行处理。Step S553: Send the response processing result and associated information to the server, so that the server obtains the address information of the second device based on the associated information, and sends the response processing result and associated information to the second device based on the address information of the second device, so that The second device is allowed to verify the associated information to determine whether to process the response processing result.
在本实施例中,确定与第一设备、第二设备连接的服务器后,第一设备可以发送响应处理结果以及关联信息至服务器,其中,关联信息中可以包括关联标识、来电号码以及时间戳等至少一项。服务器可以通过对关联信息进行解析,获取关联信息中的关联标识,根据关联标识查找到对应的关联记录,进而获取第二设备的设备信息,根据第二设备的设备信息得到第二设备的地址信息,然后服务器可以根据第二设备的地址信息,将响应处理结果发送至第二设备。In this embodiment, after determining the server connected to the first device and the second device, the first device may send the response processing result and associated information to the server, where the associated information may include an associated identifier, caller number, and time stamp, etc. at least one. The server can obtain the association identifier in the association information by parsing the association information, find the corresponding association record according to the association identifier, and then obtain the device information of the second device, and obtain the address information of the second device according to the device information of the second device , and then the server may send the response processing result to the second device according to the address information of the second device.
在本实施例中,当接收到第一设备发送的响应处理结果时,第二设备可以对响应处理结果进行验证,得到验证结果,以确保接收到的响应处理结果是否准确。进一步地,第一设备在发送对于通讯请求的响应处理结果时,会同步发送该通讯请求的关联信息,其中,该关联信息中包括关联标识、时间戳、来电号码中的至少一项。对响应处理结果进行验证,可以是对该通讯请求的关联信息进行验证,具体地,可以是验证第二设备本地存储的关联标识与第一设备发送的关联标识是否一致,可以是验证第二设备接收基于通讯账号产生的通讯请求的时间戳与第一设备发送的时间戳是否一致,也可以是验证第二设备接收到的来电号码与第一设备接收到的来电号码是否一致。In this embodiment, when receiving the response processing result sent by the first device, the second device may verify the response processing result to obtain the verification result, so as to ensure whether the received response processing result is accurate. Further, when the first device sends the response processing result to the communication request, it will synchronously send the association information of the communication request, wherein the association information includes at least one of association identifier, time stamp, and caller number. Verifying the response processing result may be verifying the association information of the communication request, specifically, verifying whether the association identifier stored locally by the second device is consistent with the association identifier sent by the first device, or verifying that the second device Whether the time stamp of receiving the communication request generated based on the communication account is consistent with the time stamp sent by the first device may also be to verify whether the caller number received by the second device is consistent with the caller number received by the first device.
在一些实施方式中,在步骤S530之前,基于第一设备与第二设备之间的通信连接关系,发送响应处理结果至第二设备的步骤具体还可以包括步骤S610至步骤S630。In some embodiments, before step S530, based on the communication connection relationship between the first device and the second device, the step of sending the response processing result to the second device may specifically include steps S610 to S630.
步骤S610:检测第一设备与第二设备之间是否通过蓝牙连接。Step S610: Detect whether the first device and the second device are connected through Bluetooth.
在一些实施方式中,可以对第一设备与第二设备之间是否通过蓝牙连接进行检测。作为一种方式,可以通过查看第一设备和第二设备的蓝牙模块的状态值的方式来获取第一设备与第二设备之间的蓝牙连接状态,具体地,当第一设备与第二设备之间通过蓝牙连接时,返回第一状态值;当第一设备与第二设备之间未通过蓝牙连接时,可以返回第二状态值,从而可以通过检测第一状态值和第二状态值的方式确定第一设备与第二设备之间是否建立了蓝牙连接。In some implementation manners, it may be detected whether the first device and the second device are connected through Bluetooth. As a method, the Bluetooth connection status between the first device and the second device can be obtained by checking the status values of the Bluetooth modules of the first device and the second device, specifically, when the first device and the second device When connected by Bluetooth, return the first state value; when the first device and the second device are not connected by Bluetooth, return the second state value, so that by detecting the first state value and the second state value The method determines whether a Bluetooth connection is established between the first device and the second device.
步骤S620:若第一设备与第二设备之间通过蓝牙连接,则通过蓝牙连接发送响应处理结果至第二设备。Step S620: If the first device and the second device are connected through Bluetooth, send the response processing result to the second device through the Bluetooth connection.
在本实施例中,当检测到第一状态值时,可以说明第一设备和第二设备之间通过蓝牙连接,于是可以通过蓝牙连接发送响应处理结果至第二设备。例如,第一设备为手机,第二设备为手表,当手机和手表接收到来电通知响铃时,手机挂断电话,检测手机和手表是否通过蓝牙连接,若手机和手表有蓝牙连接时,通过蓝牙连接给手表发送响应处理结果,以使手表挂断电话。In this embodiment, when the first status value is detected, it may indicate that the first device and the second device are connected through Bluetooth, and then the response processing result may be sent to the second device through the Bluetooth connection. For example, the first device is a mobile phone, and the second device is a watch. When the mobile phone and the watch receive an incoming call notification, the mobile phone hangs up the phone and detects whether the mobile phone and the watch are connected via Bluetooth. If the mobile phone and the watch are connected via Bluetooth, pass The Bluetooth connection sends a response processing result to the watch, so that the watch hangs up the phone.
步骤S630:若第一设备与第二设备之间未通过蓝牙连接,则执行获取第一设备的通信网络连接状态,以及获取第二设备的通信网络连接状态的步骤。Step S630: If the first device and the second device are not connected via Bluetooth, execute the steps of acquiring the communication network connection status of the first device and acquiring the communication network connection status of the second device.
在本实施例中,当检测到第二状态值时,可以说明第一设备和第二设备之间未通过蓝牙连接,则第一设备可以通过其他方式将响应处理结果发送给第二设备。其中,可以获取第一设备的通信网络连接状态以及获取第二设备的通信网络连接状态,当第一设备连接了通信网络且第二设备也连接了通信网络时,可以获取与第一设备、第二设备连接的服务器,从而第一设备可以将响应处理结果发送至服务器,由服务器将响应处理结果转发给第二设备。In this embodiment, when the second status value is detected, it may indicate that the first device and the second device are not connected through Bluetooth, and the first device may send the response processing result to the second device in other ways. Among them, the connection state of the communication network of the first device and the connection state of the communication network of the second device can be obtained. When the first device is connected to the communication network and the second device is also connected to the communication network, it is possible to obtain The server to which the two devices are connected, so that the first device can send the response processing result to the server, and the server forwards the response processing result to the second device.
本实施例提供的通讯控制方法中,根据第一设备的通信网络连接状态以及第二设备的通信网络连接状态,确定第一设备向第二设备发送响应处理结果的方式,从而实现第一设备与第二设备对通讯请求的同步控制。In the communication control method provided in this embodiment, according to the connection state of the communication network of the first device and the connection state of the communication network of the second device, the method for the first device to send the response processing result to the second device is determined, so as to realize the communication between the first device and the second device. Synchronous control of communication requests by the second device.
请参阅图7,图7是示出了本申请实施例提供的又另一通讯控制方法的流程示意图,其中,该通讯控制方法应用于第一设备,第一设备与第二设备共享同一个通讯账号信息,该通讯请求包括通话请求,该通讯控制方法具体可以包括以下步骤S710至步骤S730。Please refer to FIG. 7. FIG. 7 is a schematic flowchart showing another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the first device, and the first device and the second device share the same communication Account information, the communication request includes a call request, and the communication control method may specifically include the following steps S710 to S730.
步骤S710:接收基于通讯账号产生的通讯请求。Step S710: Receive a communication request generated based on the communication account.
其中,步骤S710的具体描述请参阅步骤S110,在此不再赘述。Wherein, for the specific description of step S710, please refer to step S110, which will not be repeated here.
步骤S720:响应对通话请求的接听指令,并基于接听指令确定对通话请求的接听处理结果。Step S720: Respond to the answering instruction of the call request, and determine an answering processing result of the call request based on the answering instruction.
在本实施例中,由于第一设备和第二设备会同时接收并输出通话请求通知响铃,若用户通过第一设备对通话请求进行接听,不下发接听通知时,第二设备会一直响铃,就需要用户也去操作第二设备,这样用户通话体验不便,同时继续响铃也带来了功耗问题。因此可以在用户通过第一设备对通话请求进行接听,同步控制第二设备停止响应通话请求。具体地,第一设备可以响应对通话请求的接听指令,并基于接听指令确定对通话请求的接听处理结果。其中,对通话请求的不同控制指令,会对应对通讯请求的不同响应处理结果,第一设备响应对通话请求的接听指令后,可以根据通话请求的控制指令与通话请求的响应处理结果的对应关系,确定接听指令对应的响应处理结果为对通话请求进行接听后,该通话请求的处理结果。In this embodiment, since the first device and the second device will receive and output the call request notification at the same time, if the user answers the call request through the first device and does not issue an answer notification, the second device will always ring , the user is also required to operate the second device, which makes the user's call experience inconvenient, and at the same time, continuing to ring also brings power consumption problems. Therefore, when the user answers the call request through the first device, the second device can be synchronously controlled to stop responding to the call request. Specifically, the first device may respond to an answering instruction of the call request, and determine an answering processing result of the call request based on the answering instruction. Among them, different control instructions for the call request will have different response processing results for the communication request. After the first device responds to the answering instruction for the call request, the corresponding relationship between the call request control instruction and the call request response processing result can be , determining that the response processing result corresponding to the answering instruction is the processing result of the call request after the call request is answered.
步骤S730:基于第一设备与第二设备之间的通信连接关系,发送接听处理结果至第二设备,以使第二设备基于接听处理结果停止响应通话请求。Step S730: Based on the communication connection relationship between the first device and the second device, send an answering processing result to the second device, so that the second device stops responding to the call request based on the answering processing result.
在本实施例中,当第一设备对通话请求进行接听时,可以基于第一设备与第二设备之间的通信连接关系,发送接听处理结果至第二设备,以使第二设备基于该接听处理结果停止响应该通话请求。其中,第一设备可以通过蓝牙连接发送接听处理结果至第二设备,也可以通过移动通信网络发送接听处理结果至第二设备,还可以通过服务器发送接听处理结果至第二设备,在此不作限定。In this embodiment, when the first device answers the call request, based on the communication connection relationship between the first device and the second device, the answer processing result may be sent to the second device, so that the second device As a result of the processing, stop responding to the call request. Wherein, the first device may send the answering processing result to the second device through the Bluetooth connection, may also send the answering processing result to the second device through the mobile communication network, and may also send the answering processing result to the second device through the server, which is not limited herein .
本实施例提供的通讯控制方法中,在第一设备对通话请求进行接听时,同步控制第二设备停止响应该通话请求,从而无需用户控制第二设备停止响应通话请求,提升用户的接听体验,同时还可以降低第二设备的功耗。In the communication control method provided in this embodiment, when the first device answers the call request, the second device is synchronously controlled to stop responding to the call request, so that the user does not need to control the second device to stop responding to the call request, thereby improving the user's listening experience. At the same time, the power consumption of the second device can also be reduced.
请参阅图8,图8示出了本申请实施例提供的又再一通讯控制方法的流程示意图,其中,该通讯控制方法应用于第二设备,该第二设备与第一设备共享同一个通讯账号信息,该通讯控制方法具体可以包括以下步骤S810至步骤S820。Please refer to FIG. 8. FIG. 8 shows a schematic flowchart of yet another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the second device, and the second device shares the same communication with the first device For account information, the communication control method may specifically include the following steps S810 to S820.
步骤S810:接收基于通讯账号产生的通讯请求。Step S810: Receive a communication request generated based on the communication account.
其中,步骤S810的具体描述请参阅步骤S120,在此不再赘述。Wherein, for the specific description of step S810, please refer to step S120, which will not be repeated here.
步骤S820:当接收到第一设备发送的响应处理结果时,基于响应处理结果对通讯请求进行处理,其中,响应处理结果为第一设备响应针对通讯请求的控制指令,并基于控制指令确定对于通讯请求的响应处理结果。Step S820: When receiving the response processing result sent by the first device, process the communication request based on the response processing result, wherein the response processing result is that the first device responds to the control instruction for the communication request, and determines the communication request based on the control instruction. The response processing result of the request.
其中,步骤S820的具体描述请参阅步骤S150,在此不再赘述。Wherein, for the specific description of step S820, please refer to step S150, which will not be repeated here.
本实施例提供的通讯控制方法中,接收基于通讯账号产生的通讯请求,当接收到第一设备发送的响应处理结果时,基于响应处理结果对通讯请求进行处理,其中,响应处理结果为第一设备响应针对通讯请求的控制指令,并基于控制指令确定对于通讯请求的响应处理结果。从而通过在接收到第一设备对通讯请求的响应处理结果时,第二设备同步对通讯请求进行处理,使得无需用户对第二设备进行操作,第二设备即可同步对通讯请求进行处理,减少用户操作,同时降低第二设备的功耗。In the communication control method provided in this embodiment, the communication request generated based on the communication account is received, and when the response processing result sent by the first device is received, the communication request is processed based on the response processing result, wherein the response processing result is the first The device responds to the control instruction for the communication request, and determines a response processing result for the communication request based on the control instruction. Therefore, when receiving the response processing result of the communication request from the first device, the second device processes the communication request synchronously, so that the second device can process the communication request synchronously without the need for the user to operate the second device, reducing The user operates while reducing the power consumption of the second device.
请参阅图9,图9示出了本申请实施例提供的又还一通讯控制方法的流程示意图,其中,该通讯控制方法应用于第二设备,该第二设备与第一设备共享同一个通讯账号信息,该通讯控制方法具体可以包括以下步骤S910至步骤S930。Please refer to FIG. 9. FIG. 9 shows a schematic flow chart of still another communication control method provided by the embodiment of the present application, wherein the communication control method is applied to the second device, and the second device shares the same communication with the first device For account information, the communication control method may specifically include the following steps S910 to S930.
步骤S910:接收基于通讯账号产生的通讯请求。Step S910: Receive a communication request generated based on the communication account.
其中,步骤S910的具体描述请参阅步骤S120,在此不再赘述。Wherein, for the specific description of step S910, please refer to step S120, which will not be repeated here.
步骤S920:当接收到第一设备发送的响应处理结果时,对响应处理结果进行验证,得到验证结果。Step S920: When receiving the response processing result sent by the first device, verify the response processing result to obtain a verification result.
在本实施例中,当接收到第一设备发送的响应处理结果时,第二设备可以对响应处理结果进行验证,得到验证结果,以确保接收到的响应处理结果是否准确。进一步地,第一设备在发送对于通讯请求的响应处理结果时,会同步发送该通讯请求的关联信息,其中,该关联信息中包括关联标识、时间戳、来电号码中的至少一项。对响应处理结果进行验证,可以是对该通讯请求的关联信息进行验证,具体地,可以是验证第二设备本地存储的关联标识与第一设备发送的关联标识是否一致,可以是验证第二设备接收基于通讯账号产生的通讯请求的时间戳与第一设备发送的时间戳是否一致,也可以是验证第二设备接收到的来电号码与第一设备接收到的来电号码是否一致。In this embodiment, when receiving the response processing result sent by the first device, the second device may verify the response processing result to obtain the verification result, so as to ensure whether the received response processing result is accurate. Further, when the first device sends the response processing result to the communication request, it will synchronously send the association information of the communication request, wherein the association information includes at least one of association identifier, time stamp, and caller number. Verifying the response processing result may be verifying the association information of the communication request, specifically, verifying whether the association identifier stored locally by the second device is consistent with the association identifier sent by the first device, or verifying that the second device Whether the time stamp of receiving the communication request generated based on the communication account is consistent with the time stamp sent by the first device may also be to verify whether the caller number received by the second device is consistent with the caller number received by the first device.
步骤S930:若验证结果表征响应处理结果验证通过,第二设备对通讯请求进行处理。Step S930: If the verification result indicates that the response processing result has passed the verification, the second device processes the communication request.
在本实施例中,若验证结果表征响应处理结果验证通过,第二设备可以对通讯请求进行处理。其中,验证结果表征响应处理结果验证通过,可以是指对该通讯请求的关联信息验证通过,具体地,可以是第二设备本地存储的关联标识与第一设备发送的关联标识一致,可以是第二设备接收基于通讯账号产生的通讯请求的时间戳与第一设备发送的时间戳一致,也可以是第二设备接收到的来电号码与第一设备接收到的来电号码一致。In this embodiment, if the verification result indicates that the response processing result is verified, the second device may process the communication request. Wherein, the verification result indicates that the response processing result is verified, which may refer to the verification of the associated information of the communication request. Specifically, it may be that the associated identifier stored locally by the second device is consistent with the associated identifier sent by the first device, or that the The time stamp when the second device receives the communication request generated based on the communication account is consistent with the time stamp sent by the first device, or the caller number received by the second device is consistent with the caller number received by the first device.
本实施例提供的通讯控制方法中,在接收到第一设备发送的响应处理结果时,对响应处理结果进行验证,从而保证第一设备和第二设备在同步处理通讯请求的一致性与准确性。In the communication control method provided in this embodiment, when the response processing result sent by the first device is received, the response processing result is verified, so as to ensure the consistency and accuracy of the first device and the second device synchronously processing the communication request .
请参阅图10,图10示出了本申请实施例提供的一通讯控制装置200的模块框图。下面将针对图10所 述的框图进行阐述,其中,该通讯控制装置200应用于第一设备,第一设备和第二设备共享同一个通讯账号信息,该通讯控制装置200包括:信息接收模块210、指令响应模块220以及结果发送模块230,其中:Please refer to FIG. 10 , which shows a block diagram of a communication control device 200 provided by an embodiment of the present application. The following will describe the block diagram described in FIG. 10 , wherein the communication control device 200 is applied to the first device, and the first device and the second device share the same communication account information. The communication control device 200 includes: an information receiving module 210 , command response module 220 and result sending module 230, wherein:
信息接收模块210,用于接收基于通讯账号产生的通讯请求。The information receiving module 210 is configured to receive a communication request generated based on a communication account.
指令响应模块220,用于响应针对通讯请求的控制指令,并基于控制指令确定对于通讯请求的响应处理结果。The instruction response module 220 is configured to respond to a control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction.
进一步地,通讯请求包括通话请求,指令响应模块220包括:挂断操作响应子模块,其中:Further, the communication request includes a call request, and the instruction response module 220 includes: a hangup operation response submodule, wherein:
挂断操作响应子模块,用于响应对通话请求的挂断指令,并基于挂断指令确定对通话请求的挂断处理结果。The hangup operation response submodule is used for responding to the hangup instruction of the call request, and determining the hangup processing result of the call request based on the hangup instruction.
进一步地,通讯请求包括通话请求,指令响应模块220包括:接听操作响应子模块,其中:Further, the communication request includes a call request, and the instruction response module 220 includes: an answering operation response submodule, wherein:
接听操作响应子模块,用于响应对通话请求的接听指令,并基于接听指令确定对通话请求的接听处理结果。The answering operation response submodule is used for responding to the answering instruction of the call request, and determining the answering processing result of the call request based on the answering instruction.
结果发送模块230,用于基于第一设备与第二设备之间的通信连接关系,发送响应处理结果至第二设备,以使第二设备基于响应处理结果对通讯请求进行处理。The result sending module 230 is configured to send a response processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device processes the communication request based on the response processing result.
进一步地,通讯请求包括通话请求,结果发送模块230包括:挂断指令发送子模块,其中:Further, the communication request includes a call request, and the result sending module 230 includes: a hangup instruction sending submodule, wherein:
挂断指令发送子模块,用于基于第一设备与第二设备之间的通信连接关系,发送挂断处理结果至第二设备,以使第二设备基于挂断处理结果将通话请求进行挂断。A hangup command sending submodule, configured to send a hangup processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device hangs up the call request based on the hangup processing result .
进一步地,结果发送模块230包括:蓝牙状态获取子模块以及第一结果发送子模块,其中:Further, the result sending module 230 includes: a bluetooth state acquisition submodule and a first result sending submodule, wherein:
蓝牙状态获取子模块,用于获取第一设备与第二设备之间的蓝牙连接状态。The bluetooth status acquisition submodule is used to acquire the bluetooth connection status between the first device and the second device.
第一结果发送子模块,用于基于第一设备与第二设备之间的蓝牙连接状态,发送响应处理结果至第二设备,以使第二设备基于响应处理结果对通讯请求进行处理。The first result sending submodule is configured to send a response processing result to the second device based on the Bluetooth connection status between the first device and the second device, so that the second device processes the communication request based on the response processing result.
进一步地,结果发送模块230包括:第一网络状态获取子模块、连接状态确定子模块以及第二结果发送子模块,其中:Further, the result sending module 230 includes: a first network state acquiring submodule, a connection state determining submodule and a second result sending submodule, wherein:
第一网络状态获取子模块,用于获取第一设备的通信网络连接状态,以及获取第二设备的通信网络连接状态。The first network status acquisition sub-module is used to acquire the communication network connection status of the first device and the communication network connection status of the second device.
连接状态确定子模块,用于基于第一设备的通信网络连接状态以及第二设备的通信网络连接状态,确定所述第一设备与所述第二设备之间的连接状态;A connection state determining submodule, configured to determine the connection state between the first device and the second device based on the communication network connection state of the first device and the communication network connection state of the second device;
第二结果发送子模块,用于基于所述第一设备与所述第二设备之间的连接状态,发送响应处理结果至第二设备,以使第二设备基于响应处理结果对通讯请求进行处理。The second result sending submodule is configured to send a response processing result to the second device based on the connection status between the first device and the second device, so that the second device processes the communication request based on the response processing result .
进一步地,第二结果发送子模块还包括:信息获取单元、服务器确定单元以及结果发送单元,其中:Further, the second result sending submodule also includes: an information acquisition unit, a server determination unit, and a result sending unit, wherein:
信息获取单元,用于获取通讯请求的关联信息,该关联信息包括关联标识、时间戳、来电号码中的至少一项。The information obtaining unit is used to obtain associated information of the communication request, the associated information includes at least one of an associated identifier, a time stamp, and an incoming call number.
服务器确定单元,用于基于第一设备的通信网络连接状态以第二设备的通信网络连接状态,确定与第一设备、第二设备连接的服务器。The server determining unit is configured to determine a server connected to the first device and the second device based on the communication network connection status of the first device and the communication network connection status of the second device.
结果发送单元,用于将响应处理结果以及关联信息发送至服务器,以使服务器基于关联信息获取第二设备的地址信息,并基于第二设备的地址信息,发送响应处理结果和所述关联信息至第二设备,所述第二设备对所述关联信息进行验证以确定是否对所述响应处理结果进行处理。The result sending unit is configured to send the response processing result and the associated information to the server, so that the server obtains the address information of the second device based on the associated information, and sends the response processing result and the associated information to the server based on the address information of the second device. A second device, the second device verifies the association information to determine whether to process the response processing result.
进一步地,结果发送子模块230还包括:蓝牙检测子模块、第三结果发送子模块以及第二网络状态获取子模块,其中:Further, the result sending submodule 230 also includes: a Bluetooth detection submodule, a third result sending submodule and a second network state acquisition submodule, wherein:
蓝牙检测子模块,用于检测第一设备与第二设备之间是否通过蓝牙连接。The Bluetooth detection submodule is used to detect whether the first device and the second device are connected through Bluetooth.
第三结果发送子模块,用于若第一设备与第二设备之间通过蓝牙连接,则通过蓝牙连接发送响应处理结果至第二设备。The third result sending submodule is configured to send the response processing result to the second device through the Bluetooth connection if the first device and the second device are connected through the Bluetooth connection.
第二网络状态获取子模块,用于若第一设备与第二设备之间未通过蓝牙连接,则执行获取第一设备的通信网络连接状态,以及获取第二设备的通信网络连接状态的步骤。The second network status acquiring sub-module is used to execute the steps of acquiring the communication network connection status of the first device and acquiring the communication network connection status of the second device if the first device and the second device are not connected via Bluetooth.
进一步地,结果发送子模块230还包括:信息发送子模块以及设备配对子模块,其中:Further, the result sending submodule 230 also includes: an information sending submodule and a device pairing submodule, wherein:
信息发送子模块,用于向服务器发送第一设备的设备信息。The information sending submodule is configured to send the device information of the first device to the server.
设备配对子模块,用于与第二设备进行配对,并将第二设备的设备信息发送至服务器,以使服务器将第一设备的设备信息与第二设备的设备信息进行关联,得到关联记录。The device pairing sub-module is configured to pair with the second device, and send the device information of the second device to the server, so that the server associates the device information of the first device with the device information of the second device to obtain an association record.
进一步地,通讯请求包括通话请求,结果发送子模块230还包括:接听指令发送子模块,其中:Further, the communication request includes a call request, and the result sending submodule 230 also includes: a receiving instruction sending submodule, wherein:
接听指令发送子模块,用于基于第一设备与第二设备之间的通信连接关系,发送接听处理结果至第二设备,以使第二设备基于接听处理结果停止响应通讯请求。The answering instruction sending submodule is configured to send the answering processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device stops responding to the communication request based on the answering processing result.
请参阅图11,图11示出了本申请实施例提供的又一通讯控制装置300的模块框图。下面将针对图11所述的框图进行阐述,其中,该通讯控制装置300应用于第二设备,第二设备与第一设备共享同一个通讯账号信息,该通讯控制装置300包括:信息接收模块310以及请求处理模块320,其中:Please refer to FIG. 11 . FIG. 11 shows a block diagram of another communication control device 300 provided by the embodiment of the present application. The following will describe the block diagram described in FIG. 11 , wherein the communication control device 300 is applied to the second device, and the second device and the first device share the same communication account information. The communication control device 300 includes: an information receiving module 310 And the request processing module 320, wherein:
信息接收模块310,用于接收基于通讯账号产生的通讯请求。The information receiving module 310 is configured to receive a communication request generated based on the communication account.
请求处理模块320,用于当接收到第一设备发送的响应处理结果时,基于响应处理结果对通讯请求进行处理,其中,响应处理结果为第一设备响应针对通讯请求的控制指令,并基于控制指令确定对于通讯请求的响应处理结果。The request processing module 320 is configured to process the communication request based on the response processing result when receiving the response processing result sent by the first device, wherein the response processing result is that the first device responds to a control instruction for the communication request, and based on the control The command determines the result of the processing of the response to the communication request.
进一步地,请求处理模块320包括:结果验证子模块以及请求处理子模块,其中:Further, the request processing module 320 includes: a result verification submodule and a request processing submodule, wherein:
结果验证子模块,用于对响应处理结果进行验证,得到验证结果。The result verification sub-module is used to verify the response processing result and obtain the verification result.
请求处理子模块,用于若验证结果表征响应处理结果验证通过,第二设备对通讯请求进行处理。The request processing sub-module is used for processing the communication request by the second device if the verification result indicates that the response processing result is verified.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the devices and modules described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,模块相互之间的耦合可以是电性,机械或其它形式的耦合。In several embodiments provided in the present application, the coupling between the modules may be electrical, mechanical or other forms of coupling.
另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。In addition, each functional module in each embodiment of the present application may be integrated into one processing module, each module may exist separately physically, or two or more modules may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules.
本申请实施例还提供了一种通讯控制系统,该通讯控制系统包括第一设备以及第二设备,第一设备与第二设备共享同一个通讯账号信息,其中:The embodiment of the present application also provides a communication control system, the communication control system includes a first device and a second device, the first device and the second device share the same communication account information, wherein:
第一设备,用于接收基于通讯账号产生的通讯请求。The first device is configured to receive a communication request generated based on a communication account.
第二设备,用于接收基于通讯账号产生的通讯请求。The second device is configured to receive a communication request generated based on the communication account.
第一设备,还用于当第一设备响应针对通讯请求的控制指令时,并基于控制指令确定对于通讯请求的响应处理结果。The first device is further configured to, when the first device responds to the control instruction for the communication request, determine a response processing result for the communication request based on the control instruction.
第一设备,还用于基于第一设备与第二设备之间的通信连接关系,发送响应处理结果至第二设备;以及The first device is further configured to send a response processing result to the second device based on the communication connection relationship between the first device and the second device; and
第二设备,还用于基于响应处理结果对通讯请求进行处理。The second device is further configured to process the communication request based on the response processing result.
请参阅图12,其示出了本申请实施例提供的一种电子设备400的结构框图。本申请中的电子设备400可以包括一个或多个如下部件:处理器410、存储器420以及一个或多个应用程序,其中一个或多个应用程序可以被存储在存储器420中并被配置为由一个或多个处理器410执行,一个或多个程序配置用于执行如前述方法实施例所描述的方法。Please refer to FIG. 12 , which shows a structural block diagram of an electronic device 400 provided by an embodiment of the present application. The electronic device 400 in this application may include one or more of the following components: a processor 410, a memory 420, and one or more application programs, wherein one or more application programs may be stored in the memory 420 and configured to be executed by a or a plurality of processors 410, and one or more programs are configured to execute the methods described in the foregoing method embodiments.
其中,处理器410可以包括一个或者多个处理核。处理器410利用各种接口和线路连接整个电子设备400内的各个部分,通过运行或执行存储在存储器420内的指令、程序、代码集或指令集,以及调用存储在存储器420内的数据,执行电子设备400的各种功能和处理数据。可选地,处理器410可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器410可集成中央处理器(Central Processing Unit,CPU)、图形处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器410中,单独通过一块通信芯片进行实现。Wherein, the processor 410 may include one or more processing cores. The processor 410 uses various interfaces and lines to connect various parts in the entire electronic device 400, and executes or executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 420, and calling data stored in the memory 420. Various functions of the electronic device 400 and processing data. Optionally, the processor 410 may adopt at least one of Digital Signal Processing (Digital Signal Processing, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), and Programmable Logic Array (Programmable Logic Array, PLA). implemented in the form of hardware. The processor 410 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface and application programs, etc.; the GPU is used to render and draw the displayed content; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 410, but may be realized by a communication chip alone.
存储器420可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。存储器420可用于存储指令、程序、代码、代码集或指令集。存储器420可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等。存储数据区还可以电子设备400在使用中所创建的数据(比如电话本、音视频数据、聊天记录数据)等。The memory 420 may include random access memory (Random Access Memory, RAM), and may also include read-only memory (Read-Only Memory). Memory 420 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 420 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing the following method embodiments, and the like. The data storage area may also be data created by the electronic device 400 during use (such as phonebook, audio and video data, chat record data) and the like.
请参阅图13,其示出了本申请实施例提供的一种计算机可读取存储介质的结构框图。该计算机可读取存储介质500中存储有程序代码,所述程序代码可被处理器调用执行上述方法实施例中所描述的方法。Please refer to FIG. 13 , which shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application. Program codes are stored in the computer-readable storage medium 500, and the program codes can be invoked by a processor to execute the methods described in the foregoing method embodiments.
计算机可读取存储介质500可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。可选地,计算机可读取存储介质500包括非易失性计算机可读介质(non-transitory computer-readable storage medium)。计算机可读取存储介质500具有执行上述方法中的任何方法步骤的程序代码510的存储空间。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。程序代码510可以例如以适当形式进行压缩。The computer readable storage medium 500 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 500 includes a non-transitory computer-readable storage medium (non-transitory computer-readable storage medium). The computer-readable storage medium 500 has a storage space for program code 510 for executing any method steps in the above methods. These program codes can be read from or written into one or more computer program products. Program code 510 may, for example, be compressed in a suitable form.
综上所述,本申请实施例提供的通讯控制方法、装置、系统、电子设备及存储介质,应用于第一设备,第一设备与第二设备共享同一个通讯账号信息,该方法包括:接收基于通讯账号产生的通讯请求;响应针对通讯请求的控制指令,并基于控制指令确定对于通讯请求的响应处理结果;以及基于第一设备与第二设备之间的通信连接关系,发送响应处理结果至第二设备,以使第二设备基于响应处理结果对通讯请求进行处理。从而通过在第一设备对通讯请求进行处理后,根据第一设备与第二设备之间的通信连接关系,同步控制第二设备对通讯请求进行处理,从而实现第一设备与第二设备对通讯请求的同步处理,减少用户涉入, 进而降低第二设备的功耗。To sum up, the communication control method, device, system, electronic device and storage medium provided by the embodiments of the present application are applied to the first device, and the first device and the second device share the same communication account information. The method includes: receiving A communication request generated based on the communication account; responding to a control instruction for the communication request, and determining a response processing result for the communication request based on the control instruction; and sending the response processing result to the communication connection relationship between the first device and the second device. the second device, so that the second device processes the communication request based on the response processing result. Therefore, after the first device processes the communication request, according to the communication connection relationship between the first device and the second device, the second device is synchronously controlled to process the communication request, thereby realizing the communication between the first device and the second device. The synchronous processing of requests reduces user involvement, thereby reducing power consumption of the second device.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不驱使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not drive the essence of the corresponding technical solutions away from the spirit and scope of the technical solutions of the various embodiments of the present application.

Claims (20)

  1. 一种通讯控制方法,其特征在于,应用于第一设备,所述第一设备和第二设备共享同一个通讯账号信息,所述方法包括:A communication control method, characterized in that it is applied to a first device, and the first device and the second device share the same communication account information, and the method includes:
    接收基于所述通讯账号产生的通讯请求;receiving a communication request generated based on the communication account;
    响应针对所述通讯请求的控制指令,并基于所述控制指令确定对于所述通讯请求的响应处理结果;以及Responding to a control instruction for the communication request, and determining a response processing result for the communication request based on the control instruction; and
    基于所述第一设备与所述第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备,以使所述第二设备基于所述响应处理结果对所述通讯请求进行处理。Based on the communication connection relationship between the first device and the second device, sending the response processing result to the second device, so that the second device responds to the communication request based on the response processing result to process.
  2. 根据权利要求1所述的方法,其特征在于,所述通讯请求包括通话请求,所述响应针对所述通讯请求的控制指令,并基于所述控制指令确定对于所述通讯请求的响应处理结果,包括:The method according to claim 1, wherein the communication request includes a call request, the response is a control instruction for the communication request, and a processing result of the response to the communication request is determined based on the control instruction, include:
    响应对所述通话请求的挂断指令,并基于所述挂断指令确定对所述通话请求的挂断处理结果;Responding to a hangup instruction for the call request, and determining a hangup processing result for the call request based on the hangup instruction;
    所述基于所述第一设备与所述第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备,以使所述第二设备基于所述响应处理结果对所述通讯请求进行处理,包括:The sending of the response processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device makes a response based on the response processing result to the Communication requests are processed, including:
    基于所述第一设备与所述第二设备之间的通信连接关系,发送所述挂断处理结果发送至所述第二设备,以使所述第二设备基于所述挂断处理结果将所述通话请求进行挂断。Sending the hangup processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device sends the hangup processing result to the second device based on the hangup processing result Hang up the above call request.
  3. 根据权利要求1所述的方法,其特征在于,所述基于所述第一设备与第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备,包括:The method according to claim 1, wherein the sending the response processing result to the second device based on the communication connection relationship between the first device and the second device comprises:
    获取所述第一设备与所述第二设备之间的蓝牙连接状态;以及obtaining a Bluetooth connection status between the first device and the second device; and
    基于所述第一设备与所述第二设备之间的蓝牙连接状态,发送所述响应处理结果至所述第二设备,以使所述第二设备基于所述响应处理结果对所述通讯请求进行处理。Based on the Bluetooth connection status between the first device and the second device, sending the response processing result to the second device, so that the second device makes the communication request based on the response processing result to process.
  4. 根据权利要求1所述的方法,其特征在于,所述基于所述第一设备与所述第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备,包括:The method according to claim 1, wherein the sending the response processing result to the second device based on the communication connection relationship between the first device and the second device comprises:
    获取所述第一设备的通信网络连接状态,以及获取所述第二设备的通信网络连接状态;以及acquiring the communication network connection status of the first device, and acquiring the communication network connection status of the second device; and
    基于所述第一设备的通信网络连接状态以及所述第二设备的通信网络连接状态,确定所述第一设备与所述第二设备之间的连接状态;determining a connection status between the first device and the second device based on the communication network connection status of the first device and the communication network connection status of the second device;
    当所述第一设备与所述第二设备之间存在通信连接时,发送所述响应处理结果至所述第二设备,以使所述第二设备基于所述响应处理结果对所述通讯请求进行处理。When there is a communication connection between the first device and the second device, sending the response processing result to the second device, so that the second device responds to the communication request based on the response processing result to process.
  5. 根据权利要求4所述的方法,其特征在于,在所述获取所述第一设备的通信网络连接状态,以及获取所述第二设备的通信网络连接状态之前,所述基于所述第一设备与所述第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备,还包括:The method according to claim 4, wherein before said obtaining the communication network connection state of the first device and obtaining the communication network connection state of the second device, said first device The communication connection relationship with the second device, sending the response processing result to the second device, further includes:
    检测所述第一设备与所述第二设备之间是否通过蓝牙连接;Detecting whether the first device and the second device are connected via Bluetooth;
    若所述第一设备与所述第二设备之间通过蓝牙连接,则通过蓝牙连接发送所述响应处理结果至所述第二设备;以及If the first device is connected to the second device through Bluetooth, sending the response processing result to the second device through the Bluetooth connection; and
    若所述第一设备与所述第二设备之间未通过蓝牙连接,则执行获取所述第一设备的通信网络连接状态,以及获取所述第二设备的通信网络连接状态的步骤。If the first device and the second device are not connected via Bluetooth, the steps of acquiring the communication network connection status of the first device and acquiring the communication network connection status of the second device are performed.
  6. 根据权利要求4所述的方法,其特征在于,所述当所述第一设备与所述第二设备之间存在通信连接时,发送所述响应处理结果至所述第二设备,包括:The method according to claim 4, wherein when there is a communication connection between the first device and the second device, sending the response processing result to the second device comprises:
    获取所述通讯请求的关联信息,所述关联信息包括关联标识、时间戳、来电号码中的至少一项;Obtain associated information of the communication request, where the associated information includes at least one of an associated identifier, a time stamp, and an incoming call number;
    当所述第一设备与所述第二设备之间存在通信连接时,确定与所述第一设备、所述第二设备连接的服务器;以及When there is a communication connection between the first device and the second device, determining a server connected to the first device and the second device; and
    将所述响应处理结果以及所述关联信息发送至所述服务器,以使所述服务器基于所述关联信息获取所述第二设备的地址信息,并基于所述第二设备的地址信息,发送所述响应处理结果和所述关联信息至所述第二设备,以允许所述第二设备对所述关联信息进行验证以确定是否对所述响应处理结果进行处理。sending the response processing result and the association information to the server, so that the server obtains the address information of the second device based on the association information, and sends the address information of the second device based on the address information of the second device sending the response processing result and the associated information to the second device, so as to allow the second device to verify the associated information to determine whether to process the response processing result.
  7. 根据权利要求6所述的方法,其特征在于,所述基于所述第一设备的通信网络连接状态以及所述第二设备的通信网络连接状态,确定与所述第一设备、所述第二设备连接的服务器之前,所述方法还包括:The method according to claim 6, characterized in that, based on the communication network connection status of the first device and the communication network connection status of the second device, it is determined that the connection with the first device and the second device Before the server connected to the device, the method also includes:
    向所述服务器发送所述第一设备的设备信息;sending the device information of the first device to the server;
    与所述第二设备进行配对,并将所述第二设备的设备信息发送至所述服务器,以使所述服务器将所述 第一设备的设备信息与所述第二设备的设备信息进行关联,得到关联记录。pairing with the second device, and sending the device information of the second device to the server, so that the server associates the device information of the first device with the device information of the second device , get the associated record.
  8. 根据权利要求1~7中任一项所述的方法,其特征在于,所述通讯请求包括通话请求,所述响应针对所述通讯请求的控制指令,并基于所述控制指令确定对于所述通讯请求的响应处理结果,包括:The method according to any one of claims 1-7, wherein the communication request includes a call request, the response is directed to a control instruction of the communication request, and based on the control instruction, it is determined that the communication The response processing result of the request, including:
    响应对所述通话请求的接听指令,并基于所述接听指令确定对所述通话请求的接听处理结果;Responding to an answering instruction for the call request, and determining an answering processing result for the call request based on the answering instruction;
    所述基于所述第一设备与所述第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备,以使所述第二设备基于所述响应处理结果对所述通讯请求进行处理,包括:The sending of the response processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device makes a response based on the response processing result to the Communication requests are processed, including:
    基于所述第一设备与所述第二设备之间的通信连接关系,发送所述接听处理结果至所述第二设备,以使所述第二设备基于所述接听处理结果停止响应所述通话请求。Based on the communication connection relationship between the first device and the second device, sending the answering processing result to the second device, so that the second device stops responding to the call based on the answering processing result ask.
  9. 根据权利要求1~7中任一项所述的方法,其特征在于,所述通讯账号包括电话号码或者即时通讯如软件的登录账号。The method according to any one of claims 1-7, characterized in that the communication account includes a phone number or a login account for instant messaging such as software.
  10. 根据权利要求1~7中任一项所述的方法,其特征在于,所述通讯请求包括通话请求、短消息呼入连接请求、视频连接请求以及会议连接请求中的至少一种。The method according to any one of claims 1 to 7, wherein the communication request includes at least one of a call request, an incoming short message connection request, a video connection request, and a meeting connection request.
  11. 一种通讯控制方法,其特征在于,应用于第二设备,所述第二设备与第一设备共享同一个通讯账号信息,所述方法包括:A communication control method, characterized in that it is applied to a second device, and the second device shares the same communication account information with the first device, and the method includes:
    接收基于所述通讯账号产生的通讯请求;receiving a communication request generated based on the communication account;
    当接收到所述第一设备发送的响应处理结果时,基于所述响应处理结果对所述通讯请求进行处理,其中,所述响应处理结果为所述第一设备响应针对所述通讯请求的控制指令,并基于所述控制指令确定对于所述通讯请求的响应处理结果。When receiving the response processing result sent by the first device, process the communication request based on the response processing result, wherein the response processing result is that the first device responds to the control of the communication request instruction, and determine a response processing result to the communication request based on the control instruction.
  12. 根据权利要求11所述的方法,其特征在于,基于所述响应处理结果对所述通讯请求进行处理,包括:The method according to claim 11, wherein processing the communication request based on the response processing result includes:
    对所述响应处理结果进行验证,得到验证结果;以及verifying the response processing result to obtain a verification result; and
    若所述验证结果表征所述响应处理结果验证通过,所述第二设备对所述通讯请求进行处理。If the verification result indicates that the response processing result has passed the verification, the second device processes the communication request.
  13. 根据权利要求12所述的方法,其特征在于,所述响应处理结果携带有所述通讯请求的关联信息,所述对所述响应处理结果进行验证,得到验证结果,包括:The method according to claim 12, wherein the response processing result carries associated information of the communication request, and the verifying the response processing result to obtain a verification result includes:
    对所述通讯请求的关联信息进行验证,得到所述验证结果,其中,所述关联信息包括关联标识、时间戳以及来电号码中的至少一项。The associated information of the communication request is verified to obtain the verification result, wherein the associated information includes at least one of an associated identifier, a time stamp, and an incoming call number.
  14. 根据权利要求13所述的方法,其特征在于,所述对所述通讯请求的关联信息进行验证,得到所述验证结果,包括:The method according to claim 13, wherein the verifying the associated information of the communication request to obtain the verification result comprises:
    当所述关联信息为关联标识时,对所述第二设备本地存储的关联标识与所述第一设备发送的关联标识的一致性进行验证,获得所述验证结果;或者When the association information is an association identifier, verifying the consistency between the association identifier stored locally by the second device and the association identifier sent by the first device, to obtain the verification result; or
    当所述关联信息为时间戳时,对所述第二设备接收基于通讯账号产生的通讯请求的时间戳与所述第一设备发送的时间戳的一致性进行验证,获得所述验证结果;或者When the associated information is a time stamp, verify the consistency between the time stamp of the second device receiving the communication request generated based on the communication account and the time stamp sent by the first device, and obtain the verification result; or
    当所述关联信息为来电号码时,对所述第二设备接收到的来电号码与所述第一设备接收到的来电号码的一致性进行验证。When the associated information is an incoming call number, verify the consistency between the incoming call number received by the second device and the incoming call number received by the first device.
  15. 一种通讯控制方法,其特征在于,应用于通讯控制系统,所述通讯控制系统包括第一设备以及第二设备,所述第一设备与所述第二设备共享同一个通讯账号信息,所述方法包括:A communication control method, characterized in that it is applied to a communication control system, the communication control system includes a first device and a second device, the first device and the second device share the same communication account information, the Methods include:
    所述第一设备接收基于所述通讯账号产生的通讯请求;The first device receives a communication request generated based on the communication account;
    所述第二设备接收基于所述通讯账号产生的通讯请求;The second device receives a communication request generated based on the communication account;
    当所述第一设备响应针对所述通讯请求的控制指令时,并基于所述控制指令确定对于所述通讯请求的响应处理结果;When the first device responds to the control instruction for the communication request, determine a response processing result for the communication request based on the control instruction;
    所述第一设备基于所述第一设备与所述第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备;以及The first device sends the response processing result to the second device based on the communication connection relationship between the first device and the second device; and
    所述第二设备基于所述响应处理结果对所述通讯请求进行处理。The second device processes the communication request based on the response processing result.
  16. 一种通讯控制装置,其特征在于,应用于第一设备,所述第一设备和第二设备共享同一个通讯账号信息,所述装置包括:A communication control device, characterized in that it is applied to a first device, and the first device and the second device share the same communication account information, and the device includes:
    信息接收模块,用于接收基于所述通讯账号产生的通讯请求;An information receiving module, configured to receive a communication request generated based on the communication account;
    指令响应模块,用于响应针对所述通讯请求的控制指令,并基于所述控制指令确定对于所述通讯请求的响应处理结果;以及An instruction response module, configured to respond to a control instruction for the communication request, and determine a response processing result for the communication request based on the control instruction; and
    结果发送模块,用于基于所述第一设备与所述第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备,以使所述第二设备基于所述响应处理结果对所述通讯请求进行处理。A result sending module, configured to send the response processing result to the second device based on the communication connection relationship between the first device and the second device, so that the second device processes based on the response As a result, the communication request is processed.
  17. 一种通讯控制装置,其特征在于,应用于第二设备,所述第二设备与第一设备共享同一个通讯账号信息,所述装置包括:A communication control device, characterized in that it is applied to a second device, and the second device shares the same communication account information with the first device, and the device includes:
    信息接收模块,用于接收基于所述通讯账号产生的通讯请求;An information receiving module, configured to receive a communication request generated based on the communication account;
    请求处理模块,用于当接收到所述第一设备发送的响应处理结果时,基于所述响应处理结果对所述通讯请求进行处理,其中,所述响应处理结果为所述第一设备响应针对所述通讯请求的控制指令,并基于所述控制指令确定对于所述通讯请求的响应处理结果。The request processing module is configured to process the communication request based on the response processing result when receiving the response processing result sent by the first device, wherein the response processing result is that the first device responds to A control instruction of the communication request, and determine a response processing result for the communication request based on the control instruction.
  18. 一种通讯控制系统,所述通讯控制系统包括第一设备和第二设备,所述第一设备和所述第二设备共享同一个通讯账号信息,其中:A communication control system, the communication control system includes a first device and a second device, the first device and the second device share the same communication account information, wherein:
    所述第一设备,用于接收基于所述通讯账号产生的通讯请求;当所述第一设备响应针对所述通讯请求的控制指令时,并基于所述控制指令确定对于所述通讯请求的响应处理结果;基于所述第一设备与所述第二设备之间的通信连接关系,发送所述响应处理结果至所述第二设备;以及The first device is configured to receive a communication request generated based on the communication account; when the first device responds to a control instruction for the communication request, determine a response to the communication request based on the control instruction processing results; sending the response processing results to the second device based on the communication connection relationship between the first device and the second device; and
    所述第二设备,用于接收基于所述通讯账号产生的通讯请求;基于所述响应处理结果对所述通讯请求进行处理。The second device is configured to receive a communication request generated based on the communication account; and process the communication request based on the response processing result.
  19. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    一个或多个处理器;one or more processors;
    存储器;memory;
    一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求1-10任一项所述的方法;或者one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs are configured to perform the The method described in any one of 1-10; or
    一个或多个程序,其中所述一个或多个程序被存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序配置用于执行如权利要求11-14任一项所述的方法。one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs are configured to perform the The method described in any one of 11-14.
  20. 一种计算机可读取存储介质,其特征在于,所述计算机可读取存储介质中存储有程序代码,所述程序代码可被处理器调用执行如权利要求1-15任一项所述的方法。A computer-readable storage medium, characterized in that the computer-readable storage medium stores program codes, and the program codes can be invoked by a processor to execute the method according to any one of claims 1-15 .
PCT/CN2022/085532 2021-06-03 2022-04-07 Communication control method, apparatus, and system, electronic device, and storage medium WO2022252808A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110619993.0A CN115442478A (en) 2021-06-03 2021-06-03 Communication control method, device, system, electronic equipment and storage medium
CN202110619993.0 2021-06-03

Publications (1)

Publication Number Publication Date
WO2022252808A1 true WO2022252808A1 (en) 2022-12-08

Family

ID=84240451

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/085532 WO2022252808A1 (en) 2021-06-03 2022-04-07 Communication control method, apparatus, and system, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN115442478A (en)
WO (1) WO2022252808A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160330320A1 (en) * 2015-05-04 2016-11-10 Avaya Inc. Routing and notification in response to a failed forked call
CN106559763A (en) * 2015-09-30 2017-04-05 苹果公司 For the devices, systems and methods of synchronous multiple equipment
CN107124706A (en) * 2016-02-25 2017-09-01 阿里巴巴集团控股有限公司 The method of forward call, apparatus and system between a kind of mobile phone
CN110679137A (en) * 2017-05-31 2020-01-10 T移动美国公司 Enhanced telephony application server session management
CN110719371A (en) * 2019-09-05 2020-01-21 华为技术有限公司 Cross-device communication method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160330320A1 (en) * 2015-05-04 2016-11-10 Avaya Inc. Routing and notification in response to a failed forked call
CN106559763A (en) * 2015-09-30 2017-04-05 苹果公司 For the devices, systems and methods of synchronous multiple equipment
CN107124706A (en) * 2016-02-25 2017-09-01 阿里巴巴集团控股有限公司 The method of forward call, apparatus and system between a kind of mobile phone
CN110679137A (en) * 2017-05-31 2020-01-10 T移动美国公司 Enhanced telephony application server session management
CN110719371A (en) * 2019-09-05 2020-01-21 华为技术有限公司 Cross-device communication method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115442478A (en) 2022-12-06

Similar Documents

Publication Publication Date Title
KR102145089B1 (en) Seamless call transitions with pre-escalation participation confirmation
US9686506B2 (en) Method, apparatus, system, and storage medium for video call and video call control
US9065788B2 (en) Method, device and system for voice communication
CN110933653B (en) Message transmission method, device, terminal and storage medium
KR20160044506A (en) Seamless call transitions with escalation-aware notifications
WO2018040813A1 (en) Audio/video communication method, terminal, server, and storage medium
WO2017045535A1 (en) Processing method, system and device for system telephone in voice call
CN113765930B9 (en) Control method for multiparty call, client and server
WO2024016772A1 (en) Incoming-call reminding method and electronic device
CN104936282A (en) Method and device for registering converged communication service
EP2974159B1 (en) Method, device and system for voice communication
WO2019129003A1 (en) Notification prompt method, group addition method and apparatus, terminal and storage medium
CN113099055A (en) Communication method, system, device, electronic equipment and storage medium
WO2022247781A1 (en) Call processing method, call processing apparatus, and electronic device and medium
US9930101B2 (en) Receiving a communication event
WO2022252808A1 (en) Communication control method, apparatus, and system, electronic device, and storage medium
CN110650249B (en) Call answering method and device, computer equipment and storage medium
TW201442462A (en) Method, device and system for conversational notifications in instant messaging application
CN115665671A (en) Audio data sharing method and device, electronic equipment and storage medium
WO2015172440A1 (en) Missed call notification method and system
KR20180077720A (en) Apparatus and method for interworking between call based on id and call based on phone number
EP3229446B1 (en) Application interaction method, device and terminal
US9485458B2 (en) Data processing method and device
CN106465087B (en) Communication message transfer method and related device
CN112040057A (en) Device control method, device, electronic device, control system and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22814855

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE