CN113301289A - Communication processing method, communication processing device, electronic equipment and storage medium - Google Patents

Communication processing method, communication processing device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113301289A
CN113301289A CN202010108658.XA CN202010108658A CN113301289A CN 113301289 A CN113301289 A CN 113301289A CN 202010108658 A CN202010108658 A CN 202010108658A CN 113301289 A CN113301289 A CN 113301289A
Authority
CN
China
Prior art keywords
electronic device
electronic equipment
communication
video communication
controlling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010108658.XA
Other languages
Chinese (zh)
Other versions
CN113301289B (en
Inventor
张上进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN202010108658.XA priority Critical patent/CN113301289B/en
Publication of CN113301289A publication Critical patent/CN113301289A/en
Application granted granted Critical
Publication of CN113301289B publication Critical patent/CN113301289B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present application relates to the field of mobile terminal technologies, and in particular, to a communication processing method and apparatus, an electronic device, and a storage medium. The method in one embodiment comprises: controlling a first electronic device to establish two-way video communication with a second electronic device; identifying a network carrier type of the first electronic device when an enabling operation of the one-way video communication is detected; and when the network carrier type of the first electronic equipment does not support the establishment of the service path corresponding to the unidirectional video communication, controlling to close the local video frame acquisition equipment, sending preset video frame data to the second electronic equipment, and receiving real-time video frame data sent by the second electronic equipment.

Description

Communication processing method, communication processing device, electronic equipment and storage medium
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to a communication processing method and apparatus, an electronic device, and a storage medium.
Background
With the development of scientific technology, such as the application of the Voice over Long-Term Evolution (lte) technology and the Voice over Internet Protocol (VoIP) technology, various forms of communication such as Voice and video can be established through the dialing function of the mobile terminal, which greatly facilitates the production and life of people.
The user establishes communication through the dialing function of the mobile terminal, and can perform simple voice communication, simple video communication and unidirectional video communication. The simple video communication refers to a two-way video call, that is, both sides can see the video call of the opposite side, and the one-way video communication refers to the video call that only one side can be seen.
However, the conventional dial-up communication method is limited by the service path provided by the network operator, and cannot enable all parties of the call to enjoy the initiative of video communication switching, for example, the call cannot be autonomously controlled to be switched from the bidirectional video communication to the unidirectional video communication. Namely, the traditional dial-up communication mode has the problem that one-way video communication is limited by network operators.
Disclosure of Invention
Therefore, it is necessary to provide a communication processing method, an apparatus, an electronic device, and a storage medium for solving a technical problem that a one-way video call is limited to a network operator in an existing dial-up communication method.
A communication processing method is applied to a first electronic device and comprises the following steps:
controlling the first electronic equipment to establish two-way video communication with second electronic equipment;
identifying a network carrier type of the first electronic device when an enabling operation of one-way video communication is detected;
and when the network carrier type of the first electronic equipment does not support the establishment of the service path corresponding to the unidirectional video communication, controlling to close the local video frame acquisition equipment, sending preset video frame data to the second electronic equipment, and receiving real-time video frame data sent by the second electronic equipment.
In one embodiment, after the identifying the network bearer type of the first electronic device, the method further includes:
and when the network carrier type of the first electronic equipment supports the establishment of a service path corresponding to the unidirectional video communication, controlling to close the local video frame acquisition equipment and receiving real-time video frame data sent by the second electronic equipment.
In one embodiment, after the controlling the first electronic device to establish the bidirectional video communication with the second electronic device, the method further includes:
detecting operation on a communication interface of the first electronic equipment in real time;
the identifying a network carrier type of the first electronic device when the enabling operation of the one-way video communication is detected comprises:
and when the starting operation of a one-way video communication control preset on the communication interface is detected, identifying the type of the network carrier of the first electronic equipment.
In one embodiment, after the controlling the first electronic device to establish the bidirectional video communication with the second electronic device, the method further includes:
detecting operation on a communication interface of the first electronic equipment in real time;
the identifying a network carrier type of the first electronic device when the enabling operation of the one-way video communication is detected comprises:
and when the operation of exiting the communication interface is detected, identifying the type of the network carrier of the first electronic equipment.
In one embodiment, after the controlling the first electronic device to establish the bidirectional video communication with the second electronic device, the method further includes:
detecting operation on a communication interface of the first electronic equipment in real time;
and when the starting operation of a preset voice communication control on the communication interface is detected, controlling the first electronic equipment to establish voice communication with the second electronic equipment.
In one embodiment, said controlling said first electronic device to establish two-way video communication with a second electronic device comprises:
when starting operation of two-way video communication is detected, acquiring a target object identifier of the two-way video communication;
searching for a second electronic device where the target object identifier is located according to the target object identifier, and establishing a service channel corresponding to two-way video communication between the first electronic device and the second electronic device;
and controlling the first electronic equipment and the second electronic equipment to establish the bidirectional video communication based on the service access corresponding to the bidirectional video communication.
A communication processing apparatus applied to a first electronic device, the apparatus comprising:
the bidirectional video establishing module is used for controlling the first electronic equipment to establish bidirectional video communication with the second electronic equipment;
a network carrier identification module, configured to identify a network carrier type of the first electronic device when a start operation of unidirectional video communication is detected;
and the unidirectional video switching module is used for controlling to close the local video frame acquisition equipment, sending preset video frame data to the second electronic equipment and receiving real-time video frame data sent by the second electronic equipment when the type of the network carrier of the first electronic equipment does not support the establishment of a service access corresponding to the unidirectional video communication.
An electronic device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
controlling the first electronic equipment to establish two-way video communication with second electronic equipment;
identifying a network carrier type of the first electronic device when an enabling operation of one-way video communication is detected;
and when the network carrier type of the first electronic equipment does not support the establishment of the service path corresponding to the unidirectional video communication, controlling to close the local video frame acquisition equipment, sending preset video frame data to the second electronic equipment, and receiving real-time video frame data sent by the second electronic equipment.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
controlling the first electronic equipment to establish two-way video communication with second electronic equipment;
identifying a network carrier type of the first electronic device when an enabling operation of one-way video communication is detected;
and when the network carrier type of the first electronic equipment does not support the establishment of the service path corresponding to the unidirectional video communication, controlling to close the local video frame acquisition equipment, sending preset video frame data to the second electronic equipment, and receiving real-time video frame data sent by the second electronic equipment.
The communication processing method, the communication processing device, the electronic equipment and the storage medium are characterized in that the first electronic equipment and the second electronic equipment are controlled to establish bidirectional video communication, when the starting operation of unidirectional video communication is detected, the network carrier type of the first electronic equipment is identified, when the network carrier type of the first electronic equipment does not support the establishment of a service channel corresponding to the unidirectional video communication, the local video frame acquisition equipment is controlled to be closed, preset video frame data are sent to the second electronic equipment, real-time video frame data sent by the second electronic equipment are received, the local video frame acquisition equipment is closed, so that real-time video frames of the first electronic equipment are not collected and transmitted to the second electronic equipment, the first electronic equipment continuously outputs preset video frame signals to the second electronic equipment, the communication mode is kept in the video mode, and the real-time video frame data sent by the second electronic equipment are received, so as not to degrade to voice communication and thereby respond to the one-way video communication operation initiated by the first electronic device.
Drawings
FIG. 1 is a diagram of an application environment of a communication processing method in one embodiment;
FIG. 2 is a flow diagram illustrating a communication processing method according to one embodiment;
FIG. 3 is a flow chart illustrating a communication processing method according to another embodiment;
FIG. 4 is a block diagram showing the structure of a communication processing apparatus according to an embodiment;
FIG. 5 is a diagram illustrating an internal structure of an electronic device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The communication processing method provided by the application can be applied to the application environment shown in fig. 1. The first electronic device 102 and the second electronic device 104 are connected through a network, and for example, the communication processing method is applied to the first electronic device, the first electronic device and the second electronic device are controlled to establish bidirectional video communication; identifying a network carrier type of the first electronic device when an enabling operation of the one-way video communication is detected; and when the network carrier type of the first electronic equipment does not support the establishment of the service path corresponding to the unidirectional video communication, controlling to close the local video frame acquisition equipment, sending preset video frame data to the second electronic equipment, and receiving real-time video frame data sent by the second electronic equipment. The first electronic device and the second electronic device may be, but are not limited to, various smart mobile phones, tablet computers and other smart portable devices. In some scenarios, the first electronic device and the second electronic device may exchange roles.
In one embodiment, as shown in fig. 2, a communication processing method is provided, which is described by taking the method as an example applied to the first electronic device 102 in fig. 1, and includes the following steps:
step 202, controlling the first electronic device to establish two-way video communication with the second electronic device.
For example, the user a clicks a video call in the dialing function of the first electronic device, initiates a two-way video communication request to the user B, and the user B accepts the two-way video communication request through the second electronic device, thereby establishing two-way video communication between the first electronic device and the second electronic device.
And step 204, when the enabling operation of the one-way video communication is detected, identifying the network carrier type of the first electronic equipment.
The network bearer refers to a mobile network provider, and the network bearer type refers to a category to which the mobile network provider belongs, for example, a network type that provides a service data path for a communication function of the electronic device, and specifically may be china mobile, china unicom, china telecom, and the like. Taking a mobile phone as an example of the first electronic device, when dialing through the mobile phone is required, a user identification card, such as a mobile phone card, needs to be inserted into the mobile phone in advance, and the mobile phone card can be provided by each large operator. Specifically, the network bearer type of the electronic device may be identified by acquiring an MCC identifier (Mobile Country Code) and an MNC identifier (Mobile network Code) of the electronic device. Where the mobile country code consists of three digits to identify a country, a country may be assigned multiple MCCs, such as MCCs in the united states including 310, 311 and 316, and MCC in china 460. The mobile network code consists of two to three digits, and the mobile network code and the mobile country code together uniquely identify a mobile network provider. For example, the MNC of china mobile is 00, so that it can be known that the unique identification of china mobile can be realized through 460-00.
And step 206, when the network carrier type of the first electronic device does not support the establishment of the service path corresponding to the unidirectional video communication, controlling to close the local video frame acquisition device, send preset video frame data to the second electronic device, and receive real-time video frame data sent by the second electronic device.
The service path refers to a data path established based on the network bearer type of the electronic device and used for transmitting corresponding service data. For example, a service path corresponding to bidirectional video communication is established based on the subscriber identity module card, a bidirectional video dedicated bearer is established based on the established service path, and a bidirectional video service path between the first electronic device and the second electronic device is established based on the bidirectional video dedicated bearer.
The local video frame acquisition device is used for acquiring real-time video frame data of the first electronic device in a video communication scene, and the preset video frame data can be specifically black screen image data or other preset static image data. When the network bearer type of the first electronic device does not support establishment of the service path corresponding to the unidirectional video communication, that is, the service path corresponding to the unidirectional video communication cannot be established based on the subscriber identity card of the first electronic device, in this case, the unidirectional video communication between the first electronic device and the second electronic device cannot be established. At this moment, the local video frame acquisition device is closed, so that the real-time video frame of the first electronic device is not acquired and transmitted to the second electronic device, and the first electronic device continuously outputs the preset video frame signal to the second electronic device, so that the communication mode is kept in the video mode, the real-time video frame data sent by the second electronic device is received and is not reduced to voice communication, and therefore the one-way video communication between the first electronic device and the second electronic device is realized.
The communication processing method comprises the steps of establishing bidirectional video communication between first electronic equipment and second electronic equipment by controlling the first electronic equipment, identifying the type of a network carrier of the first electronic equipment when the starting operation of the unidirectional video communication is detected, controlling to close local video frame acquisition equipment and send preset video frame data to the second electronic equipment when the type of the network carrier of the first electronic equipment does not support the establishment of a service path corresponding to the unidirectional video communication, receiving real-time video frame data sent by the second electronic equipment, closing the local video frame acquisition equipment, so that the real-time video frame of the first electronic equipment is not acquired and transmitted to the second electronic equipment, and the first electronic equipment continuously outputs preset video frame signals to the second electronic equipment, so that the communication mode is kept in the video mode and the real-time video frame data sent by the second electronic equipment are received, so as not to degrade to voice communication and thereby respond to the one-way video communication operation initiated by the first electronic device.
In one embodiment, as shown in fig. 3, after identifying the network bearer type of the first electronic device, the method further includes: and step 304, when the network carrier type of the first electronic device supports establishment of a service path corresponding to the unidirectional video communication, controlling to close the local video frame acquisition device and receive real-time video frame data sent by the second electronic device. When the network bearer type of the first electronic device supports establishment of a service path corresponding to unidirectional video communication, that is, a service path corresponding to unidirectional video communication may be established based on the subscriber identity card of the first electronic device, in this case, unidirectional video communication between the first electronic device and the second electronic device is established through the service path corresponding to unidirectional video communication. At the moment, the local video frame acquisition equipment is closed, so that the real-time video frame of the first electronic equipment is not acquired and transmitted to the second electronic equipment, and the real-time video frame data sent by the second electronic equipment is received, so that the one-way video communication between the first electronic equipment and the second electronic equipment is realized.
In one embodiment, after controlling the first electronic device to establish the bidirectional video communication with the second electronic device, the method further includes: detecting operation on a communication interface of first electronic equipment in real time; identifying a network carrier type of the first electronic device when an enabling operation of the one-way video communication is detected includes: when the starting operation of a one-way video communication control preset on a communication interface is detected, the network carrier type of the first electronic equipment is identified. And a one-way video communication control is arranged on the communication interface after the two-way video communication is established, and a user can switch the two-way video communication to the one-way video communication by clicking the control. Specifically, when the network carrier type of the electronic device does not support establishment of a service path corresponding to the unidirectional video communication, the unidirectional video communication control is in a grey non-enabled state; when the network carrier type of the electronic equipment supports the establishment of a service path corresponding to the unidirectional video communication, the unidirectional video communication control is in an enabled state.
In one embodiment, after controlling the first electronic device to establish the bidirectional video communication with the second electronic device, the method further includes: detecting operation on a communication interface of first electronic equipment in real time; identifying a network carrier type of the first electronic device when an enabling operation of the one-way video communication is detected includes: and when the operation of exiting the communication interface is detected, identifying the type of the network carrier of the first electronic equipment. Besides clicking the one-way video communication control on the communication interface, the user can also switch from two-way video communication to one-way video communication by quitting the operation of the communication interface, so that the switching mode is expanded, and the switching mode is more flexible.
In one embodiment, after controlling the first electronic device to establish the bidirectional video communication with the second electronic device, the method further includes: detecting operation on a communication interface of first electronic equipment in real time; when the starting operation of a preset voice communication control on a communication interface is detected, controlling the first electronic equipment to establish voice communication with the second electronic equipment. And a voice communication control is arranged on the communication interface after the bidirectional video communication is established, and a user can switch the bidirectional video communication to the voice communication by clicking the control so as to meet different requirements of the user.
In one embodiment, controlling a first electronic device to establish two-way video communication with a second electronic device comprises: when starting operation of the two-way video communication is detected, acquiring a target object identifier of the two-way video communication; searching for second electronic equipment where the target object identifier is located according to the target object identifier, and establishing a service channel corresponding to two-way video communication between the first electronic equipment and the second electronic equipment; and controlling the first electronic equipment and the second electronic equipment to establish the two-way video communication based on the service path corresponding to the two-way video communication. The method comprises the steps that a communication interface of the electronic equipment is accessed through a dialing function, a pre-stored object list is displayed on the communication interface, a user selects a target object for bidirectional video communication from the object list, and then clicks a preset video communication control to trigger bidirectional video communication with the target object.
It should be understood that although the various steps in the flow charts of fig. 2-3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided a communication processing apparatus including: a bidirectional video creation module 402, a network bearer identification module 404, and a unidirectional video switching module 406. A bidirectional video establishing module 402, configured to control the first electronic device to establish bidirectional video communication with the second electronic device. A network carrier identification module 404, configured to identify a network carrier type of the first electronic device when the enabling operation of the unidirectional video communication is detected. The unidirectional video switching module 406 is configured to, when the type of the network bearer of the first electronic device does not support establishment of a service path corresponding to unidirectional video communication, control to close the local video frame acquisition device, send preset video frame data to the second electronic device, and receive real-time video frame data sent by the second electronic device.
In an embodiment, the communication processing apparatus further includes a normal switching module, configured to control to close the local video frame capture device and receive real-time video frame data sent by the second electronic device when the network bearer type of the first electronic device supports establishment of a traffic path corresponding to the unidirectional video communication.
In one embodiment, the communication processing apparatus further includes a detection module, configured to detect, in real time, an operation on a communication interface of the first electronic device; the network carrier identification module is further used for identifying the network carrier type of the first electronic device when the enabling operation of the one-way video communication control preset on the communication interface is detected.
In one embodiment, the communication processing apparatus further includes a detection module, configured to detect, in real time, an operation on a communication interface of the first electronic device; the network carrier identification module is further used for identifying the type of the network carrier of the first electronic equipment when the operation of exiting the communication interface is detected.
In one embodiment, the communication processing apparatus further includes a voice communication switching module, configured to detect an operation on a communication interface of the first electronic device in real time; when the starting operation of a preset voice communication control on a communication interface is detected, controlling the first electronic equipment to establish voice communication with the second electronic equipment.
In one embodiment, the bidirectional video establishing module is further configured to obtain a target object identifier of the bidirectional video communication when an enabling operation of the bidirectional video communication is detected; searching for second electronic equipment where the target object identifier is located according to the target object identifier, and establishing a service channel corresponding to two-way video communication between the first electronic equipment and the second electronic equipment; and controlling the first electronic equipment and the second electronic equipment to establish the two-way video communication based on the service path corresponding to the two-way video communication.
For specific limitations of the communication processing apparatus, reference may be made to the above limitations of the communication processing method, which is not described herein again. The respective modules in the communication processing apparatus described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the electronic device, or can be stored in a memory in the electronic device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, an electronic device is provided, which may be a mobile terminal, and fig. 5 provides an internal structure diagram of the mobile terminal. The mobile terminal includes a processor, a memory, and a display screen connected by a system bus. Wherein the processor is configured to provide computational and control capabilities. The memory comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. In some application scenarios, the method executed by the mobile terminal in fig. 1 may be specifically performed by a processor of the mobile terminal, that is, a computer program is executed by the processor to implement a communication processing method.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the terminal to which the present application applies, and that a particular mobile terminal may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, an electronic device is provided, comprising a memory storing a computer program and a processor implementing the following steps when the processor executes the computer program: controlling a first electronic device to establish two-way video communication with a second electronic device; identifying a network carrier type of the first electronic device when an enabling operation of the one-way video communication is detected; and when the network carrier type of the first electronic equipment does not support the establishment of the service path corresponding to the unidirectional video communication, controlling to close the local video frame acquisition equipment, sending preset video frame data to the second electronic equipment, and receiving real-time video frame data sent by the second electronic equipment.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and when the network carrier type of the first electronic equipment supports the establishment of a service path corresponding to the one-way video communication, controlling to close the local video frame acquisition equipment and receiving real-time video frame data sent by the second electronic equipment.
In one embodiment, the processor, when executing the computer program, further performs the steps of: detecting operation on a communication interface of first electronic equipment in real time; when the starting operation of a one-way video communication control preset on a communication interface is detected, the network carrier type of the first electronic equipment is identified.
In one embodiment, the processor, when executing the computer program, further performs the steps of: detecting operation on a communication interface of first electronic equipment in real time; and when the operation of exiting the communication interface is detected, identifying the type of the network carrier of the first electronic equipment.
In one embodiment, the processor, when executing the computer program, further performs the steps of: detecting operation on a communication interface of first electronic equipment in real time; when the starting operation of a preset voice communication control on a communication interface is detected, controlling the first electronic equipment to establish voice communication with the second electronic equipment.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when starting operation of the two-way video communication is detected, acquiring a target object identifier of the two-way video communication; searching for second electronic equipment where the target object identifier is located according to the target object identifier, and establishing a service channel corresponding to two-way video communication between the first electronic equipment and the second electronic equipment; and controlling the first electronic equipment and the second electronic equipment to establish the two-way video communication based on the service path corresponding to the two-way video communication.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, the computer program, when executed by a processor, further implementing the steps of: controlling a first electronic device to establish two-way video communication with a second electronic device; identifying a network carrier type of the first electronic device when an enabling operation of the one-way video communication is detected; and when the network carrier type of the first electronic equipment does not support the establishment of the service path corresponding to the unidirectional video communication, controlling to close the local video frame acquisition equipment, sending preset video frame data to the second electronic equipment, and receiving real-time video frame data sent by the second electronic equipment.
In one embodiment, the computer program when executed by the processor further performs the steps of: and when the network carrier type of the first electronic equipment supports the establishment of a service path corresponding to the one-way video communication, controlling to close the local video frame acquisition equipment and receiving real-time video frame data sent by the second electronic equipment.
In one embodiment, the computer program when executed by the processor further performs the steps of: detecting operation on a communication interface of first electronic equipment in real time; when the starting operation of a one-way video communication control preset on a communication interface is detected, the network carrier type of the first electronic equipment is identified.
In one embodiment, the computer program when executed by the processor further performs the steps of: detecting operation on a communication interface of first electronic equipment in real time; and when the operation of exiting the communication interface is detected, identifying the type of the network carrier of the first electronic equipment.
In one embodiment, the computer program when executed by the processor further performs the steps of: detecting operation on a communication interface of first electronic equipment in real time; when the starting operation of a preset voice communication control on a communication interface is detected, controlling the first electronic equipment to establish voice communication with the second electronic equipment.
In one embodiment, the computer program when executed by the processor further performs the steps of: when starting operation of the two-way video communication is detected, acquiring a target object identifier of the two-way video communication; searching for second electronic equipment where the target object identifier is located according to the target object identifier, and establishing a service channel corresponding to two-way video communication between the first electronic equipment and the second electronic equipment; and controlling the first electronic equipment and the second electronic equipment to establish the two-way video communication based on the service path corresponding to the two-way video communication.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A communication processing method is applied to a first electronic device, and is characterized by comprising the following steps:
controlling the first electronic equipment to establish two-way video communication with second electronic equipment;
identifying a network carrier type of the first electronic device when an enabling operation of one-way video communication is detected;
and when the network carrier type of the first electronic equipment does not support the establishment of the service path corresponding to the unidirectional video communication, controlling to close the local video frame acquisition equipment, sending preset video frame data to the second electronic equipment, and receiving real-time video frame data sent by the second electronic equipment.
2. The method of claim 1, wherein after identifying the network bearer type of the first electronic device, further comprising:
and when the network carrier type of the first electronic equipment supports the establishment of a service path corresponding to the unidirectional video communication, controlling to close the local video frame acquisition equipment and receiving real-time video frame data sent by the second electronic equipment.
3. The method of claim 1, wherein after the controlling the first electronic device to establish two-way video communication with a second electronic device, further comprising:
detecting operation on a communication interface of the first electronic equipment in real time;
the identifying a network carrier type of the first electronic device when the enabling operation of the one-way video communication is detected comprises:
and when the starting operation of a one-way video communication control preset on the communication interface is detected, identifying the type of the network carrier of the first electronic equipment.
4. The method of claim 1, wherein after the controlling the first electronic device to establish two-way video communication with a second electronic device, further comprising:
detecting operation on a communication interface of the first electronic equipment in real time;
the identifying a network carrier type of the first electronic device when the enabling operation of the one-way video communication is detected comprises:
and when the operation of exiting the communication interface is detected, identifying the type of the network carrier of the first electronic equipment.
5. The method of claim 1, wherein after the controlling the first electronic device to establish the two-way video communication with the second electronic device, further comprising:
detecting operation on a communication interface of the first electronic equipment in real time;
and when the starting operation of a preset voice communication control on the communication interface is detected, controlling the first electronic equipment to establish voice communication with the second electronic equipment.
6. The method of claim 1, wherein the controlling the first electronic device to establish two-way video communication with a second electronic device comprises:
when starting operation of two-way video communication is detected, acquiring a target object identifier of the two-way video communication;
searching for a second electronic device where the target object identifier is located according to the target object identifier, and establishing a service channel corresponding to two-way video communication between the first electronic device and the second electronic device;
and controlling the first electronic equipment and the second electronic equipment to establish the bidirectional video communication based on the service access corresponding to the bidirectional video communication.
7. A communication processing apparatus applied to a first electronic device, the apparatus comprising:
the bidirectional video establishing module is used for controlling the first electronic equipment to establish bidirectional video communication with the second electronic equipment;
a network carrier identification module, configured to identify a network carrier type of the first electronic device when a start operation of unidirectional video communication is detected;
and the unidirectional video switching module is used for controlling to close the local video frame acquisition equipment, sending preset video frame data to the second electronic equipment and receiving real-time video frame data sent by the second electronic equipment when the type of the network carrier of the first electronic equipment does not support the establishment of a service access corresponding to the unidirectional video communication.
8. The apparatus according to claim 7, wherein the communication processing apparatus further includes a normal switching module, configured to control to close the local video frame capture device and receive the real-time video frame data sent from the second electronic device when the network bearer type of the first electronic device supports establishment of a traffic path corresponding to the unidirectional video communication.
9. An electronic device, comprising a memory and a processor, the memory storing a computer program, wherein the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202010108658.XA 2020-02-21 2020-02-21 Communication processing method, communication processing device, electronic equipment and storage medium Active CN113301289B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010108658.XA CN113301289B (en) 2020-02-21 2020-02-21 Communication processing method, communication processing device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010108658.XA CN113301289B (en) 2020-02-21 2020-02-21 Communication processing method, communication processing device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113301289A true CN113301289A (en) 2021-08-24
CN113301289B CN113301289B (en) 2023-04-11

Family

ID=77317702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010108658.XA Active CN113301289B (en) 2020-02-21 2020-02-21 Communication processing method, communication processing device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113301289B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030046705A1 (en) * 2001-08-28 2003-03-06 Sears Michael E. System and method for enabling communication between video-enabled and non-video-enabled communication devices
WO2017020711A1 (en) * 2015-08-05 2017-02-09 腾讯科技(深圳)有限公司 Communication processing method and electronic device
CN107277420A (en) * 2016-04-08 2017-10-20 中国移动通信有限公司研究院 A kind of video calling implementation method and terminal
CN109963106A (en) * 2019-03-29 2019-07-02 宇龙计算机通信科技(深圳)有限公司 A kind of method of video image processing, device, storage medium and terminal
CN110266991A (en) * 2019-06-24 2019-09-20 努比亚技术有限公司 Video call method, mobile terminal and computer readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030046705A1 (en) * 2001-08-28 2003-03-06 Sears Michael E. System and method for enabling communication between video-enabled and non-video-enabled communication devices
WO2017020711A1 (en) * 2015-08-05 2017-02-09 腾讯科技(深圳)有限公司 Communication processing method and electronic device
CN107277420A (en) * 2016-04-08 2017-10-20 中国移动通信有限公司研究院 A kind of video calling implementation method and terminal
CN109963106A (en) * 2019-03-29 2019-07-02 宇龙计算机通信科技(深圳)有限公司 A kind of method of video image processing, device, storage medium and terminal
CN110266991A (en) * 2019-06-24 2019-09-20 努比亚技术有限公司 Video call method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN113301289B (en) 2023-04-11

Similar Documents

Publication Publication Date Title
CN109525990B (en) Wireless screen projection method and device, computer equipment and storage medium
US10897700B2 (en) Service processing method and system
CN108282521B (en) BIP protocol data transmission method and device, computer equipment and storage medium
CN110602445B (en) Video monitoring data acquisition method and device, computer equipment and storage medium
CN108616979B (en) Dual-card network system control method and device, computer equipment and storage medium
CN111629342B (en) Method and device for mapping Beidou short message terminal number
US10901716B2 (en) Implicit file creation in APDU scripts
US20210306974A1 (en) Network search method, computer device, and computer-readable storage medium
CN111491290B (en) Method, device and computer equipment for parallel transmission of network voice and PS domain data
CN109379779B (en) Dialing networking method and device, computer equipment and storage medium
CN111356159B (en) Network-resident mode adjusting method, device and storage medium
CN113301289B (en) Communication processing method, communication processing device, electronic equipment and storage medium
US20210281999A1 (en) Method and device for resolving dual subscriber identity module paging conflict
EP3863330A1 (en) Network switching to a target wireless access network capable of establishing a connection with an ims network
CN111107093B (en) Application login method, device, terminal and storage medium
CN108965765B (en) Video call connection establishment method and system and computer equipment
CN106714255B (en) Voice call processing method, device and terminal
CN115567901A (en) Method, device, equipment and storage medium for operating user identity identification card
CN110213838B (en) Network connection method, device, computer equipment and storage medium
CN113766606A (en) Network distribution method, system, computer equipment and storage medium based on cellular communication
CN111447692B (en) Call method and device for multi-system terminal, electronic equipment and storage medium
CN113709086B (en) Network detection method, device, electronic equipment and storage medium
CN113132994B (en) Crank call number identification method and device, electronic equipment and computer-readable storage medium
CN113079477B (en) Method for re-registering multi-card multi-standby terminal, multi-card multi-standby terminal and network side equipment
CN113938558B (en) Communication method, electronic device, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant