CN107547586A - Method for sending information and device, request processing method and device - Google Patents

Method for sending information and device, request processing method and device Download PDF

Info

Publication number
CN107547586A
CN107547586A CN201610474717.9A CN201610474717A CN107547586A CN 107547586 A CN107547586 A CN 107547586A CN 201610474717 A CN201610474717 A CN 201610474717A CN 107547586 A CN107547586 A CN 107547586A
Authority
CN
China
Prior art keywords
terminal
information
sent
address
mark
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610474717.9A
Other languages
Chinese (zh)
Inventor
胡正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN KINGBIRD NETWORK TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN KINGBIRD NETWORK TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN KINGBIRD NETWORK TECHNOLOGY Co Ltd filed Critical SHENZHEN KINGBIRD NETWORK TECHNOLOGY Co Ltd
Priority to CN201610474717.9A priority Critical patent/CN107547586A/en
Publication of CN107547586A publication Critical patent/CN107547586A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of method for sending information and device, when sending information to be sent to second terminal, the address of the second terminal corresponding with the mark of first terminal of the reception server response inquiry request feedback, then waiting message is directly sent to second terminal corresponding to the address of second terminal, transmission of the information to be sent without second terminal can be achieved by server forwarding, transmission delay is also reduced while the load for mitigating server forwarding, improves the efficiency that information is sent.A kind of request processing method and device are also provided, the address of second terminal is sent to first terminal by server response inquiry request, the information to be sent of first terminal need not be forwarded, first terminal sends signal to be sent to corresponding second terminal after receiving the address of the second terminal of server transmission, mitigate the load of server forwarding, improve server operating efficiency.

Description

Method for sending information and device, request processing method and device
Technical field
The present invention relates to technical field of intelligence, more particularly to a kind of method for sending information and device, request processing method and Device.
Background technology
With the fast development of intellectual technology, intelligent household electronic equipment emerges in an endless stream, and can also realize to smart home electricity The control of sub- product, for example, original family product such as light fixture, curtain etc. are realized closely with far distance controlled, it is Transformation will be carried out to original household articles and upgrade to intellectuality.
At present, simple control is typically realized to electronic equipment by intelligent terminal, however, when the intelligence for there are substantial amounts Terminal or electronic equipment need carry out intelligent control when, it is necessary to transmit information content it is larger, so as to considerably increase server Load, causes communication efficiency low, so as to which information transfer efficiency can be caused low.
The content of the invention
Based on this, it is necessary to for information transfer efficiency it is low the problem of, there is provided it is a kind of improve information transfer efficiency information Sending method and device, request processing method and device.
A kind of method for sending information, applied to first terminal, comprise the following steps:
Receive information sends instruction, and inquiry request is sent to server, wherein, the inquiry request carries described first eventually The mark at end;
Receive the server response inquiry request feedback matched with the mark of the first terminal second is whole The address at end;
Respond described information and send instruction, obtain information to be sent;
According to the address of the second terminal, the information to be sent is pushed to the second terminal.
The present invention also provides a kind of request processing method, applied to server, comprises the following steps:
The inquiry request that first terminal is sent is received, wherein, the inquiry request carries the mark of the first terminal;
According to the inquiry request, the second terminal matched with the mark of the first terminal is inquired about from presetting database Address, wherein, the presetting database is stored with the corresponding relation of the mark of first terminal and the address of second terminal;
The address of the second terminal inquired is returned to the first terminal.
The present invention also provides a kind of information transmitting apparatus, including:
Inquiry request sending module, send and instruct for receive information, inquiry request is sent to server, wherein, it is described Inquiry request carries the mark of first terminal;
Address receiving module, for receiving that the server responds the inquiry request feedback and the first terminal Identify the address of the second terminal of matching;
Respond module, instruction is sent for responding described information, obtains information to be sent;
Pushing module, for the address according to the second terminal, the information to be sent is pushed to described the
Two terminals.
The present invention also provides a kind of request processing unit, including:
Inquiry request receiving module, for receiving the inquiry request of first terminal transmission, wherein, the inquiry request carries The mark of the first terminal;
Enquiry module, for according to the inquiry request, the mark with the first terminal to be inquired about from presetting database The address of the second terminal of matching, wherein, the presetting database is stored with the mark of first terminal and the address of second terminal Corresponding relation;
Module is returned to, for returning to the address of the second terminal inquired to the first terminal.
Above- mentioned information sending method and device, first, receive information send instruction, and inquiry request is sent to server, its In, inquiry request carries the mark of first terminal, the mark with first terminal of the reception server response inquiry request feedback The address for the second terminal matched somebody with somebody, response message send instruction, obtain information to be sent, according to the address of second terminal, push is treated Send information to second terminal.Because when sending information to be sent to second terminal, the reception server response inquiry request is anti- The address of the second terminal corresponding with the mark of first terminal of feedback, then waiting message is directly sent to the ground of second terminal Second terminal corresponding to location, transmission of the information to be sent without second terminal can be achieved by server forwarding, subtracts Transmission delay is also reduced while the load of light server forwarding, improves the efficiency that information is sent.
Above-mentioned request processing method and device, first, the inquiry request that first terminal is sent is received, according to inquiry request, The address of the second terminal matched with the mark of first terminal is inquired about from presetting database, wherein, presetting database is stored with The mark of first terminal and the corresponding relation of the address of second terminal, return to the address of the second terminal inquired.When the first end When end is needed to second terminal transmission information to be sent, first, first terminal uploads inquiry request with requesting query to server The address of the second terminal matched with the mark of first terminal, there is the mark of default first terminal and the in server in advance The corresponding relation of the address of two terminals, server response inquiry request feed back second terminal corresponding with the mark of first terminal Address is to first terminal, so that first terminal sends signal to be sent to second terminal corresponding to the address of second terminal, by It is that the address of second terminal is sent to first terminal in server, without forwarding the information to be sent of first terminal, first eventually Termination sends signal to be sent to corresponding second terminal after receiving the address of the second terminal of server transmission, mitigates The load of server forwarding, improves server operating efficiency.
Brief description of the drawings
Fig. 1 is a kind of application scenario diagram of the intelligent interactive system of embodiment;
Fig. 2 is a kind of flow chart of the method for sending information of embodiment;
Fig. 3 is the flow chart of the method for sending information of another embodiment;
Fig. 4 is a kind of flow chart of the request processing method of embodiment;
Fig. 5 is the flow chart of the request processing method of another embodiment;
Fig. 6 is a kind of module map of the information transmitting apparatus of embodiment;
Fig. 7 is a kind of module map of the request processing unit of embodiment.
Specific embodiment
Referring to Fig. 1, a kind of application scenario diagram of the intelligent interactive system of embodiment is provided, including first terminal 100, clothes Business device 200 and second terminal 300, server 200 are connected with first terminal 100 and second terminal 300 respectively by network. In the present embodiment, first terminal 100 is intelligent terminal, including but not limited to smart mobile phone, palm PC, personal computer or Notebook computer etc., second terminal 300 are electric terminal, including but not limited to home appliance, and specifically, second terminal 300 is A kind of that equipment of the information communication with exchanging can be realized with second terminal 300, i.e. first terminal 100 can push information to second terminal 300, the information of the transmission of second terminal 300 can be also received, i.e. second terminal 300 can push information to first terminal 100, can realize The two-way communication of first terminal 100 and second terminal 300.
First, first terminal 100 is registered by server 200, the mark of first terminal 100 is obtained, for example, first Terminal 100 is identified as cell-phone number.The Quick Response Code of second terminal 300 is scanned using first terminal 100, obtains second eventually The mark of the mark of first terminal 100 and second terminal 300 is packaged into bind request and sent out by the mark at end, first terminal 100 Server 200 is delivered to, request server 200 is bound to first terminal 100 and second terminal 300.Server 200 is received and tied up After fixed request, parsed, obtain the mark of first terminal 100 and the mark of second terminal 300, and produce checking information hair Second terminal 300 is given, by the checking information of validation information acquisition input on first terminal 100 and is uploaded to service Device 200, server 200 is to the checking information of input and caused checking information is compared before, when comparative result is consistent When, the checking information for representing user's input is correct, you can binding first terminal and second terminal, and establish default first The corresponding relation of the mark of terminal and the mark of second terminal, and send binding success prompting.When comparative result is inconsistent, table The checking information for showing user's input is wrong, prompts checking information mistake, can re-enter.And in server 200 in advance Store the mark of default second terminal and the address of second terminal corresponding relation and default first terminal mark with The corresponding relation of the address of first terminal, so as to pre-establish the mark and second terminal of first terminal in server 200 Address corresponding relation.
When needing to send information to be sent to second terminal 300 by first terminal 100, first, receive information is sent Instruction, the inquiry request for the mark for carrying first terminal, the mark of requesting query and first terminal 100 are sent to server 200 The address of the second terminal 300 of matching, server 200 receive the inquiry request that first terminal 100 uploads, and parse inquiry request, The mark of first terminal 100 is obtained, according to the first terminal 100 stored in the mark and presetting database of first terminal 100 Mark and second terminal 300 address corresponding relation, the address of second terminal 300 is obtained, by the address of second terminal 300 It is pushed to first terminal 100.The mark with first terminal 100 of the reception server 200 of first terminal 100 response inquiry request feedback Know the address of the second terminal 300 of matching, and response message sends instruction and obtains information to be sent, by information to be sent send to Second terminal 300 corresponding with the address of second terminal 300.
Referring to Fig. 2, providing a kind of method for sending information of embodiment, applied to first terminal, comprise the following steps:
S210:Receive information sends instruction, and inquiry request is sent to server.
Wherein, inquiry request carries the mark of first terminal.It is first when first terminal needs to send information to second terminal First, it is necessary to which receive information sends instruction, first terminal receive information can just trigger information transmission after sending instruction, and need to know The address of the second terminal of receive information, accordingly it is desirable to the inquiry request for the mark for carrying first terminal is sent to server, to Server asks the address of second terminal corresponding with the mark of first terminal.
S230:The ground of the second terminal matched with the mark of first terminal of the reception server response inquiry request feedback Location.
The corresponding of the mark of first terminal and the address of second terminal is previously stored with the presetting database of server Relation, specifically, the corresponding relation of the mark of first terminal and the address of second terminal include the mark and second of first terminal The corresponding relation of the mark of terminal and the corresponding relation of the address of the mark of second terminal and second terminal.Server is receiving After the inquiry request sent to first terminal, the mark of the first terminal in inquiry request looks for the mark with first terminal The address of the second terminal of matching, and the address of second terminal is fed back into first terminal.
S250:Response message sends instruction, obtains information to be sent.
When first terminal needs to send information, receive information sends instruction, and response message, which sends instruction, can obtain first Terminal needs the information to be sent sent.
S270:According to the address of second terminal, information to be sent is pushed to second terminal.
After first terminal is known behind the address for the second terminal for receiving information to be sent and obtains information to be sent, it will treat Send information to send to second terminal corresponding with the address of second terminal, realize that information to be sent is sent to the by first terminal Two terminals, i.e. first terminal are entered row information using P2P (point-to-point) communication mode with second terminal and sent.
Above- mentioned information sending method, first, receive information send instruction, and inquiry request is sent to server, wherein, inquiry Request carries the mark of first terminal, and the reception server responds matched with the mark of first terminal the second of inquiry request feedback The address of terminal, response message send instruction, obtain information to be sent, according to the address of second terminal, push information to be sent To second terminal.Due to when sending information to be sent to second terminal, the reception server response inquiry request feedback with the Waiting message, is then directly sent to corresponding to the address of second terminal by the address of second terminal corresponding to the mark of one terminal Second terminal, transmission of the information to be sent without second terminal can be achieved by server forwarding, mitigates server Also transmission delay is reduced while the load of forwarding, improves the efficiency that information is sent.
It is appreciated that in above-mentioned steps, first terminal sends inquiry request, second terminal that the reception server is sent The process of address and the process for obtaining information to be sent are that in no particular order, i.e., first terminal sends pending deliver letters to second terminal During breath, first terminal can first send inquiry request, obtain the address of second terminal, then obtain information to be sent, will treat Send information and be sent to second terminal.Information to be sent can also be first obtained, retransmits inquiry request, obtains the ground of second terminal Location, information to be sent is issued into second terminal, or can carried out simultaneously, you can while obtain information to be sent and transmission is looked into Ask request.As long as that is first terminal can get information and second terminal address to be sent, first terminal can be real Now information to be sent is sent to second terminal.
In one of the embodiments, information to be sent is matched somebody with somebody including alarm time control information, prompt message or/and network Confidence ceases.
Second terminal has alarm clock function, and the alarm time of second terminal can be set on the APP softwares of first terminal, is obtained Clock time of kicking up a row control information, and alarm time control information is sent to second terminal, second terminal receives alarm time After control information, according to alarm time control information, setting alarm clock time, when second terminal arrival alarm time, then from the sound of something astir Quarter-bell, to prompt user time.
By first terminal, user can input desired prompt message, and will be prompted to information and be sent to second terminal, and second Terminal is generally positioned at interior, is sent to second terminal by will be prompted to information, the owner to second terminal is to remind, example Such as, there is meeting tomorrow, passes through and is given to second terminal in first terminal transmission meeting prompt message, second terminal receives meeting and carried It can be prompted after showing information in the time of setting, second terminal can play meeting prompt message by speech form.In another example There is old man to remind in family to take medicine, medicine-taking prompt information can be transmitted in first terminal arrives to second terminal, second terminal receiving terminal After medicine-taking prompt information, prompted in the time of setting, to remind old man to take medicine.Specifically, second terminal can pass through voice Form plays above-mentioned medicine-taking prompt information.That is, second terminal can by speech form play receive information to be sent, The information of user's input and the information of storage etc..
In one of the embodiments, above- mentioned information sending method also includes step:Receive the second terminal push Information.
First terminal can receive second terminal pushed information, i.e., second terminal can pushed information to first terminal, that is, Say, first terminal can not only push information to be sent to second terminal, can also receive the information that second terminal pushes, Ke Yili Solution, first terminal can push information to second terminal, and second terminal can also push information to first terminal, so as to realize first eventually End and the two-way communication of second terminal.The step of receiving the information of second terminal push and the above-mentioned address according to second terminal, It is in no particular order to push information to be sent to the step of second terminal, that is to say, that first terminal can first receive second terminal and push away The information sent, after according to the address of second terminal, pushing information to be sent to second terminal, first terminal also can be first according to second The address of terminal, information to be sent is pushed to second terminal, the rear information for receiving second terminal and pushing, or can enter simultaneously OK.
Specifically, second terminal receive information sends order, and address lookup request is sent to server, wherein, describedly Location inquiry request carries the mark of the second terminal;Receive that the server responds the address lookup request feedback with institute State the address of the first terminal of the mark matching of second terminal;Respond described information and send order, obtain information;According to described The address of one terminal, pushed information to the first terminal, first terminal receive the information of second terminal push, wherein, information Input information etc. including user, i.e., can be in second terminal when user needs to send information to first terminal by second terminal Information is inputted on interactive interface, second terminal obtains user and inputs information, then clicks on and is sent to first terminal, first terminal connects Receive the user that second terminal is sent and input information, realize the process that second terminal communicates to first terminal.
In the present embodiment, second terminal is by WIFI (Wireless-Fidelity, Wireless Fidelity) routers and clothes It is engaged in what device connected, the AP by APP (Application, the application program) softwares on first terminal to WIFI routers The SSID (Service Set Identifier, service set) and connection password of (ACCESS POINT, access point) enter Row configuration, network configuration information is obtained, these network configuration informations are sent to second terminal by first terminal, and second terminal receives WIFI routers can be connected after network configuration information automatically.
Referring to Fig. 3, in one of the embodiments, receive information sends instruction, the step inquired about and asked is sent to server Also include before rapid S310:
S301:Obtain the mark of first terminal.
S303:Scan the mark that second terminal obtains second terminal.
S305:According to the mark of first terminal and the mark of second terminal, generate bind request and be sent to service Device.
Wherein, bind request is used for request server binding first terminal and second terminal.In first terminal and second eventually End carries out information transmission before, it is necessary to be bound, i.e., first terminal to the Quick Response Code of second terminal by being scanned acquisition The mark of the mark of itself and second terminal is packaged into bind request to server by the mark of second terminal, first terminal, please Server is asked to bind first terminal and second terminal.
S307:The checking information input instruction of the reception server response bind request feedback.
When server receives bind request, bind request is responded, checking information can be sent and be given to second terminal, concurrently Checking information input instruction is sent to be given to first terminal, to control first terminal generation checking information input prompt message, even if the One terminal generation checking information inputs prompt message to inform that user needs to carry out checking information input.
S309:Response verification information input instruction, generation checking information input prompt message are simultaneously pushed to user.
First terminal generates checking information input prompt message after receiving checking information input instruction and is pushed to user, with Inform that user needs validation information.For example, first terminal response verification information input instruction generates an information input pair For words frame to prompt user to input information, user can validation information in information input dialogue inframe.
S311:User's operation is responded, the validation information of user's input is obtained and is sent to institute's server.
After first terminal generation checking information inputs prompt message and is pushed to user, user can input according to checking information Prompt message is operated accordingly, you can validation information, so as to obtain user input validation information, first Terminal sends it to server after obtaining validation information.
S313:The binding state prompt message of the reception server response validation information feedback.
Wherein, binding state prompt message includes binding success prompt message or Bind Failed prompt message.
Server can be believed validation information and the checking of generation after the validation information of user's input is received Breath is compared, when comparison result for it is consistent when, return to binding success prompt message and be pushed to user to first terminal, when comparing When being as a result inconsistent, return to Bind Failed prompt message and be pushed to user to first terminal, that is, realize that first terminal receives clothes The binding state prompting for device response validation information feedback of being engaged in.
In the present embodiment, first terminal needs the mark for the first terminal and second terminal bound extremely to take by sending Business device is bound, and after binding success, first terminal can obtain the address of the second terminal of receive information, root from server According to the address of second terminal, information to be sent is sent to corresponding second terminal.In order to further expand application, cell Administration departmentses can apply for the registration of, and obtain terminal iidentification, and by binding validatation mechanism after, bind all the in cell Two terminals, Property Management of residence department can send broadcast notice to the second terminal of binding by terminal APP, and the of binding Two terminals can receive the notice of Property Management of residence department broadcast., can also be second if possessing user's dislike of second terminal Terminal cancels binding.
Specifically, above-mentioned steps S301-S309 is to send to instruct in receive information, and the step of inquiry is asked is sent to server Perform before S310, and perform before the step of receiving the information of second terminal push, that is to say, that only the After one terminal is bound with second terminal, first terminal could obtain the ground of the second terminal matched with the mark of first terminal Location, information to be sent correctly could be sent to second terminal, second terminal could obtain to be matched with the mark of second terminal First terminal address, could correctly send information to first terminal.
In one of the embodiments, in addition to step:What the reception server was sent is used to ask whether to receive to wait to push The inquiry instruction of information;Response inquiry instruction, generation selection prompt message;Push selection prompt message is to user;Respond user Operation, user's selection result is identified, when user's selection result is receives, generation information push request, and please by information push Transmission is asked to server;The information to be pushed of the reception server response message push request feedback.
Server can be sent for asking whether that the inquiry instruction for receiving information to be pushed is given to first terminal, first terminal Inquiry instruction is responded, generation selection prompt message is simultaneously pushed to user, so that user can be made whether to receive information to be pushed Selection, user carries out corresponding selection operation, can obtain user's selection result, and user's identification result includes receiving and not connecing Receive, identify user's selection result, when user's selection result is receives, generation information push request Concurrency gives server, with Request server pushed information, i.e. user select the reception server pushed information, and information push request, service are sent to server Device receive this connect request after carry out information to be pushed push, first terminal can receive server push treat push letter Breath, meanwhile, server can also feed back to information to be pushed second terminal, i.e., server response message push request, which is fed back, waits to push away Breath deliver letters to second terminal.I.e. user can set some subscription items to second terminal by the APP softwares on first terminal, The information to be pushed that can be received by the APP softwares on first terminal to second terminal is set so that second terminal receives The information of server push, wherein, information to be pushed includes Weather information, transport information, news information and advertising message etc.. Information to be pushed is pushed to by first terminal or/and second terminal by server, realizes the issue and information sharing of information.
Referring to Fig. 4, also providing a kind of request processing method of embodiment, applied to server, comprise the following steps:
S410:Receive the inquiry request that first terminal is sent.
Wherein, inquiry request carries the mark of first terminal, first when first terminal needs to send information to second terminal First, it is necessary to which receive information sends instruction, first terminal receive information can just trigger information transmission after sending instruction, and need to know The address of the second terminal of receive information, accordingly it is desirable to the inquiry request for the mark for carrying first terminal is sent to server, to Server asks the address of second terminal corresponding with the mark of first terminal, and server receives the inquiry that first terminal is sent please Ask.
S430:According to inquiry request, the second terminal that is matched with the mark of first terminal is inquired about from presetting database Address.
S450:The address of the second terminal inquired is returned to first terminal.
Wherein, in the server, presetting database is stored with the corresponding of the mark of first terminal and the address of second terminal Relation, to provide foundation subsequently through identifier lookup address, and realize information sharing.Specifically, the mark of first terminal and the The corresponding relation of the address of two terminals includes the corresponding relation and second of the mark of first terminal and the mark of second terminal eventually The mark at end and the corresponding relation of the address of second terminal.Server is after the inquiry request of first terminal transmission is received, root The second terminal matched with the mark of first terminal is looked in presetting database according to the mark of the first terminal in inquiry request Address, and the address of second terminal is fed back into first terminal., will be pending after first terminal receives the address of second terminal Breath of delivering letters is sent to second terminal corresponding to the address of second terminal.Specifically, server passes through UDP (User Datagram Protocol, UDP) address of second terminal is pushed to first terminal by procotol.
Above-mentioned request processing method, first, the inquiry request that first terminal is sent is received, according to inquiry request, from default The address of the second terminal matched with the mark of first terminal is inquired about in database, wherein, presetting database is stored with first eventually The mark at end and the corresponding relation of the address of second terminal, return to the address of the second terminal inquired.When first terminal needs When sending information to be sent to second terminal, first, first terminal uploads inquiry request with requesting query and first to server The address of the second terminal of the mark matching of terminal, there are the mark and second terminal of default first terminal in server in advance Address corresponding relation, server response inquiry request feeds back the address of corresponding with the mark of first terminal second terminal extremely First terminal, so that first terminal sends signal to be sent to second terminal corresponding to the address of second terminal, due to service Device is that the address of second terminal is sent into first terminal, and without forwarding the information to be sent of first terminal, first terminal receives Signal to be sent is sent to corresponding second terminal behind the address of the second terminal sent to server, mitigates server The load of forwarding, improve server operating efficiency.
In one of the embodiments, above-mentioned request processing method also includes step:Receive what the second terminal was sent Address lookup is asked, wherein, the address lookup request carries the mark of the second terminal;Please according to the address lookup Ask, the address of the first terminal matched with the mark of the second terminal is inquired about from the presetting database;To described second Terminal returns to the address of the first terminal inquired.
Inquiry request is sent to server by first terminal, can obtain and receive the information to be sent that first terminal is sent The address of second terminal, so that first terminal carries out information push to be sent according to the address of second terminal, realize first terminal Pushed to the information to be sent of second terminal.In addition, in addition to first terminal can push information to be sent to second terminal, the Two terminals, when second terminal is to first terminal pushed information, can also be sent to server first to first terminal pushed information Address lookup is asked, the address of the first terminal matched with request server inquiry with the mark of second terminal, second terminal root According to the address of the first terminal inquired, information is pushed to first terminal, realizes that second terminal pushes away to the information of first terminal Send.So as to which server can respond the address lookup request that the inquiry request of first terminal transmission and second terminal are sent, also It is to say, server is responded after the inquiry request of first terminal transmission is received, and the address of second terminal is sent into first eventually End, so that information to be sent is pushed to second terminal by first terminal, server is looked into the address for receiving second terminal transmission Responded after asking request, second terminal is issued into the address of first terminal, so that information is pushed to first terminal by second terminal, it is real The two-way communication of existing first terminal and second terminal.
The inquiry that the step of receiving the address lookup request that the second terminal is sent sends with above-mentioned reception first terminal The step of request is in no particular order, that is to say, that server can first receive the inquiry request of first terminal transmission, and respond and look into Request is ask, the address lookup request that the second terminal is sent, and response address inquiry request is received afterwards, also can first receive described The address lookup request that second terminal is sent, and response address inquiry request, receive the inquiry request that first terminal is sent, and ring Inquiry request is answered, or can be carried out simultaneously.
Referring to Fig. 5, in one of the embodiments, before the step S510 for receiving the inquiry request that first terminal is sent Also include:
S501:Receive the bind request that first terminal is sent.
Wherein, bind request carries the mark of first terminal and the mark of second terminal, you can knows and which two terminal is entered Row binding, that is to say, that would know that the mark for the second terminal that first terminal needs are bound.Enter in first terminal and second terminal , it is necessary to which first terminal and second terminal are bound before row information transmission, i.e., first terminal is sent out to the second terminal of binding Deliver letters breath, so as to which first terminal needs to send bind request to server, and server receives the binding that first terminal is sent please Ask.
S503:Bind request is responded, obtains the address of second terminal, checking information is generated and sends to second terminal, hair Checking information input instruction is sent to first terminal.
When server receives bind request, bind request is responded, checking information can be sent and be given to second terminal, concurrently Checking information input instruction is sent to be given to first terminal, to control first terminal generation checking information input prompt message, even if the One terminal generation checking information inputs prompt message to inform that user needs to carry out checking information input.
S505:Receive the validation information of first terminal response verification information input instruction feedback.
After first terminal generation checking information inputs prompt message and is pushed to user, user can be operated accordingly Carry out validation information, you can obtain validation information, validation information is sent to server by first terminal, is serviced Device receives the validation information.
S507:When validation information is consistent with checking information, first terminal and second terminal are bound, according to first eventually The address of the mark at end, the mark of second terminal and second terminal, establish the mark of first terminal and the address of second terminal Corresponding relation and be stored in presetting database.
S509:Binding success prompt message is returned to first terminal.
Server is after the validation information of first terminal transmission is received, to validation information and the checking of generation Information is compared, and obtains comparison result, according to comparison result, sends binding state and is prompted to first terminal.
Specifically, when validation information is consistent with checking information, first terminal and second terminal are bound, is established default First terminal mark and second terminal address corresponding relation, and send binding success prompt message to first terminal. When validation information and checking information are inconsistent, return to Bind Failed prompt message and be pushed to user to first terminal, i.e., Realize that the binding state of server response validation information feedback is prompted to first terminal.
In one of the embodiments, in addition to step:Sent to first terminal and treat push letter for asking whether to receive The inquiry instruction of breath;When the information for receiving first terminal response inquiry instruction feedback pushes request, response message push please Ask, push information to be pushed.
Server can be sent for asking whether that the inquiry instruction for receiving information to be pushed is given to first terminal, first terminal Inquiry instruction is responded, generation selection prompt message is simultaneously pushed to user, so that user can be made whether to receive information to be pushed Selection, user carries out corresponding selection operation, can obtain user's selection result device, when user's selection result is receives, i.e., User selects the reception server pushed information, and generation information push request Concurrency delivers to server, and server receives the push During information request, push information to be pushed to first terminal, first terminal can receive the information to be pushed of server push, Meanwhile information to be pushed is pushed to second terminal by server.I.e. user can be by the APP softwares on first terminal to second Some subscription items of terminal profile, i.e., the information to be pushed that can be received by the APP softwares on first terminal to second terminal enter Row set so that second terminal the reception server push information, wherein, information to be pushed include Weather information, transport information, News information and advertising message etc..Information to be pushed is pushed to by first terminal or/and second terminal by server, realized The issue and information sharing of information.
In one of the embodiments, in addition to step:The more new command for carrying temporal information is sent to second terminal.
Second terminal has the function of family expenses desk clock or wall clock, and server can periodically send to second terminal and carry time letter The more new command of breath is to second terminal, and second terminal is according to more new command renewal time.
In one of the embodiments, in addition to step:The warning message that second terminal is sent is received, and by warning message Send to first terminal.
Second terminal can obtain warning message by alarm button, i.e., contingency (pilferage, fire, always occur in main People's acute disease etc.), you can long-press alarm button more than three seconds, warning message is obtained, and warning message is uploaded onto the server, taken Business device is stored to it and sends it to first terminal, to notify user to have sent contingency, i.e., is sent out by server Warning message is sent to the APP softwares of corresponding first terminal, while warning message can be also sent in the form of short message to corresponding One terminal.
Referring to Fig. 6, a kind of information transmitting apparatus of embodiment is provided, including:
Inquiry request sending module 610, send and instruct for receive information, inquiry request is sent to server.
Wherein, inquiry request carries the mark of first terminal.It is first when first terminal needs to send information to second terminal First, it is necessary to which receive information sends instruction, first terminal receive information can just trigger information transmission after sending instruction, and need to know The address of the second terminal of receive information, accordingly it is desirable to the inquiry request for the mark for carrying first terminal is sent to server, to Server asks the address of second terminal corresponding with the mark of first terminal.
Address receiving module 630, for being matched with the mark of first terminal for the reception server response inquiry request feedback Second terminal address.
The corresponding of the mark of first terminal and the address of second terminal is previously stored with the presetting database of server Relation, specifically, the corresponding relation of the mark of first terminal and the address of second terminal include the mark and second of first terminal The corresponding relation of the mark of terminal and the corresponding relation of the address of the mark of second terminal and second terminal.Server is receiving After the inquiry request sent to first terminal, the mark of the first terminal in inquiry request looks for the mark with first terminal The address of the second terminal of matching, and the address of second terminal is fed back into first terminal.
Respond module 650, send and instruct for response message, obtain information to be sent.
When first terminal needs to send information, receive information sends instruction, and response message, which sends instruction, can obtain first Terminal needs the information to be sent sent.
Pushing module 670, for the address according to second terminal, information to be sent is pushed to second terminal.
After first terminal is known behind the address for the second terminal for receiving information to be sent and obtains information to be sent, it will treat Send information to send to second terminal corresponding with the address of second terminal, realize that information to be sent is sent to the by first terminal Two terminals, i.e. first terminal are entered row information using P2P (point-to-point) communication mode with second terminal and sent.
Above- mentioned information dispensing device, first, receive information send instruction, and inquiry request is sent to server, wherein, inquiry Request carries the mark of first terminal, and the reception server responds matched with the mark of first terminal the second of inquiry request feedback The address of terminal, response message send instruction, obtain information to be sent, according to the address of second terminal, push information to be sent To second terminal.Due to when sending information to be sent to second terminal, the reception server response inquiry request feedback with the Waiting message, is then directly sent to corresponding to the address of second terminal by the address of second terminal corresponding to the mark of one terminal Second terminal, transmission of the information to be sent without second terminal can be achieved by server forwarding, mitigates server Also transmission delay is reduced while the load of forwarding, improves the efficiency that information is sent.
In one of the embodiments, information to be sent is matched somebody with somebody including alarm time control information, prompt message or/and network Confidence ceases.
Second terminal has alarm clock function, and the alarm time of second terminal can be set on the APP softwares of first terminal, is obtained Clock time of kicking up a row control information, and alarm time control information is sent to second terminal, second terminal receives alarm time After control information, according to alarm time control information, setting alarm clock time, when second terminal arrival alarm time, then from the sound of something astir Quarter-bell, to prompt user time.
By first terminal, user can input desired prompt message, and will be prompted to information and be sent to second terminal, and second Terminal is generally positioned at interior, is sent to second terminal by will be prompted to information, the owner to second terminal is to remind, example Such as, there is meeting tomorrow, passes through and is given to second terminal in first terminal transmission meeting prompt message, second terminal receives meeting and carried It can be prompted after showing information in the time of setting, second terminal can play meeting prompt message by speech form.In another example There is old man to remind in family to take medicine, medicine-taking prompt information can be transmitted in first terminal arrives to second terminal, second terminal receiving terminal After medicine-taking prompt information, prompted in the time of setting, to remind old man to take medicine.Specifically, second terminal can pass through voice Form plays above-mentioned medicine-taking prompt information.That is, second terminal can by speech form play receive information, user it is defeated The information entered and the information of storage etc..
In the present embodiment, second terminal is to be connected by WIFI (Wireless Fidelity) router with server, passes through SSID (the Service Set of APP softwares in one terminal to the AP (ACCESS POINT, access point) of WIFI routers Identifier, service set) and connection password configured, obtain network configuration information, first terminal is by these nets Network configuration information is sent to second terminal, and second terminal can connect WIFI routers automatically after receiving network configuration information.
In one of the embodiments, above- mentioned information dispensing device also includes:
Information receiving module, for receiving the information of the second terminal push.
First terminal can receive second terminal pushed information, i.e., second terminal can pushed information to first terminal, that is, Say, first terminal can not only push information to be sent to second terminal, can also receive the information that second terminal pushes, Ke Yili Solution, first terminal can push information to second terminal, and second terminal can also push information to first terminal, so as to realize first eventually End and the two-way communication of second terminal.
Specifically, second terminal receive information sends order, and address lookup request is sent to server, wherein, describedly Location inquiry request carries the mark of the second terminal;Receive that the server responds the address lookup request feedback with institute State the address of the first terminal of the mark matching of second terminal;Respond described information and send order, obtain information;According to described The address of one terminal, pushed information to the first terminal, first terminal receive the information of second terminal push, wherein, information Input information etc. including user, i.e., can be in second terminal when user needs to send information to first terminal by second terminal Information is inputted on interactive interface, second terminal obtains user and inputs information, then clicks on and is sent to first terminal, first terminal connects Receive the user that second terminal is sent and input information, realize the process that second terminal communicates to first terminal.
Above- mentioned information dispensing device also includes:
Identifier acquisition module, for obtaining the mark of first terminal.
Scan module, the mark of second terminal is obtained for scanning second terminal.
Bind request sending module, for the mark and the mark of second terminal according to first terminal, generation binding please Ask and be sent to server.
Wherein, bind request is used for request server binding first terminal and second terminal.In first terminal and second eventually End carries out information transmission before, it is necessary to be bound, i.e., first terminal to the Quick Response Code of second terminal by being scanned acquisition The mark of the mark of itself and second terminal is packaged into bind request to server by the mark of second terminal, first terminal, please Server is asked to bind first terminal and second terminal.
Command reception module, the checking information input instruction for the reception server response bind request feedback.
When server receives bind request, bind request is responded, checking information can be sent and be given to second terminal, concurrently Checking information input instruction is sent to be given to first terminal, to control first terminal generation checking information input prompt message, even if the One terminal generation checking information inputs prompt message to inform that user needs to carry out checking information input.
Prompt message pushing module, for response verification information input instruction, generation checking information input prompt message is simultaneously It is pushed to user.
First terminal generates checking information input prompt message after receiving checking information input instruction and is pushed to user, with Inform that user needs validation information.For example, first terminal response verification information input instruction generates an information input pair For words frame to prompt user to input information, user can validation information in information input dialogue inframe.
Validation information acquisition module, for responding user's operation, the validation information for obtaining user's input is concurrent Give institute's server.
After first terminal generation checking information inputs prompt message and is pushed to user, user can input according to checking information Prompt message is operated accordingly, you can validation information, so as to obtain user input validation information, first Terminal sends it to server after obtaining validation information.
Condition prompting acquisition module, the binding state for the reception server response validation information feedback prompt letter Breath, wherein, binding state prompt message includes binding success prompt message or Bind Failed prompt message.
Server can be believed validation information and the checking of generation after the validation information of user's input is received Breath is compared, when comparison result for it is consistent when, return to binding success prompt message and be pushed to user to first terminal, when comparing When being as a result inconsistent, return to Bind Failed prompt message and be pushed to user to first terminal, that is, realize that first terminal receives clothes The binding state prompting for device response validation information feedback of being engaged in.
In the present embodiment, first terminal needs the mark for the first terminal and second terminal bound extremely to take by sending Business device is bound, and after binding success, first terminal can obtain the address of the second terminal of receive information, root from server According to the address of second terminal, information to be sent is sent to corresponding second terminal.In order to further expand application, cell Administration departmentses can apply for the registration of, and obtain terminal iidentification, and by binding validatation mechanism after, bind all the in cell Two terminals, Property Management of residence department can send broadcast notice to the second terminal of binding by terminal APP, and the of binding Two terminals can receive the notice of Property Management of residence department broadcast., can also be second if possessing user's dislike of second terminal Terminal cancels binding.
In one of the embodiments, above- mentioned information dispensing device also includes:
Command reception module is inquired, the inquiry for being used to ask whether to receive information to be pushed sent for the reception server Instruction.
Prompt message generation module is selected, for responding inquiry instruction, generation selection prompt message;
Prompt message pushing module is selected, for pushing selection prompt message to user.
Identification module, for responding user's operation, identify user's selection result.
Acquisition request module is pushed, for when user's selection result is receives, generation information push request, and by information Push request is sent to server.
Pushed information receiving module, the information to be pushed of request feedback is pushed for the reception server response message.
Server can be sent for asking whether that the inquiry instruction for receiving information to be pushed is given to first terminal, first terminal Inquiry instruction is responded, generation selection prompt message is simultaneously pushed to user, so that user can be made whether to receive information to be pushed Selection, user carries out corresponding selection operation, can obtain user's selection result, and user's identification result includes receiving and not connecing Receive, identify user's selection result, when user's selection result is receives, generation information push request Concurrency gives server, with Request server pushed information, i.e. user select the reception server pushed information, and information push request, service are sent to server Device receive this connect request after carry out information to be pushed push, first terminal can receive server push treat push letter Breath, meanwhile, server can also feed back to information to be pushed second terminal, i.e., server response message push request, which is fed back, waits to push away Breath deliver letters to second terminal.I.e. user can set some subscription items to second terminal by the APP softwares on first terminal, The information to be pushed that can be received by the APP softwares on first terminal to second terminal is set so that second terminal receives The information of server push, wherein, information to be pushed includes Weather information, transport information, news information and advertising message etc.. Information to be pushed is pushed to by first terminal or/and second terminal by server, realizes the issue and information sharing of information.
Referring to Fig. 7, a kind of request processing unit of embodiment is provided, including:
Inquiry request receiving module 710, for receiving the inquiry request of first terminal transmission.
Wherein, inquiry request carries the mark of first terminal, first when first terminal needs to send information to second terminal First, it is necessary to which receive information sends instruction, first terminal receive information can just trigger information transmission after sending instruction, and need to know The address of the second terminal of receive information, accordingly it is desirable to the inquiry request for the mark for carrying first terminal is sent to server, to Server asks the address of second terminal corresponding with the mark of first terminal, and server receives the inquiry that first terminal is sent please Ask.
Enquiry module 730, for according to inquiry request, inquiring about what is matched with the mark of first terminal from presetting database The address of second terminal, wherein, presetting database is stored with the corresponding relation of the mark of first terminal and the address of second terminal;
Module 750 is returned to, for returning to the address of the second terminal inquired to first terminal.
Wherein, in the server, presetting database is stored with the corresponding of the mark of first terminal and the address of second terminal Relation, to provide foundation subsequently through identifier lookup address, and realize information sharing.Specifically, the mark of first terminal and the The corresponding relation of the address of two terminals includes the corresponding relation and second of the mark of first terminal and the mark of second terminal eventually The mark at end and the corresponding relation of the address of second terminal.Server is after the inquiry request of first terminal transmission is received, root The second terminal matched with the mark of first terminal is looked in presetting database according to the mark of the first terminal in inquiry request Address, and the address of second terminal is fed back into first terminal., will be pending after first terminal receives the address of second terminal Breath of delivering letters is sent to second terminal corresponding to the address of second terminal.Specifically, server passes through UDP (User Datagram Protocol, UDP) address of second terminal is pushed to first terminal by procotol.
Above-mentioned request processing unit, first, the inquiry request that first terminal is sent is received, according to inquiry request, from default The address of the second terminal matched with the mark of first terminal is inquired about in database, wherein, presetting database is stored with first eventually The mark at end and the corresponding relation of the address of second terminal, return to the address of the second terminal inquired.When first terminal needs When sending information to be sent to second terminal, first, first terminal uploads inquiry request with requesting query and first to server The address of the second terminal of the mark matching of terminal, there are the mark and second terminal of default first terminal in server in advance Address corresponding relation, server response inquiry request feeds back the address of corresponding with the mark of first terminal second terminal extremely First terminal, so that first terminal sends signal to be sent to second terminal corresponding to the address of second terminal, due to service Device is that the address of second terminal is sent into first terminal, and without forwarding the information to be sent of first terminal, first terminal receives Signal to be sent is sent to corresponding second terminal behind the address of the second terminal sent to server, mitigates server The load of forwarding, improve server operating efficiency.
In one of the embodiments, above-mentioned request processing unit also includes:
Address lookup request receiving module, the address lookup request sent for receiving the second terminal, wherein, it is described Address lookup request carries the mark of the second terminal;
Address lookup module, for being asked according to the address lookup, the inquiry and described the from the presetting database The address of the first terminal of the mark matching of two terminals;
Address returns to module, for returning to the address of the first terminal inquired to the second terminal.
Inquiry request is sent to server by first terminal, can obtain and receive the information to be sent that first terminal is sent The address of second terminal, so that first terminal carries out information push to be sent according to the address of second terminal, realize first terminal Pushed to the information to be sent of second terminal.In addition, in addition to first terminal can push information to be sent to second terminal, the Two terminals, when second terminal is to first terminal pushed information, can also be sent to server first to first terminal pushed information Address lookup is asked, the address of the first terminal matched with request server inquiry with the mark of second terminal, second terminal root According to the address of the first terminal inquired, information is pushed to first terminal, realizes that second terminal pushes away to the information of first terminal Send.So as to which server can respond the address lookup request that the inquiry request of first terminal transmission and second terminal are sent, also It is to say, server is responded after the inquiry request of first terminal transmission is received, and the address of second terminal is sent into first eventually End, so that information to be sent is pushed to second terminal by first terminal, server is looked into the address for receiving second terminal transmission Responded after asking request, second terminal is issued into the address of first terminal, so that information is pushed to first terminal by second terminal, it is real The two-way communication of existing first terminal and second terminal.
In one of the embodiments, above-mentioned request processing unit also includes:
Bind request receiving module, for receiving the bind request of first terminal transmission.
Wherein, bind request carries the mark of first terminal and the mark of second terminal, you can knows and which two terminal is entered Row binding, that is to say, that would know that the mark for the second terminal that first terminal needs are bound.Enter in first terminal and second terminal , it is necessary to which first terminal and second terminal are bound before row information transmission, i.e., first terminal is sent out to the second terminal of binding Deliver letters breath, so as to which first terminal needs to send bind request to server, and server receives the binding that first terminal is sent please Ask.
Checking information generation module, for responding bind request, the address of second terminal is obtained, generation checking information is concurrent Second terminal is delivered to, sends checking information input instruction to first terminal.
When server receives bind request, bind request is responded, checking information can be sent and be given to second terminal, concurrently Checking information input instruction is sent to be given to first terminal, to control first terminal generation checking information input prompt message, even if the One terminal generation checking information inputs prompt message to inform that user needs to carry out checking information input.
Validation information receiving module, the input for receiving first terminal response verification information input instruction feedback are tested Demonstrate,prove information.
After first terminal generation checking information inputs prompt message and is pushed to user, user can be operated accordingly Carry out validation information, you can obtain validation information, validation information is sent to server by first terminal, is serviced Device receives the validation information.
Binding module, for when validation information is consistent with checking information, binding first terminal and second terminal, root According to the address of the mark of first terminal, the mark of second terminal and second terminal, the mark and second of first terminal is established eventually The corresponding relation of the address at end is simultaneously stored in presetting database.
Binding success prompt message sending module, for returning to binding success prompt message to first terminal.
Server is after the validation information of first terminal transmission is received, to validation information and the checking of generation Information is compared, and obtains comparison result, according to comparison result, sends binding state and is prompted to first terminal.Specifically, when defeated Enter checking information it is consistent with checking information when, bind first terminal and second terminal, establish the mark of default first terminal with The corresponding relation of the address of second terminal, and send binding success and be prompted to first terminal.When validation information and checking When information is inconsistent, returns to Bind Failed prompt message and be pushed to user to first terminal, that is, realize that server response input is tested The binding state of card feedback of the information is prompted to first terminal.
In one of the embodiments, above-mentioned request processing unit also includes:
Instruction sending module is inquired, is referred to for being sent to first terminal for the inquiry for asking whether to receive information to be pushed Order.
Info push module, for when the information for receiving first terminal response inquiry instruction feedback pushes request, ringing Information push request is answered, pushes information to be pushed.
Server can be sent for asking whether that the inquiry instruction for receiving information to be pushed is given to first terminal, first terminal Inquiry instruction is responded, generation selection prompt message is simultaneously pushed to user, so that user can be made whether to receive information to be pushed Selection, user carries out corresponding selection operation, can obtain user's selection result device, when user's selection result is receives, i.e., User selects the reception server pushed information, and generation information push request Concurrency delivers to server, and server receives the push During information request, push information to be pushed to first terminal, first terminal can receive the information to be pushed of server push, Meanwhile information to be pushed is pushed to second terminal by server.I.e. user can be by the APP softwares on first terminal to second Some subscription items of terminal profile, i.e., the information to be pushed that can be received by the APP softwares on first terminal to second terminal enter Row set so that second terminal the reception server push information, wherein, information to be pushed include Weather information, transport information, News information and advertising message etc..Information to be pushed is pushed to by first terminal or/and second terminal by server, realized The issue and information sharing of information.
In one of the embodiments, above-mentioned request processing unit also includes:
Instruction sending module is updated, the more new command of temporal information is carried for being sent to second terminal.
Second terminal has the function of family expenses desk clock or wall clock, and server can periodically send to second terminal and carry time letter The more new command of breath is to second terminal, and second terminal is according to more new command renewal time.
In one of the embodiments, above-mentioned request processing unit also includes:
Warning message sending and receiving module, sent for receiving the warning message of second terminal transmission, and by warning message to the One terminal.
Second terminal can obtain warning message by alarm button, i.e., contingency (pilferage, fire, always occur in main People's acute disease etc.), you can long-press alarm button more than three seconds, warning message is obtained, and warning message is uploaded onto the server, taken Business device is stored to it and sends it to first terminal, to notify user to have sent contingency, i.e., is sent out by server Warning message is sent to the APP softwares of corresponding first terminal, while warning message can be also sent in the form of short message to corresponding One terminal.
Each technical characteristic of above example can be combined arbitrarily, to make description succinct, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, lance is not present in the combination of these technical characteristics Shield, all it is considered to be the scope of this specification record.
Above example only expresses several embodiments of the present invention, its describe it is more specific and in detail, but can not be because This and be construed as limiting the scope of the patent.It should be pointed out that for the person of ordinary skill of the art, not On the premise of departing from present inventive concept, various modifications and improvements can be made, these belong to protection scope of the present invention.Cause This, the protection domain of patent of the present invention should be determined by the appended claims.

Claims (10)

1. a kind of method for sending information, applied to first terminal, it is characterised in that comprise the following steps:
Receive information sends instruction, and inquiry request is sent to server, wherein, the inquiry request carries the first terminal Mark;
Receive the server and respond the second terminal matched with the mark of the first terminal that the inquiry request is fed back Address;
Respond described information and send instruction, obtain information to be sent;
According to the address of the second terminal, the information to be sent is pushed to the second terminal.
2. method for sending information according to claim 1, it is characterised in that also including step:
Receive the information of the second terminal push.
3. method for sending information according to claim 1, it is characterised in that the receive information sends instruction, to service Before device sends the step of inquiry request, in addition to:
Obtain the mark of the first terminal;
Scan the mark that the second terminal obtains the second terminal;
According to the mark of the first terminal and the mark of the second terminal, generate bind request and be sent to the clothes Business device, wherein, the bind request is used to ask the server to bind the first terminal and the second terminal;
Receive the checking information input instruction that the server responds the bind request feedback;
The checking information input instruction is responded, generation checking information input prompt message is simultaneously pushed to user;
User's operation is responded, the validation information of user's input is obtained and is sent to institute's server;
The binding state prompt message that the server responds the validation information feedback is received, wherein, the binding shape State prompt message includes binding success prompt message or Bind Failed prompt message.
4. method for sending information according to claim 1, it is characterised in that also including step:
Receive the inquiry instruction for being used to ask whether to receive information to be pushed that the server is sent;
Respond the inquiry instruction, generation selection prompt message;
The selection prompt message is pushed to user;
User's operation is responded, identifies user's selection result;
When user's selection result is receives, generation information push request, and described information is pushed into request and sent to institute State server;
Receive the information to be pushed of the server response described information push request feedback.
5. a kind of request processing method, applied to server, it is characterised in that comprise the following steps:
The inquiry request that first terminal is sent is received, wherein, the inquiry request carries the mark of the first terminal;
According to the inquiry request, the ground for the second terminal that inquiry matches with the mark of the first terminal from presetting database Location, wherein, the presetting database is stored with the corresponding relation of the mark of first terminal and the address of second terminal;
The address of the second terminal inquired is returned to the first terminal.
6. request processing method according to claim 5, it is characterised in that also including step:
The address lookup request that the second terminal is sent is received, wherein, the address lookup request carries the second terminal Mark;
Asked according to the address lookup, first matched with the mark of the second terminal is inquired about from the presetting database The address of terminal;
The address of the first terminal inquired is returned to the second terminal.
7. request processing method according to claim 5, it is characterised in that the inquiry for receiving first terminal transmission please Also include before the step of asking:
Receive the bind request that the first terminal is sent, wherein, the bind request carry the mark of the first terminal with And the mark of the second terminal;
The bind request is responded, obtains the address of the second terminal, checking information is generated and sends to the second terminal, Checking information input instruction is sent to the first terminal;
Receive the validation information that the first terminal responds the checking information input instruction feedback;
When the validation information is consistent with the checking information, the first terminal and the second terminal, root are bound According to the address of the identifying of the first terminal, the mark of the second terminal and the second terminal, described first is established eventually The corresponding relation of the mark at end and the address of second terminal is simultaneously stored in the presetting database;
Binding success prompt message is returned to the first terminal.
8. request processing method according to claim 5, it is characterised in that also including step:
Sent to the first terminal for asking whether that the inquiry for receiving information to be pushed instructs;
When the information for receiving the first terminal response inquiry instruction feedback pushes request, response described information push Request, pushes the information to be pushed.
A kind of 9. information transmitting apparatus, it is characterised in that including:
Inquiry request sending module, send and instruct for receive information, inquiry request is sent to server, wherein, the inquiry Request carries the mark of first terminal;
Address receiving module, the mark with the first terminal of the inquiry request feedback is responded for receiving the server The address of the second terminal of matching;
Respond module, instruction is sent for responding described information, obtains information to be sent;
Pushing module, for the address according to the second terminal, the information to be sent is pushed to the second terminal.
10. one kind request processing unit, it is characterised in that including:
Inquiry request receiving module, for receiving the inquiry request of first terminal transmission, wherein, described in the inquiry request carrying The mark of first terminal;
Enquiry module, for according to the inquiry request, inquiring about from presetting database and being matched with the mark of the first terminal Second terminal address, wherein, the presetting database is stored with pair of the mark of first terminal and the address of second terminal It should be related to;
Module is returned to, for returning to the address of the second terminal inquired to the first terminal.
CN201610474717.9A 2016-06-24 2016-06-24 Method for sending information and device, request processing method and device Pending CN107547586A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610474717.9A CN107547586A (en) 2016-06-24 2016-06-24 Method for sending information and device, request processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610474717.9A CN107547586A (en) 2016-06-24 2016-06-24 Method for sending information and device, request processing method and device

Publications (1)

Publication Number Publication Date
CN107547586A true CN107547586A (en) 2018-01-05

Family

ID=60960922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610474717.9A Pending CN107547586A (en) 2016-06-24 2016-06-24 Method for sending information and device, request processing method and device

Country Status (1)

Country Link
CN (1) CN107547586A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078340A (en) * 2019-12-02 2020-04-28 联想(北京)有限公司 Information processing method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413182A (en) * 2011-11-17 2012-04-11 南京天溯自动化控制系统有限公司 Intelligent home device remote monitoring device and method
CN105093948A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Intelligent device control method, terminal, and server
CN105357262A (en) * 2015-09-29 2016-02-24 小米科技有限责任公司 Device control method and device control apparatus
US20160078147A1 (en) * 2014-09-16 2016-03-17 Takaaki TOKUDA Information processing system and information processing device
CN105632144A (en) * 2015-12-30 2016-06-01 小米科技有限责任公司 Intelligent equipment control method and device
CN105634887A (en) * 2016-01-14 2016-06-01 九阳股份有限公司 Network control method for kitchen appliance
CN105635174A (en) * 2016-02-03 2016-06-01 武汉天梯极客网络科技有限公司 Intelligent device sharing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413182A (en) * 2011-11-17 2012-04-11 南京天溯自动化控制系统有限公司 Intelligent home device remote monitoring device and method
US20160078147A1 (en) * 2014-09-16 2016-03-17 Takaaki TOKUDA Information processing system and information processing device
CN105093948A (en) * 2015-07-13 2015-11-25 小米科技有限责任公司 Intelligent device control method, terminal, and server
CN105357262A (en) * 2015-09-29 2016-02-24 小米科技有限责任公司 Device control method and device control apparatus
CN105632144A (en) * 2015-12-30 2016-06-01 小米科技有限责任公司 Intelligent equipment control method and device
CN105634887A (en) * 2016-01-14 2016-06-01 九阳股份有限公司 Network control method for kitchen appliance
CN105635174A (en) * 2016-02-03 2016-06-01 武汉天梯极客网络科技有限公司 Intelligent device sharing method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111078340A (en) * 2019-12-02 2020-04-28 联想(北京)有限公司 Information processing method and device

Similar Documents

Publication Publication Date Title
CN104967596B (en) User terminal and internet of things equipment binding, the implementation method to communicate and device
CN105785929B (en) A kind of household electric appliance control method and system based on wechat
CN110868748A (en) Intelligent equipment network access method, device, equipment, system and medium
CN105594201A (en) Device pairing
US20060184679A1 (en) Apparatus and method for subscribing to a web logging service via a dispatch communication system
US7996040B1 (en) System, method and computer program product for providing a cellular telephone system with an integrated television signal communication interface
US20110282953A1 (en) Method and apparatus for providing message conversation by group in a messaging service
CN105227430A (en) A kind of social Internet of Things implementation method based on micro-letter platform
CN105722089B (en) A kind of equipment authentication method
CN103347049A (en) System and method for automatic adaption starting between positions and application programs based on mobile terminal
US8015241B2 (en) Apparatus and method for notifying of the posting of a web logging message via a dispatch communication
CN108924806A (en) A kind of family's internet of things data communication means and system using BLE technology
CN106330929B (en) Interactive education system based on two-way communication satellite and working method thereof
CN114697282B (en) Message processing method and system, storage medium and electronic device
CN109842806A (en) Visual alert broadcasting, control method for playing back, device, equipment and storage medium
US8185575B2 (en) Apparatus and method for posting a web logging message via a dispatch communication
CN107547586A (en) Method for sending information and device, request processing method and device
US20070004439A1 (en) Character/data transmitting/receiving system, terminal management apparatus and character/data transmitting/receiving method used therein
CN107302478A (en) The long-range control method and system of a kind of smart home
CN110808984A (en) M2M terminal control method and related equipment
CN108184131A (en) Start broadcasting based reminding method, device and readable storage medium storing program for executing
CN112000020A (en) Equipment distribution network processing method, equipment distribution network processing device and intelligent panel
US8150908B2 (en) System and method for notifying of the posting of a web logging message via a dispatch communication
US8185574B2 (en) System and method for retrieving a web logging message via a dispatch communication
KR100700271B1 (en) Meeting method and system using mobile phone

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180105