The content of the invention
The present invention provides a kind of message treatment method, including:
The first terminal receives message, sends the message to intermediate treatment facility;
The intermediate treatment facility receives the message that the first terminal obtains;
The intermediate treatment facility judges whether the message meets default forwarding condition;
The message is forwarded to second by the intermediate treatment facility when the message meets the default forwarding condition
Terminal, to handle the message.
In one embodiment, the intermediate treatment facility judges whether the message meets default forwarding condition, including:
Obtain the attribute information of the message;
According to the attribute information, judge whether the message meets default forwarding condition, wherein, the attribute information bag
Include at least one of following:The time of the first terminal acquisition message, the contact method of the message, the message are directed to
Equipment, the keyword in the message.
In one embodiment, it is described according to the attribute information, judge whether the message meets default forwarding condition,
Including:
Judge whether the contact method of the message matches with default permission contact list;And/or
Whether the number for judging presetting digit capacity in the contact method of the message is preset number;And/or
Whether judge the time of the first terminal acquisition message allows to contact in the period positioned at default;And/or
Judge whether the equipment that the message is directed to is the second terminal corresponding to the first terminal.
In one embodiment, methods described also includes:
The intermediate treatment facility intercepts the message when the message does not meet the default forwarding condition;
The intermediate treatment facility sends to the second terminal and intercepts notice.
In one embodiment, the intermediate treatment facility is when the message meets the default forwarding condition, by institute
State message and be forwarded to second terminal, including:
When the message meets the default forwarding condition, it is determined that corresponding with the first terminal described second is whole
End;
When the second terminal is logged in receiving the account of the message, the message is forwarded to described second eventually
End, wherein, the account has the maximum synchronous number that logs in limit.
In one embodiment, the message includes at least one of following:
Short message, instant chat information, call request.
In one embodiment, it is described that the message is forwarded to second when the message includes the call request
Terminal, to handle the message, including:
The call request is forwarded to the second terminal, so that the user of the second terminal determines whether to respond institute
State call request;
When receiving the refusal respond notice that the second terminal is sent, refusal respond notice is sent to described
First terminal, so that the first terminal refuses the call request;
When receiving that the second terminal sends when allowing response to notify, response notice is allowed to send to described by described
First terminal so that the first terminal responds the call request, and forward the first terminal and the second terminal it
Between voice call.
In one embodiment, when the message includes the call request and the second terminal includes multiple terminals
When, it is described that the message is forwarded to second terminal, to handle the message, including:
The message is forwarded to each terminal in the multiple terminal, so that each terminal sends calling to the user
Prompting, and when any terminal during the user is by the multiple terminal responds or refuses the call request, described in control
Other-end stops sending the call prompt in multiple terminals, wherein, the other-end is removes institute in the multiple terminal
State the terminal outside any terminal.
In one embodiment, methods described also includes:
The intermediate treatment facility changes the default forwarding condition according to the change order received;
The configuration order that the intermediate treatment facility receives in basis, processing authority of the user to the message is configured,
So that the user is handled the message based on its processing authority.
In one embodiment, short haul connection mode phase is passed through between the intermediate treatment facility and the first terminal
Connection;
It is connected between the intermediate treatment facility and the second terminal by network.
In one embodiment, methods described also includes:
The present invention also provides a kind of message handling system, including:
The first terminal, for receiving message, send the message to intermediate treatment facility;
The intermediate treatment facility, it is connected with the first terminal, wherein,
The intermediate treatment facility is used for:
Receive the message that the first terminal obtains;
Judge whether the message meets default forwarding condition;
When the message meets the default forwarding condition, the message is forwarded to second terminal, to disappear to described
Breath is handled.
In one embodiment, the intermediate treatment facility is additionally operable to:
Obtain the attribute information of the message;
According to the attribute information, judge whether the message meets default forwarding condition, wherein, the attribute information bag
Include at least one of following:The time of the first terminal acquisition message, the contact method of the message, the message are directed to
Equipment, the keyword in the message.
In one embodiment, the intermediate treatment facility is additionally operable to:
Judge whether the contact method of the message matches with default permission contact list;And/or
Whether the number for judging presetting digit capacity in the contact method of the message is preset number;And/or
Whether judge the time of the first terminal acquisition message allows to contact in the period positioned at default;And/or
Judge whether the equipment that the message is directed to is the second terminal corresponding to the first terminal.
In one embodiment, the intermediate treatment facility is additionally operable to:
When the message does not meet the default forwarding condition, the message is intercepted;
Sent to the second terminal and intercept notice.
In one embodiment, the intermediate treatment facility is additionally operable to:
When the message meets the default forwarding condition, it is determined that corresponding with the first terminal described second is whole
End;
When the second terminal is logged in receiving the account of the message, the message is forwarded to described second eventually
End, wherein, the account has the maximum synchronous number that logs in limit.
In one embodiment, the message includes at least one of following:
Short message, instant chat information, call request.
In one embodiment, the intermediate treatment facility is additionally operable to:
When the message includes the call request, the call request is forwarded to the second terminal, so that institute
The user for stating second terminal determines whether to respond the call request;
When receiving the refusal respond notice that the second terminal is sent, refusal respond notice is sent to described
First terminal, so that the first terminal refuses the call request;
When receiving that the second terminal sends when allowing response to notify, response notice is allowed to send to described by described
First terminal so that the first terminal responds the call request, and forward the first terminal and the second terminal it
Between voice call.
In one embodiment, the intermediate treatment facility is additionally operable to:
When the message includes the call request and the second terminal includes multiple terminals, the message is forwarded
To each terminal in the multiple terminal, so that each terminal issues the user with call prompt, and pass through in the user described
When any terminal responds or refuses the call request in multiple terminals, other-end in the multiple terminal is controlled to stop sending
The call prompt, wherein, the other-end is the terminal in addition to any terminal in the multiple terminal.
In one embodiment, the intermediate treatment facility is additionally operable to:
According to the change order received, the default forwarding condition is changed;
According to the configuration order received, processing authority of the user to the message is configured, so that the user is based on
Its processing authority is handled the message.
In one embodiment, short haul connection mode phase is passed through between the intermediate treatment facility and the first terminal
Connection;
It is connected between the intermediate treatment facility and the second terminal by network.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Intermediate treatment facility can determine whether message meets default forwarding bar after the message of first terminal acquisition is received
Part, and then when message meets default forwarding condition, second terminal is forwarded the messages to, to handle message, so that
User can by message handling system between first terminal, intermediate treatment facility and second terminal flexibly, conveniently realize with
Communication between other users.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write
Specifically noted structure is realized and obtained in book, claims and accompanying drawing.
Below by drawings and examples, technical scheme is described in further detail.
Embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that described herein preferred real
Apply example to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
In order to solve the above-mentioned technical problem, the embodiment of the present disclosure provides a kind of message treatment method, and this method is applied to
Message handling system, the message handling system include first terminal, second terminal and intermediate treatment facility, and the intermediate treatment is set
Standby can be server, and first terminal and second terminal can be mobile phones etc., as shown in figure 1, this method includes:Step S101 is extremely
Step S104, wherein:
In step S101, first terminal receives message, sends a message to intermediate treatment facility;
In step s 102, intermediate treatment facility receives the message that first terminal obtains;
In step s 103, intermediate treatment facility judges whether message meets default forwarding condition;
In step S104, intermediate treatment facility forwards the messages to second eventually when message meets default forwarding condition
End, to handle message.
Intermediate treatment facility can determine whether message meets default forwarding bar after the message of first terminal acquisition is received
Part, and then when message meets default forwarding condition, second terminal is forwarded the messages to, to handle message, so that
User can by message handling system between first terminal, intermediate treatment facility and second terminal flexibly, conveniently realize with
Communication between other users.
In addition, first terminal, second terminal, intermediate treatment facility are the terminal of recipient or sender side, and this
A little terminal devices not necessarily all can user own, it may be possible to the terminal of the people in close relations such as its friend, family members, thus, use
Family can neatly use multiple terminals by the present invention, freely build message handling system, and due to this Message Processing system
Each terminal does not have excessive requirement in system, thus, there is inexpensive characteristic, and versatility is preferable, also more popular.
As shown in Fig. 2 in one embodiment, intermediate treatment facility judges whether message meets default forwarding condition, bag
Include:
In step s 201, the attribute information of message is obtained;
In step S202, according to attribute information, judge whether message meets default forwarding condition, wherein, attribute information
Including at least one of following:First terminal is obtained in the time of message, the equipment that the contact method of message, message are directed to, message
Keyword.
When intermediate treatment facility judges whether the message meets default forwarding condition, the attribute information of the message can be obtained,
And then according to attribute information, judge whether message meets default forwarding condition, so as to avoid forwarding it to be unwilling to receive to user
Message, and then avoid bothering user;In addition, it can be increased at the message by increasing the decision logic in message handling system
Reason system it is intelligent.
In one embodiment, according to attribute information, judge whether message meets default forwarding condition, including:
Judge whether the contact method of message matches with default permission contact list;And/or
The contact method of the message can be the contact method of sender or the contact method of recipient, such as cell-phone number
The account etc. of code, immediate communication tool, and above-mentioned default permission contact list can configured in advance.
Whether the number for judging presetting digit capacity in the contact method of message is preset number;And/or
Presetting digit capacity can be some positions in the contact method, the front three of such as contact method, middle three.
Whether judge the time of first terminal acquisition message allows to contact in the period positioned at default;And/or
Judge whether the equipment that message is directed to is second terminal corresponding to first terminal.
When the message contact method with it is default allow contact list to match, presetting digit capacity in the contact method of message
Number be preset number, first terminal obtain time of message positioned at it is default allow to contact in the period, the equipment that message is directed to
When being set up at least one in second terminal corresponding to first terminal, you can determine that the message meets default forwarding condition, and
The specific needs of above-mentioned condition set up several simultaneously freely to be configured, and automatic fitration harassing and wrecking etc. so can be achieved and do not meet forwarding condition
Message, to avoid disturbing user, for example, after so configured, may be such that user only can be to specified number call electricity
Words/transmission short message, user only can call/send short message within the specific period, and user can only pass through
Short message is called/sent to the outlet first terminal or second terminal specified, and incoming call/short message that a certain terminal receives will
Which terminal be forwarded to.
As shown in figure 3, in one embodiment, this method includes:
In step S301, intermediate treatment facility intercepts message when message does not meet default forwarding condition;
In step s 302, intermediate treatment facility sends to second terminal and intercepts notice.
Intermediate treatment facility can intercept the message automatically when message does not meet default forwarding condition, to avoid interference from using.
In one embodiment, intermediate treatment facility forwards the messages to second when message meets default forwarding condition
Terminal, including:
When message meets default forwarding condition, it is determined that second terminal corresponding with first terminal;
When second terminal is logged in receiving the account of message, second terminal is forwarded the messages to, wherein, account has maximum
It is synchronous to log in number limitation.
Due to first terminal or second terminal can include multiple different terminals respectively and different first terminals and the
Two terminals can have different corresponding relations, thus, when the message meets default forwarding condition, it may be determined that receive the message
Second terminal corresponding to first terminal, so when the second terminal is logged in receiving the account of the message should i.e. in second terminal
When account is online, message can be automatically forwarded to second terminal, so that user should by the account processing logged in second terminal
Message.
Secondly, in order to avoid an account logs in too many terminal simultaneously, each account has maximum synchronous login number limit
System, can be 3 as the maximum synchronously logs in number.
Furthermore it is also possible to the local address book for whether allowing softward interview second terminal corresponding to account is freely set, such as
Fruit allows, then will be shown present in address list in the message interface (as called interface, log interface) of the software number
The contact name of code.
And the address list of second terminal local can also be stored in the database of intermediate treatment facility, and roam into each
The terminal of the account is logged in, and the native contact book of second terminal and the address list of service end are synchronised.
In one embodiment, message includes at least one of following:
Short message, instant chat information, call request.
The message can be the one or more such as short message, instant chat information, call request, i.e. user can pass through the message
Processing system is received and dispatched short breath, instant chat message, called.
As shown in figure 4, in one embodiment, when message includes call request, second terminal is forwarded the messages to, with
Message is handled, including:
In step S401, call request is forwarded to second terminal, so that the user of second terminal determines whether to respond
Call request;
In step S402, when receiving the refusal respond notice of second terminal transmission, refusal respond is notified to send
To first terminal, so that first terminal refuses call request;
In step S403, when receiving when allowing response to notify of second terminal transmission, response notice will be allowed to send
To first terminal, so that first terminal responds call request, and the voice call between first terminal and second terminal is forwarded.
By the way that call request is forwarded into second terminal, the user of second terminal can be made to determine whether that response calling please
Ask, and then when receiving the refusal respond notice of second terminal transmission, refusal respond notice is sent to first terminal, so that
First terminal refuses call request, when receiving when allowing response to notify of second terminal transmission, response notice will be allowed to send
To first terminal, so that first terminal responds call request, and the voice call between first terminal and second terminal is forwarded, from
And by message handling system between first terminal, intermediate treatment facility and second terminal flexibly, easily with other users
Conversed.
In one embodiment, when message includes call request and second terminal includes multiple terminals, message is forwarded
To second terminal, to handle message, including:
Each terminal in multiple terminals is forwarded the messages to, so that each terminal issues the user with call prompt, and is led in user
When crossing in multiple terminals any terminal response or refusal call request, other-end is controlled in multiple terminals to stop sending calling and carry
Show, wherein, other-end is the terminal in addition to any terminal in multiple terminals.
When message includes call request and second terminal includes multiple terminals, the message synchronization can be forwarded to each end
End, so each terminal can issue the user with call prompt, and when user is responded or refused by any terminal in multiple terminals
During the exhausted call request, the controllable other-end of intermediate treatment facility stops sending the call prompt, is used in this way, not only facilitating
Family can avoid other-end after user is handled the call request from continuing to send again using the processing call request of each free terminal
Call prompt and bother user.
Further, since user can handle the call request by any terminal, thus, pass through message handling system user
Freely, neatly convenient communication can be carried out using multiple terminals.
In one embodiment, method also includes:
Intermediate treatment facility changes default forwarding condition according to the change order received;
Intermediate treatment facility configures processing authority of the user to message, so that user according to the configuration order received
Message is handled based on its processing authority.
Intermediate treatment facility can freely change default forwarding condition in the change order received according to change order,
And according to the configuration order received, processing authority of the user to message can be configured according to configuration order, so that user's base
Message is handled in its processing authority, in this way, the message process mode of the message handling system can be enriched.
For example, processing authority can have it is at least one of following:Send short message, delete short message, obtain short message inbox list,
Newly-increased contact person, delete contact person, obtain contacts list, meet specified conditions (such as receive particular number send it is short
Letter etc.) when ask user provide Callback URL (Uniform Resource Locator, URL).
In one embodiment, it is connected between intermediate treatment facility and first terminal by short haul connection mode;
It is connected between intermediate treatment facility and second terminal by network.
Can be connected (such as Bluetooth communication, infrared between intermediate treatment facility and first terminal by short haul connection mode
Communication etc.) and can be connected between intermediate treatment facility and second terminal by network, in this way, can further reduce at the message
The cost of reason system.
It will be below server by intermediate treatment facility, in a manner of short haul connection be Bluetooth communication, first terminal and second
Terminal is respectively to describe technical scheme in detail exemplified by mobile phone and other-end:
When the mobile phone (lower abbreviation " mobile phone ") exported as gateway is connected to incoming call:
1. mobile phone by bluetooth HSP (HeadsetPro-file) agreements give server send request, notification server this
Situation, and the telephone number of MPTY.
After 2. server receives above-mentioned request, the strategy (i.e. default forwarding condition) of backstage configuration and online end can be retrieved
List (terminal for being logged in certain or some accounts) is held, and the event for receiving incoming call is pushed to and is met the requirements and online
Terminal.
After 2.1 above-mentioned terminals receive request, meeting jingle bell reminds user to have phone.User can select to answer or refuse.
2.1.1 if user's selection is answered, server can pass through this incoming call of bluetooth HSP agreement request mobile phones response.Response
Afterwards, the voice of other side will be sent to server by mobile phone by bluetooth HFP agreements, and server can be forwarded it to by network
The terminal answered, finally played back from loudspeaker/receiver/earphone of terminal device etc..Terminal can be gathered by microphone simultaneously
Voice is simultaneously sent to server by network, and server can send it to mobile phone by bluetooth HFP agreements.So user
Conversed with caller.
2.1.2 if user selects refusal, server can refuse this incoming call by bluetooth HSP agreement request mobile phones.
2.1.3 if multiple satisfactory terminals, then these terminals all can jingle bell.User can use any terminal
Answer, and after user answers, remaining terminal can stop jingle bell.
If 2.2 is online without satisfactory terminal, server can ask mobile phone to be hung up the telephone, and caller ID record into
Database.After satisfactory terminal is reached the standard grade, server can inform this missed call to it.
When user is called by terminal (i.e. second terminal):
1. terminal is sent to server by network and asked, this case that notification server, and as gateway outlet
The telephone number dialed is numbered and needed to mobile phone.
2. after server receives above-mentioned request, the strategy of backstage configuration can be retrieved, and then mobile phone is made by bluetooth HSP agreements
Call.
3. if mobile phone breathes out successfully, the voice of other side will be sent to server by mobile phone by bluetooth HFP agreements, service
Device can forward it to the terminal dialed by network, finally be played back from loudspeaker/receiver/earphone of terminal device etc..
Terminal can be gathered voice by microphone simultaneously and be sent to server by network, server can by bluetooth HFP agreements by its
It is sent to mobile phone.So user can be conversed with other side.If other side does not answer, user will hear operator as it is
Voices such as " user that you dial are just busy ".
As shown in figure 5, the present invention also provides a kind of message handling system, including:
First terminal 501, for receiving message, send a message to intermediate treatment facility 502;
Intermediate treatment facility 502, it is connected with first terminal 501, wherein,
Intermediate treatment facility 502 is used for:
Receive the message that first terminal 501 obtains;
Judge whether message meets default forwarding condition;
When message meets default forwarding condition, second terminal 503 is forwarded the messages to, to handle message.
In one embodiment, intermediate treatment facility 502 is additionally operable to:
Obtain the attribute information of message;
According to attribute information, judge whether message meets default forwarding condition, wherein, attribute information includes following at least one
:First terminal 501 obtains the keyword in the time of message, the equipment that the contact method of message, message are directed to, message.
In one embodiment, intermediate treatment facility 502 is additionally operable to:
Judge whether the contact method of message matches with default permission contact list;And/or
Whether the number for judging presetting digit capacity in the contact method of message is preset number;And/or
Whether judge the time of the acquisition message of first terminal 501 allows to contact in the period positioned at default;And/or
Judge whether the equipment that message is directed to is second terminal 503 corresponding to first terminal 501.
In one embodiment, intermediate treatment facility 502 is additionally operable to:
When message does not meet default forwarding condition, message is intercepted;
Sent to second terminal 503 and intercept notice.
In one embodiment, intermediate treatment facility 502 is additionally operable to:
When message meets default forwarding condition, it is determined that second terminal 503 corresponding with first terminal 501;
When second terminal 503 is logged in receiving the account of message, second terminal 503 is forwarded the messages to, wherein, account
There is the maximum synchronous number that logs in limit.
In one embodiment, message includes at least one of following:
Short message, instant chat information, call request.
In one embodiment, intermediate treatment facility 502 is additionally operable to:
When message includes call request, call request is forwarded to second terminal 503, so that the use of second terminal 503
Family determines whether to respond call request;
When receiving the refusal respond notice of the transmission of second terminal 503, refusal respond notice is sent to first terminal
501, so that first terminal 501 refuses call request;
When receiving when allowing response to notify of the transmission of second terminal 503, response notice will be allowed to send to first terminal
501, so that first terminal 501 responds call request, and forward the voice call between first terminal 501 and second terminal 503.
In one embodiment, intermediate treatment facility 502 is additionally operable to:
When message includes call request and second terminal 503 includes multiple terminals, forward the messages in multiple terminals
Each terminal, so that each terminal issues the user with call prompt, and any terminal response or refusal in user is by multiple terminals
During call request, other-end in multiple terminals is controlled to stop sending call prompt, wherein, other-end is to be removed in multiple terminals
Terminal outside any terminal.
In one embodiment, intermediate treatment facility 502 is additionally operable to:
According to the change order received, default forwarding condition is changed;
According to the configuration order received, processing authority of the user to message is configured, so that user is based on its disposal right
Limit is handled message.
In one embodiment, it is connected between intermediate treatment facility 502 and first terminal 501 by short haul connection mode
Connect;
It is connected between intermediate treatment facility 502 and second terminal 503 by network.
Finally, the message handling system in the present invention is applied to terminal device.For example, it may be mobile phone, computer,
Digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant
Deng.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or computer program
Product.Therefore, the present invention can use the reality in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Apply the form of example.Moreover, the present invention can use the computer for wherein including computer usable program code in one or more
The shape for the computer program product that usable storage medium is implemented on (including but is not limited to magnetic disk storage and optical memory etc.)
Formula.
The present invention is the flow with reference to method according to embodiments of the present invention, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be by every first-class in computer program instructions implementation process figure and/or block diagram
Journey and/or the flow in square frame and flow chart and/or block diagram and/or the combination of square frame.These computer programs can be provided
The processors of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that produced by the instruction of computer or the computing device of other programmable data processing devices for real
The device for the function of being specified in present one flow of flow chart or one square frame of multiple flows and/or block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
The function of being specified in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, so as in computer or
The instruction performed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in individual square frame or multiple square frames.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention
God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to comprising including these changes and modification.