CN104639291B - A kind of information transceiving method, system and device - Google Patents

A kind of information transceiving method, system and device Download PDF

Info

Publication number
CN104639291B
CN104639291B CN201510046331.3A CN201510046331A CN104639291B CN 104639291 B CN104639291 B CN 104639291B CN 201510046331 A CN201510046331 A CN 201510046331A CN 104639291 B CN104639291 B CN 104639291B
Authority
CN
China
Prior art keywords
terminal
information
code identification
identification number
server
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.)
Active
Application number
CN201510046331.3A
Other languages
Chinese (zh)
Other versions
CN104639291A (en
Inventor
唐炯
胡新帮
孟凡成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SHENZHEN CHUANGMENG TIANDI TECHNOLOGY CO LTD
Original Assignee
SHENZHEN CHUANGMENG TIANDI 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 CHUANGMENG TIANDI TECHNOLOGY CO LTD filed Critical SHENZHEN CHUANGMENG TIANDI TECHNOLOGY CO LTD
Priority to CN201510046331.3A priority Critical patent/CN104639291B/en
Publication of CN104639291A publication Critical patent/CN104639291A/en
Application granted granted Critical
Publication of CN104639291B publication Critical patent/CN104639291B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of information transceiving method, system and devices, comprising: server receives the first information that first terminal is sent;Server coding rule according to the pre-stored data encodes the first information, generates the second information, and generate the code identification number of second information;Server sends the reception prompting message for carrying code identification number to second terminal;Whether second terminal query code identification number is greater than maximum code identification number in the code identification number set of second terminal storage;When second terminal inquires maximum code identification in code identification number set of the code identification number greater than second terminal storage, query result is sent to server;Server sends the second information to second terminal according to query result;Server sends the first information to first terminal and sends successful prompting message.Implement the embodiment of the present invention, can be improved reliability of the information in transmission process.

Description

A kind of information transceiving method, system and device
Technical field
The present invention relates to technical field of information processing more particularly to a kind of information transceiving methods, system and device.
Background technique
With the fast development of internet and the rapid proliferation of terminal, the function of terminal are become stronger day by day.User can use Terminal access external network data resource is communicated and is taken pictures etc..By taking communication as an example, after terminal A is by delivering It is transmitted to the server of operator, which sends information to terminal B again.Since in message transmitting procedure, terminal A will After delivering, no matter whether terminal B is properly received the information, and terminal B will not give mono- feedback notification of terminal A.And terminal A After delivering, if server loses the information during transmitting information to terminal B, terminal B does not receive the letter Breath.It transmits and fails so as to cause information.As it can be seen that information transmission reliability is not high at present.
Summary of the invention
The embodiment of the invention provides a kind of information transceiving method, system and devices, can be improved in message transmitting procedure Reliability.
The embodiment of the invention discloses a kind of information transceiving methods, comprising:
Server receives the first information that first terminal is sent;
The server coding rule according to the pre-stored data encodes the first information, generates the second information, And generate the code identification number of second information;
The server sends the reception prompting message for carrying the code identification number, the reception prompt to second terminal Message is for notifying the second terminal to receive second information;
The second terminal inquires the code identification number the collection whether code identification number is greater than second terminal storage Maximum code identification number in conjunction;
When the second terminal inquires code identification number collection of the code identification number greater than second terminal storage In conjunction when maximum code identification, query result is sent to the server;
The server sends second information to the second terminal according to the query result;
The server sends the first information to the first terminal and sends successful prompting message.
Correspondingly, the embodiment of the invention also discloses a kind of information transmission systems, comprising: first terminal, server and Second terminal, wherein
The first terminal is for sending the first information to the server;
The server encodes the first information for coding rule according to the pre-stored data, generates the second letter Breath, and generate the code identification number of second information;
The server is also used to send the reception prompting message for carrying the code identification number, institute to the second terminal It states and receives prompting message for notifying the second terminal to receive second information;
The second terminal is used to inquire the code identification whether code identification number is greater than second terminal storage Number set in maximum code identification number;
The second terminal, which is also used to work as, inquires the coding mark that the code identification number is greater than second terminal storage When knowing maximum code identification in number set, query result is sent to the server;
The server is also used to send second information to the second terminal according to the query result;
The server, which is also used to send the first information to the first terminal, sends successful prompting message.
Correspondingly, the embodiment of the invention also discloses a kind of information transceiving devices, comprising:
Receiving unit, for receiving the first information of first terminal transmission;
Generation unit encodes the first information for coding rule according to the pre-stored data, generates the second letter Breath, and generate the code identification number of second information;
Transmission unit, for sending the reception prompting message for carrying the code identification number to second terminal, so that described Second terminal maximum volume in inquiring code identification number set of the code identification number greater than second terminal storage When code identification number, query result is sent to the server, the reception prompting message is for notifying the second terminal to connect Receive second information;
The transmission unit is also used to send second information to the second terminal according to the query result;
The transmission unit, which is also used to send the first information to the first terminal, sends successful prompting message.
In the embodiment of the present invention, server receives the first information that first terminal is sent;The server according to depositing in advance The coding rule of storage encodes the first information, generates the second information, and generate the coding mark of second information Knowledge number;The server sends the reception prompting message for carrying the code identification number to second terminal, and the reception prompt disappears Breath is for notifying the second terminal to receive second information;The second terminal inquires whether the code identification number is greater than Maximum code identification number in the code identification number set of the second terminal storage;When the second terminal inquires the volume When code identification number is greater than maximum code identification in the code identification number set of second terminal storage, query result is sent out It send to the server;The server sends second information to the second terminal according to the query result;It is described Server sends the first information to the first terminal and sends successful prompting message.Implement the embodiment of the present invention, it can Improve reliability of the information in transmission process.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of information transceiving method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another information transceiving method disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structural schematic diagram of information transmission system disclosed by the embodiments of the present invention;
Fig. 4 is a kind of structural schematic diagram of information transceiving device disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of information transceiving method, system and devices, can be improved information in transmission process In reliability.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of information transceiving method disclosed by the embodiments of the present invention;In Fig. 1 In, first terminal can include but is not limited to smart phone (such as Android phone, iOS mobile phone), tablet computer, palm electricity The terminals such as brain and mobile internet device (Mobile Internet Devices, MID).Second terminal also may include but It is not limited to smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device Terminals such as (Mobile Internet Devices, MID).As shown in Figure 1, the information transceiving method the following steps are included:
S101, server receive the first information that first terminal is sent.
In the embodiment of the present invention, the first information is sent by first terminal, wherein the first information can be picture, language Sound or video etc.;And the first information includes at least one information.It, can be to input the when the first information includes a plurality of information The chronological order of one information is sent.
S102, above-mentioned server coding rule according to the pre-stored data encode the above-mentioned first information, generate second Information, and generate the code identification number of second information.
In the embodiment of the present invention, coding rule includes being encoded by the chronological order for receiving the above-mentioned first information Rule.And server can encode the first information when receiving the first information, generate the second information, and generate this second The code identification number of information.Wherein, code identification number is also relevant to coding rule, which is with incremental shape What formula generated.For example: in first time period, terminal A has sent five information to terminal B, then receives in server When to this five information, if the code identification number of first information is A10100, the corresponding coding of next four information Identification number then can be incremented by coding by received chronological order.Such as can be respectively A10101, A10102, A10103, A10104。
As an alternative embodiment, being received when there is at least one terminal to send information to terminal B in server To each terminal send information when, still encoded with the chronological order for receiving information.For example, at first Between in section terminal A to terminal B have sent first information and Article 2 information, terminal C gives terminal B to send in second time period Article 3 information and Article 4 information, within the third section period terminal A has sent Article 5 information to terminal B.If The corresponding code identification number of first information is 10114, then the corresponding code identification number of Article 2 information is 10115, Article 3 The corresponding code identification number of information is 10116, and the corresponding code identification number of Article 4 information is 10117, and Article 5 information is corresponding Code identification number be 10118.From the foregoing, it will be observed that the code identification number, which carries out coding to the information that some terminal is sent, generates phase The code identification number answered, the code identification number must be encoded by the chronological order for receiving information, but be not necessarily Poor ascending series.Because within the time period, other terminals may also send information to terminal B.So for code identification number It is an equal difference ascending series for set, but code identification number corresponding for some terminal is not then that equal difference is incremented by Ordered series of numbers.
S103, above-mentioned server send the reception prompting message for carrying above-mentioned code identification number to second terminal.
In the embodiment of the present invention, above-mentioned reception prompting message is for notifying above-mentioned second terminal to receive above-mentioned second information.
S104, above-mentioned second terminal inquire the code identification whether above-mentioned code identification number is greater than the storage of above-mentioned second terminal Number set in maximum code identification number.
In the embodiment of the present invention, when the reception that second terminal receives the above-mentioned code identification number of carrying of server transmission mentions When showing message, which can obtain the stored code identification number set of local terminal, and the code identification number is collected Each code identification number in conjunction is compared, to obtain maximum code identification number in the code identification number set.When second After terminal gets maximum code identification number, code identification number which is sent with above-mentioned server It is compared, and judges the size relation for the code identification number that the code identification number that server is sent is stored with second terminal.
S105, it is greater than the code identification that above-mentioned second terminal stores when above-mentioned second terminal inquires above-mentioned code identification number Number set in maximum code identification when, query result is sent to above-mentioned server.
In the embodiment of the present invention, query result includes that the maximum code identification number of second terminal storage is sent greater than server The maximum code identification number that stores of code identification number and second terminal be less than or equal to the code identification number two that server is sent Kind query result.
S106, above-mentioned server send above-mentioned second information to above-mentioned second terminal according to above-mentioned query result.
In the embodiment of the present invention, when the query result that server receives second terminal transmission includes what second terminal stored When maximum code identification number is greater than the code identification that server is sent, above-mentioned second information can be sent to second by server Terminal.
S107, above-mentioned server send the above-mentioned first information to above-mentioned first terminal and send successful prompting message.
In the embodiment of the present invention, when above-mentioned second terminal is successfully received the second information of server transmission, server It will be notified that first terminal, wherein the first information has been successfully transmitted.
In Fig. 1, server receives the first information that first terminal is sent;Above-mentioned server coding according to the pre-stored data Rule encodes the above-mentioned first information, generates the second information, and generate the code identification number of above-mentioned second information;It is above-mentioned Server sends the reception prompting message for carrying above-mentioned code identification number to second terminal, and above-mentioned reception prompting message is for notifying Above-mentioned second terminal receives above-mentioned second information;Above-mentioned second terminal inquires whether above-mentioned code identification number is greater than above-mentioned second eventually Maximum code identification number in the code identification number set of end storage;When above-mentioned second terminal inquires above-mentioned code identification number greatly In the code identification number set of above-mentioned second terminal storage when maximum code identification, query result is sent to above-mentioned clothes Business device;Above-mentioned server sends above-mentioned second information to above-mentioned second terminal according to above-mentioned query result;Above-mentioned server is upward It states first terminal and sends the successful prompting message of above-mentioned first information transmission.Implement the embodiment of the present invention, can be improved information and exist Reliability in transmission process.
Referring to Fig. 2, Fig. 2 is the flow diagram of another information transceiving method disclosed by the embodiments of the present invention;Such as Fig. 2 It is shown, the information transceiving method the following steps are included:
S201, server receive the first information that first terminal is sent.
S202, above-mentioned server coding rule according to the pre-stored data encode the above-mentioned first information, generate second Information, and generate the code identification number of second information.
S203, above-mentioned server send the reception prompting message for carrying above-mentioned code identification number to second terminal.
In the embodiment of the present invention, the reception prompting message is for notifying above-mentioned second terminal to receive above-mentioned second information.
S204, above-mentioned second terminal inquire the code identification whether above-mentioned code identification number is greater than the storage of above-mentioned second terminal Number set in maximum code identification number.
S205, it is greater than the code identification that above-mentioned second terminal stores when above-mentioned second terminal inquires above-mentioned code identification number Number set in maximum code identification when, by above-mentioned to the above-mentioned server of query result.
In the embodiment of the present invention, when above-mentioned second terminal receives any information that above-mentioned server is sent, by the information Code identification number be added to pre-establish above-mentioned code identification number set in.
S206, above-mentioned server send above-mentioned second information to above-mentioned second terminal according to above-mentioned query result.
As an alternative embodiment, when causing query result to send failure due to extraneous network factors, when the Two terminals do not receive the second information also in preset time interval, then second terminal can send query result again, with Server is prompted to send the second information.
S207, above-mentioned server send the above-mentioned first information to above-mentioned first terminal and send successful prompting message.
S208, it is less than or equal to the volume that above-mentioned second terminal stores when above-mentioned second terminal inquires above-mentioned code identification number In code identification number set when maximum code identification, above-mentioned second terminal forbids receiving second information.
In the embodiment of the present invention, it is less than or equal to above-mentioned second eventually when above-mentioned second terminal inquires above-mentioned code identification number In the code identification number set of end storage when maximum code identification, illustrate that second information is the information of received mistake, So second terminal can directly reject the information.
S209, when above-mentioned server does not receive above-mentioned query result, above-mentioned server is sent to above-mentioned first terminal The first information sends the prompting message of failure.
In the embodiment of the present invention, it is less than or equal to above-mentioned second eventually when above-mentioned second terminal inquires above-mentioned code identification number In the code identification number set of end storage when maximum code identification, query result will not be then sent to by above-mentioned second terminal Server.When server does not receive query result, the prompt that the first information sends failure is sent to above-mentioned first terminal Message;The transmission of this information terminates.
In Fig. 2, when the first information sends failure, server still can send the first information to first terminal and send mistake The prompting message lost.Prompt information i.e. in this way terminates the transmission of this information.Even if information is lost, first terminal can be with According to the prompt information, the first information is sent again.It can equally guarantee the reliability of information transmission.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of information transmission system disclosed by the embodiments of the present invention;In Fig. 3 In, first terminal can include but is not limited to smart phone (such as Android phone, iOS mobile phone), tablet computer, palm electricity The terminals such as brain and mobile internet device (Mobile Internet Devices, MID).And second terminal also can wrap It includes but is not limited to smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile Internet and set Terminals such as standby (Mobile Internet Devices, MID).As shown in figure 3, the information transmission system may include first whole End, second terminal and server, wherein
Above-mentioned first terminal 31, for sending the first information to server.
In the embodiment of the present invention, the first information is sent by first terminal 31, wherein the first information can be picture, Voice or video etc.;And the first information includes at least one information.It, can be with input when the first information includes a plurality of information The chronological order of the first information is sent.
Above-mentioned server 32 encodes the above-mentioned first information for coding rule according to the pre-stored data, generates the Two information, and generate the code identification number of above-mentioned second information.
In the embodiment of the present invention, coding rule includes being encoded by the chronological order for receiving the above-mentioned first information Rule.And server 32 can encode the first information when receiving the first information, generate the second information, and generate this The code identification number of two information.Wherein, code identification number is also relevant to coding rule, which is to be incremented by What form generated.For example: in first time period, terminal A has sent five information to terminal B, then connects in server When receiving this five information, if the code identification number of first information is A10100, the corresponding volume of next four information Code identification number then can be incremented by coding by received chronological order.Such as can be respectively A10101, A10102, A10103, A10104。
As an alternative embodiment, being received when there is at least one terminal to send information to terminal B in server To each terminal send information when, still encoded with the chronological order for receiving information.For example, at first Between in section terminal A to terminal B have sent first information and Article 2 information, terminal C gives terminal B to send in second time period Article 3 information and Article 4 information, within the third section period terminal A has sent Article 5 information to terminal B.If The corresponding code identification number of first information is 10114, then the corresponding code identification number of Article 2 information is 10115, Article 3 The corresponding code identification number of information is 10116, and the corresponding code identification number of Article 4 information is 10117, and Article 5 information is corresponding Code identification number be 10118.From the foregoing, it will be observed that the code identification number, which carries out coding to the information that some terminal is sent, generates phase The code identification number answered, the code identification number must be encoded by the chronological order for receiving information, but be not necessarily Poor ascending series.Because within the time period, other terminals may also send information to terminal B.So for code identification number It is an equal difference ascending series for set, but code identification number corresponding for some terminal is not then that equal difference is incremented by Ordered series of numbers.
Above-mentioned server 32 is also used to send the reception prompt for carrying above-mentioned code identification number to above-mentioned second terminal 33 and disappears Breath.
In the embodiment of the present invention, above-mentioned reception prompting message is for notifying above-mentioned second terminal 33 to receive above-mentioned second letter Breath.
Above-mentioned second terminal 33, the coding mark for whether being greater than the storage of above-mentioned second terminal for inquiring above-mentioned code identification number Know maximum code identification number in number set.
In the embodiment of the present invention, when second terminal 33 receives connecing for the above-mentioned code identification number of carrying of the transmission of server 32 When receiving prompting message, which can obtain the stored code identification number set of local terminal, and the coding is marked The each code identification number known in number set is compared, to obtain maximum code identification number in the code identification number set. After second terminal 33 gets maximum code identification, which is sent with above-mentioned server 32 Code identification number is compared, and judges the code identification number that the code identification number that server 32 is sent is stored with second terminal 33 Size relation.
Above-mentioned second terminal 33 is also used to inquire the volume that above-mentioned code identification number is greater than the storage of above-mentioned second terminal 33 In code identification number set when maximum code identification, query result is sent to above-mentioned server 32.
As an alternative embodiment, when causing query result to send failure due to extraneous network factors, when the Two terminals 33 do not receive the second information also in preset time interval, then second terminal 33 can send inquiry knot again Fruit, to prompt server 32 to send the second information.
In the embodiment of the present invention, query result includes that the maximum code identification number of the storage of second terminal 33 is greater than server 32 The code identification number of transmission is less than or equal to the coding that server 32 is sent with the second maximum code identification number that 33 ends store eventually Two kinds of query results of identification number.
Above-mentioned server 32 is also used to send above-mentioned second information to above-mentioned second terminal 33 according to above-mentioned query result.
In the embodiment of the present invention, when the query result that server 32 receives the transmission of second terminal 33 includes second terminal 33 When the maximum code identification number of storage is greater than the code identification that server 32 is sent, server 32 i.e. can be by above-mentioned second information It is sent to second terminal 33.
Above-mentioned server 32, being also used to send above-mentioned first information transmission to above-mentioned first terminal 31, successfully prompt disappears Breath.
In the embodiment of the present invention, when above-mentioned second terminal 33 is successfully received the second information of the transmission of server 32, clothes Business device will be notified that 31 first information of first terminal has been successfully transmitted.
Above-mentioned second terminal 33 is also used to inquire above-mentioned code identification number and deposits less than or equal to above-mentioned second terminal 33 In the code identification number set of storage when maximum code identification, forbid receiving above-mentioned second information.
In the embodiment of the present invention, when above-mentioned second terminal 33 inquires above-mentioned code identification number less than or equal to above-mentioned second In the code identification number set that terminal 33 stores when maximum code identification, illustrate that second information is the letter of received mistake Breath, so second terminal 33 can directly reject the information.
Above-mentioned server 32, is also used to when not receiving above-mentioned query result, sends to above-mentioned first terminal 31 above-mentioned The first information sends the prompting message of failure.
In the embodiment of the present invention, when above-mentioned second terminal 33 inquires above-mentioned code identification number less than or equal to above-mentioned second In the code identification number set that terminal 33 stores when maximum code identification, above-mentioned second terminal 33 then will not be by query result It is sent to server 32.When server 32 does not receive query result, the first information hair is sent to above-mentioned first terminal 31 Send the prompting message of failure;The transmission of this information terminates.
Above-mentioned second terminal 33 is also used to when receiving any information that above-mentioned server 32 is sent, by the information Code identification number is added into the above-mentioned code identification number set pre-established.
In Fig. 3, above-mentioned first terminal 31 is for sending the first information to the server 32;Above-mentioned server 32 is used for Coding rule according to the pre-stored data encodes the above-mentioned first information, generates the second information, and generates above-mentioned second letter The code identification number of breath;Above-mentioned server 32 is also used to send the reception for carrying above-mentioned code identification number to above-mentioned second terminal 33 Prompting message, above-mentioned reception prompting message is for notifying above-mentioned second terminal 33 to receive above-mentioned second information;Above-mentioned second terminal 33 for inquiring whether above-mentioned code identification number is greater than maximum volume in the code identification number set of above-mentioned second terminal 33 storage Code identification number;Above-mentioned second terminal 33, which is also used to work as, inquires the volume that above-mentioned code identification number is greater than the storage of above-mentioned second terminal 33 In code identification number set when maximum code identification, query result is sent to above-mentioned server 32;Above-mentioned server 32 is also For sending above-mentioned second information to above-mentioned second terminal 33 according to above-mentioned query result;Above-mentioned server 32 is also used to above-mentioned First terminal 31 sends the above-mentioned first information and sends successful prompting message.Implement the embodiment of the present invention, can be improved information and exist Reliability in transmission process.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of information transceiving device disclosed by the embodiments of the present invention.Such as Fig. 4 institute Show, which includes: receiving unit 41, generation unit 42 and transmission unit 43, wherein
Above-mentioned receiving unit 41, for receiving the first information of first terminal transmission.
In the embodiment of the present invention, the first information is sent by first terminal, wherein the first information can be picture, language Sound or video etc.;And the first information includes at least one information.It, can be to input the when the first information includes a plurality of information The chronological order of one information is sent.
Above-mentioned generation unit 42 encodes the above-mentioned first information for coding rule according to the pre-stored data, generates Second information, and generate the code identification number of above-mentioned second information.
In the embodiment of the present invention, coding rule includes the time order and function of the above-mentioned first information received by receiving unit 41 The rule that sequence is encoded.And receiving unit 41, when receiving the first information, generation unit 42 can encode the first information, The second information is generated, and generates the code identification number of second information.Wherein, code identification number is also related to coding rule , which generated in incremental form.For example: in first time period, terminal A is sent out to terminal B Five information are sent, then when receiving unit 41 receives this five information, if the code identification number of first information is A10100, then the corresponding code identification number of next four information then can be incremented by coding by received chronological order.Such as It can be respectively A10101, A10102, A10103, A10104.
As an alternative embodiment, when there is at least one terminal to send information to terminal B, in receiving unit 41 When receiving the information that each terminal is sent, still encoded with the chronological order for receiving information.For example, when Terminal A has sent first information and Article 2 information to terminal B in one period, and terminal C gives terminal B in second time period Article 3 information and Article 4 information are had sent, terminal A has sent Article 5 letter to terminal B within the third section period Breath.If the corresponding code identification number of first information is 10114, the corresponding code identification number of Article 2 information is 10115, the The corresponding code identification number of three information is 10116, and the corresponding code identification number of Article 4 information is 10117, Article 5 information Corresponding code identification number is 10118.From the foregoing, it will be observed that the code identification number carries out coding life to the information that some terminal is sent At corresponding code identification number, which must be the chronological order coding by reception information, but not necessarily It is equal difference ascending series.Because within the time period, other terminals may also send information to terminal B.So being marked for coding It is an equal difference ascending series, but code identification number corresponding for some terminal is not then equal difference for knowing number set Ascending series.
Above-mentioned transmission unit 43, for sending the reception prompting message for carrying above-mentioned code identification number to second terminal, with Make above-mentioned second terminal inquire above-mentioned code identification number greater than above-mentioned second terminal storage code identification number set in most When big code identification, query result is sent to above-mentioned server, the reception prompting message is for notifying above-mentioned second eventually End receives above-mentioned second information.
In the embodiment of the present invention, above-mentioned reception prompting message is for notifying above-mentioned second terminal to receive above-mentioned second information.
In the embodiment of the present invention, when second terminal receives connecing for the above-mentioned code identification number of carrying of the transmission of transmission unit 43 When receiving prompting message, which can obtain local terminal stored code identification number set, and by the code identification Number set in each code identification number be compared, with obtain the code identification number set in maximum code identification number.When After second terminal gets maximum code identification number, volume which is sent with above-mentioned transmission unit 43 Code identification number is compared, and judges the size for the code identification number that the code identification number that server is sent is stored with second terminal Relationship.
In the embodiment of the present invention, query result includes that the maximum code identification number of second terminal storage is greater than transmission unit 43 The code identification number of transmission is less than or equal to the coding that transmission unit 43 is sent with the maximum code identification number that second terminal stores Two kinds of query results of identification number.
Above-mentioned transmission unit 43 is also used to send above-mentioned second information to above-mentioned second terminal according to above-mentioned query result.
In the embodiment of the present invention, when the query result that receiving unit 41 receives second terminal transmission includes that second terminal is deposited When the maximum code identification number of storage is greater than the code identification that transmission unit 43 is sent, transmission unit 43 can be believed above-mentioned second Breath is sent to second terminal.
Above-mentioned transmission unit 43, being also used to send above-mentioned first information transmission to above-mentioned first terminal, successfully prompt disappears Breath.
Above-mentioned transmission unit 43, is also used to when not receiving above-mentioned query result, sends to above-mentioned first terminal above-mentioned The first information sends the prompting message of failure.
In the embodiment of the present invention, it is less than or equal to above-mentioned second eventually when above-mentioned second terminal inquires above-mentioned code identification number In the code identification number set of end storage when maximum code identification, query result will not be then sent to by above-mentioned second terminal Server.When receiving unit 41 does not receive query result, transmission unit 43 sends first letter to above-mentioned first terminal Breath sends the prompting message of failure;The transmission of this information terminates.
In Fig. 4, receiving unit 41 receives the first information that first terminal is sent;Generation unit 42 is according to the pre-stored data Coding rule encodes the above-mentioned first information, generates the second information, and generate the code identification number of above-mentioned second information; Transmission unit 43 sends the reception prompting message for carrying above-mentioned code identification number to second terminal, so that above-mentioned second terminal is inquired Whether above-mentioned code identification number is greater than maximum code identification number in the code identification number set of above-mentioned second terminal storage;When upper It states second terminal and inquires above-mentioned code identification number greater than maximum volume in the code identification number set of above-mentioned second terminal storage When code identification number, and query result is sent to above-mentioned server by the second terminal;And by above-mentioned server according to Above-mentioned query result sends above-mentioned second information to above-mentioned second terminal;Transmission unit 43 sends above-mentioned the to above-mentioned first terminal One information sends successful prompting message.Implement the embodiment of the present invention, can be improved reliability of the information in transmission process.
The information of Fig. 1, Fig. 2 introduction is combined to receive specifically, the present invention can be implemented in the terminal introduced in the embodiment of the present invention Process some or all of in forwarding method embodiment.
Module or submodule in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central Processing Unit, central processing unit), or pass through ASIC (Application Specific Integrated Circuit, specific integrated circuit) it realizes.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Unit in the terminal of that embodiment of the invention can be combined, divided and deleted according to actual needs.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (10)

1. a kind of information transceiving method characterized by comprising
Server receives the first information that first terminal is sent;
The server coding rule according to the pre-stored data encodes the first information, generates the second information, and Generate the code identification number of second information, the code identification number be received according to server need to be sent to it is same What the chronological order of the first information of terminal was generated in the form of being incremented by;
The server sends the reception prompting message for carrying the code identification number, the reception prompting message to second terminal For notifying the second terminal to receive second information;
The second terminal inquires whether the code identification number is greater than in the code identification number set of second terminal storage Maximum code identification number;
When the second terminal inquires in code identification number set of the code identification number greater than second terminal storage When maximum code identification, query result is sent to the server;
The server sends second information to the second terminal according to the query result;
The server sends the first information to the first terminal and sends successful prompting message.
2. the method according to claim 1, wherein the method also includes:
When the second terminal inquires the code identification number that the code identification number is less than or equal to second terminal storage In set when maximum code identification, the second terminal forbids receiving second information.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
When the server does not receive the query result, the server sends first letter to the first terminal Breath sends the prompting message of failure.
4. method according to any one of claims 1 to 3, which is characterized in that the method also includes:
When the second terminal receives any information that the server is sent, the code identification number of the information is added to pre- In the code identification number set first established.
5. a kind of information transmission system characterized by comprising first terminal, server and second terminal, wherein
The first terminal, for sending the first information to the server;
The server encodes the first information for coding rule according to the pre-stored data, generates the second information, And the code identification number of second information is generated, the code identification number is to receive needs according to server to be sent to together What the chronological order of the first information of one terminal was generated in the form of being incremented by;
The server is also used to send the reception prompting message for carrying the code identification number to the second terminal, described Prompting message is received for notifying the second terminal to receive second information;
The second terminal, the code identification number collection for whether being greater than second terminal storage for inquiring the code identification number Maximum code identification number in conjunction;
The second terminal is also used to inquire the code identification number that the code identification number is greater than second terminal storage In set when maximum code identification, query result is sent to the server;
The server is also used to send second information to the second terminal according to the query result;
The server is also used to send the successful prompting message of the first information transmission to the first terminal.
6. system according to claim 5, which is characterized in that
The second terminal is also used to inquire the coding that the code identification number is less than or equal to second terminal storage In identification number set when maximum code identification, forbid receiving second information.
7. system according to claim 6, which is characterized in that
The server is also used to when not receiving the query result, sends the first information to the first terminal Send the prompting message of failure.
8. according to system described in claim 5~7 any one, which is characterized in that
The second terminal is also used to when receiving any information that the server is sent, by the code identification of the information Number be added to pre-establish the code identification number set in.
9. a kind of information transceiving device characterized by comprising
Receiving unit, for receiving the first information of first terminal transmission;
Generation unit encodes the first information for coding rule according to the pre-stored data, generates the second information, with And the code identification number of second information is generated, the code identification number is to receive needs according to receiving unit to be sent to together What the chronological order of the first information of one terminal was generated in the form of being incremented by;
Transmission unit, for sending the reception prompting message for carrying the code identification number to second terminal, so that described second Terminal is inquiring the code identification number greater than maximum coding mark in the code identification number set of second terminal storage When knowledge, query result is sent to the information transceiving device, the reception prompting message is for notifying the second terminal Receive second information;
The transmission unit is also used to send second information to the second terminal according to the query result;
The transmission unit is also used to send the successful prompting message of the first information transmission to the first terminal.
10. device according to claim 9, which is characterized in that
The transmission unit is also used to when not receiving the query result, sends first letter to the first terminal Breath sends the prompting message of failure.
CN201510046331.3A 2015-01-29 2015-01-29 A kind of information transceiving method, system and device Active CN104639291B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510046331.3A CN104639291B (en) 2015-01-29 2015-01-29 A kind of information transceiving method, system and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510046331.3A CN104639291B (en) 2015-01-29 2015-01-29 A kind of information transceiving method, system and device

Publications (2)

Publication Number Publication Date
CN104639291A CN104639291A (en) 2015-05-20
CN104639291B true CN104639291B (en) 2019-01-01

Family

ID=53217653

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510046331.3A Active CN104639291B (en) 2015-01-29 2015-01-29 A kind of information transceiving method, system and device

Country Status (1)

Country Link
CN (1) CN104639291B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833695A (en) * 2011-06-15 2012-12-19 腾讯科技(深圳)有限公司 Instant communication information prompting client, system and method
CN104168335A (en) * 2014-09-02 2014-11-26 东软熙康健康科技有限公司 Data synchronization method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100742362B1 (en) * 2005-10-04 2007-07-25 엘지전자 주식회사 Method and apparatus for securitily sending/receiving contents in mobile network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102833695A (en) * 2011-06-15 2012-12-19 腾讯科技(深圳)有限公司 Instant communication information prompting client, system and method
CN104168335A (en) * 2014-09-02 2014-11-26 东软熙康健康科技有限公司 Data synchronization method and device

Also Published As

Publication number Publication date
CN104639291A (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN107087033B (en) Message pushing method and device, storage medium and computer equipment
US10313126B2 (en) Barcode security authentication method
CN102638586B (en) Sharing method, system and device for application program information
CN102970362A (en) Method and device for sharing cloud data
CN104869049B (en) Terminal information sending method and system
CN104253741A (en) Information sending method and device and system thereof
CN104767714A (en) Method, terminal and system for associating user resource information
CN104486748B (en) Contact number update method and mobile terminal
WO2017166508A1 (en) Data processing method and device
US10341830B2 (en) Method and apparatus for sending or forwarding information
CN105260870A (en) Identity identification method, identity identification system and identity identification terminal
CN105208141A (en) Equipment coding processing method and server
CN105306348A (en) Solving method for delayed and leaked messages in group chat and instant messaging tool
CN103888264A (en) Inter-mobile-phone data transferring method based on background data exchange, terminal and system
CN105791520A (en) Contact list updating method and coresponding apparatus
CN104506405B (en) The method and device of cross-domain access
CN104639291B (en) A kind of information transceiving method, system and device
CN103927646A (en) Information processing method and electronic equipment
CN106385516B (en) A kind of method, apparatus and terminal of the transfer of setting business
CN103490984A (en) Method and device for obtaining user information
CN105320976A (en) Retrieving method and apparatus for two-dimensional code of smart household device
CN105933339B (en) A kind of application login method and mobile terminal
CN105704237B (en) A kind of charge processing method and relevant device, server
CN104581654B (en) A kind of exchange method and apparatus of card information
CN103079185B (en) A kind of charging method and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant