CN106534128A - Method for verifying data communication state - Google Patents

Method for verifying data communication state Download PDF

Info

Publication number
CN106534128A
CN106534128A CN201611020031.9A CN201611020031A CN106534128A CN 106534128 A CN106534128 A CN 106534128A CN 201611020031 A CN201611020031 A CN 201611020031A CN 106534128 A CN106534128 A CN 106534128A
Authority
CN
China
Prior art keywords
terminal
copper
communication network
information
feedback information
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
CN201611020031.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.)
Idea Of Shenzhen Famous Communication Technology Ltd By Share Ltd
Original Assignee
Idea Of Shenzhen Famous Communication Technology Ltd By Share 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 Idea Of Shenzhen Famous Communication Technology Ltd By Share Ltd filed Critical Idea Of Shenzhen Famous Communication Technology Ltd By Share Ltd
Priority to CN201611020031.9A priority Critical patent/CN106534128A/en
Publication of CN106534128A publication Critical patent/CN106534128A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user

Abstract

The embodiment of the invention discloses a method for verifying a data communication state. The method comprises: a first terminal sends verification information to a second terminal by a telecommunication network, wherein the verification information is used for verifying whether a data communication state of the second terminal is an on-line state; the first terminal receives feedback information sent by the second terminal through the telecommunication network, wherein the feedback information is used for indicating that the data communication state of the second terminal is an on-line state; and the first terminal determines that the data communication state of the second terminal is an on-line state. Therefore, the first terminal and the second terminal can determine whether the data communication state of the opposite terminal is an on-line state without using a data channel rule, so that the network flow is saved.

Description

A kind of verification method of copper
Technical field
The present invention relates to the communications field, more particularly to a kind of verification method of copper.
Background technology
It is well known that mobile communications network includes communication network communication and data communication, communication network communication mainly includes The network communicating system of three big operators, its main business include voice call and short message interacting.Data communication connects for terminal The network accessed using modes such as 3G nets, 4G nets or WiFi by the communication mode used by internet, such as terminal.Current people Increasingly get used to mobile terminal accessing internet, such as by all kinds of websites of mobile phone access, or use types of applications Program.But, by way of terminal access internet must be using data communication, i.e. during the passage used by its data flow Data channel.And terminal typically all possesses the authority closed with turn-on data passage, so when a terminal needs and another When terminal enters row data communication, then it needs to be determined that the copper of another terminal is presence, so as to can just carry out Data communication.
In existing judgment mode, it is that terminal passes through data channel, sends specific instruction and be given to server, server Inquiry is returned according to the end message of storage.The waste of network traffics can so be caused.
The content of the invention
A kind of verification method of copper is embodiments provided, for checking data are carried out between terminal Whether communications status are presence, saving network flow.
A kind of verification method of copper is embodiments provided, including:
First terminal sends checking information to second terminal by communication network, and the checking information is used to verify described the Whether the copper of two terminals is presence;
The first terminal receives the feedback information that the second terminal is sent by communication network, the feedback information For indicating that the copper of the second terminal is presence;
The first terminal determines that the copper of the second terminal is presence.
Wherein, after first terminal sends checking information to second terminal by communication network, methods described also includes:
Whether the second terminal includes the first preset characters string in judging the checking information, if comprising really The copper of the fixed first terminal is presence.
Wherein, the first terminal determines that the copper of the second terminal is presence, including:
Whether the first terminal includes the second preset characters string in judging the feedback information, if comprising, it is determined that institute The copper for stating second terminal is presence.
Wherein, if the first terminal does not receive the feedback information that the second terminal sends in Preset Time, Then determine the second terminal copper be off-line state.
Wherein, first terminal sends checking information to second terminal by communication network, including:
First terminal sends checking information to second terminal by way of communication network is with note.
Wherein, the checking information is the sightless hiding information of user.
Wherein, the first terminal receives the feedback information that the second terminal is sent by communication network, including:
The first terminal receives the feedback information that the second terminal is sent by way of communication network is with note.
Wherein, the feedback information is the sightless hiding information of user.
In the embodiment of the present invention, first terminal sends checking information, the checking letter to second terminal by communication network Whether the copper ceased for verifying the second terminal is presence, and the first terminal receives described second The feedback information that terminal is sent by communication network, the feedback information are used for the copper for indicating the second terminal For presence, the first terminal determines that the copper of the second terminal is presence.So, first terminal Then need not then can determine whether the copper of opposite end is presence using data channel with second terminal, save Network traffics.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is one embodiment schematic diagram of the verification method of copper in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of the verification method of copper in the embodiment of the present invention.
Specific embodiment
A kind of verification method of copper is embodiments provided, for checking data are carried out between terminal Whether communications status are presence, saving network flow.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on Embodiment in the present invention, the every other enforcement obtained under the premise of creative work is not made by those skilled in the art Example, belongs to the scope of protection of the invention.
Term " first ", " second ", " the 3rd " in description and claims of this specification and above-mentioned accompanying drawing, " Four " etc. (if present) is for distinguishing similar object, without for describing specific order or precedence.Should manage The data that solution is so used can be exchanged in the appropriate case, so that embodiments of the invention described herein for example can be removing Order beyond those for illustrating here or describing is implemented.
With reference to shown in Fig. 1, in the embodiment of the present invention, one embodiment of the verification method of copper includes:
101st, first terminal sends checking information to second terminal by communication network, and the checking information is used to verify institute Whether the copper for stating second terminal is presence;
First terminal and second terminal can be mobile phones, or can be the equipment of mobile phone or other carrying communication functions (the such as electronic equipment with communication module), which possesses the function of short message communication.
Such as, first terminal possesses a phone number, and second terminal also possesses a phone number, and first terminal passes through The phone number of second terminal, sends a note by way of communication network is with note to second terminal, and the note can be with The sightless hidden state of user is set to, the content of the note can be the first preset characters string, and such as content is " * * * PROB###”.First terminal can be arranged by default application program mutually with second terminal, and agreement includes the character string Content note be verify opposite end copper whether be presence.The application program do not limit programming language and Programming platform.Such as programming language can be C language, C Plus Plus or Java language etc., programming platform can be Windows or Person Linux etc..
102nd, the first terminal receives the feedback information that the second terminal is sent by communication network, the feedback Information is used to indicate that the copper of the second terminal to be presence;
When second terminal receive first terminal transmission checking information after, if the default application program of second terminal be Line states, then it represents that the copper of second terminal is presence, then can be anti-in the way of note by communication network Feedback one feeds back to first terminal, and the note could be arranged to the sightless hidden state of user, and the content of the note can Think the second preset characters string, such as content is " * * * OK### ", and first terminal and second terminal can pass through the default application Program is arranged mutually, the note of content of the agreement comprising the character string be confirm opposite end copper be whether Line states.
103rd, the first terminal determines that the copper of the second terminal is presence.
When first terminal receives the note of second terminal feedback, the particular content of its note is parsed, determines which includes After " * * * OK### " character string, it is determined that the copper of second terminal is presence, then installed on first terminal Default application program can then to update the default application program installed by second terminal be presence.
In the embodiment of the present invention, first terminal sends checking information, the checking letter to second terminal by communication network Whether the copper ceased for verifying the second terminal is presence, and the first terminal receives described second The feedback information that terminal is sent by communication network, the feedback information are used for the copper for indicating the second terminal For presence, the first terminal determines that the copper of the second terminal is presence.So, first terminal Then need not then can determine whether the copper of opposite end is presence using data channel with second terminal, save Network traffics.
With reference to shown in Fig. 2, in the embodiment of the present invention, another embodiment of the verification method of copper includes:
201st, first terminal sends checking information to second terminal by communication network, and the checking information is used to verify institute Whether the copper for stating second terminal is presence;
First terminal and second terminal can be mobile phones, or can be the equipment of mobile phone or other carrying communication functions (the such as electronic equipment with communication module), which possesses the function of short message communication.
Such as, first terminal possesses a phone number, and second terminal also possesses a phone number, and first terminal passes through The phone number of second terminal, sends a note by way of communication network is with note to second terminal, and the note can be with The sightless hidden state of user is set to, the content of the note can be the first preset characters string, and such as content is " * * * PROB###”.First terminal can be arranged by default application program mutually with second terminal, and agreement includes the character string Content note be verify opposite end copper whether be presence.The application program do not limit programming language and Programming platform.Such as programming language can be C language, C Plus Plus or Java language etc., programming platform can be Windows or Person Linux etc..
202nd, whether the second terminal includes the first preset characters string in judging the checking information, if comprising, Then determine the first terminal copper be presence;
After second terminal receives the checking information of first terminal transmission, whether wrap during the checking information can also be judged Containing the first preset characters string, than such as whether include " * * * PROB### ", if comprising second terminal is then on default application program The state for updating the default application program installed by first terminal is presence.
203rd, the first terminal receives the feedback information that the second terminal is sent by communication network, the feedback Information is used to indicate that the copper of the second terminal to be presence;
When second terminal receive first terminal transmission checking information after, if the default application program of second terminal be Line states, then it represents that the copper of second terminal is presence, then can be anti-in the way of note by communication network Feedback one feeds back to first terminal, and the note could be arranged to the sightless hidden state of user, and the content of the note can Think the second preset characters string, such as content is " * * * OK### ", and first terminal and second terminal can pass through the default application Program is arranged mutually, the note of content of the agreement comprising the character string be confirm opposite end copper be whether Line states.
204th, whether the first terminal includes the second preset characters string in judging the feedback information, if comprising really The copper of the fixed second terminal is presence.
When first terminal receives the note of second terminal feedback, the particular content of its note is parsed, determines which includes After " * * * OK### " character string, it is determined that the copper of second terminal is presence, then installed on first terminal Default application program can then to update the default application program installed by second terminal be presence.
Optionally, if the first terminal does not receive the feedback letter that the second terminal sends in Preset Time Breath, it is determined that the copper of the second terminal is off-line state.
In order to avoid the long-term wait of first terminal, a wait can be set after first terminal sends checking information Time, such as 5 seconds, if first terminal does not receive the feedback letter of second terminal transmission for 5 seconds afterwards, also in transmission checking information Breath, then it represents that the default application program installed by second terminal is off-line state, then first terminal is then default what is installed The state that the default application program installed by second terminal is updated on application program is off-line state.
The above, above example only to illustrate technical scheme, rather than a limitation;Although with reference to front State embodiment to be described in detail the present invention, it will be understood by those within the art that:Which still can be to front State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these Modification is replaced, and does not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (8)

1. a kind of verification method of copper, it is characterised in that methods described includes:
First terminal sends checking information to second terminal by communication network, and the checking information is used to verify described second eventually Whether the copper at end is presence;
The first terminal receives the feedback information that the second terminal is sent by communication network, and the feedback information is used for Indicate the second terminal copper be presence;
The first terminal determines that the copper of the second terminal is presence.
2. method according to claim 1, it is characterised in that sent to second terminal by communication network in first terminal After checking information, methods described also includes:
Whether the second terminal includes the first preset characters string in judging the checking information, if comprising, it is determined that institute The copper for stating first terminal is presence.
3. method according to claim 1, it is characterised in that the first terminal determines that the data of the second terminal are led to Letter state is presence, including:
Whether the first terminal is judged comprising the second preset characters string in the feedback information, if comprising, it is determined that described the The copper of two terminals is presence.
4. method according to claim 1, it is characterised in that if the first terminal do not receive in Preset Time it is described The feedback information that the second terminal sends, it is determined that the copper of the second terminal is off-line state.
5. the method according to Claims 1-4 wherein any one, it is characterised in that first terminal passes through communication network Checking information is sent to second terminal, including:
First terminal sends checking information to second terminal by way of communication network is with note.
6. method according to claim 5, it is characterised in that the checking information is the sightless hiding information of user.
7. the method according to Claims 1-4 wherein any one, it is characterised in that the first terminal receives institute The feedback information that second terminal is sent by communication network is stated, including:
The first terminal receives the feedback information that the second terminal is sent by way of communication network is with note.
8. method according to claim 7, it is characterised in that the feedback information is the sightless hiding information of user.
CN201611020031.9A 2016-11-18 2016-11-18 Method for verifying data communication state Pending CN106534128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611020031.9A CN106534128A (en) 2016-11-18 2016-11-18 Method for verifying data communication state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611020031.9A CN106534128A (en) 2016-11-18 2016-11-18 Method for verifying data communication state

Publications (1)

Publication Number Publication Date
CN106534128A true CN106534128A (en) 2017-03-22

Family

ID=58352680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611020031.9A Pending CN106534128A (en) 2016-11-18 2016-11-18 Method for verifying data communication state

Country Status (1)

Country Link
CN (1) CN106534128A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021031922A1 (en) * 2019-08-22 2021-02-25 中兴通讯股份有限公司 Method, terminal, and system for acquiring terminal state, and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227746A (en) * 2012-01-31 2013-07-31 珠海德百祺科技有限公司 Data communication method and system
CN103945054A (en) * 2014-03-14 2014-07-23 上海天奕达电子科技有限公司 Short message sending method and mobile terminal
CN104539637A (en) * 2015-01-26 2015-04-22 中国联合网络通信集团有限公司 Check code information transmitting method, server and user terminal
CN105072082A (en) * 2015-06-30 2015-11-18 小米科技有限责任公司 Method and device for transmitting verification code

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103227746A (en) * 2012-01-31 2013-07-31 珠海德百祺科技有限公司 Data communication method and system
CN103945054A (en) * 2014-03-14 2014-07-23 上海天奕达电子科技有限公司 Short message sending method and mobile terminal
CN104539637A (en) * 2015-01-26 2015-04-22 中国联合网络通信集团有限公司 Check code information transmitting method, server and user terminal
CN105072082A (en) * 2015-06-30 2015-11-18 小米科技有限责任公司 Method and device for transmitting verification code

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021031922A1 (en) * 2019-08-22 2021-02-25 中兴通讯股份有限公司 Method, terminal, and system for acquiring terminal state, and computer readable storage medium

Similar Documents

Publication Publication Date Title
US8804511B2 (en) Policy-enabled dynamic deep packet inspection for telecommunications networks
CN105354492B (en) Communication terminal and its message informing control method and device
CN103856446B (en) A kind of login method, device and open platform system
CN104168557A (en) Upgrading method for operating systems and upgrading device for operating systems
CN104158824A (en) Method and system of network real name authentication
CN104219218A (en) Active safety defense method and active safety defense device
CN107769978A (en) Management method, system, router and the server that a kind of terminal device networks
CN104243725B (en) Simple call system and method thereof
CN105611533A (en) Message integrity check MIC inspection method and MIC inspection device
US10013237B2 (en) Automated approval
CN106534128A (en) Method for verifying data communication state
CN102572814A (en) Method, system and device for monitoring viruses in mobile terminal
CN105868982A (en) Improved mobile Internet payment system and control method thereof
CN106102029A (en) The processing method of a kind of international roaming service and processing system
CN106686003B (en) Bypass the network admittance control system and method for deployment
CN101072093B (en) Short message content protection system and method
CN108133142A (en) A kind of mobile device remote connection and the method for manipulation PC machine
US20060221889A1 (en) Data communication system
CN103281288A (en) Mobile phone firewall system and mobile phone firewall method
CN114173366B (en) User parameter restoration method and device, computer storage medium and electronic equipment
CN105451233A (en) Anti-monitoring method and system and mobile terminal
CN103493543B (en) Method and device for controlling user to access system
CN103392322B (en) Method for communication and components in a communications network
KR20140125691A (en) Recording Medium, Wireless Terminal Device and Message Processing Method
CN106899543B (en) Content access control method and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170322

WD01 Invention patent application deemed withdrawn after publication