CN110493461A - Message playback method and device, electronic equipment, storage medium - Google Patents

Message playback method and device, electronic equipment, storage medium Download PDF

Info

Publication number
CN110493461A
CN110493461A CN201910714708.6A CN201910714708A CN110493461A CN 110493461 A CN110493461 A CN 110493461A CN 201910714708 A CN201910714708 A CN 201910714708A CN 110493461 A CN110493461 A CN 110493461A
Authority
CN
China
Prior art keywords
message
terminal
state
type
user
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.)
Pending
Application number
CN201910714708.6A
Other languages
Chinese (zh)
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.)
Realme Chongqing Mobile Communications Co Ltd
Original Assignee
Realme Chongqing Mobile Communications 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 Realme Chongqing Mobile Communications Co Ltd filed Critical Realme Chongqing Mobile Communications Co Ltd
Priority to CN201910714708.6A priority Critical patent/CN110493461A/en
Publication of CN110493461A publication Critical patent/CN110493461A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/08Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72433User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for voice messaging, e.g. dictaphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Business, Economics & Management (AREA)
  • Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Acoustics & Sound (AREA)
  • Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computational Linguistics (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure is directed to a kind of message playback method and device, electronic equipment, storage mediums, are related to field of computer technology, this method comprises: receiving the message for being sent to terminal, and determine the state of the terminal;If the state of the terminal is dbjective state, the message is played out according to the use state of the terminal.The disclosure can playback terminal receives in time message, improve convenience.

Description

Message playback method and device, electronic equipment, storage medium
Technical field
This disclosure relates to field of computer technology, in particular to a kind of message playback method, message playing device, Electronic equipment and computer readable storage medium.
Background technique
With the development of intelligent terminal, more and more users by the instant message applications installed on intelligent terminal come into Row chat interaction.But user is not that can be convenient rapidly to check message at any time.
In the related technology, when checking message, user needs to check that terminal either needs to click the message received and carries out It plays, inconvenience real time inspection terminal either operates terminal when being kept in motion due to user, checks and disappears The efficiency of breath is lower, and convenience is poor, and has security risk.In addition, since other applications may be run in terminal, because This user may miss the message received, cause message sink not in time and incomplete problem.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure is designed to provide a kind of message playback method and device, electronic equipment, storage medium, and then at least User caused by the limitation and defect due to the relevant technologies is overcome to check message inconvenience asking not in time to a certain extent Topic.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure Practice and acquistion.
According to one aspect of the disclosure, a kind of message playback method is provided, comprising: reception is sent to disappearing for terminal Breath, and determine the state of the terminal;If the state of the terminal is dbjective state, according to the use state pair of the terminal The message plays out.
In a kind of exemplary embodiment of the disclosure, the message is played out according to the use state of the terminal If include: the message type be the first kind, directly according to the use state of the terminal to the message into Row plays;If the type of the message is Second Type, the message of the Second Type is converted into the first kind, and The message is played out according to the use state of the terminal;If the type of the message is third type, directly It connects and plays one for indicating the prompt information of the message.
In a kind of exemplary embodiment of the disclosure, the use state of the terminal includes the class of the user of the terminal The operating status of type and the terminal, being played out according to the use state of the terminal to the message includes: according to institute The operating status of the type and the terminal of stating user plays out the message.
In a kind of exemplary embodiment of the disclosure, the operating status of the terminal includes answering of running in the terminal The mode locating for program and the terminal disappears according to the operating status of the type of the user and the terminal to described If breath play out include: the user type be target type, according to the application program run in the terminal to institute Message is stated to play out;If the type of the user is not the target type, according to mode locating for the terminal and The application program run in the terminal plays out the message.
In a kind of exemplary embodiment of the disclosure, according to the application program run in the terminal to the message into If row broadcasting includes: that the application program is not default application, the message is played;If the application program is described default Using, then continue to test it is described it is default application whether end of run, and in the default application end of run broadcasting described in disappear Breath.
In a kind of exemplary embodiment of the disclosure, run according in mode locating for the terminal and the terminal Application program determining the application program if playing out to the message includes: that the terminal is in headset mode Not to be default in application, playing the message;If or the terminal is in the headset mode, is determining the application program For the default application and while detecting the default application end of run, plays the message.
In a kind of exemplary embodiment of the disclosure, the method also includes: when receiving the message, provide one For reminding the identification information of the message.
According to one aspect of the disclosure, a kind of message playing device is provided, comprising: state determining module, for receiving It is sent to the message of terminal, and determines the state of the terminal;Playing control module, if the state for the terminal is target State then plays out the message according to the use state of the terminal.
According to one aspect of the disclosure, a kind of electronic equipment is provided, comprising: processor;And memory, for storing The executable instruction of the processor;Wherein, the processor is configured to above-mentioned to execute via the executable instruction is executed Message playback method described in any one.
According to one aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with, The computer program realizes message playback method described in above-mentioned any one when being executed by processor.
Message playback method, message playing device, electronic equipment and the calculating provided in disclosure exemplary embodiment In machine readable storage medium storing program for executing, if it is determined that terminal is in dbjective state, then is played out according to the use state of terminal to message. On the one hand, due to that can be carried out certainly according to the use state of the terminal to the message received when terminal is in dbjective state It is dynamic to play, the step of user needs real time inspection terminal and operates to terminal is avoided, while ensuring safety The efficiency for checking message is improved, convenience is also increased.On the other hand, due to can be automatically right by the use state of terminal Message plays out, and can be avoided since other programs interfere reception message not in time so as to cause the feelings for missing part messages Condition increases the timeliness and integrality for receiving message.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 schematically shows a kind of schematic diagram of message playback method in disclosure exemplary embodiment.
Fig. 2 is schematically shown in disclosure exemplary embodiment to disappear according to the type of user and terminal running state broadcasting The schematic diagram of breath.
Fig. 3 schematically shows in disclosure exemplary embodiment and plays showing for message according to the application program run in terminal It is intended to.
Fig. 4 schematically shows the application program of mode and terminal operating according to locating for terminal in disclosure exemplary embodiment Play the flow chart of message.
Fig. 5 schematically shows the specific flow chart that message is played in disclosure exemplary embodiment.
Fig. 6 schematically shows the block diagram of message playing device in disclosure exemplary embodiment.
Fig. 7 schematically shows the block diagram of a kind of electronic equipment in disclosure exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.In the following description, it provides perhaps More details fully understand embodiment of the present disclosure to provide.It will be appreciated, however, by one skilled in the art that can It is omitted with technical solution of the disclosure one or more in the specific detail, or others side can be used Method, constituent element, device, step etc..In other cases, be not shown in detail or describe known solution to avoid a presumptuous guest usurps the role of the host and So that all aspects of this disclosure thicken.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
A kind of message playback method is provided firstly in this example embodiment, can be applied to be inconvenient to look into due to user It sees terminal, and the message received is carried out in the application scenarios of automated intelligent broadcasting.With reference to shown in Fig. 1, this method includes Step S110 and step S120, in which:
In step s 110, the message for being sent to terminal is received, and determines the state of the terminal;
In the step s 120, if the state of the terminal is dbjective state, according to the use state of the terminal to institute Message is stated to play out.
In the message playback method provided in disclosure exemplary embodiment, on the one hand, due to being in target-like in terminal When state, the message received can be played according to the use state of the terminal automatically, avoid user and need to look into real time The step of seeing terminal and operating to terminal improves the efficiency for checking message, also increases convenience, reduce user Security risk caused by checking terminal in motion state.On the other hand, due to can be automatic by the use state of terminal Message is played out, can be avoided to interfere due to other programs and receive message not in time so as to cause missing part messages Situation increases the timeliness and integrality for receiving message.
Next, the message playback method in the present exemplary embodiment is specifically described with reference to attached drawing.
In step s 110, the message for being sent to terminal is received, and determines the state of the terminal.
In the present exemplary embodiment, message refers to that sender of the message passes through the instant messaging class application journey installed in terminal The message that communication module in sequence, Communication platform either gaming platform is sent, this sentences instant messaging class application program It is illustrated for the message of transmission.Terminal refers to receiving the terminal of message, during user carries out chat interaction, eventually End can be any one terminal used by a user.The electronics of instant messaging class application program can be installed by, which being specifically as follows, sets It is standby, such as mobile phone, computer, smartwatch etc..
Message may include multiple types, such as the first kind, Second Type and third type, wherein the first kind It can be speech message, Second Type can be word message, and third type can (such as picture disappears for other kinds of message Breath, expression message, link message etc.).
When receiving the message for being sent to terminal, the identification information for reminder message can be provided.The mark Information can specifically be expressed, example for being reminded in time in the message that terminal receives user by various forms Such as speech form, vibration mode, form of sound, are not particularly limited herein.
While receiving the message for being sent to terminal, the state of the terminal can be determined.State herein can wrap Stationary state, motion state etc. are included, motion state may include quick movement and microinching, not make special limit herein It is fixed.It, can be true by the state of terminal since the state of terminal is usually caused by movement as the user itself of terminal Determine the state of the user of terminal.The motion state of the user of terminal itself for example can include but is not limited on foot, run, ride The motion state of row, jump either any other type;In addition to this, the motion state in the present exemplary embodiment can also be with For driving condition etc..
Specifically, the state of terminal can be judged by the sensor in terminal, and then can be true by the state of terminal Determine user's state in which of using terminal.Sensor herein includes but is not limited to acceleration transducer.It is passed by acceleration It, can be by the (quiet with the data area of preset acceleration of collected acceleration after sensor collects the acceleration of terminal The only data area B of the data area A of the corresponding acceleration of state and the corresponding acceleration of motion state) it is compared, from And to judge terminal state in which for stationary state or motion state.
Next, shown in continuing to refer to figure 1, in the step s 120, if the state of the terminal is dbjective state, root The message is played out according to the use state of the terminal.
In the present exemplary embodiment, dbjective state can be motion state, when terminal is in dbjective state, the use of terminal Family is also at any one motion state of foregoing description.Specifically, the acceleration and mesh that acceleration transducer can be acquired The data area of the corresponding acceleration of mark state compares, if the data of acquisition are in the number of the corresponding acceleration of dbjective state According in range, it may be considered that the state of terminal is dbjective state.If acquisition acceleration not dbjective state it is corresponding plus In the data area of speed, it may be considered that the state of terminal is not belonging to dbjective state.For example, when the acceleration of terminal is a1 When, if in the data area B that a1 is kept in motion, it may be considered that terminal state in which is motion state, correspondingly It can determine and be kept in motion using the user of the terminal.
When being usually all to look at message inconvenience when user is kept in motion, and looked under motion state Security risk may be brought by seeing when message.If do not checked, it is also possible to user be made to miss important message.In order to solve these Problem can be played the message received according to the use state of terminal automatically in the present exemplary embodiment.Due to connecing The message received may include different types of message, but only speech message can be played directly, therefore be disappeared for text Breath and other message need to carry out certain processing, to avoid the omission of any one message to any one type.Specifically Different processing sides can be respectively adopted for different types of message (speech message, word message and other message) in ground Method plays out, and to improve specific aim and accuracy, realizes the function of checking message of making the user more convenient.
If specifically, the message is played out according to the use state of the terminal include: the message class Type is the first kind, then is directly played out according to the use state of the terminal to the message;If the type of the message For Second Type, then the message of Second Type is converted to the message of the first kind, and according to the use state pair of the terminal The message plays out;If the type of the message is third type, a prompt information is directly played.That is, If receiving speech message, directly speech message can be played in time according to the use state of terminal.If connect Word message is received, it, can be by text-to-speech technology either since user is inconvenient to check mobile phone under motion state The word message received is converted to corresponding speech message by text-to-speech algorithm, according further to this exemplary implementation Method in example executes the automatic function of playing message.Disappear if receiving image information expression message and either linking Breath etc., then can directly play a prompt information.The prompt information can be speech form, and the prompt information is mainly used In the particular content of the image information for indicating to receive either expression message.User, can after receiving the prompt information Voluntarily the message received is checked or is not checked in selection according to actual needs.By direct played voice message and will be literary Word message transformation plays out for speech message, can be avoided user and checks terminal and operating terminal, improves convenience.
The use state of terminal may include the type of the user of terminal and the operating status of terminal.Wherein, terminal User refers to the user of using terminal, and the type of the user of the terminal can be according to the age either other feature of user (gender etc.) classifies.In the present example embodiment, according to usage scenario and the function to be realized, the class of the user of terminal Type for example can include but is not limited to old user and non-aged user.The operating status of terminal, which can specifically include in terminal, transports The application program of capable application program, operation can be corresponding for talk application, music application, broadcasted application either video website Video Applications etc..The operating status of terminal can also include mode locating for terminal, the mode can for headset mode or Person is general modfel (such as handset mode, speaker mode) etc..On this basis, can according to the type of the user with And the operating status of terminal accurately plays the message received.
Diagrammatically illustrated in Fig. 2 according to the operating status of the type of the user and the terminal to the message into The flow chart that row plays is mainly comprised the steps that with reference to shown in Fig. 2
In step S210, judge whether the type of the user of the terminal is target type.
In the present exemplary embodiment, target type refers to old user.Specifically, the user couple of the terminal can be extracted The characteristic answered, and judge whether the user is target type according to characteristic.Characteristic include user information and The characteristic information, wherein user information includes but is not limited to title, head portrait, identity ID etc..The characteristic information can be history The feature of message, can specifically include the vocal print feature in history speech message, also may include the text of history word message Feature etc..Specifically, can be believed according to the user stored in user information, vocal print feature and text feature etc. and database Breath, vocal print feature and text feature etc. are matched, and then determine whether the user of terminal is target class according to matching result Type.If one of the multiple characteristics stored in the characteristic and database of the user of terminal successful match, and Correspond to old user with successful characteristic, then may determine that the user of the terminal for old user.
In step S220, if the user is target type, according to the application program run in the terminal to institute Message is stated to play out.
In the present exemplary embodiment, if it is judged that the type for receiving the user of the terminal of message is that target type is (old User), it, can be only according to the application run in terminal since old user may can't wear earphone most of the time Program directly plays out message.The application program run in terminal can answer for music application, Video Applications, call With any one in, broadcasted application.
At runtime due to certain applications program (such as talk application), may cause message can not play message simultaneously. In order to accurately detect problems, diagrammatically illustrated in Fig. 3 according to the application program run in the terminal to the message The specific steps played out, including step S310 and step S320, and step S310 and step S320 are step S220 Specific implementation, in which:
In step s310, if the application program is not default in application, playing the message.
In the present exemplary embodiment, default application can be the application that cannot be performed simultaneously with message playing function, or It is application contradictory with the network signal that played voice message needs.For example, played voice message use wireless network or Person is cable network, and default application then can be that can not be performed simultaneously with the instant messaging class application program of played voice message Using, such as talk application.Talk application can specifically include various types of calls, such as be answered by some instant messaging class Video calling, voice communication and the general voice communication (making a phone call) etc. established with program.Specifically, inspection can be passed through Memory shared by application program is surveyed in terminal to judge whether application program is default application, or the signal for passing through monitor terminal It is whether idle to determine whether for default application.If operation application program be not talk application, then it represents that network not by It occupies, can directly play the speech message that the terminal receives or the speech message being converted by word message at this time. For the user of target type, convenience is improved.
In step s 320, if the application program is the default application, whether the default application is continued to test End of run, and the message is played in the default application end of run.
In the present exemplary embodiment, if it is determined that currently running application program is default application, then it can continue to test Whether whether end of run, i.e. detection call terminate for default application.If detecting that talk application terminates, illustrate network In available mode, the speech message received can be directly played at this time and either plays the language being converted to by word message Sound message.If detecting that talk application is not finished, continue waiting for and detect, until being played automatically at the end of the talk application Speech message.
Next, with continued reference to shown in Fig. 2, in step S230, if the user is not the target type, basis The application program run in mode locating for the terminal and the terminal, plays out the message.
In the present exemplary embodiment, if the user of terminal is not belonging to target type, i.e. the user of using terminal is not old Year user then can play according to two aspects of the application program run in the mode and terminal locating for terminal and receive Message.Mode locating for terminal can be headset mode and general modfel.It is either blue that wired earphone can be connected under headset mode Tooth earphone etc..In the case, the application program run in the mode according to locating for terminal and terminal broadcasts message It puts, can be improved the safety of user message, protect privacy of user.
The application program run in the mode according to locating for terminal and terminal is diagrammatically illustrated in Fig. 4 plays message Flow chart includes mainly step S410 to step S450, and step S410 to step S450 is step with reference to shown in Fig. 4 The specific implementation of S230, in which:
In step S410, judge whether mode locating for the terminal is headset mode.If so, going to step S420;If it is not, not playing message then.
In this step, can by detect terminal earphone interface in voltage interface connection status either Other parameters etc. judge whether terminal is in headset mode.
In the step s 420, judge whether the application program is default application.If so, going to step S430;If it is not, Then go to step S440.Wherein, presetting application can be talk application.
In step S430, detect whether the default application operation terminates, if so, going to step S440;If it is not, then Go to step S450.
In step S440, the speech message received is played.
In step S450, step S430 is continued to execute, and play message when presetting using end of run detecting.
Wherein, the tool of the step S310 in the specific implementation and Fig. 3 of step S420 to step S450 and step S320 Body implementation is identical, therefore details are not described herein again.
That is, the application program run in the mode according to locating for the terminal and the terminal, disappears to described Cease the mode that plays out can for it is following any one: if mode one, the terminal are in headset mode, described in determination Application program is not default in application, playing the message.The application journey for being in headset mode in terminal, and being run in terminal Sequence is not to play message automatically in the case where talk application.If mode two, the terminal are in the headset mode, in determination The application program is the default application and plays the message when detecting the default application end of run.I.e. in terminal In the case that the application program run under headset mode and in terminal is talk application, at the end of the talk application of operation Play message.Wherein, the message played in mode one and mode two refers to the speech message received or is turned by word message The speech message changed into.
By the technical solution in Fig. 4, for the case where user of terminal is not target type, terminal can be passed through Two aspects of the application program run in headset mode and terminal carry out the broadcasting of control message, can guarantee message safety Property while increase user and check the convenience of message, avoid user and avoid operating terminal due to safety to miss weight The problem of wanting message improves the integrality, comprehensive, timeliness and convenience of message sink.
It, can be when judging that terminal is in dbjective state, directly according to the use state of terminal in the present exemplary embodiment Message is played out;It can also be when judging that terminal is in dbjective state in response to a triggering command, according to making for terminal Message is played out with state.Triggering command can be for example user's expression, user voice etc., not make special limit herein It is fixed.Message is played in response to triggering command, can trigger and play message when suitable, to avoid the interference to user.
By technical solution of the step S210 shown in Fig. 2 into step S230, for the use of different types of terminal Family can play the message received according to factor and dimension different in the use state of terminal, can more meet reality Situation improves convenience and efficiency that message plays, provides convenience for user.
You need to add is that broadcasting sound can also be adjusted according to environment locating for the user of terminal when playing message Amount.The sound that environment locating for the user of using terminal can specifically be acquired, is then automatically adjusted according to the sound of the environment The volume of message is played in the environment.The sound of environment locating for user is bigger, and the volume for playing message is bigger.Pass through this side Formula can automatically adjust the volume for playing message according to external environment, be able to use family and clearly listen to message, improve user's body It tests.
The specific flow chart that message is played in the present exemplary embodiment is diagrammatically illustrated in Fig. 5, with reference to shown in Fig. 5, Mainly include the following steps that S510 to step S570, in which:
In step S510, terminal gets message.What message herein can generate for instant messaging class application program Message, such as wechat message;Or the message, such as short message etc. of general type.
In step S520, the acceleration of terminal is obtained, to judge whether user is kept in motion.If so, going to Step S530;If it is not, then to step S570.For example, the data of corresponding acceleration if the acceleration of terminal is kept in motion Range, it may be considered that terminal and user are in motion state.
In step S530, whether detection terminal is in headset mode.If so, going to step S540;If it is not, then to step Rapid S570.
In step S540, whether detection terminal is on call.If so, going to step S550;If it is not, then to step Rapid S560.
In step S550, message is played automatically after detecting talking state.
In step S560, message is played automatically.
In step S570, message is not played automatically.Such as message can be played to the operation of terminal in response to user. User can be click message etc. to the operation of terminal.
Technical solution in Fig. 5, by when user is kept in motion, according to terminal whether be in headset mode and Whether terminal on call, can played voice message in time automatically, for the user of inconvenient operating terminal, The step of user needs real time inspection terminal and operates to terminal is avoided, improves the efficiency for checking message, greatly Increase convenience to degree.It can be avoided to interfere due to other programs simultaneously and received message not in time so as to cause missing portion Increase the timeliness and integrality for receiving message the case where dividing message.
In the present exemplary embodiment, a kind of message playing device is additionally provided, with reference to shown in Fig. 6, device 600 is mainly wrapped It includes with lower module:
State determining module 601 for receiving the message for being sent to terminal, and determines the state of the terminal;
Playing control module 602 uses shape according to the terminal if the state for the terminal is dbjective state State plays out the message.
In a kind of exemplary embodiment of the disclosure, if playing control module is configured that the type of the message is the One type then directly plays out the message according to the use state of the terminal;If the type of the message is The message of Second Type is then converted to the message of the first kind by Second Type, and according to the use state of the terminal The message is played out;If the type of the message is third type, one is directly played for indicating the message Prompt information.
In a kind of exemplary embodiment of the disclosure, the use state of the terminal includes the class of the user of the terminal The operating status of type and the terminal, playing control module include: playing module, for according to the type of the user and The operating status of the terminal plays out the message.
In a kind of exemplary embodiment of the disclosure, the operating status of the terminal includes answering of running in the terminal The mode locating for program and the terminal, playing module includes: application plays control module, if the class for the user Type is target type, then is played out according to the application program run in the terminal to the message;Mode playback controls mould Block, if the type for the user is not the target type, according to mode locating for the terminal and the terminal The application program of middle operation plays out the message.
In a kind of exemplary embodiment of the disclosure, application plays control module includes: the first application control module, is used If not being default application in the application program, the message is played;Second application control module, if applying journey for described Sequence be the default application, then continue to test it is described it is default application whether end of run, and it is described it is default apply end of run When play the message.
In a kind of exemplary embodiment of the disclosure, mode playback control module includes: that first mode plays control mould Block is default in application, disappearing described in broadcasting determining the application program not if being in headset mode for the terminal Breath;Or second mode playing control module is determining the application program if being in the headset mode for the terminal For the default application and while detecting the default application end of run, plays the message.
In a kind of exemplary embodiment of the disclosure, described device further include: prompting message module, for receiving When the message, one is provided for reminding the identification information of the message.
It should be noted that the detail of each module is in corresponding message broadcasting side in above-mentioned message playing device It is described in detail in method, therefore details are not described herein again.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
In addition, although describing each step of method in the disclosure in the accompanying drawings with particular order, this does not really want These steps must be executed in this particular order by asking or implying, or having to carry out step shown in whole could realize Desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/ Or a step is decomposed into execution of multiple steps etc..
In an exemplary embodiment of the disclosure, a kind of electronic equipment that can be realized the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 700 of this embodiment according to the present invention is described referring to Fig. 7.The electronics that Fig. 7 is shown Equipment 700 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in fig. 7, electronic equipment 700 is showed in the form of universal computing device.The component of electronic equipment 700 can wrap It includes but is not limited to: at least one above-mentioned processing unit 710, at least one above-mentioned storage unit 720, the different system components of connection The bus 750 of (including storage unit 720 and processing unit 710).
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 710 Row, so that various according to the present invention described in the execution of the processing unit 710 above-mentioned " illustrative methods " part of this specification The step of illustrative embodiments.For example, the processing unit 710 can execute step as shown in fig. 1.
Storage unit 720 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit (RAM) 7201 and/or cache memory unit 7202, it can further include read-only memory unit (ROM) 7203.
Storage unit 720 can also include program/utility with one group of (at least one) program module 7205 7204, such program module 7205 includes but is not limited to: operating system, one or more application program, other program moulds It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 730 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 700 can also be with one or more external equipments 800 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 700 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 700 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 750.Also, electronic equipment 700 can be with By network adapter 760 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.As shown, network adapter 760 is communicated by bus 730 with other modules of electronic equipment 700. It should be understood that although not shown in the drawings, other hardware and/or software module can not used in conjunction with electronic equipment 700, including but not Be limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and Data backup storage system etc..
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, energy is stored thereon with Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also In the form of being embodied as a kind of program product comprising program code, when described program product is run on the terminal device, institute Program code is stated for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair The step of bright various illustrative embodiments.
The program product for realizing the above method of embodiment according to the present invention can use Portable, compact Disk read-only memory (CD-ROM) and including program code, and can be run on terminal device, such as PC.However, Program product of the invention is without being limited thereto, and in this document, readable storage medium storing program for executing, which can be, any includes or storage program has Shape medium, the program can be commanded execution system, device or device use or in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional mistake Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure His embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Adaptive change follow the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure or Conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by claim It points out.

Claims (10)

1. a kind of message playback method characterized by comprising
The message for being sent to terminal is received, and determines the state of the terminal;
If the state of the terminal is dbjective state, the message is played out according to the use state of the terminal.
2. message playback method according to claim 1, which is characterized in that according to the use state of the terminal to described Message, which plays out, includes:
If the type of the message is the first kind, directly the message is carried out according to the use state of the terminal It plays;
If the type of the message is Second Type, the message of the Second Type is converted into the first kind, and according to institute The use state for stating terminal plays out the message;
If the type of the message is third type, one is directly played for indicating the prompt information of the message.
3. message playback method according to claim 1, which is characterized in that the use state of the terminal includes the end The operating status of the type of the user at end and the terminal plays out the message according to the use state of the terminal Include:
The message is played out according to the operating status of the type of the user and the terminal.
4. message playback method according to claim 3, which is characterized in that the operating status of the terminal includes the end Mode locating for the application program and the terminal run in end, according to the operation of the type of the user and the terminal State plays out the message
If the type of the user is target type, the message is broadcast according to the application program run in the terminal It puts;
If the type of the user is not the target type, transported according in mode locating for the terminal and the terminal Capable application program plays out the message.
5. message playback method according to claim 4, which is characterized in that according to the application program run in the terminal The message is played out and includes:
If the application program is not default application, the message is played;
If the application program is the default application, continue to test the default application whether end of run, and described The message is played when presetting using end of run.
6. message playback method according to claim 4, which is characterized in that according to mode locating for the terminal and institute The application program run in terminal is stated, the message is played out includes:
It is default in application, playing the message determining the application program not if the terminal is in headset mode;Or
If the terminal is in the headset mode, the application program is being determined as the default application and is being detected described The message is played when presetting using end of run.
7. message playback method according to claim 1, which is characterized in that the method also includes:
When receiving the message, one is provided for reminding the identification information of the message.
8. a kind of message playing device characterized by comprising
State determining module for receiving the message for being sent to terminal, and determines the state of the terminal;
Playing control module, if the state for the terminal is dbjective state, according to the use state of the terminal to institute Message is stated to play out.
9. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to come described in perform claim requirement 1-7 any one via the execution executable instruction Message playback method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Message playback method described in claim 1-7 any one is realized when being executed by processor.
CN201910714708.6A 2019-08-02 2019-08-02 Message playback method and device, electronic equipment, storage medium Pending CN110493461A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910714708.6A CN110493461A (en) 2019-08-02 2019-08-02 Message playback method and device, electronic equipment, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910714708.6A CN110493461A (en) 2019-08-02 2019-08-02 Message playback method and device, electronic equipment, storage medium

Publications (1)

Publication Number Publication Date
CN110493461A true CN110493461A (en) 2019-11-22

Family

ID=68549356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910714708.6A Pending CN110493461A (en) 2019-08-02 2019-08-02 Message playback method and device, electronic equipment, storage medium

Country Status (1)

Country Link
CN (1) CN110493461A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111798829A (en) * 2020-06-30 2020-10-20 中国联合网络通信集团有限公司 Method, system, computer equipment and storage medium for reading text information by voice
CN113206779A (en) * 2021-03-31 2021-08-03 广州朗国电子科技有限公司 Message playing optimization method, terminal and storage device

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024177A (en) * 2012-12-13 2013-04-03 广东欧珀移动通信有限公司 Mobile terminal driving mode operation method and mobile terminal
US20160048827A1 (en) * 2014-08-18 2016-02-18 Doorga Inc. Method, system, and device for enabling micro-proximity location, detection and services
CN105825148A (en) * 2015-01-06 2016-08-03 中兴通讯股份有限公司 Method and device for controlling mobile terminal application in moving
CN106027801A (en) * 2016-07-06 2016-10-12 广东小天才科技有限公司 Communication message processing method and device and mobile device
CN106210323A (en) * 2016-07-13 2016-12-07 广东欧珀移动通信有限公司 A kind of speech playing method and terminal unit
CN106506804A (en) * 2016-09-29 2017-03-15 维沃移动通信有限公司 A kind of based reminding method of notification message and mobile terminal
CN107360320A (en) * 2017-06-30 2017-11-17 维沃移动通信有限公司 A kind of method for controlling mobile terminal and mobile terminal
CN108055406A (en) * 2017-12-27 2018-05-18 广东小天才科技有限公司 Communication message interaction method and mobile terminal
CN108307048A (en) * 2018-01-17 2018-07-20 维沃移动通信有限公司 A kind of message output method and device and mobile terminal
CN109451170A (en) * 2018-12-03 2019-03-08 边智飞 A kind of safety driving system of mobile phone

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024177A (en) * 2012-12-13 2013-04-03 广东欧珀移动通信有限公司 Mobile terminal driving mode operation method and mobile terminal
US20160048827A1 (en) * 2014-08-18 2016-02-18 Doorga Inc. Method, system, and device for enabling micro-proximity location, detection and services
CN105825148A (en) * 2015-01-06 2016-08-03 中兴通讯股份有限公司 Method and device for controlling mobile terminal application in moving
CN106027801A (en) * 2016-07-06 2016-10-12 广东小天才科技有限公司 Communication message processing method and device and mobile device
CN106210323A (en) * 2016-07-13 2016-12-07 广东欧珀移动通信有限公司 A kind of speech playing method and terminal unit
CN106506804A (en) * 2016-09-29 2017-03-15 维沃移动通信有限公司 A kind of based reminding method of notification message and mobile terminal
CN107360320A (en) * 2017-06-30 2017-11-17 维沃移动通信有限公司 A kind of method for controlling mobile terminal and mobile terminal
CN108055406A (en) * 2017-12-27 2018-05-18 广东小天才科技有限公司 Communication message interaction method and mobile terminal
CN108307048A (en) * 2018-01-17 2018-07-20 维沃移动通信有限公司 A kind of message output method and device and mobile terminal
CN109451170A (en) * 2018-12-03 2019-03-08 边智飞 A kind of safety driving system of mobile phone

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111798829A (en) * 2020-06-30 2020-10-20 中国联合网络通信集团有限公司 Method, system, computer equipment and storage medium for reading text information by voice
CN113206779A (en) * 2021-03-31 2021-08-03 广州朗国电子科技有限公司 Message playing optimization method, terminal and storage device

Similar Documents

Publication Publication Date Title
US11670302B2 (en) Voice processing method and electronic device supporting the same
US10115396B2 (en) Content streaming system
US7653547B2 (en) Method for testing a speech server
CN108847214B (en) Voice processing method, client, device, terminal, server and storage medium
KR102489914B1 (en) Electronic Device and method for controlling the electronic device
US11282519B2 (en) Voice interaction method, device and computer readable storage medium
CN108962240A (en) A kind of sound control method and system based on earphone
CN109309751B (en) Voice recording method, electronic device and storage medium
EP3611724A1 (en) Voice response method and device, and smart device
US20100180202A1 (en) User Interfaces for Electronic Devices
MX2008016354A (en) Detecting an answering machine using speech recognition.
CN109376056A (en) Abnormal log analysis method, device, storage medium, mobile terminal and server
KR102535790B1 (en) Methods and apparatus for managing holds
CN110309005A (en) A kind of funcall method, apparatus, terminal device and storage medium
KR20210137118A (en) Systems and methods for context-rich attentional memory networks with global and local encoding for dialogue break detection
CN110493461A (en) Message playback method and device, electronic equipment, storage medium
US11641592B1 (en) Device management using stored network metrics
CN115810356A (en) Voice control method, device, storage medium and electronic equipment
CN109547632B (en) Auxiliary call response method, user terminal device and server
CN109348048B (en) Call message leaving method, terminal and device with storage function
KR20210001082A (en) Electornic device for processing user utterance and method for operating thereof
CN113225624A (en) Time-consuming determination method and device for voice recognition
CN112165627A (en) Information processing method, device, storage medium, terminal and system
CN115171692A (en) Voice interaction method and device
CN115118820A (en) Call processing method and device, computer equipment and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191122

RJ01 Rejection of invention patent application after publication