WO2020215704A1 - Instant messaging method capable of implementing desktop sharing and related devices - Google Patents

Instant messaging method capable of implementing desktop sharing and related devices Download PDF

Info

Publication number
WO2020215704A1
WO2020215704A1 PCT/CN2019/118975 CN2019118975W WO2020215704A1 WO 2020215704 A1 WO2020215704 A1 WO 2020215704A1 CN 2019118975 W CN2019118975 W CN 2019118975W WO 2020215704 A1 WO2020215704 A1 WO 2020215704A1
Authority
WO
WIPO (PCT)
Prior art keywords
option
call
contact method
computer
controlled device
Prior art date
Application number
PCT/CN2019/118975
Other languages
French (fr)
Chinese (zh)
Inventor
翟彬彬
梁辉
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020215704A1 publication Critical patent/WO2020215704A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone

Definitions

  • This application relates to the field of computer technology, and in particular to an instant messaging method, instant messaging device, computer device, and non-volatile readable storage medium that can realize desktop sharing.
  • the first aspect of the present application provides an instant communication method capable of realizing desktop sharing, which is applied to a computer device that performs instant communication with a computer controlled device, and the instant communication method includes:
  • the instant communication interface includes a desktop sharing option and an instant call option, and determining whether the desktop sharing option or the instant call option is operated;
  • a desktop sharing request is generated and the desktop sharing request is sent to the computer controlled device, and the desktop sharing request is used to control the computer controlled device to display the currently displayed desktop
  • the content is compressed and encoded and sent, and the compressed and encoded desktop content sent by the computer controlled device is received;
  • a first call mode selection interface is displayed, and the first call
  • the mode selection interface includes a video call option and a voice call option, and it is determined whether the video call option or the voice call option is operated;
  • the video call option When the video call option is operated, call the user account of the client application logged in the computer controlled device to make a video call; when the voice call option is operated, a second call mode is displayed Selection interface, the second call method selection interface includes a first contact method option and a second contact method option, and it is determined whether the first contact method option or the second contact method option is operated.
  • the first contact method option corresponds to a first contact method
  • the first contact method includes the user account
  • the second contact method option corresponds to a second contact method
  • the second contact method includes the computer At least one phone number of the user of the control device;
  • the user account When the first contact method option is operated, the user account is called to make a voice call; when the second contact method option is operated, the at least one phone number is called to make a voice call.
  • a second aspect of the present application provides an instant messaging device capable of realizing desktop sharing, for instant communication with a computer controlled device, the instant messaging device includes:
  • the first display and judgment module is used to display an instant communication interface when the computer device logs in to a client application.
  • the instant communication interface includes a desktop sharing option and an instant call option.
  • the first display and judgment module It is also used to determine whether the desktop sharing option or the instant call option is operated;
  • the request module is used to generate a desktop sharing request and send the desktop sharing request to the computer controlled device when the desktop sharing option is operated, and the desktop sharing request is used to control the computer controlled device to Compress and encode the currently displayed desktop content and send it, and receive the compressed and encoded desktop content sent by the computer controlled device;
  • the second display and judgment module is used to display a first call mode selection interface when the instant call option is operated.
  • the first call mode selection interface includes a video call option and a voice call option.
  • the second display and judgment module is also used to judge whether the video call option or the voice call option is operated;
  • the first call module is configured to call the user account of the client application logged in on the computer controlled device to make a video call when the video call option is operated;
  • the third display and judgment module is used to display a second call mode selection interface when the voice call option is operated.
  • the second call mode selection interface includes a first contact method option and a second contact method option .
  • the third display and judgment module is also used to judge whether the first contact method option or the second contact method option is operated, wherein the first contact method option corresponds to the first contact method, and the first contact method option A contact method includes the user account, the second contact method option corresponds to a second contact method, and the second contact method includes at least one telephone number of the user of the computer controlled device; and
  • the second call module is configured to call the at least one phone number to make a voice call when the second contact method option is operated;
  • the first call module is also used to call the user account to make a voice call when the first contact method option is operated.
  • a third aspect of the present application provides a computer device that includes a processor, and the processor is configured to implement the aforementioned instant messaging method capable of realizing desktop sharing when executing computer-readable instructions stored in a memory.
  • the fourth aspect of the present application provides a non-volatile readable storage medium having computer readable instructions stored thereon.
  • the computer readable instructions are executed by a processor, the aforementioned instant desktop sharing can be realized. Communication method.
  • This embodiment of the application adds real-time calling and desktop sharing functions to the client application, and real-time calls are divided into user account calls and phone number calls. Users can choose according to specific needs, so as to facilitate communication between business personnel in different locations .
  • FIG. 1 is a flowchart of an instant messaging method capable of realizing desktop sharing provided by Embodiment 1 of the present application.
  • Fig. 2 is a schematic structural diagram of an instant messaging device capable of realizing desktop sharing provided in the second embodiment of the present application.
  • FIG. 3 is a schematic diagram of a computer device provided in Embodiment 3 of the present application.
  • FIG. 1 is a flowchart of an instant messaging method capable of realizing desktop sharing provided by the first embodiment of the present application.
  • the instant messaging method is applied to a computer device.
  • the computer device can perform instant communication with a computer controlled device. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted.
  • the instant messaging method includes the following steps:
  • Step S11 when the computer device logs in to a client application, an instant messaging interface is displayed.
  • the instant messaging interface includes a desktop sharing option OP1 and an instant call option OP2, and determining the desktop sharing option OP1 or the instant messaging interface Whether the call option OP2 is operated, when the desktop sharing option OP1 is operated, step S12 is performed; when the instant call option OP2 is operated, step S13 is performed.
  • the client application is software that allows the user of the computer device to communicate, chat or talk with the user of the computer controlled device.
  • the computer device sends the verification information to the client
  • the server of the client application allows the computer device to log in to the client application when the server determines that the verification information is consistent with the registration information.
  • the computer controlled device can also log in to the client application in a similar way.
  • the user account is the account corresponding to the client application, and the user account is unique and is a credential for identifying the user's identity.
  • Step S12 Generate a desktop sharing request and send the desktop sharing request to the computer controlled device, the desktop sharing request is used to control the computer controlled device to compress the currently displayed desktop content (RGB data) Encode and send, and receive the compressed and encoded desktop content sent by the computer controlled device.
  • the desktop sharing request is used to control the computer controlled device to compress the currently displayed desktop content (RGB data) Encode and send, and receive the compressed and encoded desktop content sent by the computer controlled device.
  • the desktop sharing request is also used to detect whether the desktop content is updated, and when the desktop content is updated, receive the updated desktop content sent by the computer controlled device in real time.
  • the computer device and the computer controlled device communicate through the server of the client application.
  • the computer device forwards the desktop sharing request to the computer through the server of the client application.
  • Control device thereby controlling the computer-controlled device to forward the desktop content to the computer device through the server of the client application.
  • the computer device and the computer-controlled device can be further established to remotely control, so that the computer device can remotely control the operation of the computer-controlled device. Therefore, after generating the desktop sharing request and sending the desktop sharing request to the computer controlled device, it further includes:
  • the display capability includes the screen size of the computer controlled device, the size of the transmitted picture, and the bit depth.
  • Step S13 display a first call mode selection interface, the first call mode selection interface includes a video call option OP3 and a voice call option OP4, and determine whether the video call option OP3 or the voice call option OP4 is operated
  • step S14 is performed; when the voice call option OP4 is operated, step S15 is performed.
  • the video call option OP3 and the voice call option OP4 of the first call mode selection interface can be displayed under the instant call option OP2 in a secondary menu.
  • the first call mode selection interface may also be displayed on the instant communication interface in a small window, and cover the instant call option OP2.
  • Step S14 calling the user account of the client application logged in on the computer controlled device to make a video call.
  • the computer device when the video call option OP3 is operated, the computer device sends a video call request to the server, and the video call request includes the user account to be called, thereby controlling the server to call the office.
  • the user account number when the video call option OP3 is operated, the computer device sends a video call request to the server, and the video call request includes the user account to be called, thereby controlling the server to call the office.
  • the user account number when the video call option OP3 is operated, the computer device sends a video call request to the server, and the video call request includes the user account to be called, thereby controlling the server to call the office.
  • the user account number The user account number.
  • Step S15 A second call mode selection interface is displayed.
  • the second call mode selection interface includes a first contact mode option OP5 and a second contact mode option OP6, and it is determined whether the first contact mode option OP5 or the second contact mode option OP5 is selected.
  • the second contact method option OP6 is operated.
  • step S16 When the first contact method option OP5 is operated, step S16 is performed; when the second contact method option OP6 is operated, step S17 is performed.
  • the first contact method option OP5 and the second contact method option OP6 of the second call mode selection interface can be displayed on the right side of the voice call option OP4 in a secondary menu.
  • the second call mode selection interface may also be displayed on the instant messaging interface in a small window, and cover the voice call option OP4.
  • the first contact method option OP5 corresponds to a first contact method
  • the first contact method is included in the user account.
  • the second contact method option OP6 corresponds to a second contact method
  • the second contact method includes at least one phone number of the user of the computer controlled device, such as a mobile phone number or a landline number.
  • Step S16 call the user account to make a voice call.
  • the computer device when the first contact method option OP5 is operated, the computer device sends a first voice call request to the server, and the first voice call request includes the user account to be called, thereby Control the server to call the user account.
  • Step S17 calling the at least one telephone number to make a voice call.
  • the user can bind each of the phone numbers with the user account logged in the client application through the computer controlled device, and bind each of the phone numbers after binding. And the user account is sent to the server for storage.
  • the computer device sends a second voice call request to the server, the second voice call request includes the user account to be called, the second voice The call request is used to control the server to search for all phone numbers bound to the user account included in the second voice call request, and initiate a call to at least one of the phone numbers through the voice gateway device.
  • the second contact method corresponding to the second contact method option OP6 may include multiple telephone numbers of the user of the computer controlled device, for example, may include a mobile phone number, a home landline number, and an office landline number.
  • the multiple telephone numbers have predetermined priority levels, for example, mobile phone numbers have the highest priority level, office landline numbers have a moderate priority level, and home landline numbers have the lowest priority level.
  • the priority level is used to indicate that when the server receives the second voice call request, a telephone number with a higher priority level is dialed first. Therefore, when receiving the second voice call request, the server first initiates a call to the mobile phone number through the voice gateway device, and then calls the office landline number and the home landline number in turn when the mobile phone number is unanswered. So as to solve the problem that no one answers the single phone number and the business personnel cannot be contacted.
  • Fig. 2 is a structural diagram of a preferred embodiment of an instant messaging device capable of realizing desktop sharing in this application.
  • the instant messaging device 10 runs in a computer device.
  • the instant messaging device 10 may include multiple functional modules composed of program code segments.
  • the program code of each program segment in the instant messaging device 10 may be stored in the memory of the computer device and executed by the at least one processor to realize the instant messaging function.
  • the instant messaging device 10 can be divided into multiple functional modules according to the functions it performs.
  • the functional modules may include: a first display and judgment module 101, a request module 102, a second display and judgment module 103, a first call module 104, a third display and judgment module 105, and a second call Module 106.
  • the module referred to in this application refers to a series of computer-readable instruction segments that can be executed by at least one processor and can complete fixed functions, and are stored in a memory. In this embodiment, the function of each module will be described in detail in subsequent embodiments.
  • the first display and judgment module 101 is used to display an instant communication interface when the computer device logs in to a client application.
  • the instant communication interface includes a desktop sharing option OP1 and an instant call option OP2.
  • a display and judgment module 101 is also used to judge whether the desktop sharing option OP1 or the instant call option OP2 is operated.
  • the client application is software that allows the user of the computer device to communicate, chat or talk with the user of the computer controlled device.
  • the computer device sends the verification information to the client
  • the server of the client application allows the computer device to log in to the client application when the server determines that the verification information is consistent with the registration information.
  • the computer controlled device can also log in to the client application in a similar way.
  • the user account is the account corresponding to the client application, and the user account is unique and is a credential for identifying the user's identity.
  • the request module 102 is configured to generate a desktop sharing request and send the desktop sharing request to the computer controlled device when the desktop sharing option OP1 is operated, wherein, when the computer controlled device accepts the In the case of a desktop sharing request, the desktop sharing request is used to control the computer controlled device to compress and encode the currently displayed desktop content (RGB data), and to receive the compressed and encoded data sent by the computer controlled device Of the desktop content.
  • the desktop sharing request is used to control the computer controlled device to compress and encode the currently displayed desktop content (RGB data), and to receive the compressed and encoded data sent by the computer controlled device Of the desktop content.
  • the desktop sharing request is also used to detect whether the desktop content is updated, and when the desktop content is updated, receive the updated desktop content sent by the computer controlled device in real time.
  • the computer device and the computer controlled device communicate through the server of the client application.
  • the computer device forwards the desktop sharing request to the computer through the server of the client application.
  • Control device thereby controlling the computer-controlled device to forward the desktop content to the computer device through the server of the client application.
  • the computer device and the computer-controlled device can be further established to remotely control, so that the computer device can remotely control the operation of the computer-controlled device. Therefore, after generating the desktop sharing request and sending the desktop sharing request to the computer controlled device, the request module 102 is configured to also generate a remote control request and send the remote control to the computer controlled device Request, the remote control request is used to control the computer controlled device to determine its own display capability, and then receive the display capability of the computer controlled device and remotely shake hands with the computer controlled device according to the display capability .
  • the display capability includes the screen size of the computer controlled device, the size of the transmitted picture, and the bit depth.
  • the request module 102 is further configured to calculate the actual position of the clicked position in the computer controlled device according to the clicked position and the display capability, and according to The actual position is sent to the computer controlled device in an agreed protocol manner, so that the computer controlled device simulates a local mouse click event according to the actual position.
  • the second display and judgment module 103 is configured to display a first call mode selection interface when the instant call option OP2 is operated.
  • the first call mode selection interface includes a video call option OP3 and a voice call option OP4, the second display and determination module 103 is also used to determine whether the video call option OP3 or the voice call option OP4 is operated.
  • the video call option OP3 and the voice call option OP4 of the first call mode selection interface can be displayed under the instant call option OP2 in a secondary menu.
  • the first call mode selection interface may also be displayed on the instant communication interface in a small window, and cover the instant call option OP2.
  • the first call module 104 is configured to call the user account of the client application logged in on the computer controlled device to make a video call when the video call option OP3 is operated.
  • the first call module 104 sends a video call request to the server, and the video call request includes the user account to be called, thereby controlling the The server calls the user account.
  • the third display and judgment module 105 is configured to display a second call mode selection interface when the voice call option OP4 is operated.
  • the second call mode selection interface includes a first contact mode option OP5 and a second call mode selection interface.
  • the second contact method option OP6, the third display and judgment module 105 is used to further determine whether the first contact method option OP5 or the second contact method option OP6 is operated.
  • the first contact method option OP5 and the second contact method option OP6 of the second call mode selection interface can be displayed on the right side of the voice call option OP4 in a secondary menu.
  • the second call mode selection interface may also be displayed on the instant messaging interface in a small window, and cover the voice call option OP4.
  • the first contact method option OP5 corresponds to a first contact method
  • the first contact method includes the user account.
  • the second contact method option OP6 corresponds to a second contact method
  • the second contact method includes at least one phone number of the user of the computer controlled device, such as a mobile phone number or a landline number.
  • the first call module 104 is also configured to call the user account to make a voice call when the first contact option OP5 is operated.
  • the first call module 104 sends a first voice call request to the server, and the first voice call request includes the user to be called Account to control the server to call the user account.
  • the second calling module 106 is configured to call the at least one phone number to make a voice call when the second contact method option OP6 is operated.
  • the user can bind each of the phone numbers with the user account logged in the client application through the computer controlled device, and bind each of the phone numbers after binding. And the user account is sent to the server for storage.
  • the second call module 106 sends a second voice call request to the server, the second voice call request includes the user account to be called, the The second voice call request is used to control the server to search for all phone numbers bound to the user account included in the second voice call request, and initiate a call to at least one of the phone numbers through a voice gateway device.
  • the second contact method corresponding to the second contact method option OP6 may include multiple telephone numbers of the user of the computer controlled device, for example, may include a mobile phone number, a home landline number, and an office landline number.
  • the multiple telephone numbers have predetermined priority levels, for example, mobile phone numbers have the highest priority level, office landline numbers have a moderate priority level, and home landline numbers have the lowest priority level.
  • the priority level is used to indicate that when the server receives the second voice call request, a telephone number with a higher priority level is dialed first. Therefore, when receiving the second voice call request, the server first initiates a call to the mobile phone number through the voice gateway device, and then calls the office landline number and the home landline number in turn when the mobile phone number is unanswered. So as to solve the problem that no one answers the single phone number and the business personnel cannot be contacted.
  • the instant messaging device in the embodiment of this application adds real-time calling and desktop sharing functions to the client application, and real-time calling is divided into user account calls and phone number calls, and the user can choose according to specific needs , So as to facilitate communication between business personnel in different locations.
  • FIG. 3 is a schematic diagram of a preferred embodiment of the computer device of this application.
  • the computer device 1 includes a memory 20, a processor 30, and computer-readable instructions 40 stored in the memory 20 and running on the processor 30, such as an instant messaging program.
  • the processor 30 executes the computer-readable instructions 40, the steps in the foregoing instant messaging method embodiment capable of realizing desktop sharing are implemented:
  • Step S11 when the computer device logs in to a client application, an instant messaging interface is displayed.
  • the instant messaging interface includes a desktop sharing option OP1 and an instant call option OP2, and determining the desktop sharing option OP1 or the instant messaging interface Whether the call option OP2 is operated, when the desktop sharing option OP1 is operated, step S12 is performed; when the instant call option OP2 is operated, step S13 is performed.
  • the client application is software that allows the user of the computer device to communicate, chat or talk with the user of the computer controlled device.
  • the computer device sends the verification information to the client
  • the server of the client application allows the computer device to log in to the client application when the server determines that the verification information is consistent with the registration information.
  • the computer controlled device can also log in to the client application in a similar way.
  • the user account is the account corresponding to the client application, and the user account is unique and is a credential for identifying the user's identity.
  • Step S12 Generate a desktop sharing request and send the desktop sharing request to the computer controlled device, the desktop sharing request is used to control the computer controlled device to compress the currently displayed desktop content (RGB data) Encode and send, and receive the compressed and encoded desktop content sent by the computer controlled device.
  • the desktop sharing request is used to control the computer controlled device to compress the currently displayed desktop content (RGB data) Encode and send, and receive the compressed and encoded desktop content sent by the computer controlled device.
  • the desktop sharing request is also used to detect whether the desktop content is updated, and when the desktop content is updated, receive the updated desktop content sent by the computer controlled device in real time.
  • the computer device and the computer controlled device communicate through the server of the client application.
  • the computer device forwards the desktop sharing request to the computer through the server of the client application.
  • Control device thereby controlling the computer-controlled device to forward the desktop content to the computer device through the server of the client application.
  • the computer device and the computer-controlled device can be further established to remotely control, so that the computer device can remotely control the operation of the computer-controlled device. Therefore, after generating the desktop sharing request and sending the desktop sharing request to the computer controlled device, it further includes:
  • the display capability includes the screen size of the computer controlled device, the size of the transmitted picture, and the bit depth.
  • Step S13 display a first call mode selection interface, the first call mode selection interface includes a video call option OP3 and a voice call option OP4, and determine whether the video call option OP3 or the voice call option OP4 is operated
  • step S14 is performed; when the voice call option OP4 is operated, step S15 is performed.
  • the video call option OP3 and the voice call option OP4 of the first call mode selection interface can be displayed under the instant call option OP2 in a secondary menu.
  • the first call mode selection interface may also be displayed on the instant communication interface in a small window, and cover the instant call option OP2.
  • Step S14 calling the user account of the client application logged in on the computer controlled device to make a video call.
  • the computer device when the video call option OP3 is operated, the computer device sends a video call request to the server, and the video call request includes the user account to be called, thereby controlling the server to call the office.
  • the user account number when the video call option OP3 is operated, the computer device sends a video call request to the server, and the video call request includes the user account to be called, thereby controlling the server to call the office.
  • the user account number when the video call option OP3 is operated, the computer device sends a video call request to the server, and the video call request includes the user account to be called, thereby controlling the server to call the office.
  • the user account number The user account number.
  • Step S15 A second call mode selection interface is displayed.
  • the second call mode selection interface includes a first contact mode option OP5 and a second contact mode option OP6, and it is determined whether the first contact mode option OP5 or the second contact mode option OP5 is selected.
  • the second contact method option OP6 is operated.
  • step S16 When the first contact method option OP5 is operated, step S16 is performed; when the second contact method option OP6 is operated, step S17 is performed.
  • the first contact method option OP5 and the second contact method option OP6 of the second call mode selection interface can be displayed on the right side of the voice call option OP4 in a secondary menu.
  • the second call mode selection interface may also be displayed on the instant messaging interface in a small window, and cover the voice call option OP4.
  • the first contact method option OP5 corresponds to a first contact method
  • the first contact method is included in the user account.
  • the second contact method option OP6 corresponds to a second contact method
  • the second contact method includes at least one phone number of the user of the computer controlled device, such as a mobile phone number or a landline number.
  • Step S16 call the user account to make a voice call.
  • the computer device when the first contact method option OP5 is operated, the computer device sends a first voice call request to the server, and the first voice call request includes the user account to be called, thereby Control the server to call the user account.
  • Step S17 calling the at least one telephone number to make a voice call.
  • the user can bind each of the phone numbers with the user account logged in the client application through the computer controlled device, and bind each of the phone numbers after binding. And the user account is sent to the server for storage.
  • the computer device sends a second voice call request to the server, the second voice call request includes the user account to be called, the second voice The call request is used to control the server to search for all phone numbers bound to the user account included in the second voice call request, and initiate a call to at least one of the phone numbers through the voice gateway device.
  • the second contact method corresponding to the second contact method option OP6 may include multiple telephone numbers of the user of the computer controlled device, for example, may include a mobile phone number, a home landline number, and an office landline number.
  • the multiple telephone numbers have predetermined priority levels, for example, mobile phone numbers have the highest priority level, office landline numbers have a moderate priority level, and home landline numbers have the lowest priority level.
  • the priority level is used to indicate that when the server receives the second voice call request, a telephone number with a higher priority level is dialed first. Therefore, when receiving the second voice call request, the server first initiates a call to the mobile phone number through the voice gateway device, and then calls the office landline number and the home landline number in turn when the mobile phone number is unanswered. So as to solve the problem that no one answers the single phone number and the business personnel cannot be contacted.
  • the processor 30 executes the computer-readable instructions 40, the functions of the modules/units in the foregoing instant messaging device embodiment capable of realizing desktop sharing, such as the modules 101-106 in FIG. 2, are implemented.
  • the computer-readable instructions 40 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 20 and executed by the processor 30, To complete this application.
  • the one or more modules/units may be a series of computer-readable instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer-readable instructions 40 in the computer device 1.
  • the computer-readable instruction 40 can be divided into the first display and judgment module 101, the request module 102, the second display and judgment module 103, the first call module 104, and the third display and judgment module 105 in FIG. And the second calling module 106. Refer to the second embodiment for the specific functions of each module.
  • the computer device 1 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server.
  • the schematic diagram is only an example of the computer device 1 and does not constitute a limitation on the computer device 1. It may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Components, for example, the computer device 1 may also include input and output devices, network access devices, buses, and so on.
  • the so-called processor 30 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor 30 may also be any conventional processor, etc.
  • the processor 30 is the control center of the computer device 1 and connects the entire computer device 1 with various interfaces and lines. Various parts.
  • the memory 20 may be used to store the computer-readable instructions 40 and/or modules/units, and the processor 30 can run or execute the computer-readable instructions and/or modules/units stored in the memory 20, and
  • the data stored in the memory 20 is called to realize various functions of the computer device 1.
  • the memory 20 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data) created according to the use of the computer device 1 and the like are stored.
  • the memory 20 may include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, a flash memory card (Flash Card), At least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, a flash memory card (Flash Card), At least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • the integrated modules/units of the computer device 1 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile readable storage medium.
  • this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware by computer-readable instructions.
  • the computer-readable instructions can be stored in a non-volatile memory. In the read storage medium, when the computer-readable instructions are executed by the processor, the steps of the foregoing method embodiments can be implemented.
  • the computer-readable instruction code may be in the form of source code, object code, executable file, or some intermediate forms.
  • the non-volatile readable medium may include: any entity or device capable of carrying the computer readable instruction code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory).

Abstract

An instant messaging method capable of implementing desktop sharing comprises: displaying, when a computer device logs in a client application, an instant messaging interface comprising a desktop sharing option and an instant call option; sending, when the desktop sharing option is operated, a desktop sharing request to computer controlled equipment; displaying, when the instant call option is operated, a first call mode selection interface comprising a video call option and a voice call option; calling, when the video call option is operated, a user account of the client application to make a video call; displaying, when the voice call option is operated, a second call mode selection interface comprising a first contact way option and a second contact way option; calling a user account when the first contact way option is operated; and calling the telephone number of the user when the second contact way option is operated. The present invention further provides an instant messaging device capable of implementing desktop sharing, a computer device and a storage medium, to facilitate the optimization of transaction processing.

Description

能够实现桌面共享的即时通信方法及相关装置Instant communication method and related device capable of realizing desktop sharing
本申请要求于2019年04月26日提交中国专利局,申请号为201910344985.2、发明名称为“即时通信方法、装置、计算机装置及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on April 26, 2019, the application number is 201910344985. 2, the invention title is "instant messaging method, device, computer device and storage medium", the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请涉及计算机技术领域,具体涉及一种能够实现桌面共享的即时通信方法、即时通信装置、计算机装置及非易失性可读存储介质。This application relates to the field of computer technology, and in particular to an instant messaging method, instant messaging device, computer device, and non-volatile readable storage medium that can realize desktop sharing.
背景技术Background technique
随着智能终端的普及、以及网络的高速发展,人与人之间的沟通越来越多地利用网络实现,例如,通过微信、QQ等客户端应用可以在好友之间互相发送文字、语音、甚至视频,便于不同地点办公的业务部门进行交流。然而,使用者却不能通过此类客户端应用进行桌面共享或呼叫电话等操作,例如,若缺少桌面共享功能,使用者需要进行截屏并发送截屏的方式才能让对方了解桌面内容,这无疑在一定程度上造成不便。With the popularity of smart terminals and the rapid development of the network, communication between people is increasingly realized through the network. For example, through WeChat, QQ and other client applications, friends can send text, voice, and Even video makes it easy for business departments in different locations to communicate. However, users cannot use such client applications to perform desktop sharing or call phone calls. For example, if the desktop sharing function is lacking, users need to take screenshots and send screenshots to let the other party understand the desktop content. This is undoubtedly certain Cause inconvenience to the extent.
发明内容Summary of the invention
鉴于以上内容,有必要提出一种即时通信方法及装置、计算机装置和非易失性可读存储介质,从而解决以上问题。In view of the above, it is necessary to provide an instant messaging method and device, a computer device and a non-volatile readable storage medium to solve the above problems.
本申请的第一方面提供一种能够实现桌面共享的即时通信方法,应用于一计算机装置中,所述计算机装置与一计算机被控设备进行即时通信,所述即时通信方法包括:The first aspect of the present application provides an instant communication method capable of realizing desktop sharing, which is applied to a computer device that performs instant communication with a computer controlled device, and the instant communication method includes:
在所述计算机装置登陆一客户端应用时显示一即时通信界面,所述即时通信界面包括一桌面共享选项以及一即时通话选项,判断所述桌面共享选项或所述即时通话选项是否被操作;Displaying an instant communication interface when the computer device logs in to a client application, the instant communication interface includes a desktop sharing option and an instant call option, and determining whether the desktop sharing option or the instant call option is operated;
当所述桌面共享选项被操作时,生成一桌面共享请求并向所述计算机被控设备发送所述桌面共享请求,所述桌面共享请求用于控制所述计算机被控设备将当前所显示的桌面内容进行压缩编码并发送,接收所述计算机被控设备发送的经压缩编码后的所述桌面内容;当所述即时通话选项被操作时,显示一第一通话方式选取界面,所述第一通话方式选取界面包括一视频通话选项以及一语音通话选项,并判断所述视频通话选项或所述 语音通话选项是否被操作;When the desktop sharing option is operated, a desktop sharing request is generated and the desktop sharing request is sent to the computer controlled device, and the desktop sharing request is used to control the computer controlled device to display the currently displayed desktop The content is compressed and encoded and sent, and the compressed and encoded desktop content sent by the computer controlled device is received; when the instant call option is operated, a first call mode selection interface is displayed, and the first call The mode selection interface includes a video call option and a voice call option, and it is determined whether the video call option or the voice call option is operated;
当所述视频通话选项被操作时,呼叫在所述计算机被控设备登陆的所述客户端应用的使用者账号以进行视频通话;当所述语音通话选项被操作时,显示一第二通话方式选取界面,所述第二通话方式选取界面包括一第一联系方式选项以及一第二联系方式选项,并判断所述第一联系方式选项或所述第二联系方式选项是否被操作,其中,所述第一联系方式选项对应第一联系方式,所述第一联系方式包括所述使用者账号,所述第二联系方式选项对应一第二联系方式,所述第二联系方式包括所述计算机被控设备的使用者的至少一电话号码;以及When the video call option is operated, call the user account of the client application logged in the computer controlled device to make a video call; when the voice call option is operated, a second call mode is displayed Selection interface, the second call method selection interface includes a first contact method option and a second contact method option, and it is determined whether the first contact method option or the second contact method option is operated. The first contact method option corresponds to a first contact method, the first contact method includes the user account, the second contact method option corresponds to a second contact method, and the second contact method includes the computer At least one phone number of the user of the control device; and
当所述第一联系方式选项被操作时,呼叫所述使用者账号以进行语音通话;当所述第二联系方式选项被操作时,呼叫所述至少一电话号码以进行语音通话。When the first contact method option is operated, the user account is called to make a voice call; when the second contact method option is operated, the at least one phone number is called to make a voice call.
本申请的第二方面提供一种能够实现桌面共享的即时通信装置,与一计算机被控设备进行即时通信,所述即时通信装置包括:A second aspect of the present application provides an instant messaging device capable of realizing desktop sharing, for instant communication with a computer controlled device, the instant messaging device includes:
第一显示及判断模块,用于在所述计算机装置登陆一客户端应用时显示一即时通信界面,所述即时通信界面包括一桌面共享选项以及一即时通话选项,所述第一显示及判断模块还用于判断所述桌面共享选项或所述即时通话选项是否被操作;The first display and judgment module is used to display an instant communication interface when the computer device logs in to a client application. The instant communication interface includes a desktop sharing option and an instant call option. The first display and judgment module It is also used to determine whether the desktop sharing option or the instant call option is operated;
请求模块,用于当所述桌面共享选项被操作时,生成一桌面共享请求并向所述计算机被控设备发送所述桌面共享请求,所述桌面共享请求用于控制所述计算机被控设备将当前所显示的桌面内容进行压缩编码并发送,接收所述计算机被控设备发送的经压缩编码后的所述桌面内容;The request module is used to generate a desktop sharing request and send the desktop sharing request to the computer controlled device when the desktop sharing option is operated, and the desktop sharing request is used to control the computer controlled device to Compress and encode the currently displayed desktop content and send it, and receive the compressed and encoded desktop content sent by the computer controlled device;
第二显示及判断模块,用于当所述即时通话选项被操作时,显示一第一通话方式选取界面,所述第一通话方式选取界面包括一视频通话选项以及一语音通话选项,所述第二显示及判断模块还用于判断所述视频通话选项或所述语音通话选项是否被操作;The second display and judgment module is used to display a first call mode selection interface when the instant call option is operated. The first call mode selection interface includes a video call option and a voice call option. The second display and judgment module is also used to judge whether the video call option or the voice call option is operated;
第一呼叫模块,用于当所述视频通话选项被操作时,呼叫在所述计算机被控设备登陆的所述客户端应用的使用者账号以进行视频通话;The first call module is configured to call the user account of the client application logged in on the computer controlled device to make a video call when the video call option is operated;
第三显示及判断模块,用于当所述语音通话选项被操作时,显示一第二通话方式选取界面,所述第二通话方式选取界面包括一第一联系方式选项以及一第二联系方式选项,所述第三显示及判断模块还用于判断所述第一联系方式选项或所述第二联系方式选项是否被操作,其中,所述第一联系方式选项对应第一联系方式,所述第一联系方式包括所述使用者账号,所述第二联系方式选项对应一第二联系方式,所述第二联系方式包括所述计算机被控设备的使用者的至少一电话号码;以及The third display and judgment module is used to display a second call mode selection interface when the voice call option is operated. The second call mode selection interface includes a first contact method option and a second contact method option , The third display and judgment module is also used to judge whether the first contact method option or the second contact method option is operated, wherein the first contact method option corresponds to the first contact method, and the first contact method option A contact method includes the user account, the second contact method option corresponds to a second contact method, and the second contact method includes at least one telephone number of the user of the computer controlled device; and
第二呼叫模块,用于当所述第二联系方式选项被操作时,呼叫所述至少一电话号码 以进行语音通话;The second call module is configured to call the at least one phone number to make a voice call when the second contact method option is operated;
所述第一呼叫模块还用于当所述第一联系方式选项被操作时,呼叫所述使用者账号以进行语音通话。The first call module is also used to call the user account to make a voice call when the first contact method option is operated.
本申请的第三方面提供一种计算机装置,所述计算机装置包括处理器,所述处理器用于执行存储器中存储的计算机可读指令时实现如前所述的能够实现桌面共享的即时通信方法。A third aspect of the present application provides a computer device that includes a processor, and the processor is configured to implement the aforementioned instant messaging method capable of realizing desktop sharing when executing computer-readable instructions stored in a memory.
本申请的第四方面提供一种非易失性可读存储介质,其上存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如前所述的能够实现桌面共享的即时通信方法。The fourth aspect of the present application provides a non-volatile readable storage medium having computer readable instructions stored thereon. When the computer readable instructions are executed by a processor, the aforementioned instant desktop sharing can be realized. Communication method.
本申请实施例在客户端应用上增加实时呼叫以及共享桌面功能,而实时呼叫分为使用者账号呼叫以及电话号码呼叫,使用者可根据具体需求进行选择,从而方便不同地点的业务人员进行沟通交流。This embodiment of the application adds real-time calling and desktop sharing functions to the client application, and real-time calls are divided into user account calls and phone number calls. Users can choose according to specific needs, so as to facilitate communication between business personnel in different locations .
附图说明Description of the drawings
图1是本申请实施例一提供的能够实现桌面共享的即时通信方法的流程图。FIG. 1 is a flowchart of an instant messaging method capable of realizing desktop sharing provided by Embodiment 1 of the present application.
图2是本申请实施例二提供的能够实现桌面共享的即时通信装置的结构示意图。Fig. 2 is a schematic structural diagram of an instant messaging device capable of realizing desktop sharing provided in the second embodiment of the present application.
图3是本申请实施例三提供的计算机装置示意图。FIG. 3 is a schematic diagram of a computer device provided in Embodiment 3 of the present application.
具体实施方式Detailed ways
实施例一Example one
请参阅图1所示,是本申请第一实施例提供的能够实现桌面共享的即时通信方法的流程图。所述即时通信方法应用于一计算机装置中。所述计算机装置可与一计算机被控设备进行即时通信。根据不同的需求,该流程图中步骤的顺序可以改变,某些步骤可以省略。所述即时通信方法包括如下步骤:Please refer to FIG. 1, which is a flowchart of an instant messaging method capable of realizing desktop sharing provided by the first embodiment of the present application. The instant messaging method is applied to a computer device. The computer device can perform instant communication with a computer controlled device. According to different needs, the order of the steps in the flowchart can be changed, and some steps can be omitted. The instant messaging method includes the following steps:
步骤S11,在所述计算机装置登陆一客户端应用时,显示一即时通信界面,所述即时通信界面包括一桌面共享选项OP1以及一即时通话选项OP2,判断所述桌面共享选项OP1或所述即时通话选项OP2是否被操作,当所述桌面共享选项OP1被操作时,进行步骤S12;当所述即时通话选项OP2被操作时,进行步骤S13。Step S11, when the computer device logs in to a client application, an instant messaging interface is displayed. The instant messaging interface includes a desktop sharing option OP1 and an instant call option OP2, and determining the desktop sharing option OP1 or the instant messaging interface Whether the call option OP2 is operated, when the desktop sharing option OP1 is operated, step S12 is performed; when the instant call option OP2 is operated, step S13 is performed.
其中,所述客户端应用为允许所述计算机装置的使用者与所述计算机被控设备的使用者进行通信、聊天或会话的软件。当所述计算机装置的使用者通过所述计算机装置开启所述客户端应用并输入验证信息(如,包括使用者账号以及密码等)时,所述计算机装置 将所述验证信息发送至所述客户端应用的服务器,当所述服务器判断所述验证信息与注册信息一致时,允许所述计算机装置登陆所述客户端应用。所述计算机被控设备也可通过相似的方式登陆所述客户端应用。其中,所述使用者账号即为对应所述客户端应用的账号,所述使用者账号具有唯一性,是识别使用者身份的凭证。Wherein, the client application is software that allows the user of the computer device to communicate, chat or talk with the user of the computer controlled device. When the user of the computer device opens the client application through the computer device and enters verification information (eg, including user account and password, etc.), the computer device sends the verification information to the client The server of the client application allows the computer device to log in to the client application when the server determines that the verification information is consistent with the registration information. The computer controlled device can also log in to the client application in a similar way. Wherein, the user account is the account corresponding to the client application, and the user account is unique and is a credential for identifying the user's identity.
步骤S12,生成一桌面共享请求并向所述计算机被控设备发送所述桌面共享请求,所述桌面共享请求用于控制所述计算机被控设备将当前所显示的桌面内容(RGB数据)进行压缩编码并发送,接收所述计算机被控设备发送的经压缩编码后的所述桌面内容。Step S12: Generate a desktop sharing request and send the desktop sharing request to the computer controlled device, the desktop sharing request is used to control the computer controlled device to compress the currently displayed desktop content (RGB data) Encode and send, and receive the compressed and encoded desktop content sent by the computer controlled device.
进一步地,所述桌面共享请求还用于检测所述桌面内容是否更新,并当所述桌面内容有更新时,实时接收所述计算机被控设备发送的更新后的桌面内容。其中,所述计算机装置与所述计算机被控设备通过所述客户端应用的服务器进行通信,如,所述计算机装置通过所述客户端应用的服务器将所述桌面共享请求转发至所述计算机被控设备,从而控制所述计算机被控设备通过所述客户端应用的服务器将所述桌面内容转发至所述计算机装置。Further, the desktop sharing request is also used to detect whether the desktop content is updated, and when the desktop content is updated, receive the updated desktop content sent by the computer controlled device in real time. Wherein, the computer device and the computer controlled device communicate through the server of the client application. For example, the computer device forwards the desktop sharing request to the computer through the server of the client application. Control device, thereby controlling the computer-controlled device to forward the desktop content to the computer device through the server of the client application.
在本实施例中,当建立桌面共享后,可以使所述计算机装置与所述计算机被控设备进一步建立远程控制,从而,所述计算机装置可以远程控制所述计算机被控设备的操作。因此,生成所述桌面共享请求并向所述计算机被控设备发送所述桌面共享请求之后,还包括:In this embodiment, after the desktop sharing is established, the computer device and the computer-controlled device can be further established to remotely control, so that the computer device can remotely control the operation of the computer-controlled device. Therefore, after generating the desktop sharing request and sending the desktop sharing request to the computer controlled device, it further includes:
(a)生成一远程控制请求并向所述计算机被控设备发送所述远程控制请求,所述远程控制请求用于控制所述计算机被控设备确定自身的显示能力,接收所述计算机被控设备的所述显示能力并根据所述显示能力与所述计算机被控设备远程握手。(a) Generate a remote control request and send the remote control request to the computer controlled device, the remote control request is used to control the computer controlled device to determine its own display capability, and receive the computer controlled device And remotely shake hands with the computer controlled device according to the display capability.
其中,所述显示能力包括所述计算机被控设备的屏幕尺寸、传输图片的尺寸、位深等。Wherein, the display capability includes the screen size of the computer controlled device, the size of the transmitted picture, and the bit depth.
(b)当侦测到所述计算机装置所显示的图像被点击时,根据点击位置以及所述显示能力计算所述点击位置在所述计算机被控设备的实际位置,并根据约定协议方式将所述实际位置发送至所述计算机被控设备,使得所述计算机被控设备根据所述实际位置模拟本地的鼠标点击事件。(b) When it is detected that the image displayed by the computer device is clicked, calculate the actual position of the clicked position on the computer-controlled device according to the clicked position and the display capability, and convert the clicked position according to the agreed protocol. The actual position is sent to the computer controlled device, so that the computer controlled device simulates a local mouse click event according to the actual position.
步骤S13,显示一第一通话方式选取界面,所述第一通话方式选取界面包括一视频通话选项OP3以及一语音通话选项OP4,判断所述视频通话选项OP3或所述语音通话选项OP4是否被操作,当所述视频通话选项OP3被操作时,进行步骤S14;当所述语音通话选项OP4被操作时,进行步骤S15。Step S13, display a first call mode selection interface, the first call mode selection interface includes a video call option OP3 and a voice call option OP4, and determine whether the video call option OP3 or the voice call option OP4 is operated When the video call option OP3 is operated, step S14 is performed; when the voice call option OP4 is operated, step S15 is performed.
在本实施例中,所述第一通话方式选取界面的所述视频通话选项OP3与所述语音通 话选项OP4可以二级菜单的方式显示于所述即时通话选项OP2的下方。在另一实施例中,所述第一通话方式选取界面还可以小窗口的方式显示于所述即时通信界面上,且覆盖所述即时通话选项OP2。In this embodiment, the video call option OP3 and the voice call option OP4 of the first call mode selection interface can be displayed under the instant call option OP2 in a secondary menu. In another embodiment, the first call mode selection interface may also be displayed on the instant communication interface in a small window, and cover the instant call option OP2.
步骤S14,呼叫在所述计算机被控设备登陆的所述客户端应用的使用者账号以进行视频通话。Step S14, calling the user account of the client application logged in on the computer controlled device to make a video call.
具体地,当所述视频通话选项OP3被操作时,所述计算机装置发送一视频呼叫请求至所述服务器,所述视频呼叫请求包括所要呼叫的所述使用者账号,从而控制所述服务器呼叫所述使用者账号。Specifically, when the video call option OP3 is operated, the computer device sends a video call request to the server, and the video call request includes the user account to be called, thereby controlling the server to call the office. The user account number.
步骤S15,显示一第二通话方式选取界面,所述第二通话方式选取界面包括一第一联系方式选项OP5以及一第二联系方式选项OP6,判断所述第一联系方式选项OP5或所述第二联系方式选项OP6是否被操作,当所述第一联系方式选项OP5被操作时,进行步骤S16;当所述第二联系方式选项OP6被操作时,进行步骤S17。Step S15: A second call mode selection interface is displayed. The second call mode selection interface includes a first contact mode option OP5 and a second contact mode option OP6, and it is determined whether the first contact mode option OP5 or the second contact mode option OP5 is selected. The second contact method option OP6 is operated. When the first contact method option OP5 is operated, step S16 is performed; when the second contact method option OP6 is operated, step S17 is performed.
在本实施例中,所述第二通话方式选取界面的所述第一联系方式选项OP5以及所述第二联系方式选项OP6可以二级菜单的方式显示于所述语音通话选项OP4的右侧。在另一实施例中,所述第二通话方式选取界面还可以小窗口的方式显示于所述即时通信界面上,且覆盖所述语音通话选项OP4。In this embodiment, the first contact method option OP5 and the second contact method option OP6 of the second call mode selection interface can be displayed on the right side of the voice call option OP4 in a secondary menu. In another embodiment, the second call mode selection interface may also be displayed on the instant messaging interface in a small window, and cover the voice call option OP4.
其中,所述第一联系方式选项OP5对应第一联系方式,所述第一联系方式包括在所述使用者账号。所述第二联系方式选项OP6对应一第二联系方式,所述第二联系方式包括所述计算机被控设备的使用者的至少一电话号码,如,手机号码或座机号码。Wherein, the first contact method option OP5 corresponds to a first contact method, and the first contact method is included in the user account. The second contact method option OP6 corresponds to a second contact method, and the second contact method includes at least one phone number of the user of the computer controlled device, such as a mobile phone number or a landline number.
步骤S16,呼叫所述使用者账号以进行语音通话。Step S16, call the user account to make a voice call.
具体地,当所述第一联系方式选项OP5被操作时,所述计算机装置发送一第一语音呼叫请求至所述服务器,所述第一语音呼叫请求包括所要呼叫的所述使用者账号,从而控制所述服务器呼叫所述使用者账号。Specifically, when the first contact method option OP5 is operated, the computer device sends a first voice call request to the server, and the first voice call request includes the user account to be called, thereby Control the server to call the user account.
步骤S17,呼叫所述至少一电话号码以进行语音通话。Step S17, calling the at least one telephone number to make a voice call.
在本实施例中,使用者可通过所述计算机被控设备将每一所述电话号码与登陆所述客户端应用的使用者账号进行绑定,并将绑定后的每一所述电话号码与所述使用者账号发送至所述服务器进行存储。当所述第二联系方式选项被操作时,所述计算机装置发送一第二语音呼叫请求至所述服务器,所述第二语音呼叫请求包括所要呼叫的所述使用者账号,所述第二语音呼叫请求用于控制所述服务器搜索与所述第二语音呼叫请求中包括的使用者账号相绑定的所有电话号码,并通过语音网关设备发起对至少一所述电话号码的呼叫。In this embodiment, the user can bind each of the phone numbers with the user account logged in the client application through the computer controlled device, and bind each of the phone numbers after binding. And the user account is sent to the server for storage. When the second contact method option is operated, the computer device sends a second voice call request to the server, the second voice call request includes the user account to be called, the second voice The call request is used to control the server to search for all phone numbers bound to the user account included in the second voice call request, and initiate a call to at least one of the phone numbers through the voice gateway device.
进一步地,所述第二联系方式选项OP6对应的第二联系方式可包括所述计算机被控设备的使用者的多个电话号码,例如,可包括手机号码、家用座机号码以及办公室座机号码。所述多个电话号码具有预定的优先级别,如,手机号码的优先级别最高,办公室座机号码的优先级别适中,家用座机号码的优先级别最低。所述优先级别用于指示当所述服务器接收到所述第二语音呼叫请求时,优先级别较高的电话号码被优先拨打。因此,当接收到所述第二语音呼叫请求时,所述服务器通过语音网关设备首先发起对手机号码的呼叫,当所述手机号码无人接听时,再依次呼叫办公室座机号码以及家用座机号码,从而解决单一种电话号码无人接听导致联系不上业务人员的问题。Further, the second contact method corresponding to the second contact method option OP6 may include multiple telephone numbers of the user of the computer controlled device, for example, may include a mobile phone number, a home landline number, and an office landline number. The multiple telephone numbers have predetermined priority levels, for example, mobile phone numbers have the highest priority level, office landline numbers have a moderate priority level, and home landline numbers have the lowest priority level. The priority level is used to indicate that when the server receives the second voice call request, a telephone number with a higher priority level is dialed first. Therefore, when receiving the second voice call request, the server first initiates a call to the mobile phone number through the voice gateway device, and then calls the office landline number and the home landline number in turn when the mobile phone number is unanswered. So as to solve the problem that no one answers the single phone number and the business personnel cannot be contacted.
上述图1详细介绍了本申请的即时通信方法,下面结合图2和图3,对实现所述即时通信方法的软件装置的功能模块以及实现所述即时通信方法的硬件装置架构进行介绍。1 above described the instant messaging method of the present application in detail. The functional modules of the software device that implements the instant messaging method and the hardware device architecture that implements the instant messaging method will be introduced below with reference to FIGS. 2 and 3.
应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。It should be understood that the described embodiments are for illustrative purposes only, and are not limited by this structure in the scope of the patent application.
实施例二Example two
图2为本申请能够实现桌面共享的即时通信装置较佳实施例的结构图。Fig. 2 is a structural diagram of a preferred embodiment of an instant messaging device capable of realizing desktop sharing in this application.
在一些实施例中,所述即时通信装置10运行于计算机装置中。所述即时通信装置10可以包括多个由程序代码段所组成的功能模块。所述即时通信装置10中的各个程序段的程序代码可以存储于计算机装置的存储器中,并由所述至少一个处理器所执行,以实现即时通信功能。In some embodiments, the instant messaging device 10 runs in a computer device. The instant messaging device 10 may include multiple functional modules composed of program code segments. The program code of each program segment in the instant messaging device 10 may be stored in the memory of the computer device and executed by the at least one processor to realize the instant messaging function.
本实施例中,所述即时通信装置10根据其所执行的功能,可以被划分为多个功能模块。参阅图2所示,所述功能模块可以包括:第一显示及判断模块101、请求模块102、第二显示及判断模块103、第一呼叫模块104、第三显示及判断模块105以及第二呼叫模块106。本申请所称的模块是指一种能够被至少一个处理器所执行并且能够完成固定功能的一系列计算机可读指令段,其存储在存储器中。在本实施例中,关于各模块的功能将在后续的实施例中详述。In this embodiment, the instant messaging device 10 can be divided into multiple functional modules according to the functions it performs. Referring to Figure 2, the functional modules may include: a first display and judgment module 101, a request module 102, a second display and judgment module 103, a first call module 104, a third display and judgment module 105, and a second call Module 106. The module referred to in this application refers to a series of computer-readable instruction segments that can be executed by at least one processor and can complete fixed functions, and are stored in a memory. In this embodiment, the function of each module will be described in detail in subsequent embodiments.
所述第一显示及判断模块101用于在所述计算机装置登陆一客户端应用时,显示一即时通信界面,所述即时通信界面包括一桌面共享选项OP1以及一即时通话选项OP2,所述第一显示及判断模块101还用于判断所述桌面共享选项OP1或所述即时通话选项OP2是否被操作。The first display and judgment module 101 is used to display an instant communication interface when the computer device logs in to a client application. The instant communication interface includes a desktop sharing option OP1 and an instant call option OP2. A display and judgment module 101 is also used to judge whether the desktop sharing option OP1 or the instant call option OP2 is operated.
其中,所述客户端应用为允许所述计算机装置的使用者与所述计算机被控设备的使用者进行通信、聊天或会话的软件。当所述计算机装置的使用者通过所述计算机装置开启所述客户端应用并输入验证信息(如,包括使用者账号以及密码等)时,所述计算机装置 将所述验证信息发送至所述客户端应用的服务器,当所述服务器判断所述验证信息与注册信息一致时,允许所述计算机装置登陆所述客户端应用。所述计算机被控设备也可通过相似的方式登陆所述客户端应用。其中,所述使用者账号即为对应所述客户端应用的账号,所述使用者账号具有唯一性,是识别使用者身份的凭证。Wherein, the client application is software that allows the user of the computer device to communicate, chat or talk with the user of the computer controlled device. When the user of the computer device opens the client application through the computer device and enters verification information (eg, including user account and password, etc.), the computer device sends the verification information to the client The server of the client application allows the computer device to log in to the client application when the server determines that the verification information is consistent with the registration information. The computer controlled device can also log in to the client application in a similar way. Wherein, the user account is the account corresponding to the client application, and the user account is unique and is a credential for identifying the user's identity.
所述请求模块102用于当所述桌面共享选项OP1被操作时,生成一桌面共享请求并向所述计算机被控设备发送所述桌面共享请求,其中,当所述计算机被控设备接受所述桌面共享请求时,所述桌面共享请求用于控制所述计算机被控设备将当前所显示的桌面内容(RGB数据)进行压缩编码并发送,并接收所述计算机被控设备发送的经压缩编码后的所述桌面内容。The request module 102 is configured to generate a desktop sharing request and send the desktop sharing request to the computer controlled device when the desktop sharing option OP1 is operated, wherein, when the computer controlled device accepts the In the case of a desktop sharing request, the desktop sharing request is used to control the computer controlled device to compress and encode the currently displayed desktop content (RGB data), and to receive the compressed and encoded data sent by the computer controlled device Of the desktop content.
进一步地,所述桌面共享请求还用于检测所述桌面内容是否更新,并当所述桌面内容有更新时,实时接收所述计算机被控设备发送的更新后的桌面内容。其中,所述计算机装置与所述计算机被控设备通过所述客户端应用的服务器进行通信,如,所述计算机装置通过所述客户端应用的服务器将所述桌面共享请求转发至所述计算机被控设备,从而控制所述计算机被控设备通过所述客户端应用的服务器将所述桌面内容转发至所述计算机装置。Further, the desktop sharing request is also used to detect whether the desktop content is updated, and when the desktop content is updated, receive the updated desktop content sent by the computer controlled device in real time. Wherein, the computer device and the computer controlled device communicate through the server of the client application. For example, the computer device forwards the desktop sharing request to the computer through the server of the client application. Control device, thereby controlling the computer-controlled device to forward the desktop content to the computer device through the server of the client application.
在本实施例中,当建立桌面共享后,可以使所述计算机装置与所述计算机被控设备进一步建立远程控制,从而,所述计算机装置可以远程控制所述计算机被控设备的操作。因此,生成所述桌面共享请求并向所述计算机被控设备发送所述桌面共享请求之后,所述请求模块102用于还生成一远程控制请求并向所述计算机被控设备发送所述远程控制请求,所述远程控制请求用于控制所述计算机被控设备确定自身的显示能力,然后接收所述计算机被控设备的所述显示能力并根据所述显示能力与所述计算机被控设备远程握手。其中,所述显示能力包括所述计算机被控设备的屏幕尺寸、传输图片的尺寸、位深等。当侦测到所述计算机装置所显示的图像被点击时,所述请求模块102还用于根据点击位置以及所述显示能力计算所述点击位置在所述计算机被控设备的实际位置,并根据约定协议方式将所述实际位置发送至所述计算机被控设备,使得所述计算机被控设备根据所述实际位置模拟本地的鼠标点击事件。In this embodiment, after the desktop sharing is established, the computer device and the computer-controlled device can be further established to remotely control, so that the computer device can remotely control the operation of the computer-controlled device. Therefore, after generating the desktop sharing request and sending the desktop sharing request to the computer controlled device, the request module 102 is configured to also generate a remote control request and send the remote control to the computer controlled device Request, the remote control request is used to control the computer controlled device to determine its own display capability, and then receive the display capability of the computer controlled device and remotely shake hands with the computer controlled device according to the display capability . Wherein, the display capability includes the screen size of the computer controlled device, the size of the transmitted picture, and the bit depth. When it is detected that the image displayed by the computer device is clicked, the request module 102 is further configured to calculate the actual position of the clicked position in the computer controlled device according to the clicked position and the display capability, and according to The actual position is sent to the computer controlled device in an agreed protocol manner, so that the computer controlled device simulates a local mouse click event according to the actual position.
所述第二显示及判断模块103用于当所述即时通话选项OP2被操作时,显示一第一通话方式选取界面,所述第一通话方式选取界面包括一视频通话选项OP3以及一语音通话选项OP4,所述第二显示及判断模块103还用于判断所述视频通话选项OP3或所述语音通话选项OP4是否被操作。The second display and judgment module 103 is configured to display a first call mode selection interface when the instant call option OP2 is operated. The first call mode selection interface includes a video call option OP3 and a voice call option OP4, the second display and determination module 103 is also used to determine whether the video call option OP3 or the voice call option OP4 is operated.
在本实施例中,所述第一通话方式选取界面的所述视频通话选项OP3与所述语音通 话选项OP4可以二级菜单的方式显示于所述即时通话选项OP2的下方。在另一实施例中,所述第一通话方式选取界面还可以小窗口的方式显示于所述即时通信界面上,且覆盖所述即时通话选项OP2。In this embodiment, the video call option OP3 and the voice call option OP4 of the first call mode selection interface can be displayed under the instant call option OP2 in a secondary menu. In another embodiment, the first call mode selection interface may also be displayed on the instant communication interface in a small window, and cover the instant call option OP2.
所述第一呼叫模块104用于当所述视频通话选项OP3被操作时,呼叫在所述计算机被控设备登陆的所述客户端应用的使用者账号以进行视频通话。The first call module 104 is configured to call the user account of the client application logged in on the computer controlled device to make a video call when the video call option OP3 is operated.
具体地,当所述视频通话选项OP3被操作时,所述第一呼叫模块104发送一视频呼叫请求至所述服务器,所述视频呼叫请求包括所要呼叫的所述使用者账号,从而控制所述服务器呼叫所述使用者账号。Specifically, when the video call option OP3 is operated, the first call module 104 sends a video call request to the server, and the video call request includes the user account to be called, thereby controlling the The server calls the user account.
所述第三显示及判断模块105用于当所述语音通话选项OP4被操作时,显示一第二通话方式选取界面,所述第二通话方式选取界面包括一第一联系方式选项OP5以及一第二联系方式选项OP6,所述第三显示及判断模块105用于还判断所述第一联系方式选项OP5或所述第二联系方式选项OP6是否被操作。The third display and judgment module 105 is configured to display a second call mode selection interface when the voice call option OP4 is operated. The second call mode selection interface includes a first contact mode option OP5 and a second call mode selection interface. The second contact method option OP6, the third display and judgment module 105 is used to further determine whether the first contact method option OP5 or the second contact method option OP6 is operated.
在本实施例中,所述第二通话方式选取界面的所述第一联系方式选项OP5以及所述第二联系方式选项OP6可以二级菜单的方式显示于所述语音通话选项OP4的右侧。在另一实施例中,所述第二通话方式选取界面还可以小窗口的方式显示于所述即时通信界面上,且覆盖所述语音通话选项OP4。In this embodiment, the first contact method option OP5 and the second contact method option OP6 of the second call mode selection interface can be displayed on the right side of the voice call option OP4 in a secondary menu. In another embodiment, the second call mode selection interface may also be displayed on the instant messaging interface in a small window, and cover the voice call option OP4.
其中,所述第一联系方式选项OP5对应第一联系方式,所述第一联系方式包括所述使用者账号。所述第二联系方式选项OP6对应一第二联系方式,所述第二联系方式包括所述计算机被控设备的使用者的至少一电话号码,如,手机号码或座机号码。Wherein, the first contact method option OP5 corresponds to a first contact method, and the first contact method includes the user account. The second contact method option OP6 corresponds to a second contact method, and the second contact method includes at least one phone number of the user of the computer controlled device, such as a mobile phone number or a landline number.
所述第一呼叫模块104还用于当所述第一联系方式选项OP5被操作时,呼叫所述使用者账号以进行语音通话。The first call module 104 is also configured to call the user account to make a voice call when the first contact option OP5 is operated.
具体地,当所述第一联系方式选项OP5被操作时,所述第一呼叫模块104发送一第一语音呼叫请求至所述服务器,所述第一语音呼叫请求包括所要呼叫的所述使用者账号,从而控制所述服务器呼叫所述使用者账号。Specifically, when the first contact option OP5 is operated, the first call module 104 sends a first voice call request to the server, and the first voice call request includes the user to be called Account to control the server to call the user account.
所述第二呼叫模块106用于当所述第二联系方式选项OP6被操作时,呼叫所述至少一电话号码以进行语音通话。The second calling module 106 is configured to call the at least one phone number to make a voice call when the second contact method option OP6 is operated.
在本实施例中,使用者可通过所述计算机被控设备将每一所述电话号码与登陆所述客户端应用的使用者账号进行绑定,并将绑定后的每一所述电话号码与所述使用者账号发送至所述服务器进行存储。当所述第二联系方式选项被操作时,所述第二呼叫模块106发送一第二语音呼叫请求至所述服务器,所述第二语音呼叫请求包括所要呼叫的所述使用者账号,所述第二语音呼叫请求用于控制所述服务器搜索与所述第二语音呼叫请求中 包括的使用者账号相绑定的所有电话号码,并通过语音网关设备发起对至少一所述电话号码的呼叫。In this embodiment, the user can bind each of the phone numbers with the user account logged in the client application through the computer controlled device, and bind each of the phone numbers after binding. And the user account is sent to the server for storage. When the second contact method option is operated, the second call module 106 sends a second voice call request to the server, the second voice call request includes the user account to be called, the The second voice call request is used to control the server to search for all phone numbers bound to the user account included in the second voice call request, and initiate a call to at least one of the phone numbers through a voice gateway device.
进一步地,所述第二联系方式选项OP6对应的第二联系方式可包括所述计算机被控设备的使用者的多个电话号码,例如,可包括手机号码、家用座机号码以及办公室座机号码。所述多个电话号码具有预定的优先级别,如,手机号码的优先级别最高,办公室座机号码的优先级别适中,家用座机号码的优先级别最低。所述优先级别用于指示当所述服务器接收到所述第二语音呼叫请求时,优先级别较高的电话号码被优先拨打。因此,当接收到所述第二语音呼叫请求时,所述服务器通过语音网关设备首先发起对手机号码的呼叫,当所述手机号码无人接听时,再依次呼叫办公室座机号码以及家用座机号码,从而解决单一种电话号码无人接听导致联系不上业务人员的问题。Further, the second contact method corresponding to the second contact method option OP6 may include multiple telephone numbers of the user of the computer controlled device, for example, may include a mobile phone number, a home landline number, and an office landline number. The multiple telephone numbers have predetermined priority levels, for example, mobile phone numbers have the highest priority level, office landline numbers have a moderate priority level, and home landline numbers have the lowest priority level. The priority level is used to indicate that when the server receives the second voice call request, a telephone number with a higher priority level is dialed first. Therefore, when receiving the second voice call request, the server first initiates a call to the mobile phone number through the voice gateway device, and then calls the office landline number and the home landline number in turn when the mobile phone number is unanswered. So as to solve the problem that no one answers the single phone number and the business personnel cannot be contacted.
如前所述,本申请实施例中的即时通信装置,在客户端应用上增加实时呼叫以及共享桌面功能,而实时呼叫分为使用者账号呼叫以及电话号码呼叫,使用者可根据具体需求进行选择,从而方便不同地点的业务人员进行沟通交流。As mentioned above, the instant messaging device in the embodiment of this application adds real-time calling and desktop sharing functions to the client application, and real-time calling is divided into user account calls and phone number calls, and the user can choose according to specific needs , So as to facilitate communication between business personnel in different locations.
实施例三Example three
图3为本申请计算机装置较佳实施例的示意图。FIG. 3 is a schematic diagram of a preferred embodiment of the computer device of this application.
所述计算机装置1包括存储器20、处理器30以及存储在所述存储器20中并可在所述处理器30上运行的计算机可读指令40,例如即时通信程序。所述处理器30执行所述计算机可读指令40时实现上述能够实现桌面共享的即时通信方法实施例中的步骤:The computer device 1 includes a memory 20, a processor 30, and computer-readable instructions 40 stored in the memory 20 and running on the processor 30, such as an instant messaging program. When the processor 30 executes the computer-readable instructions 40, the steps in the foregoing instant messaging method embodiment capable of realizing desktop sharing are implemented:
步骤S11,在所述计算机装置登陆一客户端应用时,显示一即时通信界面,所述即时通信界面包括一桌面共享选项OP1以及一即时通话选项OP2,判断所述桌面共享选项OP1或所述即时通话选项OP2是否被操作,当所述桌面共享选项OP1被操作时,进行步骤S12;当所述即时通话选项OP2被操作时,进行步骤S13。Step S11, when the computer device logs in to a client application, an instant messaging interface is displayed. The instant messaging interface includes a desktop sharing option OP1 and an instant call option OP2, and determining the desktop sharing option OP1 or the instant messaging interface Whether the call option OP2 is operated, when the desktop sharing option OP1 is operated, step S12 is performed; when the instant call option OP2 is operated, step S13 is performed.
其中,所述客户端应用为允许所述计算机装置的使用者与所述计算机被控设备的使用者进行通信、聊天或会话的软件。当所述计算机装置的使用者通过所述计算机装置开启所述客户端应用并输入验证信息(如,包括使用者账号以及密码等)时,所述计算机装置将所述验证信息发送至所述客户端应用的服务器,当所述服务器判断所述验证信息与注册信息一致时,允许所述计算机装置登陆所述客户端应用。所述计算机被控设备也可通过相似的方式登陆所述客户端应用。其中,所述使用者账号即为对应所述客户端应用的账号,所述使用者账号具有唯一性,是识别使用者身份的凭证。Wherein, the client application is software that allows the user of the computer device to communicate, chat or talk with the user of the computer controlled device. When the user of the computer device opens the client application through the computer device and enters verification information (eg, including user account and password, etc.), the computer device sends the verification information to the client The server of the client application allows the computer device to log in to the client application when the server determines that the verification information is consistent with the registration information. The computer controlled device can also log in to the client application in a similar way. Wherein, the user account is the account corresponding to the client application, and the user account is unique and is a credential for identifying the user's identity.
步骤S12,生成一桌面共享请求并向所述计算机被控设备发送所述桌面共享请求,所述桌面共享请求用于控制所述计算机被控设备将当前所显示的桌面内容(RGB数据)进 行压缩编码并发送,接收所述计算机被控设备发送的经压缩编码后的所述桌面内容。Step S12: Generate a desktop sharing request and send the desktop sharing request to the computer controlled device, the desktop sharing request is used to control the computer controlled device to compress the currently displayed desktop content (RGB data) Encode and send, and receive the compressed and encoded desktop content sent by the computer controlled device.
进一步地,所述桌面共享请求还用于检测所述桌面内容是否更新,并当所述桌面内容有更新时,实时接收所述计算机被控设备发送的更新后的桌面内容。其中,所述计算机装置与所述计算机被控设备通过所述客户端应用的服务器进行通信,如,所述计算机装置通过所述客户端应用的服务器将所述桌面共享请求转发至所述计算机被控设备,从而控制所述计算机被控设备通过所述客户端应用的服务器将所述桌面内容转发至所述计算机装置。Further, the desktop sharing request is also used to detect whether the desktop content is updated, and when the desktop content is updated, receive the updated desktop content sent by the computer controlled device in real time. Wherein, the computer device and the computer controlled device communicate through the server of the client application. For example, the computer device forwards the desktop sharing request to the computer through the server of the client application. Control device, thereby controlling the computer-controlled device to forward the desktop content to the computer device through the server of the client application.
在本实施例中,当建立桌面共享后,可以使所述计算机装置与所述计算机被控设备进一步建立远程控制,从而,所述计算机装置可以远程控制所述计算机被控设备的操作。因此,生成所述桌面共享请求并向所述计算机被控设备发送所述桌面共享请求之后,还包括:In this embodiment, after the desktop sharing is established, the computer device and the computer-controlled device can be further established to remotely control, so that the computer device can remotely control the operation of the computer-controlled device. Therefore, after generating the desktop sharing request and sending the desktop sharing request to the computer controlled device, it further includes:
(a)生成一远程控制请求并向所述计算机被控设备发送所述远程控制请求,所述远程控制请求用于控制所述计算机被控设备确定自身的显示能力,接收所述计算机被控设备的所述显示能力并根据所述显示能力与所述计算机被控设备远程握手。(a) Generate a remote control request and send the remote control request to the computer controlled device, the remote control request is used to control the computer controlled device to determine its own display capability, and receive the computer controlled device And remotely shake hands with the computer controlled device according to the display capability.
其中,所述显示能力包括所述计算机被控设备的屏幕尺寸、传输图片的尺寸、位深等。Wherein, the display capability includes the screen size of the computer controlled device, the size of the transmitted picture, and the bit depth.
(b)当侦测到所述计算机装置所显示的图像被点击时,根据点击位置以及所述显示能力计算所述点击位置在所述计算机被控设备的实际位置,并根据约定协议方式将所述实际位置发送至所述计算机被控设备,使得所述计算机被控设备根据所述实际位置模拟本地的鼠标点击事件。(b) When it is detected that the image displayed by the computer device is clicked, calculate the actual position of the clicked position on the computer-controlled device according to the clicked position and the display capability, and convert the clicked position according to the agreed protocol. The actual position is sent to the computer controlled device, so that the computer controlled device simulates a local mouse click event according to the actual position.
步骤S13,显示一第一通话方式选取界面,所述第一通话方式选取界面包括一视频通话选项OP3以及一语音通话选项OP4,判断所述视频通话选项OP3或所述语音通话选项OP4是否被操作,当所述视频通话选项OP3被操作时,进行步骤S14;当所述语音通话选项OP4被操作时,进行步骤S15。Step S13, display a first call mode selection interface, the first call mode selection interface includes a video call option OP3 and a voice call option OP4, and determine whether the video call option OP3 or the voice call option OP4 is operated When the video call option OP3 is operated, step S14 is performed; when the voice call option OP4 is operated, step S15 is performed.
在本实施例中,所述第一通话方式选取界面的所述视频通话选项OP3与所述语音通话选项OP4可以二级菜单的方式显示于所述即时通话选项OP2的下方。在另一实施例中,所述第一通话方式选取界面还可以小窗口的方式显示于所述即时通信界面上,且覆盖所述即时通话选项OP2。In this embodiment, the video call option OP3 and the voice call option OP4 of the first call mode selection interface can be displayed under the instant call option OP2 in a secondary menu. In another embodiment, the first call mode selection interface may also be displayed on the instant communication interface in a small window, and cover the instant call option OP2.
步骤S14,呼叫在所述计算机被控设备登陆的所述客户端应用的使用者账号以进行视频通话。Step S14, calling the user account of the client application logged in on the computer controlled device to make a video call.
具体地,当所述视频通话选项OP3被操作时,所述计算机装置发送一视频呼叫请求 至所述服务器,所述视频呼叫请求包括所要呼叫的所述使用者账号,从而控制所述服务器呼叫所述使用者账号。Specifically, when the video call option OP3 is operated, the computer device sends a video call request to the server, and the video call request includes the user account to be called, thereby controlling the server to call the office. The user account number.
步骤S15,显示一第二通话方式选取界面,所述第二通话方式选取界面包括一第一联系方式选项OP5以及一第二联系方式选项OP6,判断所述第一联系方式选项OP5或所述第二联系方式选项OP6是否被操作,当所述第一联系方式选项OP5被操作时,进行步骤S16;当所述第二联系方式选项OP6被操作时,进行步骤S17。Step S15: A second call mode selection interface is displayed. The second call mode selection interface includes a first contact mode option OP5 and a second contact mode option OP6, and it is determined whether the first contact mode option OP5 or the second contact mode option OP5 is selected. The second contact method option OP6 is operated. When the first contact method option OP5 is operated, step S16 is performed; when the second contact method option OP6 is operated, step S17 is performed.
在本实施例中,所述第二通话方式选取界面的所述第一联系方式选项OP5以及所述第二联系方式选项OP6可以二级菜单的方式显示于所述语音通话选项OP4的右侧。在另一实施例中,所述第二通话方式选取界面还可以小窗口的方式显示于所述即时通信界面上,且覆盖所述语音通话选项OP4。In this embodiment, the first contact method option OP5 and the second contact method option OP6 of the second call mode selection interface can be displayed on the right side of the voice call option OP4 in a secondary menu. In another embodiment, the second call mode selection interface may also be displayed on the instant messaging interface in a small window, and cover the voice call option OP4.
其中,所述第一联系方式选项OP5对应第一联系方式,所述第一联系方式包括在所述使用者账号。所述第二联系方式选项OP6对应一第二联系方式,所述第二联系方式包括所述计算机被控设备的使用者的至少一电话号码,如,手机号码或座机号码。Wherein, the first contact method option OP5 corresponds to a first contact method, and the first contact method is included in the user account. The second contact method option OP6 corresponds to a second contact method, and the second contact method includes at least one phone number of the user of the computer controlled device, such as a mobile phone number or a landline number.
步骤S16,呼叫所述使用者账号以进行语音通话。Step S16, call the user account to make a voice call.
具体地,当所述第一联系方式选项OP5被操作时,所述计算机装置发送一第一语音呼叫请求至所述服务器,所述第一语音呼叫请求包括所要呼叫的所述使用者账号,从而控制所述服务器呼叫所述使用者账号。Specifically, when the first contact method option OP5 is operated, the computer device sends a first voice call request to the server, and the first voice call request includes the user account to be called, thereby Control the server to call the user account.
步骤S17,呼叫所述至少一电话号码以进行语音通话。Step S17, calling the at least one telephone number to make a voice call.
在本实施例中,使用者可通过所述计算机被控设备将每一所述电话号码与登陆所述客户端应用的使用者账号进行绑定,并将绑定后的每一所述电话号码与所述使用者账号发送至所述服务器进行存储。当所述第二联系方式选项被操作时,所述计算机装置发送一第二语音呼叫请求至所述服务器,所述第二语音呼叫请求包括所要呼叫的所述使用者账号,所述第二语音呼叫请求用于控制所述服务器搜索与所述第二语音呼叫请求中包括的使用者账号相绑定的所有电话号码,并通过语音网关设备发起对至少一所述电话号码的呼叫。In this embodiment, the user can bind each of the phone numbers with the user account logged in the client application through the computer controlled device, and bind each of the phone numbers after binding. And the user account is sent to the server for storage. When the second contact method option is operated, the computer device sends a second voice call request to the server, the second voice call request includes the user account to be called, the second voice The call request is used to control the server to search for all phone numbers bound to the user account included in the second voice call request, and initiate a call to at least one of the phone numbers through the voice gateway device.
进一步地,所述第二联系方式选项OP6对应的第二联系方式可包括所述计算机被控设备的使用者的多个电话号码,例如,可包括手机号码、家用座机号码以及办公室座机号码。所述多个电话号码具有预定的优先级别,如,手机号码的优先级别最高,办公室座机号码的优先级别适中,家用座机号码的优先级别最低。所述优先级别用于指示当所述服务器接收到所述第二语音呼叫请求时,优先级别较高的电话号码被优先拨打。因此,当接收到所述第二语音呼叫请求时,所述服务器通过语音网关设备首先发起对手机号码 的呼叫,当所述手机号码无人接听时,再依次呼叫办公室座机号码以及家用座机号码,从而解决单一种电话号码无人接听导致联系不上业务人员的问题。Further, the second contact method corresponding to the second contact method option OP6 may include multiple telephone numbers of the user of the computer controlled device, for example, may include a mobile phone number, a home landline number, and an office landline number. The multiple telephone numbers have predetermined priority levels, for example, mobile phone numbers have the highest priority level, office landline numbers have a moderate priority level, and home landline numbers have the lowest priority level. The priority level is used to indicate that when the server receives the second voice call request, a telephone number with a higher priority level is dialed first. Therefore, when receiving the second voice call request, the server first initiates a call to the mobile phone number through the voice gateway device, and then calls the office landline number and the home landline number in turn when the mobile phone number is unanswered. So as to solve the problem that no one answers the single phone number and the business personnel cannot be contacted.
或者,所述处理器30执行所述计算机可读指令40时实现上述能够实现桌面共享的即时通信装置实施例中各模块/单元的功能,例如图2中的模块101-106。Alternatively, when the processor 30 executes the computer-readable instructions 40, the functions of the modules/units in the foregoing instant messaging device embodiment capable of realizing desktop sharing, such as the modules 101-106 in FIG. 2, are implemented.
示例性的,所述计算机可读指令40可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器20中,并由所述处理器30执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机可读指令段,该指令段用于描述所述计算机可读指令40在所述计算机装置1中的执行过程。例如,所述计算机可读指令40可以被分割成图2中的第一显示及判断模块101、请求模块102、第二显示及判断模块103、第一呼叫模块104、第三显示及判断模块105以及第二呼叫模块106。各模块具体功能参见实施例二。Exemplarily, the computer-readable instructions 40 may be divided into one or more modules/units, and the one or more modules/units are stored in the memory 20 and executed by the processor 30, To complete this application. The one or more modules/units may be a series of computer-readable instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer-readable instructions 40 in the computer device 1. For example, the computer-readable instruction 40 can be divided into the first display and judgment module 101, the request module 102, the second display and judgment module 103, the first call module 104, and the third display and judgment module 105 in FIG. And the second calling module 106. Refer to the second embodiment for the specific functions of each module.
所述计算机装置1可以是桌上型计算机、笔记本、掌上电脑及云端服务器等计算设备。本领域技术人员可以理解,所述示意图仅仅是计算机装置1的示例,并不构成对计算机装置1的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述计算机装置1还可以包括输入输出设备、网络接入设备、总线等。The computer device 1 may be a computing device such as a desktop computer, a notebook, a palmtop computer, and a cloud server. Those skilled in the art can understand that the schematic diagram is only an example of the computer device 1 and does not constitute a limitation on the computer device 1. It may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Components, for example, the computer device 1 may also include input and output devices, network access devices, buses, and so on.
所称处理器30可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器30也可以是任何常规的处理器等,所述处理器30是所述计算机装置1的控制中心,利用各种接口和线路连接整个计算机装置1的各个部分。The so-called processor 30 may be a central processing unit (Central Processing Unit, CPU), other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor 30 may also be any conventional processor, etc. The processor 30 is the control center of the computer device 1 and connects the entire computer device 1 with various interfaces and lines. Various parts.
所述存储器20可用于存储所述计算机可读指令40和/或模块/单元,所述处理器30通过运行或执行存储在所述存储器20内的计算机可读指令和/或模块/单元,以及调用存储在存储器20内的数据,实现所述计算机装置1的各种功能。所述存储器20可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据计算机装置1的使用所创建的数据(比如音频数据)等。此外,存储器20可以包括非易失性存储器,例如硬盘、内存、插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)、至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。The memory 20 may be used to store the computer-readable instructions 40 and/or modules/units, and the processor 30 can run or execute the computer-readable instructions and/or modules/units stored in the memory 20, and The data stored in the memory 20 is called to realize various functions of the computer device 1. The memory 20 may mainly include a program storage area and a data storage area. The program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data) created according to the use of the computer device 1 and the like are stored. In addition, the memory 20 may include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a Secure Digital (SD) card, a flash memory card (Flash Card), At least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
所述计算机装置1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个非易失性可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述非易失性可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)。If the integrated modules/units of the computer device 1 are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile readable storage medium. Based on this understanding, this application implements all or part of the processes in the above-mentioned embodiments and methods, and can also be completed by instructing relevant hardware by computer-readable instructions. The computer-readable instructions can be stored in a non-volatile memory. In the read storage medium, when the computer-readable instructions are executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer-readable instruction code may be in the form of source code, object code, executable file, or some intermediate forms. The non-volatile readable medium may include: any entity or device capable of carrying the computer readable instruction code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory).
在本申请所提供的几个实施例中,应该理解到,所揭露的计算机装置和方法,可以通过其它的方式实现。例如,以上所描述的计算机装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the several embodiments provided in this application, it should be understood that the disclosed computer device and method may be implemented in other ways. For example, the computer device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other division methods in actual implementation.
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the application and not to limit them. Although the application has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the application can be Modifications or equivalent replacements are made without departing from the spirit and scope of the technical solution of this application.

Claims (20)

  1. 一种能够实现桌面共享的即时通信方法,应用于一计算机装置中,所述计算机装置与一计算机被控设备进行即时通信,其特征在于,所述即时通信方法包括:An instant messaging method capable of realizing desktop sharing, applied to a computer device that performs instant communication with a computer controlled device, characterized in that, the instant messaging method includes:
    在所述计算机装置登陆一客户端应用时显示一即时通信界面,所述即时通信界面包括一桌面共享选项以及一即时通话选项,判断所述桌面共享选项或所述即时通话选项是否被操作;Displaying an instant communication interface when the computer device logs in to a client application, the instant communication interface includes a desktop sharing option and an instant call option, and determining whether the desktop sharing option or the instant call option is operated;
    当所述桌面共享选项被操作时,生成一桌面共享请求并向所述计算机被控设备发送所述桌面共享请求,所述桌面共享请求用于控制所述计算机被控设备将当前所显示的桌面内容进行压缩编码并发送;When the desktop sharing option is operated, a desktop sharing request is generated and the desktop sharing request is sent to the computer controlled device, and the desktop sharing request is used to control the computer controlled device to display the currently displayed desktop The content is compressed and encoded and sent;
    接收所述计算机被控设备发送的经压缩编码后的所述桌面内容;Receiving the compressed and encoded desktop content sent by the computer controlled device;
    当所述即时通话选项被操作时,显示一第一通话方式选取界面,所述第一通话方式选取界面包括一视频通话选项以及一语音通话选项,并判断所述视频通话选项或所述语音通话选项是否被操作;When the instant call option is operated, a first call mode selection interface is displayed, the first call mode selection interface includes a video call option and a voice call option, and the video call option or the voice call is determined Whether the option is operated;
    当所述视频通话选项被操作时,呼叫在所述计算机被控设备登陆的所述客户端应用的使用者账号以进行视频通话;当所述语音通话选项被操作时,显示一第二通话方式选取界面,所述第二通话方式选取界面包括一第一联系方式选项以及一第二联系方式选项,并判断所述第一联系方式选项或所述第二联系方式选项是否被操作,其中,所述第一联系方式选项对应第一联系方式,所述第一联系方式包括所述使用者账号,所述第二联系方式选项对应一第二联系方式,所述第二联系方式包括所述计算机被控设备的使用者的至少一电话号码;以及When the video call option is operated, call the user account of the client application logged in the computer controlled device to make a video call; when the voice call option is operated, a second call mode is displayed Selection interface, the second call method selection interface includes a first contact method option and a second contact method option, and it is determined whether the first contact method option or the second contact method option is operated. The first contact method option corresponds to a first contact method, the first contact method includes the user account, the second contact method option corresponds to a second contact method, and the second contact method includes the computer At least one phone number of the user of the control device; and
    当所述第一联系方式选项被操作时,呼叫所述使用者账号以进行语音通话;当所述第二联系方式选项被操作时,呼叫所述至少一电话号码以进行语音通话。When the first contact method option is operated, the user account is called to make a voice call; when the second contact method option is operated, the at least one phone number is called to make a voice call.
  2. 如权利要求1所述的能够实现桌面共享的即时通信方法,其特征在于,所述方法还包括:The instant messaging method capable of realizing desktop sharing according to claim 1, wherein the method further comprises:
    实时接收所述计算机被控设备发送的更新后的桌面内容。Receive the updated desktop content sent by the computer controlled device in real time.
  3. 如权利要求1所述的能够实现桌面共享的即时通信方法,其特征在于,所述生成一桌面共享请求并向所述计算机被控设备发送所述桌面共享请求之后,所述方法还包括:The instant messaging method capable of realizing desktop sharing according to claim 1, wherein after generating a desktop sharing request and sending the desktop sharing request to the computer controlled device, the method further comprises:
    生成一远程控制请求并向所述计算机被控设备发送所述远程控制请求,所述远程控制请求用于控制所述计算机被控设备确定自身的显示能力;Generating a remote control request and sending the remote control request to the computer controlled device, the remote control request being used to control the computer controlled device to determine its own display capability;
    接收所述计算机被控设备的所述显示能力并根据所述显示能力与所述计算机被控 设备远程握手;以及Receiving the display capability of the computer controlled device and remotely shaking hands with the computer controlled device according to the display capability; and
    当侦测到所述计算机装置所显示的图像被点击时,根据点击位置以及所述显示能力计算所述点击位置在所述计算机被控设备的实际位置,并根据约定协议方式将所述实际位置发送至所述计算机被控设备。When it is detected that the image displayed by the computer device is clicked, the actual position of the clicked position on the computer controlled device is calculated according to the clicked position and the display capability, and the actual position is calculated according to the agreed protocol. Send to the computer controlled device.
  4. 如权利要求1所述的能够实现桌面共享的即时通信方法,其特征在于,所述第一通话方式选取界面的所述视频通话选项与所述语音通话选项以二级菜单的方式显示于所述即时通话选项的下方,所述第二通话方式选取界面的所述第一联系方式选项以及所述第二联系方式选项以二级菜单的方式显示于所述语音通话选项的右侧。The instant messaging method capable of realizing desktop sharing according to claim 1, wherein the video call option and the voice call option of the first call mode selection interface are displayed in the second menu in the form of a secondary menu. Below the instant call option, the first contact method option and the second contact method option of the second call method selection interface are displayed on the right side of the voice call option in a secondary menu.
  5. 如权利要求1所述的能够实现桌面共享的即时通信方法,其特征在于,所述呼叫所述使用者账号以进行语音通话包括:The instant messaging method capable of realizing desktop sharing according to claim 1, wherein said calling said user account for voice call comprises:
    发送一第一语音呼叫请求至所述客户端应用的服务器,其中,所述第一语音呼叫请求包括所要呼叫的所述使用者账号,所述服务器基于所述第一语音呼叫请求呼叫所述使用者账号。Send a first voice call request to the server of the client application, where the first voice call request includes the user account to be called, and the server calls the user account based on the first voice call request者’s account.
  6. 如权利要求1所述的能够实现桌面共享的即时通信方法,其特征在于,每一所述电话号码与登陆所述客户端应用的使用者账号相互绑定,绑定后的每一所述电话号码与所述使用者账号存储于所述客户端应用的服务器中,所述呼叫所述至少一电话号码以进行语音通话包括:The instant messaging method capable of realizing desktop sharing according to claim 1, wherein each of the phone numbers is bound to the user account that logs in the client application, and each of the bound phones The number and the user account are stored in the server of the client application, and the calling the at least one phone number to make a voice call includes:
    发送一第二语音呼叫请求至所述客户端应用的服务器,其中,所述第二语音呼叫请求包括所要呼叫的所述计算机被控设备的使用者账号,所述第二语音呼叫请求用于控制所述服务器搜索与所述第二语音呼叫请求中包括的与使用者账号相绑定的所有电话号码,并通过语音网关设备发起对至少一所述电话号码的呼叫。Send a second voice call request to the server of the client application, where the second voice call request includes the user account of the computer controlled device to be called, and the second voice call request is used for control The server searches for all the phone numbers bound to the user account included in the second voice call request, and initiates a call to at least one of the phone numbers through the voice gateway device.
  7. 如权利要求6所述的能够实现桌面共享的即时通信方法,其特征在于,所述第二联系方式选项对应的第二联系方式包括多个电话号码,所述多个电话号码具有预定的优先级别,所述优先级别用于指示当所述服务器接收到所述第二语音呼叫请求时,优先级别较高的电话号码被优先拨打。The instant messaging method capable of realizing desktop sharing according to claim 6, wherein the second contact method corresponding to the second contact method option includes multiple telephone numbers, and the multiple telephone numbers have a predetermined priority level. The priority level is used to indicate that when the server receives the second voice call request, a telephone number with a higher priority level is dialed first.
  8. 一种能够实现桌面共享的即时通信装置,与一计算机被控设备进行即时通信,其特征在于,所述装置包括:An instant communication device capable of realizing desktop sharing for instant communication with a computer controlled device, characterized in that the device includes:
    第一显示及判断模块,用于在所述计算机装置登陆一客户端应用时显示一即时通信界面,所述即时通信界面包括一桌面共享选项以及一即时通话选项,所述第一显示及判断模块还用于判断所述桌面共享选项或所述即时通话选项是否被操作;The first display and judgment module is used to display an instant communication interface when the computer device logs in to a client application. The instant communication interface includes a desktop sharing option and an instant call option. The first display and judgment module It is also used to determine whether the desktop sharing option or the instant call option is operated;
    请求模块,用于当所述桌面共享选项被操作时,生成一桌面共享请求并向所述计算 机被控设备发送所述桌面共享请求,所述桌面共享请求用于控制所述计算机被控设备将当前所显示的桌面内容进行压缩编码并发送,接收所述计算机被控设备发送的经压缩编码后的所述桌面内容;The request module is used to generate a desktop sharing request and send the desktop sharing request to the computer controlled device when the desktop sharing option is operated, and the desktop sharing request is used to control the computer controlled device to Compress and encode the currently displayed desktop content and send it, and receive the compressed and encoded desktop content sent by the computer controlled device;
    第二显示及判断模块,用于当所述即时通话选项被操作时,显示一第一通话方式选取界面,所述第一通话方式选取界面包括一视频通话选项以及一语音通话选项,所述第二显示及判断模块还用于判断所述视频通话选项或所述语音通话选项是否被操作;The second display and judgment module is used to display a first call mode selection interface when the instant call option is operated. The first call mode selection interface includes a video call option and a voice call option. The second display and judgment module is also used to judge whether the video call option or the voice call option is operated;
    第一呼叫模块,用于当所述视频通话选项被操作时,呼叫在所述计算机被控设备登陆的所述客户端应用的使用者账号以进行视频通话;The first call module is configured to call the user account of the client application logged in on the computer controlled device to make a video call when the video call option is operated;
    第三显示及判断模块,用于当所述语音通话选项被操作时,显示一第二通话方式选取界面,所述第二通话方式选取界面包括一第一联系方式选项以及一第二联系方式选项,所述第三显示及判断模块还用于判断所述第一联系方式选项或所述第二联系方式选项是否被操作,其中,所述第一联系方式选项对应第一联系方式,所述第一联系方式包括所述使用者账号,所述第二联系方式选项对应一第二联系方式,所述第二联系方式包括所述计算机被控设备的使用者的至少一电话号码;以及The third display and judgment module is used to display a second call mode selection interface when the voice call option is operated. The second call mode selection interface includes a first contact method option and a second contact method option , The third display and judgment module is also used to judge whether the first contact method option or the second contact method option is operated, wherein the first contact method option corresponds to the first contact method, and the first contact method option A contact method includes the user account, the second contact method option corresponds to a second contact method, and the second contact method includes at least one telephone number of the user of the computer controlled device; and
    第二呼叫模块,用于当所述第二联系方式选项被操作时,呼叫所述至少一电话号码以进行语音通话;The second call module is configured to call the at least one phone number to make a voice call when the second contact method option is operated;
    所述第一呼叫模块还用于当所述第一联系方式选项被操作时,呼叫所述使用者账号以进行语音通话。The first call module is also used to call the user account to make a voice call when the first contact method option is operated.
  9. 一种计算机装置,其特征在于:所述计算机装置包括处理器,所述处理器用于执行存储器中存储的计算机可读指令以实现如下步骤:A computer device, characterized in that: the computer device includes a processor, and the processor is configured to execute computer-readable instructions stored in a memory to implement the following steps:
    在所述计算机装置登陆一客户端应用时显示一即时通信界面,所述即时通信界面包括一桌面共享选项以及一即时通话选项,判断所述桌面共享选项或所述即时通话选项是否被操作;Displaying an instant communication interface when the computer device logs in to a client application, the instant communication interface includes a desktop sharing option and an instant call option, and determining whether the desktop sharing option or the instant call option is operated;
    当所述桌面共享选项被操作时,生成一桌面共享请求并向所述计算机被控设备发送所述桌面共享请求,所述桌面共享请求用于控制所述计算机被控设备将当前所显示的桌面内容进行压缩编码并发送;When the desktop sharing option is operated, a desktop sharing request is generated and the desktop sharing request is sent to the computer controlled device, and the desktop sharing request is used to control the computer controlled device to display the currently displayed desktop The content is compressed and encoded and sent;
    接收所述计算机被控设备发送的经压缩编码后的所述桌面内容;Receiving the compressed and encoded desktop content sent by the computer controlled device;
    当所述即时通话选项被操作时,显示一第一通话方式选取界面,所述第一通话方式选取界面包括一视频通话选项以及一语音通话选项,并判断所述视频通话选项或所述语音通话选项是否被操作;When the instant call option is operated, a first call mode selection interface is displayed, the first call mode selection interface includes a video call option and a voice call option, and the video call option or the voice call is determined Whether the option is operated;
    当所述视频通话选项被操作时,呼叫在所述计算机被控设备登陆的所述客户端应用 的使用者账号以进行视频通话;当所述语音通话选项被操作时,显示一第二通话方式选取界面,所述第二通话方式选取界面包括一第一联系方式选项以及一第二联系方式选项,并判断所述第一联系方式选项或所述第二联系方式选项是否被操作,其中,所述第一联系方式选项对应第一联系方式,所述第一联系方式包括所述使用者账号,所述第二联系方式选项对应一第二联系方式,所述第二联系方式包括所述计算机被控设备的使用者的至少一电话号码;以及When the video call option is operated, call the user account of the client application logged in the computer controlled device to make a video call; when the voice call option is operated, a second call mode is displayed Selection interface, the second call method selection interface includes a first contact method option and a second contact method option, and it is determined whether the first contact method option or the second contact method option is operated. The first contact method option corresponds to a first contact method, the first contact method includes the user account, the second contact method option corresponds to a second contact method, and the second contact method includes the computer At least one phone number of the user of the control device; and
    当所述第一联系方式选项被操作时,呼叫所述使用者账号以进行语音通话;当所述第二联系方式选项被操作时,呼叫所述至少一电话号码以进行语音通话。When the first contact method option is operated, the user account is called to make a voice call; when the second contact method option is operated, the at least one phone number is called to make a voice call.
  10. 如权利要求9所述的计算机装置,其特征在于,所述处理器执行存储器中存储的计算机可读指令还用以实现如下步骤:9. The computer device of claim 9, wherein the processor executes the computer-readable instructions stored in the memory and is further used to implement the following steps:
    实时接收所述计算机被控设备发送的更新后的桌面内容。Receive the updated desktop content sent by the computer controlled device in real time.
  11. 如权利要求9所述的计算机装置,其特征在于,在所述生成一桌面共享请求并向所述计算机被控设备发送所述桌面共享请求之后,所述处理器执行存储器中存储的计算机可读指令还用以实现如下步骤:The computer device according to claim 9, wherein after said generating a desktop sharing request and sending the desktop sharing request to the computer controlled device, the processor executes the computer-readable storage in the memory The instructions are also used to implement the following steps:
    生成一远程控制请求并向所述计算机被控设备发送所述远程控制请求,所述远程控制请求用于控制所述计算机被控设备确定自身的显示能力;Generating a remote control request and sending the remote control request to the computer controlled device, the remote control request being used to control the computer controlled device to determine its own display capability;
    接收所述计算机被控设备的所述显示能力并根据所述显示能力与所述计算机被控设备远程握手;以及Receiving the display capability of the computer controlled device and remotely shaking hands with the computer controlled device according to the display capability; and
    当侦测到所述计算机装置所显示的图像被点击时,根据点击位置以及所述显示能力计算所述点击位置在所述计算机被控设备的实际位置,并根据约定协议方式将所述实际位置发送至所述计算机被控设备。When it is detected that the image displayed by the computer device is clicked, the actual position of the clicked position on the computer controlled device is calculated according to the clicked position and the display capability, and the actual position is calculated according to the agreed protocol. Send to the computer controlled device.
  12. 如权利要求9所述的计算机装置,其特征在于,所述第一通话方式选取界面的所述视频通话选项与所述语音通话选项以二级菜单的方式显示于所述即时通话选项的下方,所述第二通话方式选取界面的所述第一联系方式选项以及所述第二联系方式选项以二级菜单的方式显示于所述语音通话选项的右侧。9. The computer device of claim 9, wherein the video call option and the voice call option of the first call mode selection interface are displayed below the instant call option in a secondary menu, The first contact method option and the second contact method option of the second call mode selection interface are displayed on the right side of the voice call option in a secondary menu.
  13. 如权利要求9所述的计算机装置,其特征在于,所述处理器执行存储器中存储的计算机可读指令以实现所述呼叫所述使用者账号以进行语音通话时,具体包括:9. The computer device of claim 9, wherein the processor executes the computer-readable instructions stored in the memory to implement the calling the user account for a voice call, specifically comprising:
    发送一第一语音呼叫请求至所述客户端应用的服务器,其中,所述第一语音呼叫请求包括所要呼叫的所述使用者账号,所述服务器基于所述第一语音呼叫请求呼叫所述使用者账号。Send a first voice call request to the server of the client application, where the first voice call request includes the user account to be called, and the server calls the user account based on the first voice call request者’s account.
  14. 如权利要求9所述的计算机装置,其特征在于,每一所述电话号码与登陆所述 客户端应用的使用者账号相互绑定,绑定后的每一所述电话号码与所述使用者账号存储于所述客户端应用的服务器中,所述处理器执行存储器中存储的计算机可读指令以实现所述呼叫所述至少一电话号码以进行语音通话时,具体包括:9. The computer device of claim 9, wherein each of the phone numbers is bound to the user account logged in the client application, and each of the bound phone numbers is bound to the user The account is stored in the server of the client application, and when the processor executes the computer-readable instructions stored in the memory to implement the calling the at least one phone number for a voice call, this specifically includes:
    发送一第二语音呼叫请求至所述客户端应用的服务器,其中,所述第二语音呼叫请求包括所要呼叫的所述计算机被控设备的使用者账号,所述第二语音呼叫请求用于控制所述服务器搜索与所述第二语音呼叫请求中包括的与使用者账号相绑定的所有电话号码,并通过语音网关设备发起对至少一所述电话号码的呼叫。Send a second voice call request to the server of the client application, where the second voice call request includes the user account of the computer controlled device to be called, and the second voice call request is used for control The server searches for all the phone numbers bound to the user account included in the second voice call request, and initiates a call to at least one of the phone numbers through the voice gateway device.
  15. 一种非易失性可读存储介质,其上存储有计算机可读指令,其特征在于:所述计算机可读指令被处理器执行时实现如下步骤:A non-volatile readable storage medium, on which computer readable instructions are stored, characterized in that: the computer readable instructions are executed by a processor to implement the following steps:
    在所述计算机装置登陆一客户端应用时显示一即时通信界面,所述即时通信界面包括一桌面共享选项以及一即时通话选项,判断所述桌面共享选项或所述即时通话选项是否被操作;Displaying an instant communication interface when the computer device logs in to a client application, the instant communication interface includes a desktop sharing option and an instant call option, and determining whether the desktop sharing option or the instant call option is operated;
    当所述桌面共享选项被操作时,生成一桌面共享请求并向所述计算机被控设备发送所述桌面共享请求,所述桌面共享请求用于控制所述计算机被控设备将当前所显示的桌面内容进行压缩编码并发送;When the desktop sharing option is operated, a desktop sharing request is generated and the desktop sharing request is sent to the computer controlled device, and the desktop sharing request is used to control the computer controlled device to display the currently displayed desktop The content is compressed and encoded and sent;
    接收所述计算机被控设备发送的经压缩编码后的所述桌面内容;Receiving the compressed and encoded desktop content sent by the computer controlled device;
    当所述即时通话选项被操作时,显示一第一通话方式选取界面,所述第一通话方式选取界面包括一视频通话选项以及一语音通话选项,并判断所述视频通话选项或所述语音通话选项是否被操作;When the instant call option is operated, a first call mode selection interface is displayed, the first call mode selection interface includes a video call option and a voice call option, and the video call option or the voice call is determined Whether the option is operated;
    当所述视频通话选项被操作时,呼叫在所述计算机被控设备登陆的所述客户端应用的使用者账号以进行视频通话;当所述语音通话选项被操作时,显示一第二通话方式选取界面,所述第二通话方式选取界面包括一第一联系方式选项以及一第二联系方式选项,并判断所述第一联系方式选项或所述第二联系方式选项是否被操作,其中,所述第一联系方式选项对应第一联系方式,所述第一联系方式包括所述使用者账号,所述第二联系方式选项对应一第二联系方式,所述第二联系方式包括所述计算机被控设备的使用者的至少一电话号码;以及When the video call option is operated, call the user account of the client application logged in the computer controlled device to make a video call; when the voice call option is operated, a second call mode is displayed Selection interface, the second call method selection interface includes a first contact method option and a second contact method option, and it is determined whether the first contact method option or the second contact method option is operated. The first contact method option corresponds to a first contact method, the first contact method includes the user account, the second contact method option corresponds to a second contact method, and the second contact method includes the computer At least one phone number of the user of the control device; and
    当所述第一联系方式选项被操作时,呼叫所述使用者账号以进行语音通话;当所述第二联系方式选项被操作时,呼叫所述至少一电话号码以进行语音通话。When the first contact method option is operated, the user account is called to make a voice call; when the second contact method option is operated, the at least one phone number is called to make a voice call.
  16. 如权利要求15所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行还用以实现以下步骤:15. The storage medium of claim 15, wherein the computer-readable instructions are executed by the processor to further implement the following steps:
    实时接收所述计算机被控设备发送的更新后的桌面内容。Receive the updated desktop content sent by the computer controlled device in real time.
  17. 如权利要求15所述的存储介质,其特征在于,在所述生成一桌面共享请求并向所述计算机被控设备发送所述桌面共享请求之后,所述计算机可读指令被所述处理器执行还用以实现以下步骤:The storage medium of claim 15, wherein after said generating a desktop sharing request and sending said desktop sharing request to said computer controlled device, said computer-readable instructions are executed by said processor It is also used to implement the following steps:
    生成一远程控制请求并向所述计算机被控设备发送所述远程控制请求,所述远程控制请求用于控制所述计算机被控设备确定自身的显示能力;Generating a remote control request and sending the remote control request to the computer controlled device, the remote control request being used to control the computer controlled device to determine its own display capability;
    接收所述计算机被控设备的所述显示能力并根据所述显示能力与所述计算机被控设备远程握手;以及Receiving the display capability of the computer controlled device and remotely shaking hands with the computer controlled device according to the display capability; and
    当侦测到所述计算机装置所显示的图像被点击时,根据点击位置以及所述显示能力计算所述点击位置在所述计算机被控设备的实际位置,并根据约定协议方式将所述实际位置发送至所述计算机被控设备。When it is detected that the image displayed by the computer device is clicked, the actual position of the clicked position on the computer controlled device is calculated according to the clicked position and the display capability, and the actual position is calculated according to the agreed protocol. Send to the computer controlled device.
  18. 如权利要求15所述的存储介质,其特征在于,所述第一通话方式选取界面的所述视频通话选项与所述语音通话选项以二级菜单的方式显示于所述即时通话选项的下方,所述第二通话方式选取界面的所述第一联系方式选项以及所述第二联系方式选项以二级菜单的方式显示于所述语音通话选项的右侧。15. The storage medium of claim 15, wherein the video call option and the voice call option of the first call mode selection interface are displayed under the instant call option in a secondary menu, and The first contact method option and the second contact method option of the second call mode selection interface are displayed on the right side of the voice call option in a secondary menu.
  19. 如权利要求15所述的存储介质,其特征在于,所述计算机可读指令被所述处理器执行以实现所述呼叫所述使用者账号以进行语音通话时,具体包括:15. The storage medium of claim 15, wherein when the computer-readable instructions are executed by the processor to implement the calling the user account for a voice call, it specifically comprises:
    发送一第一语音呼叫请求至所述客户端应用的服务器,其中,所述第一语音呼叫请求包括所要呼叫的所述使用者账号,所述服务器基于所述第一语音呼叫请求呼叫所述使用者账号。Send a first voice call request to the server of the client application, where the first voice call request includes the user account to be called, and the server calls the user account based on the first voice call request者’s account.
  20. 如权利要求15所述的存储介质,其特征在于,每一所述电话号码与登陆所述客户端应用的使用者账号相互绑定,绑定后的每一所述电话号码与所述使用者账号存储于所述客户端应用的服务器中,所述计算机可读指令被所述处理器执行以实现所述呼叫所述至少一电话号码以进行语音通话时,具体包括:The storage medium of claim 15, wherein each of the phone numbers is bound to the user account that logs in the client application, and each of the bound phone numbers is bound to the user The account number is stored in the server of the client application, and when the computer-readable instructions are executed by the processor to implement the calling the at least one phone number for a voice call, specifically including:
    发送一第二语音呼叫请求至所述客户端应用的服务器,其中,所述第二语音呼叫请求包括所要呼叫的所述计算机被控设备的使用者账号,所述第二语音呼叫请求用于控制所述服务器搜索与所述第二语音呼叫请求中包括的与使用者账号相绑定的所有电话号码,并通过语音网关设备发起对至少一所述电话号码的呼叫。Send a second voice call request to the server of the client application, where the second voice call request includes the user account of the computer controlled device to be called, and the second voice call request is used for control The server searches for all the phone numbers bound to the user account included in the second voice call request, and initiates a call to at least one of the phone numbers through the voice gateway device.
PCT/CN2019/118975 2019-04-26 2019-11-15 Instant messaging method capable of implementing desktop sharing and related devices WO2020215704A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910344985.2A CN110213154A (en) 2019-04-26 2019-04-26 Instant communicating method, device, computer installation and storage medium
CN201910344985.2 2019-04-26

Publications (1)

Publication Number Publication Date
WO2020215704A1 true WO2020215704A1 (en) 2020-10-29

Family

ID=67786413

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118975 WO2020215704A1 (en) 2019-04-26 2019-11-15 Instant messaging method capable of implementing desktop sharing and related devices

Country Status (2)

Country Link
CN (1) CN110213154A (en)
WO (1) WO2020215704A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213154A (en) * 2019-04-26 2019-09-06 平安科技(深圳)有限公司 Instant communicating method, device, computer installation and storage medium
CN112887195B (en) * 2021-01-20 2023-11-14 努比亚技术有限公司 Voice calling method, voice calling device and computer readable storage medium
CN116074462A (en) * 2021-10-29 2023-05-05 华为技术有限公司 Desktop sharing method, device and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750450A (en) * 2015-04-03 2015-07-01 魅族科技(中国)有限公司 File sharing method in IM (Instant Messaging) and terminal
CN105099881A (en) * 2012-06-28 2015-11-25 北京奇虎科技有限公司 Information sharing method and device in instant messaging
CN106484265A (en) * 2016-10-14 2017-03-08 深圳市贝克希尔智能科技有限公司 It is applied to information flag method and its system of instant messaging
WO2017045417A1 (en) * 2015-09-16 2017-03-23 中兴通讯股份有限公司 Remote control method and apparatus and mobile terminal
CN110213154A (en) * 2019-04-26 2019-09-06 平安科技(深圳)有限公司 Instant communicating method, device, computer installation and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070058637A1 (en) * 2005-09-14 2007-03-15 Tun Han Felix Lo Method for multi-channel multi-device call transfer
US20140333713A1 (en) * 2012-12-14 2014-11-13 Biscotti Inc. Video Calling and Conferencing Addressing
JP6097679B2 (en) * 2013-02-28 2017-03-15 エルジー アプラス コーポレーション Inter-terminal function sharing method and terminal
CN103825805A (en) * 2014-02-27 2014-05-28 黄晓峰 Personal communication system with combination of voice function and data function and obtaining method thereof
GB2526245A (en) * 2014-03-04 2015-11-25 Microsoft Technology Licensing Llc Sharing content
CN109542378A (en) * 2018-11-19 2019-03-29 上海闻泰信息技术有限公司 Screen sharing method, device, electronic equipment and readable storage medium storing program for executing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099881A (en) * 2012-06-28 2015-11-25 北京奇虎科技有限公司 Information sharing method and device in instant messaging
CN104750450A (en) * 2015-04-03 2015-07-01 魅族科技(中国)有限公司 File sharing method in IM (Instant Messaging) and terminal
WO2017045417A1 (en) * 2015-09-16 2017-03-23 中兴通讯股份有限公司 Remote control method and apparatus and mobile terminal
CN106484265A (en) * 2016-10-14 2017-03-08 深圳市贝克希尔智能科技有限公司 It is applied to information flag method and its system of instant messaging
CN110213154A (en) * 2019-04-26 2019-09-06 平安科技(深圳)有限公司 Instant communicating method, device, computer installation and storage medium

Also Published As

Publication number Publication date
CN110213154A (en) 2019-09-06

Similar Documents

Publication Publication Date Title
US20220286644A1 (en) Instant Video Communication Connections
WO2020215704A1 (en) Instant messaging method capable of implementing desktop sharing and related devices
US8995967B1 (en) Systems and methods for device emulation on mobile channel
US10085127B2 (en) Pre-determined responses for wireless devices
US10827065B2 (en) Systems and methods for providing integrated computerized personal assistant services in telephony communications
US7653547B2 (en) Method for testing a speech server
US9021507B2 (en) Dynamic use of data across multiple programs
US10771741B1 (en) Adding an individual to a video conference
US20200301648A1 (en) Method of operating a shared object in a video call
US11379183B2 (en) System and method for providing a response to a user query using a visual assistant
CN114270338A (en) System and method for facilitating robotic communication
WO2022057393A1 (en) Event processing method and apparatus, storage medium, mobile terminal, and computer
KR20160090330A (en) Controlling voice composition in a conference
WO2018133767A1 (en) Call control method, terminal apparatus, and data storage medium
CN103973542B (en) A kind of voice information processing method and device
US20200234008A1 (en) Information processing method and device
JP2020503602A (en) Identity recognition method, identity recognition device, office platform system and associated server
US10848530B2 (en) Conference system and method for interworking between audio conference and web conference
US10178230B1 (en) Methods and systems for communicating supplemental data to a callee via data association with a software-as-a-service application
CN110989889A (en) Information display method, information display device and electronic equipment
WO2023241613A1 (en) Call establishment method, device and system, terminal, and readable storage medium
US11228679B2 (en) Browser and phone integration
US10904301B2 (en) Conference system and method for handling conference connection thereof
WO2016123758A1 (en) Method and device for concealing personal information on calling interface
WO2022100359A1 (en) Method and apparatus for group user migration, and device 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: 19926259

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19926259

Country of ref document: EP

Kind code of ref document: A1