CN107592414A - A kind of message back method, message method and system - Google Patents
A kind of message back method, message method and system Download PDFInfo
- Publication number
- CN107592414A CN107592414A CN201710776165.1A CN201710776165A CN107592414A CN 107592414 A CN107592414 A CN 107592414A CN 201710776165 A CN201710776165 A CN 201710776165A CN 107592414 A CN107592414 A CN 107592414A
- Authority
- CN
- China
- Prior art keywords
- communication information
- communication
- reply
- application
- content
- 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
Links
Abstract
The embodiment of the present application discloses a kind of message back method, message method and system, in the state of this method is included in the program in front stage operation for the application of non-communicating class, monitors the communication information that communication class application receives;Communication information is parsed by specified interface to obtain parsing content;Parsing content includes sending the application identities of the communication class application of the communication information and sends user's mark corresponding to the user of the communication information;Specified interface is the interface of the communication information received for parsing communication class application pre-set;Obtain and treat reply content corresponding to communication information, input object is built according to treating that reply content, application identities and user identify;Input object is inputted to set reply interface, interface is replied with triggering to be identified according to application identities and user, reply content is treated in transmission, simplifies the operation that the reply communication information under off-duty state or background operation state is applied in communication class, realizes the quickly revert of communication information.
Description
Technical field
The application is related to communication technical field, more particularly to a kind of message back method, message method and system.
Background technology
With the rapid development of communication technology, the mobile device such as smart mobile phone, intelligent watch is in daily life
Increasingly popularize.At present, the mobile device for being Android system, being provided with Android system installed on most of mobile device, can
Referred to as Android device.Wherein, the Android system, it is a kind of freedom based on Linux and the operating system of open source code, leads
It is used in mobile device, such as smart mobile phone, tablet personal computer and intelligent watch.
In order to meet people between friend the needs of communication etc., people can install respectively in Android device
Kind communication class application, for example, wechat, QQ, WhatsApp (full name is WhatsApp Messenger), Facebook
Messenger, ring are chatted (Hangouts), etc..
When the communication class in Android device is using off-duty state or background operation state is in, if receiving communication class
The communication information of application, people need to pull down informing to check message.If desired check the detailed content of the message and return
It is multiple, then the message in informing is clicked on, jumps to specific communication class application or communication class application interface (as shown in Figure 1), then
Edit box is recalled from the application of specific communication class, content and click " transmission " button of reply are inputted in edit box so as to complete
Into message back.
Therefore, the communication information is replied to realize, people need to pull down informing, click on disappearing in informing
Breath, the communication information to be checked is clicked in communication class application corresponding with the communication information is jumped to, in the communication class application
Reply content is inputted in edit box in interface, clicks on " transmission " button.Obviously, apply in off-duty state in communication class or
Under person's background operation state, the operation for replying communication information is more complicated so that the reply of communication information is time-consuming longer.
The content of the invention
The embodiment of the present application provides a kind of message back method and system, applied to the mobile terminal for receiving communication information,
Communication information to solve using prior art replys mode, is applied in communication class and is in off-duty state or running background
Under state, the operation for replying communication information is more complicated so that the problem of reply of communication information is time-consuming longer.
The embodiment of the present application also provides a kind of message method and system, applied to the mobile end for sending communication information
End, the communication information to solve using prior art reply mode, are applied in communication class and be in off-duty state or backstage
Under running status, the operation for replying communication information is more complicated so that the problem of reply of communication information is time-consuming longer.
The embodiment of the present application also provides a kind of mobile terminal, to solve the communication information reply party using prior art
Formula, applied in communication class under off-duty state or background operation state, the operation for replying communication information is more complicated so that
The problem of reply of communication information is time-consuming longer.
In order to solve the above technical problems, what the embodiment of the present application was realized in:
In a first aspect, the embodiment of the present application provides a kind of message back method, methods described includes:
In the state of the program in front stage operation is the application of non-communicating class, monitors the communication that communication class application receives and disappear
Breath;
The communication information listened to by specified interface parsing, to obtain parsing content;The parsing content includes
The application identities for sending the communication class application of the communication information and the user's mark for the user for sending the communication information;It is described
Specified interface is the interface of communication information pre-setting, being received for parsing communication class application;
Obtain and treat reply content corresponding to the communication information, according to it is described treat reply content, the application identities and
The user identifies structure input object;
The input object is inputted into set reply interface, interface is replied according to application identities, described with triggering
Reply acts and user mark, and reply content is treated described in transmission.
Second aspect, the embodiment of the present application provide a kind of message method, and methods described includes:
Obtain the message content of the class to be communicated application transmission of user's input, send the communication class application of the message content
Application identities and send user's mark of user of the message content and the reply of the reply communication information pre-set is moved
Make;The reply action is, for indicating that reply interface performs the action of reply communication information;
The message content of the communication information, the application identities, user mark and reply action are carried out
Coding, obtains the communication information;
Send the communication information.
The third aspect, the embodiment of the present application provide a kind of message transmission system, and the system includes:
Module is monitored, in the state of being the application of non-communicating class in the program in front stage operation, monitoring communication class should
With the communication information of reception;
Parsing module, for the communication information listened to by specified interface parsing, to obtain parsing content;It is described
The application identities of communication class application of the content including sending the communication information are parsed with the user's for sending the communication information
User identifies;The specified interface is the interface of communication information pre-setting, being received for parsing communication class application;
Module is built, reply content is treated corresponding to the communication information for obtaining, reply content, institute is treated according to described
State application identities and the user identifies structure input object;
Sending module, for the input object to be inputted to set reply interface, interface is replied according to triggering
Application identities and the user are identified, and reply content is treated described in transmission.
Fourth aspect, the embodiment of the present application provide a kind of message transmission system, and the system includes:
Acquisition module, the message content of the class to be communicated application transmission for obtaining user's input, send in the message
The user's mark and the reply communication information pre-set of the application identities of the application of appearance and the user of the transmission message content
Reply action;The reply action is, for indicating that reply interface performs the action of reply communication information;
Coding module, for the message content of the communication information, application identities, user's mark and reply action to be carried out
Coding, obtains communication information;
Sending module, for sending the communication information.
5th aspect, the embodiment of the present application provide a kind of mobile terminal, and the mobile terminal includes:
Processor;And
It is arranged to store the memory of computer executable instructions, the executable instruction makes the place when executed
Manage device and perform following operate:
In the state of the program in front stage operation is the application of non-communicating class, monitors the communication that communication class application receives and disappear
Breath;
The communication information listened to by specified interface parsing, to obtain parsing content;The parsing content includes
The application identities for sending the communication class application of the communication information and the user's mark for the user for sending the communication information;It is described
Specified interface is the interface of communication information pre-setting, being received for parsing communication class application;
Obtain and treat reply content corresponding to the communication information, according to it is described treat reply content, the application identities and
The user identifies structure input object;
The input object is inputted into set reply interface, interface is replied according to application identities and described with triggering
User is identified, and reply content is treated described in transmission.
6th aspect, the embodiment of the present application provide a kind of computer-readable recording medium, the computer-readable storage
Media storage one or more program, one or more of programs perform when the mobile terminal for being included multiple application programs
When so that the mobile terminal performs following operate:
In the state of the program in front stage operation is the application of non-communicating class, monitors the communication that communication class application receives and disappear
Breath;
The communication information listened to by specified interface parsing, to obtain parsing content;The parsing content includes
The application identities for sending the communication class application of the communication information and the user's mark for the user for sending the communication information;It is described
Specified interface is the interface of communication information pre-setting, being received for parsing communication class application;
Obtain and treat reply content corresponding to the communication information, according to it is described treat reply content, the application identities and
The user identifies structure input object;
The input object is inputted into set reply interface, interface is replied according to application identities and described with triggering
User is identified, and reply content is treated described in transmission.
Above-mentioned at least one technical scheme that the embodiment of the present application uses can reach following beneficial effect:
The application monitors the communication information of communication class application reception by third-party application APP, and is parsed by stationary interface
The communication information, to obtain sending application identities and the user of the user of transmission communication information that the communication class of communication information is applied
Mark, then obtain and treat reply content corresponding to the communication information, it is defeated to identify structure according to reply content, application identities and user
Enter object, then input object is inputted to set reply interface, and triggered, treat reply content so as to send, user is existed
When replying communication information, it can will treat that reply content is sent by third-party application APP, without starting corresponding to the communication information
Communication class application, simplify the behaviour that the reply communication information under off-duty state or background operation state is applied in communication class
Make, realize the quickly revert of communication information.
Brief description of the drawings
, below will be to embodiment or existing in order to illustrate more clearly of the embodiment of the present application or technical scheme of the prior art
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments described in application, for those of ordinary skill in the art, do not paying the premise of creative labor
Under, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic diagram replied in the prior art in specific communication information window;
Fig. 2 is a kind of flow chart of message back method of the application;
Fig. 3 is that the schematic diagram that communication information is shown in informing is pulled down in the application;
Fig. 4 is the schematic diagram at the reply interface that communication information is replied in the application;
Fig. 5 is a kind of flow chart of message method of the application;
Fig. 6 is a kind of structural representation of message back system of the application;
Fig. 7 is a kind of structural representation of message transmission system of the application;
Fig. 8 is a kind of structural representation of mobile terminal of the application.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation
Example only some embodiments of the present application, rather than whole embodiments.It is common based on the embodiment in the application, this area
The every other embodiment that technical staff is obtained under the premise of creative work is not made, it should all belong to the application protection
Scope.
It is more complicated in order to solve to reply the operation of communication information in the prior art so that the reply of communication information is time-consuming longer
The problem of, a kind of message back method is provided in the embodiment of the present application.The executive agent of this method, can be, but not limited to third party
Using APP, or, it can be, but not limited to mobile phone, tablet personal computer, PC that Android system is provided with Android system
Mobile terminals such as (Personal Computer, PC).
For the ease of description, exemplified by hereafter executive agent in this way is third-party application APP, the implementation to this method
Mode is introduced.It is appreciated that it is a kind of exemplary explanation that the executive agent of this method, which is third-party application APP, and
It should not be construed as the restriction to this method.
The embodiment of the present application provides a kind of message back method, and the indicative flowchart of this method is as shown in Fig. 2 including such as
Lower step:
Step 101, the program in front stage operation be non-communicating class application in the state of, third-party application APP monitor
The communication information that communication class application receives.
Third-party application APP is installed on mobile terminals, and the mobile terminal is provided with Android system.The mobile terminal has
There are screen lock state and non-screen lock state.Third-party application APP can monitor the logical of communication class application reception under non-screen lock state
Believe message, particularly, third-party application APP can communication class be logical using what is received when being applied using non-communicating class with monitoring users
Believe message.Quick-return message is realized for the ease of reducing user's unblock operation, third-party application APP can also monitor screen locking shape
The communication information that communication class application receives under state.
Communication class application mentioned here, can be wechat, QQ, WhatsApp (full name WhatsApp
Messenger), Facebook Messenger, ring are chatted (Hangouts), etc..The communication information, it can include sending communication
The coding information such as the application identities of the communication class application of message and user's mark of user of transmission communication information.Certainly, this is logical
Believe that message can also include the content of communication information and reply the coding informations such as the reply action of communication information.The reply acts
For for indicating that Recurrent Function performs the action of reply communication information, for example, reply action can be to reply trigger action, delete
Except trigger action, ignore trigger action etc..
Step 101 is being performed, before third-party application APP listens the communication information that communication class application receives, can also included:
Obtain the System Privileges for monitoring the communication information that communication class application receives.The application of third-party application APP open communications class
The mode of communication information access right, can be by " setting " interface of the manually opened mobile terminal of user, and choosing third party should
With APP, the Android system authority of unlatching " notice access right ".So, when communication class application receives communication information, third party
Communication class application, which can be listened to, using APP receives the communication information.
Received with good friend B by the communication class application A installed on mobile terminal, good friend A on communication equipment by installing
The communication informations that send of communication class application A, exemplified by the content of the communication information is " hello ":
Message content " hello " is inputted in the communication class application A of good friend A on a communications device call frame, and sends communication
During message content " hello " of message, communication equipment by the content of the communication information, communication class application A mark, good friend A mark
The reply action known and reply the communication information is encoded, and obtains communication information.The communication equipment sends the communication information
To mobile terminal, when the communication class application A on mobile terminal receives communication information, third-party application APP can listen to communication
Class application A receives the communication information.
Step 102, the communication information listened to by specified interface parsing, to obtain parsing content.
The specified interface can be pre-set, the interface of the communication information received for parsing communication class application.Change
Sentence is talked about, and the specified interface can be pre-defined for parsing notification message, to obtain the communication class application of communication information
Application identities and send communication information user corresponding to user mark function.
After step 101 is performed, third-party application APP has listened to the communication information that communication class application receives, and calls
The specified interface parses to the communication information.Understand, third-party application APP performs at least two steps:First, call
The specified interface;Secondly, communication information is parsed by the specified interface.The specific implementation to above-mentioned two step is entered individually below
Row is described in detail:
First, third-party application APP calls the specified interface, and it, which implements step, to be:
Step S01, when third-party application APP listens to the communication information that communication class application receives, triggering readjustment
Function, to cause the call back function by calling the specified interface to parse the communication information to obtain parsing content.Should
Call back function can be function pre-set, for calling specified interface.
The specific implementation program of call back function in this step can include:
public void onNotificationPosted(StatusBarNotificationsbn){};Wherein, return
StatusBarNotification objects in letter of transfer number include all the elements in notification message.
Secondly, communication information is parsed by the specified interface, its specific implementation can be:
Step S02, informing is obtained, travels through the messaging list of informing;
Step S03, the communication information in the messaging list of the informing is chosen, the transmission included in communication information is obtained and leads to
Believe the application identities of the communication class application of message and send user's mark corresponding to the user of communication information.
Specific implementation program in this step can include:
After performing above-mentioned steps, obtained parsing content can include the application identities, the hair that send the application of communication information
Send the reply action that the user of the user of communication information identified and replied communication information.The application identities, which are used to distinguish, sends communication
The communication class application of message, the communication class application can be wechat, QQ, WhatsApp, Facebook Messenger or
Hangouts.User mark refers to unique identifier of the user in communication class application.For example, WeChat ID or QQ number etc..
Certainly, parsing content can also include the attribute information of communication information, the attribute information can including information type,
The reception time of information.The information type can be word, picture, audio, video etc..
In this step, the specified interface can include:For parsing content to be built into the interface of object.Specific implementation
When, the specified interface can be Android Wear API.The Android Wear API are one and temporarily deposit all data
To respond the container of special notification, the container realizes the parsing to communication information, and parsing content is built into object.
Wherein, Android Wear are the intelligent platforms of intelligent watch, and the intelligent platform has following characteristic:
1st, user can carry out personal settings to the dial plate of intelligent watch, add information and the operation of the most frequently used application.
By clicking operation, user can start application of calling a taxi, setting in motion or be contacted with other users;And by slide, use
Family can switch out the content for wanting to browse;
2nd, in user's walking, running or cycling, user tracking frequency, distance, the heat and heart rate of consumption can be helped.
User can also measure weight lifting, push-up and deep-knee-bend with it.If Android Wear equipment can connect mobile network, user
It can also make a phone call, send short messages in motion, playing stream media and using types of applications;
3rd, when receiving communication information, user can deploy communication information and provide a variety of reply modes.Can be according to logical
Believe that message content provides to reply to suggest.What the communication information can be sent by the application of following communication class:
FacebookMessenger, Glide, Messenger, Hangouts, Telegram or Whatsapp.
Based on Android Wear characteristic, the specified interface in the embodiment of the present application can using Android Wear API
To possess Android Wear characteristic.And programming personnel can adopt Android Wear program during programming,
The appropriate workload for reducing programming personnel.
Step 103, obtain and treat reply content corresponding to the communication information, according to it is described treat reply content, it is described should
Structure input object is identified with mark and the user.
When it is implemented, if specified interface is Android Wear API, basis is treated reply content, application identities, returned
Double action work and user identify the input object of structure Recurrent Function, can specifically include:
By the Android Wear API, treat that reply content and the parsing content are built into as reply using described
The false phonetic entry object of the input object of interface.
, can be according to the speech of operator by phonetic entry in this step, computer is identified as the input method of Chinese character (also known as
Acoustic control inputs).Object, which can refer to, fits together the operation relevant with this group of data of one group of data, an entity of formation.And
False phonetic entry object, operator can be referred to shape is fitted together by the data that Chinese character inputs operation relevant with this group of data
Into entity.
Because Android Wear API are properly termed as a kind of function, the function can be by the transmission communication information of parsing
Application application identities and send communication information user user identify structure input object function.In this step, lead to
Reply content will be treated and parsing content is built into the Android Wear API of object by crossing, and will treat reply content and parsing content
False phonetic entry object is built into again.
The application will treat that reply content builds false phonetic entry object, Ke Yichong by using Android Wear API
Divide and utilize the programs of Android Wear API in itself, programming personnel is done few portion again using Android Wear API program
Divide programing work, you can the application identities and transmission communication for realizing the application for treating reply content and the transmission communication information parsed disappear
The user of the user of breath identifies structure input object, avoids program staff and does substantial amounts of programing work.
Before step 103 is performed, application message corresponding with application identities, user corresponding with communication information letter are shown
Breath, the content of communication information and the input frame that reply content is treated for inputting.
Wherein, application message, the content and input frame of user profile communication information are shown, can be by pacifying on mobile device
The application interface of dress is shown.
When it is implemented, as shown in figure 3, continuing to use above-mentioned example, the communication class application A installed on mobile terminal receives communication
After message, specified interface parsing communication information is called, obtains parsing content, i.e., with message card on the interface of mobile terminal
Form display parsing content.For example, the message card can show herein below:Good friend A head portrait, good friend A name, communication
The message content of message, the transmission time of communication information are used for input frame and send button replied message etc..
When user wants to reply the content of communication information, user treats reply content by the input frame input of display, and
Click on send button.The send button can be virtual key, can also be physical button on mobile terminal.
After user clicks on send button, treat reply content in acquisition for mobile terminal input frame, wait to reply according to this in
Appearance, application identities, reply action and user identify the input object of structure Recurrent Function.
When it is implemented, as shown in figure 4, continue to use above-mentioned example, good friend B inputted in input frame treat reply content " I very
It is good ", after clicking on send button.Mobile terminal will treat that reply content is filled into each RemoteInput, by using
PutCharSequence () method returns in Bundle, wherein, contained in notificationWear.bundle using mark
The information such as knowledge, reply action and user's mark.And use
RemoteInputs.addResultsToIntent (inputs, intent, bundle) constructs a false voice
Input object.Finally false phonetic entry object is sent out by PendingIntent.send (context, code, intent)
The good friend A being sent in the communication class application A on communication equipment.
Hereinafter program is implemented for the part of this step:
Certainly, in order to simplify the display format of communication information, when each communication class application on mobile terminal receive it is logical
When believing message, it can be shown according to the correlation of each communication information.For example, can be received according to the application of each communication class
User corresponding to communication information, can also be according to the message content correlation for the communication information that the application of each communication class receives.With
Under so that user shown corresponding to the communication information received according to the application of each communication class as an example:
Before step 103 is performed, the message back method can also include:
Step S1, the communication information received according to each communication class application is integrated by user mark, is formed
Display interface file.
That is, user corresponding to the communication information received according to the application of each communication class identifies, will be answered with each communication class
Application message corresponding to application identities, the content of each communication information and treat that the input frame of reply content is integrated into for inputting
Display interface file.
The display interface file, it can be used for limiting display location and display order of each information etc..
When it is implemented, received with good friend B by the communication class application A and communication class application B installed on mobile terminal,
The communication information that good friend A is sent by the communication class application A and communication class application B that are installed on communication equipment respectively, the communication disappear
The content of breath is exemplified by " hello ":
The third-party application installed on mobile terminal is according to good friend A information, the communication class application that good friend A is used respectively
The communication information that the communication information and communication class application B that A is sent are sent is integrated by good friend A, is integrated into display interface text
Part.That is, third-party application combines the notification message that all types of communication classes that good friend A is sent are applied.
Step S2, show that user profile, application message, the content of communication information and inputting are treated back according to display interface file
The input frame of multiple content.
Because display interface file defines display location and the display order of each information, so, according to display interface
File, when replying event triggering, the display format presented can be to show application message corresponding to the user profile, communication letter
The input frame of reply content is treated in the content of text of breath and input.A kind of communication class is applied receives what user identified by input frame
After reply content, show that user corresponding to user mark has been obtained for replying, then correspond to other communications of user's mark
The communication information of class application is not shown in display interface file.
For example, continuing to use above-mentioned example, the display format of presentation is:Show good friend A, and the communication class application that good friend A is used
Application message, the message contents that send of good friend A, input treat that the input frame of reply content is put together displaying.
The embodiment of the present application will be led to by user profile corresponding to the communication information according to the application reception of each communication class with each
Application message, the content of each communication information and the input frame that reply content is treated for inputting corresponding to the application identities of letter class application
Integrate, integrated in units of user profile so that form can be according to user profile, and corresponding with user profile applies
Information, message content, input treat that the form of the input frame of reply content is shown, simplify display format, are easy to user to same
The view all for the message content that good friend sends, moreover, effectively avoiding what user applied to same good friend from each communication class
Repeating back to for message content should.
Step 104, the input object is inputted to set reply interface, interface is replied according to the application mark with triggering
Know and the user identifies, reply content is treated described in transmission.
The reply interface can be pre-set, the function of the communication information sent for replying communication class application.
The application monitors the communication information of communication class application reception by third-party application APP, and is parsed by stationary interface
The communication information, to obtain sending application identities and the user of the user of transmission communication information that the communication class of communication information is applied
Mark, then obtain and treat reply content corresponding to the communication information, it is defeated to identify structure according to reply content, application identities and user
Enter object, then input object is inputted to set reply interface, and triggered, treat reply content so as to send, user is existed
When replying communication information, it can will treat that reply content is sent by third-party application APP, without starting corresponding to the communication information
Communication class application, simplify the behaviour that the reply communication information under off-duty state or background operation state is applied in communication class
Make, realize the quickly revert of communication information.
As shown in figure 5, the embodiment of the present application provides a kind of message method, this method may include steps of:
The application identities of the application of the message content, transmission communication information of the communication information that step 201, acquisition user input
Identified with the user for the user for sending communication information;
It is of course also possible to obtain the reply action of the reply communication information pre-set;Reply action is, for indicating back
Multiple connection mouth performs the action for replying communication information.
Step 202, by message content, application identities and user mark encoded, obtain communication information.
Step 203, communication information is sent, so that the mobile terminal for receiving communication information parses communication by specified interface and disappeared
Cease, obtain the application identities comprising the application for sending communication information, in the parsing that the user for the user for sending communication information identifies
Hold, and will treat that reply content replys interface with parsing content structure input object input, sent with triggering reply interface and wait to reply
Content;
Wherein, specified interface is pre-defined the interface of the communication information received for parsing the application of different communication class;
Reply interface to pre-set, the function of the communication information sent for replying communication class application.
In this step, the related content such as reply interface, the specified interface specifically refers to the narration in above-described embodiment, this Shen
Please embodiment repeat no more.
The application monitors the communication information of communication class application reception by third-party application APP, and is parsed by stationary interface
The communication information, to obtain sending application identities and the user of the user of transmission communication information that the communication class of communication information is applied
Mark, then obtain and treat reply content corresponding to the communication information, it is defeated to identify structure according to reply content, application identities and user
Enter object, then input object is inputted to set reply interface, and triggered, treat reply content so as to send, user is existed
When replying communication information, it can will treat that reply content is sent by third-party application APP, without starting corresponding to the communication information
Communication class application, simplify the behaviour that the reply communication information under off-duty state or background operation state is applied in communication class
Make, realize the quickly revert of communication information.
More than, the message back method of the embodiment of the present application is described in detail with reference to Fig. 2 to Fig. 4, below, with reference to Fig. 6, in detail
Describe the message back system of bright the embodiment of the present application in detail.
Fig. 6 shows a kind of structural representation for message back system that the embodiment of the present application provides, as shown in fig. 6, should
Message back system is based on the inventive concept same with a kind of message back method that the embodiment of the application one provides, the system bag
Include:
Module 601 is monitored, in the state of being the application of non-communicating class in the program in front stage operation, monitors communication class
Using the communication information of reception;
Parsing module 602, for the communication information listened to by specified interface parsing, to obtain parsing content;Parsing
Content includes sending the application identities of the communication class application of communication information and sends user's mark of the user of communication information;Specify
Interface is the interface of communication information pre-setting, being received for parsing communication class application;
Build module 603, reply content treated corresponding to communication information for obtaining, according to treat reply content, using mark
Know and user identifies structure input object;
Sending module 604, for input object to be inputted to set reply interface, interface is replied with triggering and marked according to application
Know, reply content is treated in reply action and user's mark, transmission;It is to be set in advance in native operating sys-tern, use to reply interface
In the function for replying the communication information.
Parsing module 602 includes:
Trigger element, for when listening to the communication information that communication class application receives, call back function being triggered, to cause back
Letter of transfer number is by calling specified interface to parse communication information to obtain parsing content;Call back function be pre-set, for adjusting
With the function of specified interface.
Message back system can also include:
Acquisition module, the System Privileges for the communication information that communication class application receives are monitored for obtaining.
The message back system can also include:
First display module 605, for showing application message corresponding with application identities, user corresponding with communication information
Information, the content of communication information and the input frame that reply content is treated for inputting.
The message back system can also include:
Module 606 is integrated, the communication information for being received according to each communication class application is identified by the user to be carried out
Integrate, form display interface file;
Second display module 607, for showing the user profile, the application message, institute according to display interface file
State communication information content and the input described in treat the input frame of reply content.
Specified interface includes:For parsing content to be built into the interface of object;Specified interface is Android Wear
API;
Structure module 603 includes:
Construction unit, for by the Android Wear API, reply content and the parsing content to be treated by described
It is built into the false phonetic entry object as the input object for replying interface.
Monitoring module 601 includes:
Monitoring unit, under screen lock state, monitoring the communication information that communication class application receives.
The application monitors the communication information of communication class application reception by third-party application APP, and is parsed by stationary interface
The communication information, to obtain sending application identities and the user of the user of transmission communication information that the communication class of communication information is applied
Mark, then obtain and treat reply content corresponding to the communication information, it is defeated to identify structure according to reply content, application identities and user
Enter object, then input object is inputted to set reply interface, and triggered, treat reply content so as to send, user is existed
When replying communication information, it can will treat that reply content is sent by third-party application APP, without starting corresponding to the communication information
Communication class application, simplify the behaviour that the reply communication information under off-duty state or background operation state is applied in communication class
Make, realize the quickly revert of communication information.
More than, the message method of the embodiment of the present application is described in detail with reference to Fig. 5, below, with reference to Fig. 7, specifically
The message transmission system of bright the embodiment of the present application.
Fig. 7 shows a kind of structural representation for message transmission system that the embodiment of the present application provides, as shown in fig. 7, should
Message transmission system is based on a kind of same inventive concept of the message method provided with the embodiment of the application one, the system bag
Include:
Acquisition module 701, the application of the message content, transmission communication information of the communication information for obtaining user's input
User's mark of the user of application identities and transmission communication information;It is of course also possible to for obtaining the reply pre-set communication
The reply action of message;Reply action is, for indicating that reply interface performs the action of reply communication information.
Coding module 702, for content, application identities, the user mark of communication information and reply action to be encoded,
Obtain communication information;
Sending module 703, for sending communication information, so that the mobile terminal for receiving communication information passes through specified interface solution
Communication information is analysed, application identities, the user's mark for the user for sending communication information for obtaining the application comprising transmission communication information
Parsing content, and will treat that reply content inputs set reply interface with parsing content structure input object, be replied with triggering
Interface sends and treats reply content;
Wherein, specified interface is pre-defined the interface of the communication information received for parsing the application of different communication class;
Reply interface to pre-set, the function of the communication information sent for replying communication class application.
The application monitors the communication information of communication class application reception by third-party application APP, and is parsed by stationary interface
The communication information, to obtain sending application identities and the user of the user of transmission communication information that the communication class of communication information is applied
Mark, then obtain and treat reply content corresponding to the communication information, it is defeated to identify structure according to reply content, application identities and user
Enter object, then input object is inputted to set reply interface, and triggered, treat reply content so as to send, user is existed
When replying communication information, it can will treat that reply content is sent by third-party application APP, without starting corresponding to the communication information
Communication class application, simplify the behaviour that the reply communication information under off-duty state or background operation state is applied in communication class
Make, realize the quickly revert of communication information.
Fig. 8 is the structural representation of one embodiment mobile terminal of the application.Fig. 8 is refer to, in hardware view, the shifting
Dynamic terminal includes processor, alternatively also includes internal bus, network interface, memory.Wherein, memory may include interior
Deposit, such as high-speed random access memory (Random-Access Memory, RAM), it is also possible to also including non-volatile memories
Device (non-volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, the message back system is also possible that
Hardware required for other business.
Processor, network interface and memory can be connected with each other by internal bus, and the internal bus can be ISA
(Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral
Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard
Architecture, EISA) bus etc..The bus can be divided into address bus, data/address bus, control always
Line etc..For ease of representing, only represented in Fig. 8 with a four-headed arrow, it is not intended that an only bus or a type of
Bus.
Memory, for depositing program.Specifically, program can include program code, and described program code includes calculating
Machine operational order.Memory can include internal memory and nonvolatile memory, and provide instruction and data to processor.
Processor read from nonvolatile memory corresponding to computer program into internal memory then run, in logical layer
The batch processing device using big data is formed on face.Processor, performs the program deposited of memory, and specifically for perform with
Lower operation:
In the state of the program in front stage operation is the application of non-communicating class, monitors the communication that communication class application receives and disappear
Breath;
The communication information listened to by specified interface parsing, to obtain parsing content;Parsing content includes sending communication
The application identities of the communication class application of message and user's mark of the user of transmission communication information;Specified interface is to pre-set
, for parse communication class application receive communication information interface;
Obtain and treat reply content corresponding to communication information, built according to treating that reply content, application identities and user identify
Input object;
Input object is inputted to set reply interface, replying interface with triggering acts and use according to application identities, reply
Family is identified, and reply content is treated in transmission;Reply interface be set in advance in it is in native operating sys-tern, for replying the communication information
Function.
The method for replying message system execution disclosed in the above-mentioned embodiment illustrated in fig. 2 such as the application can apply to processor
In, or realized by processor.Processor is probably a kind of IC chip, has the disposal ability of signal.Realizing
Cheng Zhong, each step of the above method can be complete by the integrated logic circuit of the hardware in processor or the instruction of software form
Into.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU),
Network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal
Processor, DSP), it is application specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing
Field programmable gate array (Field-Programmable Gate Array, FPGA) or other PLDs, divide
Vertical door or transistor logic, discrete hardware components.It can realize or perform and be in the embodiment of the present application disclosed each
Method, step and logic diagram.General processor can be microprocessor or the processor can also be any conventional place
Manage device etc..The step of method with reference to disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and perform
Into, or combined with the hardware in decoding processor and software module and perform completion.Software module can be located at random access memory,
This area such as flash memory, read-only storage, programmable read only memory or electrically erasable programmable memory, register maturation
In storage medium.The storage medium is located at memory, and processor reads the information in memory, and above-mentioned side is completed with reference to its hardware
The step of method.
The mobile terminal can also carry out the method replied message in Fig. 2, and realize the system that replies message in implementation shown in Fig. 2
The function of example, the embodiment of the present application will not be repeated here.
The embodiment of the present application also proposed a kind of computer-readable recording medium, the computer-readable recording medium storage one
Individual or multiple programs, one or more programs include instruction, and the instruction is held when the electronic equipment for being included multiple application programs
During row, the electronic equipment can be made to perform message back method in embodiment illustrated in fig. 4, and specifically for performing:
In the state of the program in front stage operation is the application of non-communicating class, monitors the communication that communication class application receives and disappear
Breath;
The communication information listened to by specified interface parsing, to obtain parsing content;Parsing content includes sending communication
The application identities of the communication class application of message and user's mark of the user of transmission communication information;Specified interface is to pre-set
, for parse communication class application receive communication information interface;
Obtain and treat reply content corresponding to communication information, built according to treating that reply content, application identities and user identify
Input object;
Input object is inputted to set reply interface, reply interface with triggering identifies according to application identities and user, hair
Send and treat reply content;It is to be set in advance in function in native operating sys-tern, for replying the communication information to reply interface.
Each embodiment in this specification is described by the way of progressive, identical similar portion between each embodiment
Divide mutually referring to what each embodiment stressed is the difference with other embodiment.It is real especially for system
For applying example, because it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
Embodiments herein is the foregoing is only, is not limited to the application.For those skilled in the art
For, the application can have various modifications and variations.All any modifications made within spirit herein and principle, it is equal
Replace, improve etc., it should be included within the scope of claims hereof.
Claims (14)
- A kind of 1. message back method, it is characterised in that including:In the state of the program in front stage operation is the application of non-communicating class, the communication information that communication class application receives is monitored;The communication information listened to by specified interface parsing, to obtain parsing content;The parsing content includes sending The application identities of the communication class application of the communication information identify with user corresponding to the user of the communication information is sent;Obtain and treat reply content corresponding to the communication information, reply content, the application identities and described are treated according to described User identifies structure input object;The input object is inputted to set reply interface, interface is replied according to the application identities and the user with triggering Identify, reply content is treated described in transmission.
- 2. according to the method for claim 1, it is characterised in that the communication listened to by specified interface parsing Message, to obtain parsing content, specifically include:When listening to the communication information that communication class application receives, call back function is triggered, to cause the call back function to lead to Cross and call the specified interface to parse the communication information to obtain parsing content.
- 3. according to the method for claim 1, it is characterised in that before the communication information that communication class application receives is monitored, Also include:Obtain the System Privileges for monitoring the communication information that communication class application receives.
- 4. according to the method for claim 1, it is characterised in that it is described obtain corresponding to the communication information wait to reply in Before appearance, in addition to:Display application message corresponding with the application identities, user profile corresponding with the communication information, the communication disappear The content of breath and for inputting the input frame for treating reply content.
- 5. according to the method for claim 1, it is characterised in that methods described also includes:Integrated according to the communication information that each communication class application receives by user mark, form display interface text Part;The user profile, the application message, the content of the communication information and described defeated are shown according to display interface file Enter the input frame for treating reply content.
- 6. according to the method for claim 1, it is characterised in that the specified interface is Android Wear API;Treat that reply content, the application identities and the user identify the input object of structure Recurrent Function described in the basis, Specifically include:By the Android Wear API, treat that reply content and the parsing content are built into as reply interface using described Input object false phonetic entry object.
- 7. according to the method for claim 1, it is characterised in that applied in the program in front stage operation for non-communicating class Under state, the communication information that communication class application receives is monitored, is specifically included:Under screen lock state, the communication information that communication class application receives is monitored.
- A kind of 8. message method, it is characterised in that including:Obtain answering for the communication class application of message content, the transmission message content that the class to be communicated application that user inputs is sent Moved with the reply for identifying and sending the reply communication information that user corresponding to the user of the message content identifies and pre-set Make;The reply action is, for indicating that reply interface performs the action of reply communication information;The message content, the application identities and the user mark and reply action are encoded, obtained described Communication information;Send the communication information.
- A kind of 9. message back system, it is characterised in that including:Module is monitored, in the state of being the application of non-communicating class in the program in front stage operation, communication class application is monitored and connects The communication information of receipts;Parsing module, for the communication information listened to by specified interface parsing, to obtain parsing content;The parsing Content includes sending the application identities of the communication class application of the communication information and sent corresponding to the user of the communication information User identifies;Build module, reply content treated corresponding to the communication information for obtaining, according to it is described treat reply content, it is described should Structure input object is identified with mark and the user;Sending module, for the input object to be inputted to set reply interface, interface is replied according to the application with triggering Mark and the user are identified, and reply content is treated described in transmission.
- 10. system according to claim 9, it is characterised in that the parsing module includes:Trigger element, for when listening to the communication information that communication class application receives, call back function being triggered, to cause Call back function is stated by calling the specified interface to parse the communication information to obtain parsing content.
- 11. system according to claim 9, it is characterised in that the system also includes:Module is integrated, the communication information for being received according to each communication class application is integrated by user mark, shape Into display interface file;Second display module, for showing that the user profile, the application message, the communication disappear according to display interface file The input frame of reply content is treated described in the content of breath and the input.
- 12. system according to claim 9, it is characterised in that the specified interface is Android Wear API;The structure module includes:Construction unit, for by the Android Wear API, reply content and the parsing content structure to be treated by described Into the false phonetic entry object as the input object for replying interface.
- 13. system according to claim 9, it is characterised in that the monitoring module includes:Monitoring unit, the communication information received under screen lock state, monitoring communication class application.
- A kind of 14. message transmission system, it is characterised in that including:Acquisition module, the message content of the class to be communicated application transmission for obtaining user's input, send the message content The application identities of communication class application, send user's mark corresponding to the user of the message content and the reply communication pre-set The reply action of message;The reply action is, for indicating that reply interface performs the action of reply communication information;Coding module, for the message content of the communication information, application identities, user's mark and reply action to be compiled Code, obtains communication information;Sending module, for sending the communication information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710776165.1A CN107592414A (en) | 2017-08-31 | 2017-08-31 | A kind of message back method, message method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710776165.1A CN107592414A (en) | 2017-08-31 | 2017-08-31 | A kind of message back method, message method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107592414A true CN107592414A (en) | 2018-01-16 |
Family
ID=61050163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710776165.1A Pending CN107592414A (en) | 2017-08-31 | 2017-08-31 | A kind of message back method, message method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107592414A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109981900A (en) * | 2019-03-21 | 2019-07-05 | 维沃移动通信有限公司 | Notification message processing method, mobile terminal and computer readable storage medium |
CN112422405A (en) * | 2020-10-22 | 2021-02-26 | 腾讯科技(深圳)有限公司 | Message interaction method and device and electronic equipment |
CN112817676A (en) * | 2021-01-22 | 2021-05-18 | 维沃移动通信(杭州)有限公司 | Information processing method and electronic device |
CN114363282A (en) * | 2020-09-27 | 2022-04-15 | 维沃移动通信有限公司 | Message processing method and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105306662A (en) * | 2014-06-12 | 2016-02-03 | 乐蛙科技(上海)有限公司 | Information integration method and system for communication terminal |
CN105468356A (en) * | 2015-11-16 | 2016-04-06 | 北京金山安全软件有限公司 | Notification message control method and device |
CN106325682A (en) * | 2016-09-13 | 2017-01-11 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for replying messages |
CN106484217A (en) * | 2015-08-25 | 2017-03-08 | 阿里巴巴集团控股有限公司 | Message back method and apparatus, interface display method |
-
2017
- 2017-08-31 CN CN201710776165.1A patent/CN107592414A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105306662A (en) * | 2014-06-12 | 2016-02-03 | 乐蛙科技(上海)有限公司 | Information integration method and system for communication terminal |
CN106484217A (en) * | 2015-08-25 | 2017-03-08 | 阿里巴巴集团控股有限公司 | Message back method and apparatus, interface display method |
CN105468356A (en) * | 2015-11-16 | 2016-04-06 | 北京金山安全软件有限公司 | Notification message control method and device |
CN106325682A (en) * | 2016-09-13 | 2017-01-11 | 宇龙计算机通信科技(深圳)有限公司 | Method and system for replying messages |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109981900A (en) * | 2019-03-21 | 2019-07-05 | 维沃移动通信有限公司 | Notification message processing method, mobile terminal and computer readable storage medium |
CN114363282A (en) * | 2020-09-27 | 2022-04-15 | 维沃移动通信有限公司 | Message processing method and electronic equipment |
CN112422405A (en) * | 2020-10-22 | 2021-02-26 | 腾讯科技(深圳)有限公司 | Message interaction method and device and electronic equipment |
CN112817676A (en) * | 2021-01-22 | 2021-05-18 | 维沃移动通信(杭州)有限公司 | Information processing method and electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104965580B (en) | The methods of exhibiting and device of unread message | |
CN107592414A (en) | A kind of message back method, message method and system | |
CN104992096B (en) | A kind of data guard method and mobile terminal | |
CN104639423B (en) | Information interaction method, information interaction device and terminals | |
CN106843897A (en) | A kind of method and apparatus for intercepting game picture | |
CN113438355B (en) | Communication method, device, equipment and storage medium based on cloud mobile phone | |
CN103442138A (en) | Voice control method, device and terminal | |
CN105898085B (en) | Harass recognition methods and the device of communications account | |
CN108055404B (en) | Reminder announced method, apparatus, terminal and storage medium | |
CN107864297A (en) | Group's adding method, device, terminal and storage medium | |
CN107682752A (en) | Method, apparatus, system, terminal device and the storage medium that video pictures are shown | |
CN107957913A (en) | Associate management-control method, device, storage medium and the mobile terminal started | |
CN107613091A (en) | A kind of method and terminal for establishing communication | |
CN107277244A (en) | Screenshot processing method and device | |
CN108605226A (en) | A kind of method of call reminding, terminal device and graphic user interface | |
CN106302111A (en) | A kind of information processing method, terminal and server | |
CN107025143A (en) | Notifier processes method, device and the communication terminal of a kind of application message | |
CN106953987A (en) | A kind of call processing method and device and mobile terminal | |
CN110022399A (en) | Message display method, device, user terminal and readable storage medium storing program for executing | |
CN107395494A (en) | A kind of information cuing method, terminal and computer-readable recording medium | |
CN108986187A (en) | A kind of implementation method, device, storage medium and the android terminal of general animation | |
CN107819937A (en) | A kind of memo information based reminding method and device, terminal and readable storage medium storing program for executing | |
CN107018557A (en) | A kind of terminal control method and terminal | |
CN110912801B (en) | Method, system and terminal device for detecting electronic red packet | |
CN105451233B (en) | A kind of anti-method monitored, system and mobile terminal |
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: 20180116 |
|
RJ01 | Rejection of invention patent application after publication |