CN110198264A - Processing method, device and electronic equipment - Google Patents

Processing method, device and electronic equipment Download PDF

Info

Publication number
CN110198264A
CN110198264A CN201910472207.1A CN201910472207A CN110198264A CN 110198264 A CN110198264 A CN 110198264A CN 201910472207 A CN201910472207 A CN 201910472207A CN 110198264 A CN110198264 A CN 110198264A
Authority
CN
China
Prior art keywords
application
communication
message
electronic equipment
audio resource
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
CN201910472207.1A
Other languages
Chinese (zh)
Other versions
CN110198264B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201910472207.1A priority Critical patent/CN110198264B/en
Publication of CN110198264A publication Critical patent/CN110198264A/en
Application granted granted Critical
Publication of CN110198264B publication Critical patent/CN110198264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information

Landscapes

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

Abstract

This application discloses a kind of processing method, device and electronic equipments to generate control instruction if electronic equipment detects that the first application occupies audio resource to realize real-time communication function;Control instruction indicates that second, first message and the first application are associated to the occupied state of audio resource, and the first application is different from the second application using corresponding target communication object transfer first message.Since second using the corresponding available first message of target communication object, so can know the corresponding state of electronic equipment holder.

Description

Processing method, device and electronic equipment
Technical field
This application involves communication technique fields, and more specifically, it relates to processing method, device and electronic equipments.
Background technique
Electronic equipment can install multiple instant messaging class applications, and the application of instant messaging type allows two people or more people to make Word message, file, voice or video communication are carried out in real time with network.
The communication of the application of each instant messaging type may influence each other.
Summary of the invention
This application provides a kind of processing method, device and electronic equipments.
The application provides the following technical solutions:
A kind of processing method, comprising:
If electronic equipment detects that the first application occupies audio resource to realize real-time communication function, generates control and refer to It enables;
Wherein, the control instruction indicates to apply corresponding target communication object transfer first message to second, described the One message and first application are associated to the occupied state of the audio resource, first application and second application It is different.
In an alternative embodiment, further includes:
If the electronic equipment detects that communication disappears in the state that first application occupies the audio resource Breath;
Determine the corresponding application of the communication message;
If the corresponding application of the communication message is the application of instant messaging type, second application is determined that it is.
In an alternative embodiment, the target communication object includes at least following middle one kind:
The corresponding communication object of the communication message;Or, described second applies corresponding each communication object;Or, described The second corresponding priority level of application is higher than the communication object of threshold value.
In an alternative embodiment, further includes:
If the electronic equipment obtains first application to the occupancy solicited message of the audio resource, determine current Application in communication process;
The application being currently in communication process for instant messaging type is determined as second application.
In an alternative embodiment, the target object includes at least following middle one kind:
The corresponding communication object of the communication process;Or, described second applies corresponding each communication object;Or, described The second corresponding priority level of application is higher than the communication object of threshold value.
In an alternative embodiment, the generation control instruction includes:
Determine the application for belonging to instant messaging type that the electronic equipment includes;
At least based on second application for wherein belonging to instant messaging type, the control instruction is generated.
In an alternative embodiment, further includes:
If detecting that the duration for occupying the audio resource is greater than or equal to duration threshold value, executes the generation control and refer to The step of enabling.
In an alternative embodiment, the first message includes at least one of notification message and status message, described Notification message can be obtained by described second using corresponding target communication object as communication message to be transmitted;The shape State message can be identified as the state instruction of the electronic equipment and be obtained by described second using corresponding target communication object ?.
A kind of processing unit, comprising:
Generation module, if detecting that the first application occupies audio resource to realize real-time communication function for electronic equipment Can, generate control instruction;
Wherein, the control instruction indicates to apply corresponding target communication object transfer first message to second, described the One message and first application are associated to the occupied state of the audio resource, first application and second application It is different.
A kind of electronic equipment, comprising:
Audio resource;
Memory, for storing program;
Processor, for executing described program, described program is specifically used for:
If electronic equipment detects that the first application occupies the audio resource to realize real-time communication function, control is generated Instruction;
Wherein, the control instruction indicates to apply corresponding target communication object transfer first message to second, described the One message and first application are associated to the occupied state of the audio resource, first application and second application It is different.
It can be seen via above technical scheme that this application discloses a kind of processing method, if electronic equipment detects One application occupies audio resource to realize real-time communication function, generates control instruction;Control instruction indicates to correspond to the second application Target communication object transfer first message, first message and first application it is associated to the occupied state of audio resource, first Using different from the second application.Since second using the corresponding available first message of target communication object, so can obtain Know the corresponding state of electronic equipment holder.
Detailed description of the invention
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only embodiments herein, general for this field For logical technical staff, without creative efforts, other attached drawings can also be obtained according to the attached drawing of offer.
Fig. 1 is a kind of applied field that the communication of the application of each instant messaging type disclosed in the embodiment of the present application interacts The schematic diagram of scape;
Fig. 2 is a kind of signaling diagram of implementation of processing method provided by the embodiments of the present application;
Fig. 3 is application scenarios schematic diagram corresponding with Fig. 1 provided by the embodiments of the present application;
Fig. 4 is the schematic diagram of " current " corresponding set period of time provided by the embodiments of the present application;
Fig. 5 is a kind of structure chart of implementation of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall in the protection scope of this application.
Currently, electronic equipment can install the application of multiple instant messaging types, the holder of electronic equipment be can use The application of instant messaging type and the holder of other opposite equip.s interact, but the application of each instant messaging type is logical News may interact, and cause adverse effect to user.
For example, during user is interacted using the application of an instant messaging type with other users, it may By the application " interrupting " of another instant messaging type, for example, user A (optional, to be the holder of electronic equipment) is passing through The application A and user B of instant messaging type carry out word message communication, and user A is received by instant messaging type using B The Video chat of user C is requested.
As shown in Figure 1, application A and user B the progress word message that example user A passes through instant messaging type on the left of Fig. 1 It communicates, for illustrated example during user A and user B carries out word message communication, user A passes through instant messaging type in Fig. 1 The Video chat for receiving user C using B request, example is after user A receives Video chat request on the right side of Fig. 1, user A Start to carry out Video chat with user C.In this course, user A and the chat of user B are interrupted, in user A and user C During carrying out Video chat, user A is not carrying out word message communication with user B, so that user B does not know that user A works as Preceding state may cause the reply that user B is waiting always user A, cause adverse effect.
Fig. 1 is only a kind of application scenarios that the communication of the application of each instant messaging type interacts, the embodiment of the present application The scene not interacted to the communication of the application of each instant messaging type is defined, for example, if user A with user C is by carrying out Video chat or voice-enabled chat using B, if user D carries out text by the application C and user A of instant messaging type Word message communication, then user A will not reply user D.Since user D can not know the current state of user A, may cause not Good influence.For another example user A may be again during user A is communicated using the application A and user B of instant messaging type Video is initiated to user C using the application B of instant messaging type or speech communication is requested, and leads to the communication of user A Yu user B Journey " is interrupted ".
To solve the above-mentioned problems, the embodiment of the present application provides a kind of processing method, which can obtain One application (such as the occupied state that audio resource is occupied using B) of above-mentioned instant messaging type, can notify other application (for example, application C using A and instant messaging type of above-mentioned instant messaging type) corresponding communication object is (as escribed above User B or user D) first message, it is associated that first message and one or more application occupy the occupied state of audio resource.Make It obtains the corresponding communication object of other application and knows the current state such as user A in the example above, so that adverse effect will not be generated.
Processing method provided by the embodiments of the present application can be applied to electronic equipment, electronic equipment can for smart phone, The terminal devices such as computer, laptop, PAD.
In an alternative embodiment, the hardware configuration of electronic equipment may include processor, memory and audio resource, Memory can store the corresponding program of above-mentioned first application, second using corresponding program and the corresponding journey of processing method Sequence, processor can execute the first corresponding program of application, second using corresponding program and the corresponding program of processing method.
Processing method provided by the embodiments of the present application is illustrated below with reference to the hardware configuration of electronic equipment, such as Fig. 2 It is shown, it is a kind of signaling diagram of implementation of processing method provided by the embodiments of the present application, this method comprises:
Step S201: if processor 24 detects that the first application occupies audio resource to realize real-time communication function, enter Step S202.
It is understood that processor 24 is able to carry out the first 22 corresponding programs of application, second using 23 corresponding journeys Sequence and the corresponding program of processing method provided by the present application, therefore, by the first application 22 and the second application 23 and processing in Fig. 2 Device 24 is put together.
In an alternative embodiment, the first application and the second application can be the application of instant messaging type.
At present instant messaging type using varied, for example, QQ application, wechat application, MSN (Microsoft Service Network) application, ICQ (I Seek You) application, Taobao Wang Wang application, Netease POPO application, Fetion application, Michat application, nail nail application, etc..
In an alternative embodiment, audio resource includes: voice acquisition device and voice playing device;Alternatively, audio Resource includes: video acquisition device and video play device;Alternatively, audio resource includes: voice acquisition device, voice broadcasting Device, video acquisition device and video play device.
To sum up, audio resource includes utilizing audio resource for uploading the resource of data and the resource of downloading data It can carry out real-time communication.(example while real-time communication function refers to the data using audio resource transmission electronic equipment acquisition Such as, at least one of the video data of the audio data of voice acquisition device acquisition and video acquisition device acquisition), Neng Goujie The data of opposite equip. acquisition are received (for example, the video of the audio data of voice acquisition device acquisition and video acquisition device acquisition At least one of data).That is real-time communication function refers to real-time perfoming both-way communication, rather than unidirectional communication (such as it is more The corresponding unidirectional communication of media play application).
Optionally, voice acquisition device may include MIC (Microphone), and voice playing device may include loudspeaking Device, video acquisition device may include camera, and video play device may include display.
To sum up, real-time communication can refer to pure speech communication, for example, being communicated using phone application, or utilize wechat Using progress speech communication;Or, real-time communication can refer to the video communication comprising speech communication, for example, utilizing wechat application Carry out video communication.
In an alternative embodiment, determines and occupy audio resource with the method packet for the first application for realizing real-time communication function It includes but is not limited to following several.
The first: if detecting that voice communication control is triggered, determining that the corresponding application of voice communication control is the One application, and the first application occupies audio resource to realize real-time communication function.
It is understood that carrying out pure speech communication if the holder of electronic equipment is determining with other users or including voice The video communication of communication, then the holder of electronic equipment can touch by corresponding voice communication control, for example, table shown in FIG. 1 Sign receives the virtual key of video communication.Voice communication control is triggered, then illustrates that the first application needs to occupy audio resource, with So that the holder of electronic equipment carries out real-time communication using the first application.
Optionally, voice communication control includes the unique identification of the application belonging to itself, such as packet name.
Packet name is illustrated below.Packet name is a kind of file hierarchy, for example establishes file under C disk Packet establishes file packetOne at file packet, establishes file at file packetOne PacketTwo, and some application is mounted in file packetTwo.So, the Bao Mingke of the application with are as follows: packet.packetOne.packetTwo.Packet name is the unique identity of application;It can be navigated to accordingly based on packet name Application.
Second:, will if detecting that the electronic equipment displaying has the window interface for belonging to voice communication window type The corresponding application of the window interface is determined as the first application, and determines that the first application occupies audio resource to realize real-time communication function Energy.
In an alternative embodiment, the window interface of voice communication window type refer to electronic equipment holder The window interface that voice only communication is carried out with other users, alternatively, the holder of electronic equipment wraps with other users The window interface of video communication containing voice communication, such as Fig. 1 right diagram.
The window interface that electronic equipment is shown includes the type of the packet name and window interface applied accordingly, is based on window The packet name applied accordingly that mouth interface includes determines the first application, the type based on window interface, whether determines the first application Audio resource is occupied.
The third: if detecting that audio resource is occupied, being determined as first for the application for occupying audio resource and answer With, and determine that the first application occupies audio resource to realize real-time communication function.
Step S202: processor 24 generates control instruction.
Wherein, the control instruction indicates to apply corresponding target communication object transfer first message to second, described the One message and first application are associated to the occupied state of the audio resource.
It is understood that showing to answer using first if the first application occupies audio resource to realize real-time communication function It possibly can not be communicated at present with other users with the holder for the electronic equipment for carrying out real-time communication such as user A.In order to It avoids other users from producing misunderstandings user A, adverse effect is caused to user A, control instruction can be generated in processor.
Step S203: first message is sent to second and applies corresponding target communication object.
The executing subject of step S203 " first message is sent to the target communication object of the second application " includes at least two Kind, the first, processor oneself is to second using the corresponding target communication object transfer first message of journey;Second, processor The second application of instruction applies corresponding target communication object transfer first message to described second.
Optionally, in the embodiment of the present application, target communication object may include the object of following several types.
The target communication object of first seed type includes: second using corresponding all communication objects.
Optionally, the second application can be corresponding with multiple communication objects, for example, phone application can correspond to multiple communications pair As wechat application can correspond to multiple communication objects, and QQ application can correspond to multiple communication objects, and nail nail application can correspond to more A communication object.
It is understood that be not second apply corresponding all communication objects, electronic equipment holder for example During user A carries out real-time communication using the first application, transmitting information to user A, (information includes: text information, file At least one of information, voice messaging and video information).No matter utilize first to apply in user A and carries out real-time communication Whether Cheng Zhong, the second corresponding communication object of application to user A transmit information, and processor or the second application can be by the communications Object is determined as target communication object.
For the holder of electronic equipment using first application carry out real-time communication during, to holding for electronic equipment For person transmits the communication object of information, since it can receive first message, so it is understood that holding for electronic equipment The current state of the person of having will not cause to misread to the holder of electronic equipment, will not generate to the holder of electronic equipment bad It influences.
For during the holder of electronic equipment carries out real-time communication using the first application, not holding to electronic equipment For the person of having transmits the communication object of information, since it can receive first message, if it wants the holder to electronic equipment Information is transmitted, due to having been received that first message, sends information it is possible that can delay to the holder of electronic equipment.? The holder of electronic equipment will not be caused to misread, adverse effect will not be generated to the holder of electronic equipment.
The target communication object of second of type includes: to utilize the first application in the holder such as user A of electronic equipment During carrying out real-time communication, second applies the corresponding communication object that information is transmitted to the holder of electronic equipment.
It is understood that can the user that misunderstands of the holder such as user A to electronic equipment, be to be set in electronics Standby holder's example is during user A carries out real-time communication using the first application as shown in figure 1, to the holder of electronic equipment transmission The communication object of information (the user B in Fig. 1), but do not receive any reply of the holder such as user A of electronic equipment Communication object.
The target communication object of third seed type includes: to utilize the first application in the holder such as user A of electronic equipment During carrying out real-time communication, the second application is corresponding to send information to the holder of electronic equipment, and grows up when information transmission In or equal to threshold value 1 communication object.
It is understood that if the holder of electronic equipment does not reply second for a long time applies corresponding communication object, It may make communication object that can produce misunderstandings.
Above-mentioned threshold value 1 can be based on depending on actual conditions, for example, 60 seconds or 70 seconds etc., here without any limit System.
The target communication object of 4th seed type includes: the communication pair that the second corresponding priority level of application is higher than threshold value As.
It is understood that state of the holder of the electronic equipment such as user A using the first application real-time communication, it can also Holding for electronic equipment will be characterized in if not distinguishing object to regard the individual privacy of the holder such as user A of electronic equipment as The person of having such as user A is sent to second using the first message of the state of the first application real-time communication and applies corresponding all communications Object may reveal the privacy of user A.Based on this, first message can be only sent to second and apply corresponding priority Not Gao Yu threshold value communication object.
" communication object that priority level is higher than threshold value " can refer in the embodiment of the present application: the affiliated group of communication object Threshold value is greater than or equal to the communication object of threshold value 2, or, the communication number with electronic equipment holder is greater than or equal to threshold value 3 Communication object, or, the communication number of designated time period and electronic equipment holder are greater than or equal to the communication object of threshold value 4.
It should be understood that second may be dispensed in different groups using corresponding communication object, is applied with wechat and be Example, communication object may be in " household groups ", may be in " colleague group ", may be in " client group ".It can be set The relationship of each group and threshold value 2, for example, the threshold value of " household group " is greater than threshold value 2, " colleague group " corresponding threshold value is less than Threshold value 2.
It is understood that communication number is more frequent, characterize it is more familiar with the holder of electronic equipment, can will be with electronics The holder of equipment communicates number and is determined as target communication object more than or equal to the communication object of threshold value 3.
It is understood that it is different from the communication object type that electronic equipment holder is communicated in different time sections, For example, at night between 6 to 11 points, the communication typically between household or friend, in the morning between 9 points to 5 points at night, Communication typically between colleague or client.So can be by the communication number of designated time period and electronic equipment holder More than or equal to the communication object of threshold value 4, it is determined as target communication object.
Optionally, designated time period here can be 9 points to 5 points at night of 6 to 11 points at night or morning, or be other Period, the embodiment of the present application are limited not to this.
Optionally, threshold value 2 to threshold value 4 can be set based on actual conditions, here without any restriction.
In the embodiment of the present application, first message and the first application are associated to the occupied state of the audio resource, also It is that first message can characterize the first application to the occupied state of audio resource, the second corresponding target communication object of application can be with Receive first message, optionally, first message can be with are as follows: user A is communicating that just a moment,please, alternatively, user A just it is busy please slightly Deng alternatively, user A, with user C progress video calling, just a moment,please.Still by taking Fig. 1 as an example, as shown in figure 3, user B can be received To first message, so that user B knows the current state of user A, adverse effect will not be caused to user A.
In processing method provided by the embodiments of the present application, if electronic equipment detect first application occupy audio resource with It realizes real-time communication function, generates control instruction;Control instruction is indicated to the second corresponding target communication object transfer of application the One message, first message and the first application are associated to the occupied state of audio resource, and the first application is different from the second application.By The corresponding available first message of target communication object is applied in second, so can know that electronic equipment holder is corresponding State will not generate adverse effect to will not misunderstand to the holder of electronic equipment.
First application and the second application are different, and Fig. 2 is referred to the holder in electronic equipment using the first application progress in fact When communication during, can to second apply corresponding target communication object transfer first message.Also to target in above-mentioned Fig. 2 Communication object is described in detail, below to how to determine second application be illustrated.The embodiment of the present application provide but it is unlimited In following two.
The first determines that method that second applies includes:
Step 1: if the electronic equipment detects in the state that first application occupies the audio resource Communication message enters step two.
In an alternative embodiment, communication message refers to by target communication object transmission corresponding in the second application to electricity The instant message of sub- equipment holder.
Instant message refers to the second corresponding target communication object of application using the holder of the second application electron equipment The particular content of transmission, for example, holder of the second corresponding target communication object of application using the second application electron equipment Send " several points are set out? " chat messages such as (as shown in Figure 1).
If target communication object sends instant message, optionally, target to the holder of electronic equipment using the second application Communication object is sent using the second application in oneself held terminal device to service provider's (i.e. server) of the second application The instant message can be sent in electronic equipment second and answered by instant message, service provider's (i.e. server) of the second application With the holder of electronic equipment can obtain the instant message of target communication object transmission based on the second application at this time.
In another alternative embodiment, communication message can also refer to application service provider's (i.e. server) and be sent to electricity The corresponding prompting message of instant message of second application in sub- equipment.After second application receives instant message, second applies root Prompting message is popped up according to the setting of user, electronic equipment is available to arrive the prompting message.
Still with instant message be " several points are set out? " for, prompting message is for prompting the holder of electronic equipment to receive One instant message, for example be " you have a people of unread information ".
Each application in electronic equipment has unique packet name.It may include corresponding application in communication message Packet name, be based on the packet name, so that it may determine application belonging to the communication message.
Packet name is illustrated below.Packet name is a kind of file hierarchy, for example establishes file under C disk Packet establishes file packetOne at file packet, establishes file at file packetOne PacketTwo, and the second application is mounted in file packetTwo.So, second application Bao Mingke with are as follows: packet.packetOne.packetTwo.Packet name is the unique identity of application;It can be navigated to accordingly based on packet name Application.
It is understood that electronic equipment can also receive local reminder message, local reminder message is by being mounted on The applications trigger of electronic equipment local, it is a kind of notice form based on time behavior, such as alarm clock timing, backlog It reminds, or, if local reminder message can also be that an application does not use in the set time period in electronic equipment, mentions The user that wakes up uses the message of this application.
Communication message provided by the embodiments of the present application does not include above-mentioned local reminder message.
Step 2: the corresponding application of the communication message is determined.
Optionally, the corresponding application of the communication message can be determined based on the packet name that communication message includes.
Step 3: if the corresponding application of the communication message is the application of instant messaging type, described the is determined that it is Two applications.
It is understood that video class application is also corresponding in addition to the application of instant messaging type is corresponding with communication message Communication message, news category application is corresponding with communication message, but video class is applied and news category application does not need electronic equipment Any feedback of holder is that unidirectional prompting electronic equipment holder's video class application has video update, alternatively, reminding has Update of news etc..
Therefore, if the corresponding application of communication message is the application of non-instant communication type, for example, video class application or news Class application is not then the second application.If the corresponding application of communication message is the application of instant messaging type, then, which is Second application.
In the method that the first determines the second application, second includes at least using corresponding target communication object: this is logical Interrogate the corresponding communication object of message;Or, described second applies corresponding each communication object;Or, second application is corresponding Priority level is higher than the communication object of threshold value.
Optionally, the corresponding communication object of the communication message includes: the target communication pair of above-mentioned second of the type referred to As or, the target communication object of third seed type.
In an alternative embodiment, if first message is to be sent to corresponding target communication object by the second application, due to The corresponding application of the communication message is the second application, so the second application can know it is which communication object electron equipment The information that holder sends, so first message can be sent to corresponding communication object by the second application.
In another alternative embodiment, if first message is to be sent to second by electronic equipment to apply corresponding target communication Object, then, optionally, the second application can be electronic equipment opening API (Application Programming Interface, application programming interface) interface, allow electronic equipment by the api interface obtain in the second application to The holder of electronic equipment sends the target communication object of information, the i.e. corresponding communication object of communication message.Optionally, electronics is set It is standby to be directly based upon communication message, obtain communication object corresponding with the communication message.
Second applies corresponding each communication object;Or, the second corresponding priority level of application is higher than the communication pair of threshold value As may refer to above-mentioned explanation, which is not described herein again.
Second of determination second application method include:
Step 1: if electronic equipment obtains the first application to the occupancy solicited message of audio resource, determination is currently at Application in communication process.
In an alternative embodiment, electronic equipment obtains the first application is to the stage of the occupancy solicited message of audio resource Refer to, the holder of electronic equipment not yet receives to carry out pure speech communication using the first application or comprising the video communication of speech communication (application scenarios of real-time communication request are initiated the holder of electronic equipment for other users), alternatively, electronic equipment is not yet Received (to be directed to electronic equipment using the pure speech communication of the first application progress or the video communication comprising speech communication by other users Holder actively to other users initiate real-time communication request application scenarios), alternatively, the holder of electronic equipment has connect By using the pure speech communication of the first application progress or comprising the video communication of speech communication, the first application request occupies audio money Source, but first applies also vacant audio resource, alternatively, electronic equipment is received to carry out pure language using the first application by other users After sound communication or the video communication comprising speech communication, the first application request occupies audio resource, but the first application does not account for also Use audio resource.
Optionally, at the time of " current " that the embodiment of the present application refers to refers to comprising the first application application occupancy audio resource Set period of time as shown in figure 4, be " current " corresponding set period of time provided by the embodiments of the present application schematic diagram, from figure 4 as can be seen that when " current " current time comprising the first application application occupancy audio resource and one before current time Between section.
In an alternative embodiment, instant messaging class may be being utilized in the holder of set period of time, electronic equipment The application of type is communicated, and (such as text communication, picture communication, (such as wechat application " is pressed for short time unidirectional speech communication Firmly speak " function) etc.).It is understood that meeting " interrupting " is in set period of time after the first application occupies audio resource The communication that the holder of electronic equipment is carried out using the application of instant messaging type.
In an alternative embodiment, in set period of time, the holder of electronic equipment is possibly also with one or more instant The application of communication type is communicated respectively.
In an alternative embodiment, if the holder of electronic equipment answering possibly also with one or more instant messaging types With being communicated respectively, electronic equipment should be able to sometime exhibition before at the time of the first application application occupies audio resource Show the communication window interface of respective application, optionally, the packet name of corresponding application can be determined by communication window interface And therefore the type at communication window interface can determine corresponding application based on the corresponding packet name in communication window interface.It can be with Based on the type at communication window interface, electronic equipment sometime whether opening up in " current " corresponding set period of time determined Showed the interface of communication type.
" interface of communication type " refers to the interface for being communicated in the embodiment of the present application, for example, diagram on the left of Fig. 1 And right diagram;" interface of communication type " refers to the interface that not can be carried out instant messaging, for example, the circle of friends of wechat application Interface.
It is understood that some or the multiple moment in " current " corresponding set period of time showed communication class The interface of type, the holder of electronic equipment are likely to carry out real-time communication with other users;If in " current " corresponding setting The interface of communication type was not shown in period, the holder of electronic equipment may not led to other users after in real time News.
To sum up, belong to communication for what some or multiple moment electronic equipments of " current " corresponding set period of time were shown The corresponding application in the interface of type, is determined as being currently at the application in communication process.
In an alternative embodiment, the boundary of communication type was shown in " current " corresponding set period of time as long as applying Face, no matter for the communication window interface that is communicated, which occurred at moment in set period of time, can be true by the application It is set to the application being currently in communication process.
For example, electronic equipment showed the boundary for belonging to the communication type of wechat application in " current " corresponding set period of time Face obtains the first application to the audio resource then but during showing that wechat applies corresponding circle of friends interface Solicited message is occupied, then the wechat application also application to be currently in communication process.
For another example electronic equipment is showing the boundary for belonging to the communication type of QQ application in " current " corresponding set period of time Face obtains the first application to the audio resource then during showing the interface for belonging to the communication type of QQ application Solicited message is occupied, then the QQ application also application to be currently in communication process.
Step 2: the application being currently in communication process for instant messaging type is determined as described second and is answered With.
In the method for determining the second application at second, second includes at least using corresponding target communication object: described The corresponding communication object of communication process;Or, described second applies corresponding each communication object;Or, second application corresponds to Priority level be higher than threshold value communication object.
In an alternative embodiment, above-mentioned " the corresponding communication object of communication process " refers to that communication window interface is corresponding logical Interrogate object.It is understood that obtaining described first using the occupancy solicited message to the audio resource in electronic equipment At the moment, although electronic equipment may not show communication window interface, i.e. communication window interface is swashed not in front stage operation in non- State living, but communication window interface is in running background.It can be based on communication window circle for being in operation in " current " period Face determines corresponding communication object.
In an alternative embodiment, the handle at the communication window interface of running background can be obtained, is based on communication window The handle at interface can find the handle for the text box for inputting text for user that communication window interface includes, can be by the One message is input in text box, and based on the handle for " sending key " in communication window interface, first message is sent to communication The corresponding communication object of window interface.
The third, the combination of the first and the second way.
The generating process of control instruction is illustrated below.The embodiment of the present application provides but is not limited to following several generations The method of control instruction.
The first generates the method for control instruction, comprising: if electronic equipment detects that the first application occupies audio resource To realize real-time communication function, based on first application to the occupied state of the audio resource, control instruction is generated.
To sum up, control instruction is all the same for all the second applications for belonging to instant messaging type, will not be because of the second application Difference and it is different.
The method of second of generation control instruction, comprising:
Step 1: the application for belonging to instant messaging type that the electronic equipment includes is determined.
Step 2: at least based on second application for wherein belonging to instant messaging type, the control instruction is generated.
To sum up, for control instruction for the second different applications, the control instruction of generation is different.
In an alternative embodiment, the application of some instant messaging types can obtain the state of electronic equipment automatically, and The state of itself is set according to the state of electronic equipment, for example, QQ apply get electronic equipment more than preset time nobody Operation, then can set " leave state " for the state of itself;The application of some instant messaging types can not obtain automatically The state of electronic equipment.Application of instant messaging type is divided at least three classifications based on this, first category is enough automatic The state of electronic equipment is obtained, and the application of the instant messaging type of the state of itself is set according to the state of electronic equipment;The Two classifications are enough automatic states for obtaining electronic equipment, but the Instant Messenger of the state of itself is not arranged according to the state of electronic equipment Interrogate the application of type;Third classification is that can not obtain the application of the instant messaging type of state of electronic equipment automatically.
In an alternative embodiment, step 2 may include: at least to be answered based on belong to instant messaging type described second With affiliated classification, control instruction is generated.
In an alternative embodiment, if the second application belongs to first category and second category, then control instruction refers at least to Show to second and applies corresponding target communication object transfer status message.I.e. first message includes at least status message, the shape State message is associated with the state of electronic equipment, and optionally, status message is that the state instruction of the electronic equipment identifies.Electronics The state of equipment includes at least: the first application occupies the state of audio resource.Second application can be based on the state of electronic equipment The state of itself is changed, alternatively, the second application is not based on the state of the Status Change itself of electronic equipment;Optionally, it second answers With status message can be sent to target communication object.
In another alternative embodiment, if the second application belongs to third classification, then control instruction is at least indicated to second Using corresponding target communication object transfer notification message.I.e. first message includes at least notification message, which can It is obtained by described second using corresponding target communication object as communication message to be transmitted.Optionally, electronic equipment can Corresponding target communication object is applied so that notification message is sent to second.For example notification message is " the line is busy ", it is described that " the line is busy In " target communication object is sent to as a communication message.
If the third method for generating control instruction includes: that the first application occupies audio resource to realize real-time communication function Can, and detect that the duration for occupying the audio resource is greater than or equal to duration threshold value, generate control instruction.
, 1 minute etc., can't for example, 10s it is understood that if the first application short time occupied audio resource Other users are caused to misunderstand the holder of electronic equipment;If the first application occupies audio resource for a long time, it may result in other User misunderstands the holder of electronic equipment, therefore, is detecting the duration for occupying the audio resource more than or equal to duration threshold Value generates control instruction.
Method is described in detail in above-mentioned disclosed embodiments, diversified forms can be used for the present processes Device realize that therefore disclosed herein as well is several devices, and specific embodiment is given below and is described in detail.
The embodiment of the present application also provides processing unit, the optional processing unit includes:
Generation module, if detecting that the first application occupies audio resource to realize real-time communication function for electronic equipment Can, generate control instruction;
Wherein, the control instruction indicates to apply corresponding target communication object transfer first message to second, described the One message and first application are associated to the occupied state of the audio resource, first application and second application It is different.
In an alternative embodiment, further includes:
First detection module, if occupying the state of the audio resource in first application for the electronic equipment Under, detect communication message;
First determining module, for determining the corresponding application of the communication message;
Second determining module determines if being the application of instant messaging type for the corresponding application of the communication message It is second application.
In an alternative embodiment, the target communication object includes at least following middle one kind:
The corresponding communication object of the communication message;Or, described second applies corresponding each communication object;Or, described The second corresponding priority level of application is higher than the communication object of threshold value.
In an alternative embodiment, further includes:
Third determining module, if obtaining first application to the occupancy of the audio resource for the electronic equipment Solicited message determines the application being currently in communication process;
4th determining module, for described be currently in communication process to be determined as institute for the application of instant messaging type State the second application.
In an alternative embodiment, the target object includes at least following middle one kind:
The corresponding communication object of the communication process;Or, described second applies corresponding each communication object;Or, described The second corresponding priority level of application is higher than the communication object of threshold value.
In an alternative embodiment, generation module includes:
First determination unit, the application for belonging to instant messaging type for including for determining the electronic equipment;
Generation unit, at least based on second application for wherein belonging to instant messaging type, generating the control Instruction.
In an alternative embodiment, further includes:
Trigger module, if for detecting that the duration for occupying the audio resource is greater than or equal to duration threshold value, triggering Generation module.
In an alternative embodiment, the first message includes at least one of notification message and status message, described Notification message can be obtained by described second using corresponding target communication object as communication message to be transmitted;The shape State message can be identified as the state instruction of the electronic equipment and be obtained by described second using corresponding target communication object ?.
It as described in Figure 5, is a kind of structure chart of implementation of electronic equipment provided by the embodiments of the present application, which sets It is standby to include:
Audio resource 51;
Memory 52, for storing program.
Memory 52 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non-volatile Memory) etc., a for example, at least magnetic disk storage.
Processor 53, for executing described program, described program is specifically used for:
If electronic equipment detects that the first application occupies the audio resource to realize real-time communication function, control is generated Instruction;
Wherein, the control instruction indicates to apply corresponding target communication object transfer first message to second, described the One message and first application are associated to the occupied state of the audio resource, first application and second application It is different.
Processor 53 may be a central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road etc..
Optionally, electronic equipment further include: communication interface 54 and communication bus 55.In the embodiment of the present application, audio Resource 51, memory 52, processor 53, communication interface 54 complete mutual communication by communication bus 55.
The embodiment of the present application also provides a kind of readable storage medium storing program for executing, is stored thereon with computer program, the computer journey When sequence is executed by processor, each step for including such as above-mentioned processing method is realized.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For device or system class embodiment, since it is basically similar to the method embodiment, so be described relatively simple, it is related Place illustrates referring to the part of embodiment of the method.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments makes professional and technical personnel in the field can be realized or use the application. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the application.Therefore, the application It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (10)

1. a kind of processing method, comprising:
If electronic equipment detects that the first application occupies audio resource to realize real-time communication function, control instruction is generated;
Wherein, the control instruction indicates to apply corresponding target communication object transfer first message to second, and described first disappears Breath and first application are associated to the occupied state of the audio resource, and first application is with described second using not Together.
2. processing method according to claim 1, further includes:
If the electronic equipment detects communication message in the state that first application occupies the audio resource;
Determine the corresponding application of the communication message;
If the corresponding application of the communication message is the application of instant messaging type, second application is determined that it is.
3. processing method according to claim 2, the target communication object includes at least following middle one kind:
The corresponding communication object of the communication message;Or, described second applies corresponding each communication object;Or, described second It is higher than the communication object of threshold value using corresponding priority level.
4. processing method according to claim 1, further includes:
If the electronic equipment obtains first application to the occupancy solicited message of the audio resource, determination is currently at Application in communication process;
The application being currently in communication process for instant messaging type is determined as second application.
5. processing method according to claim 4, the target object includes at least following middle one kind:
The corresponding communication object of the communication process;Or, described second applies corresponding each communication object;Or, described second It is higher than the communication object of threshold value using corresponding priority level.
6. processing method according to claim 1, the generation control instruction include:
Determine the application for belonging to instant messaging type that the electronic equipment includes;
At least based on second application for wherein belonging to instant messaging type, the control instruction is generated.
7. according to any processing method of claim 2 to 6, further includes:
If detecting that the duration for occupying the audio resource is greater than or equal to duration threshold value, the generation control instruction is executed Step.
8. processing method according to claim 1, the first message includes at least one in notification message and status message Kind, the notification message can be obtained by described second using corresponding target communication object as communication message to be transmitted ?;The status message can identify as the state instruction of the electronic equipment and apply corresponding target communication by described second Object is obtained.
9. a kind of processing unit, comprising:
Generation module, it is raw if detecting that first applies occupancy audio resource to realize real-time communication function for electronic equipment At control instruction;
Wherein, the control instruction indicates to apply corresponding target communication object transfer first message to second, and described first disappears Breath and first application are associated to the occupied state of the audio resource, and first application is with described second using not Together.
10. a kind of electronic equipment, comprising:
Audio resource;
Memory, for storing program;
Processor, for executing described program, described program is specifically used for:
If electronic equipment detects that the first application occupies the audio resource to realize real-time communication function, generates control and refer to It enables;
Wherein, the control instruction indicates to apply corresponding target communication object transfer first message to second, and described first disappears Breath and first application are associated to the occupied state of the audio resource, and first application is with described second using not Together.
CN201910472207.1A 2019-05-31 2019-05-31 Processing method and device and electronic equipment Active CN110198264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910472207.1A CN110198264B (en) 2019-05-31 2019-05-31 Processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910472207.1A CN110198264B (en) 2019-05-31 2019-05-31 Processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN110198264A true CN110198264A (en) 2019-09-03
CN110198264B CN110198264B (en) 2022-03-25

Family

ID=67753685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910472207.1A Active CN110198264B (en) 2019-05-31 2019-05-31 Processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN110198264B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112533070A (en) * 2020-11-18 2021-03-19 深圳Tcl新技术有限公司 Video sound and picture adjusting method, terminal and computer readable storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075337A (en) * 2009-11-20 2011-05-25 腾讯科技(深圳)有限公司 Instant communication message display method and related device
CN103067490A (en) * 2012-12-26 2013-04-24 腾讯科技(深圳)有限公司 Notification method and terminal and server and system of mobile terminal communication session
US9060050B1 (en) * 2014-06-18 2015-06-16 Ringcentral, Inc. System and method for determining availability statuses for users
CN106354571A (en) * 2016-08-29 2017-01-25 北京小米移动软件有限公司 Message reminding method and device thereof
WO2017058678A1 (en) * 2015-09-30 2017-04-06 Microsoft Technology Licensing, Llc User created presence including visual presence for contacts
CN106685800A (en) * 2016-12-19 2017-05-17 北京五八信息技术有限公司 Information prompting method and device
CN107229448A (en) * 2017-06-30 2017-10-03 联想(北京)有限公司 Audio frequency playing method and electronic equipment
CN107656672A (en) * 2017-09-29 2018-02-02 珠海市魅族科技有限公司 A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN107809369A (en) * 2016-09-08 2018-03-16 腾讯科技(深圳)有限公司 Communications status processing method and communications status processing unit
CN107995369A (en) * 2017-12-19 2018-05-04 广州市千钧网络科技有限公司 A kind of method, apparatus and equipment for solving audio conflict
CN108540657A (en) * 2018-03-23 2018-09-14 努比亚技术有限公司 A kind of interference processing method, mobile terminal and storage medium
CN109005107A (en) * 2018-09-27 2018-12-14 奇酷互联网络科技(深圳)有限公司 The means of communication, intelligent terminal and the device with store function
CN109525707A (en) * 2018-10-15 2019-03-26 维沃移动通信有限公司 A kind of audio frequency playing method and mobile terminal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102075337A (en) * 2009-11-20 2011-05-25 腾讯科技(深圳)有限公司 Instant communication message display method and related device
CN103067490A (en) * 2012-12-26 2013-04-24 腾讯科技(深圳)有限公司 Notification method and terminal and server and system of mobile terminal communication session
US9060050B1 (en) * 2014-06-18 2015-06-16 Ringcentral, Inc. System and method for determining availability statuses for users
WO2017058678A1 (en) * 2015-09-30 2017-04-06 Microsoft Technology Licensing, Llc User created presence including visual presence for contacts
CN106354571A (en) * 2016-08-29 2017-01-25 北京小米移动软件有限公司 Message reminding method and device thereof
CN107809369A (en) * 2016-09-08 2018-03-16 腾讯科技(深圳)有限公司 Communications status processing method and communications status processing unit
CN106685800A (en) * 2016-12-19 2017-05-17 北京五八信息技术有限公司 Information prompting method and device
CN107229448A (en) * 2017-06-30 2017-10-03 联想(北京)有限公司 Audio frequency playing method and electronic equipment
CN107656672A (en) * 2017-09-29 2018-02-02 珠海市魅族科技有限公司 A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN107995369A (en) * 2017-12-19 2018-05-04 广州市千钧网络科技有限公司 A kind of method, apparatus and equipment for solving audio conflict
CN108540657A (en) * 2018-03-23 2018-09-14 努比亚技术有限公司 A kind of interference processing method, mobile terminal and storage medium
CN109005107A (en) * 2018-09-27 2018-12-14 奇酷互联网络科技(深圳)有限公司 The means of communication, intelligent terminal and the device with store function
CN109525707A (en) * 2018-10-15 2019-03-26 维沃移动通信有限公司 A kind of audio frequency playing method and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112533070A (en) * 2020-11-18 2021-03-19 深圳Tcl新技术有限公司 Video sound and picture adjusting method, terminal and computer readable storage medium
CN112533070B (en) * 2020-11-18 2024-02-06 深圳Tcl新技术有限公司 Video sound and picture adjusting method, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN110198264B (en) 2022-03-25

Similar Documents

Publication Publication Date Title
CN108243086B (en) Message processing method and system
CN101902356B (en) System and method for managing incoming requests of communication sessions using a graphical call connection metaphor
CN108494571B (en) Method, device and system for initiating reservation conference
US20080091782A1 (en) Method and system for delegating and managing tasks over instant messenger
CN103929537A (en) Real-time reminding method based on messages of different levels
US9166822B2 (en) Transmission of instant messages according to availability
CN102172098A (en) Inter-threading indications of different types of communication
CN101983501A (en) User interface with voice message summary
WO2014169688A1 (en) Method and system for identifying prank call, client, server, and storage medium
CN103795607A (en) Message processing method, instant messaging client, and instant messaging system
WO2016154612A1 (en) Systems and methods for supplementing real-time exchanges of instant messages with automatically updateable content
US8230031B2 (en) System and method for providing enhanced instant messaging
CN105430317B (en) A kind of video background setting method and terminal device
CN109525486A (en) Conversation message loading method, device, electronic equipment and the medium of instant messaging
CN109446204A (en) A kind of date storage method of instant messaging, device, electronic equipment and medium
CN108631955A (en) It is a kind of to ensure that message sends reachable mthods, systems and devices
CN104135429A (en) A method and a device for pushing information
CN101163027A (en) System, method and program for facilitating an electronic chat session
CN109756416A (en) For the message prompt method of instant messaging, device and storage medium
US20100023586A1 (en) System and method for correlating questions and answers in an instant messaging environment
CN110198264A (en) Processing method, device and electronic equipment
CN111698147B (en) Message prompting method, device, terminal and storage medium
CN104620614A (en) Smart notifications
US9489939B2 (en) Speech server managing one or a plurality of pieces of speech terminal-specifying information and user-specifying information
US20100226486A1 (en) Method of informing a teleconference participant that a person-of-interest has become active within the teleconference

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