CN107105098A - Information processing method, apparatus and system - Google Patents
Information processing method, apparatus and system Download PDFInfo
- Publication number
- CN107105098A CN107105098A CN201710324096.0A CN201710324096A CN107105098A CN 107105098 A CN107105098 A CN 107105098A CN 201710324096 A CN201710324096 A CN 201710324096A CN 107105098 A CN107105098 A CN 107105098A
- Authority
- CN
- China
- Prior art keywords
- short message
- control
- message sequence
- sequence number
- instruction
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
Abstract
The invention discloses a kind of information processing method, apparatus and system, belong to field of mobile terminals.Methods described includes:The first control short message that controlled terminal the reception server is sent, the first control short message belongs to the target control short message sequence of server maintenance, and the first control short message includes the first control instruction and the first short message sequence number;Controlled terminal detects whether the first short message sequence number is more than the second short message sequence number of the second control short message, the second control short message for controlling short message to have been responded by controlled terminal in target control short message sequence;If the first short message sequence number is less than the second short message sequence number, controlled terminal is not responding to the first control instruction.Solve and there may be delayed situation because short message is received, cause the problem of controlled terminal business performs abnormal;Reach and can judge whether to perform the control instruction in control short message, the business for reducing or eliminating controlled terminal performs abnormal possibility according to short message sequence number.
Description
Technical field
The present embodiments relate to the communications field, more particularly to a kind of information processing method, apparatus and system.
Background technology
It is a kind of miscellaneous function provided on smart mobile phone to search cell-phone function.When user can not find at home mobile phone or
After person's mobile phone is lost, mobile phone is positioned by searching cell-phone function, at least one in jingle bell, locked mobile phone or data of erasing
Item operation.
In correlation technique, server can control to realize the function of lookup mobile phone using short message.Schematically, Yong Hu
Select some to operate in control end (computer of such as user), control end sends the control instruction for jingle bell to server, take
Business device sends in a control short message, the control short message to controlled mobile phone according to the control instruction and carries the control instruction;Quilt
Mobile phone is controlled after the control short message is received, the control instruction in control short message is subjected to jingle bell.
Delayed situation is there may be because short message is received, such as under mobile phone shutdown state, server first have sent use
First in locked mobile phone controls short message, then have sent the second control short message for unlocking mobile phone after a period of time again;When
During mobile phone power-on, it may first receive and perform the second control short message, then receive and perform the first control short message, cause mobile phone still
Locking state is so in, business occurs and performs exception.
The content of the invention
Delayed situation is there may be in order to solve short message reception, causes the problem of controlled terminal business performs abnormal, this
Inventive embodiments provide a kind of information processing method, apparatus and system.The technical scheme is as follows:
First aspect includes there is provided a kind of information processing method, methods described:
The first control short message that controlled terminal the reception server is sent, the first control short message belongs to the server dimension
The target control short message sequence of shield, the first control short message includes the first control instruction and the first short message sequence number, described first
Short message sequence number is used to represent order of the first control short message in the target control short message sequence;
The controlled terminal detects whether the first short message sequence number is more than the second short message sequence number of the second control short message, institute
State the second control short message for controlling short message to have been responded by the controlled terminal in the target control short message sequence, described second
Control short message includes the second control instruction and the second short message sequence number, and the second short message sequence number is used to represent described second
Control order of the short message in the target control short message sequence;
If the first short message sequence number is less than the second short message sequence number, the controlled terminal is not responding to first control
System instruction.
Second aspect includes there is provided a kind of information processing method, methods described:
Server receives the first control instruction that control terminal is sent, wherein, first control instruction is used for controlled
Terminal is controlled, and safeguards there is target control short message sequence in the server, the target control short message sequence includes one
Individual or multiple control short messages, each control short message includes corresponding control instruction and short message sequence number, the short message sequence number
For representing order of the control short message in the target control short message sequence;
The server determines corresponding first short message of first control instruction according to the target control short message sequence
Sequence number;
The server generation first controls short message, and the first control short message includes first control instruction and institute
State the first short message sequence number;
Described first control short message is added the target control short message sequence by the server;
The server sends the control short message in the target control short message sequence to the controlled terminal successively.
The third aspect is there is provided a kind of information processor, and applied to controlled terminal, described device includes:
Short message receiving module, the first control short message sent for the reception server, the first control short message belongs to institute
The target control short message sequence of server maintenance is stated, the first control short message includes the first control instruction and the first short message sequence
Number, the first short message sequence number is used to represent order of the first control short message in the target control short message sequence;
Sequence number detection module, for detecting whether the first short message sequence number is more than the second short message sequence of the second control short message
Number, described second controls short message to be the control short message responded by the controlled terminal in the target control short message sequence, institute
State the second control short message and include the second control instruction and the second short message sequence number, the second short message sequence number is used to represent institute
State order of the second control short message in the target control short message sequence;
Respond module is instructed, for when the first short message sequence number is less than the second short message sequence number, being not responding to described
First control instruction.
Fourth aspect is there is provided a kind of information processor, and applied in server, described device includes:
Command reception module, the first control instruction for receiving control terminal transmission, wherein, first control instruction
For being controlled to controlled terminal, safeguard there is target control short message sequence, the target control short message sequence in the server
Row include one or more control short messages, and each control short message includes corresponding control instruction and short message sequence number, institute
Stating short message sequence number is used to represent order of the control short message in the target control short message sequence;
Sequence number determining module, for according to the target control short message sequence, determining that first control instruction is corresponding
First short message sequence number;
Message generation module, controls short message, the first control short message includes first control for generating first
Instruction and the first short message sequence number;
Sequence adds module, for the described first control short message to be added into the target control short message sequence;
SMS transmission module, it is short for sending the control in the target control short message sequence successively to the controlled terminal
Letter.
5th aspect is there is provided a kind of controlled terminal, and the controlled terminal includes:Processor, it is connected with the processor
Memory, and the programmed instruction being stored on the memory realizes such as during the computing device described program instruction
The step of information processing method described in first aspect.
6th aspect is there is provided a kind of server, and the server includes:Processor, with depositing that the processor is connected
Reservoir, and the programmed instruction being stored on the memory, such as second is realized during the computing device described program instruction
The step of information processing method described in aspect.
7th aspect is there is provided a kind of information processing system, and described information processing system includes:Server and at least one
Terminal;
The server includes the information processor as described in fourth aspect;At least one described terminal includes the such as the 3rd
Information processor described in aspect;
Or,
The server is the server as described in terms of the 6th;The terminal is the controlled end as described in terms of the 5th
End.
A kind of eighth aspect, computer-readable medium is stored thereon with programmed instruction, and described program instruction is held by processor
The step of information processing method as described in relation to the first aspect is realized during row.
A kind of 9th aspect, computer-readable medium is stored thereon with programmed instruction, and described program instruction is held by processor
The step of information processing method as described in second aspect is realized during row.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
The the first control short message sent by controlled terminal the reception server, the first control short message includes the first control instruction
With the first short message sequence number, the first short message sequence number is used to represent that first controls order of the short message in target control short message sequence;Inspection
The the second short message sequence number whether the first short message sequence number is more than the second control short message is surveyed, second controls short message to be target control short message sequence
The control short message responded by controlled terminal in row;If the first short message sequence number is less than the second short message sequence number, controlled terminal does not ring
The first control instruction is answered, solves and there may be delayed situation because short message is received, cause controlled terminal business to perform exception
The problem of;Reach and can judge whether to need to perform the control instruction in control short message, reduction or elimination according to short message sequence number
The business of controlled terminal performs abnormal possibility.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of structural representation of information processing system involved by each embodiment of the invention;
Fig. 2 is the flow chart for the information processing method that one embodiment of the invention is provided;
Fig. 3 is the flow chart for the information processing method that another embodiment of the present invention is provided;
Fig. 4 is the flow chart for the information processing method that another embodiment of the present invention is provided;
Fig. 5 is the interface schematic diagram that another embodiment of the present invention is provided;
Fig. 6 is the interface schematic diagram that another embodiment of the present invention is provided;
Fig. 7 is the block diagram for the information processor that one embodiment of the invention is provided;
Fig. 8 is the block diagram for the information processor that another embodiment of the present invention is provided;
Fig. 9 is the structural representation for the terminal that one embodiment of the invention is provided;
Figure 10 is the structural representation for the server that one embodiment of the invention is provided.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is the structural representation of the information processing system shown in one exemplary embodiment of the present invention.At the information
Reason system includes:Control terminal 120, server 140 and controlled terminal 160.
Control terminal 120 is connected by cable network or wireless network with server 140.Server 140 is logical by short message
Road is connected with controlled terminal 160.Short message channel is the passage for being used in mobile communications network receive and dispatch short message, and short message channel can lead to
The circuit commutative field (Circuit Switching Domain, CS domains) crossed in mobile communications network is realized.
Control terminal 120 and controlled terminal 160 can be mobile phone, tablet personal computer, wearable electronic, e-book reading
Device, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio
Aspect 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert compression
Standard audio aspect 4) terminal such as player and pocket computer on knee.Control terminal 120 has the energy for sending control instruction
Power.Controlled terminal 160 has the ability for receiving control short message.
Server 140 can be the background service for the application program for carrying out remote control to controlled terminal using control short message
Device.Application program for remote control controlled terminal includes but is not limited to:Remote control application journey under enterprise's office scene
Sequence, the remote control application program under family's mutual assistance scene, the remote control application program under maintenance scene and lookup mobile phone
Application program.Illustrated in the present embodiment with searching application program of mobile phone.
Server 140 can be a server, the server cluster or cloud computing center of multiple servers composition.Service
Device 140, which has, searches the related background function of mobile phone, such as:Store user profile, facility information, search user and equipment letter
The functions such as breath, reception and forwarding instruction.In addition, server 140 also has and generated according to the control instruction of control terminal 120
Short message is controlled, and the function of controlling short message is sent to controlled terminal 160.
Generally, control terminal 120 and controlled terminal 160 are different terminals, and controlled terminal 160 can also more than one.
Such as, user has a computer, a tablet personal computer and two mobile phones, then when wherein one computer is as control terminal 120, puts down
Plate computer and two mobile phones can be used as three controlled terminals 160.But under some scenes, control terminal 120 and controlled terminal
160 can also be same terminal, and the present embodiment is not limited this.
Fig. 2 is the method flow diagram of the information processing method shown in one exemplary embodiment of the present invention.The present embodiment
It is applied to be illustrated in the controlled terminal 160 shown in Fig. 1 with the information processing method.The information processing method includes:
Step 202, the first control short message that controlled terminal the reception server is sent, the first control short message belongs to server dimension
The target control short message sequence of shield, the first control short message includes the first control instruction and the first short message sequence number, the first short message sequence number
For representing that first controls order of the short message in target control short message sequence;
Step 204, controlled terminal detects whether the first short message sequence number is more than the second short message sequence number of the second control short message, the
Two to control short message be the control short messages that have been responded by controlled terminal in target control short message sequence, and the second control short message includes the
Two control instructions and the second short message sequence number, the second short message sequence number are used to represent that second controls short message in target control short message sequence
Order;
Step 206, if the first short message sequence number is less than the second short message sequence number, controlled terminal is not responding to the first control instruction.
If the first short message sequence number be less than the second short message sequence number, the first control short message that controlled terminal thinks failed or
It is expired, it is not responding to the first control instruction.
In summary, the information processing method that the present embodiment is provided, first sent by controlled terminal the reception server
Short message is controlled, the first control short message belongs to the target control short message sequence of server maintenance, and the first control short message includes the first control
System instruction and the first short message sequence number, the first short message sequence number are used to represent the first time for controlling short message in target control short message sequence
Sequence;Controlled terminal detects whether the first short message sequence number is more than the second short message sequence number of the second control short message, and second controls the short message to be
The control short message responded by controlled terminal in target control short message sequence;If the first short message sequence number is less than the second short message sequence number,
Then controlled terminal is not responding to the first control instruction, solves and there may be delayed situation because short message is received, and causes controlled whole
The problem of business at end performs abnormal;Reach and can judge whether to need to perform the control in control short message according to short message sequence number
System instruction, reduces terminal traffic and performs abnormal possibility.
Fig. 3 is the method flow diagram of the information processing method shown in another exemplary embodiment of the present invention.This implementation
Example is applied to be illustrated in the server 140 shown in Fig. 1 with the information processing method.The information processing method includes:
Step 302, server receive control terminal send the first control instruction, wherein, the first control instruction be used for pair
Controlled terminal is controlled, and safeguards there is a target control short message sequence in server, target control short message sequence include one or
Multiple control short messages, each control short message includes corresponding control instruction and short message sequence number, and short message sequence number is used to represent to control
Order of the short message in target control short message sequence;
Step 304, server determines the corresponding first short message sequence of the first control instruction according to target control short message sequence
Number;
Step 306, server generation first controls short message, and the first control short message includes the first control instruction and first short
Believe sequence number;
Step 308, the first control short message is added target control short message sequence by server;
Step 310, server sends the control short message in target control short message sequence to controlled terminal successively.
In summary, the information processing method that the present embodiment is provided, control terminal is sent first is received by server
Safeguard there is target control short message sequence in control instruction, server, target control short message sequence includes one or more controls
Short message, each control short message includes corresponding control instruction and short message sequence number;Server is according to target control short message sequence, really
The corresponding first short message sequence number of fixed first control instruction;Server generation first controls short message, and the first control short message includes the
One control instruction and the first short message sequence number;First control short message is added target control short message sequence by server;Server is to quilt
Control terminal sends the control short message in target control short message sequence successively, solves and there may be delayed feelings because short message is received
Condition, causes the problem of business of controlled terminal performs abnormal;Reach that server determines the short message sequence number of each control short message, with
Just controlled terminal can judge whether to need to perform the control instruction in control short message according to short message sequence number, reduce or eliminate end
The business at end performs abnormal possibility.
Fig. 4 is the method flow diagram of the information processing method shown in another exemplary embodiment of the present invention.This implementation
Example is applied to be illustrated in the information processing system shown in Fig. 1 with the information processing method.The information processing method bag
Include:
Step 401, control terminal sends the first control instruction to server.
When user triggers control operation on control terminal, control terminal generates control instruction according to control operation.
Alternatively, control terminal operation has the application program for remote control controlled terminal.It is controlled for remote control
The application program of terminal includes but is not limited to:Under remote control application program, family's mutual assistance scene under enterprise's office scene
Remote control application program and lookup application program of mobile phone under remote control application program, long-distance service scene.This implementation
Illustrated in example with searching application program of mobile phone.
Schematically, operation has lookup application program of mobile phone in control terminal.Search that application program of mobile phone is the commonly provided looks into
At least one function of looking in mobile phone and control mobile phone.User is searching mobile phone application when using application program of mobile phone is searched
The user account number of oneself is logged in program, the user account number is unique mark of the user in application program of mobile phone is searched.
As shown in figure 5, the bottom operating area of the user interface 001 of mobile phone A includes " broadcasting sound " control 002, " locked
Mobile phone " control 003, " replacing password " control 004 and " data of erasing " control 005, user click on " broadcasting sound " control 002,
The control instruction of mobile phone A generation " broadcasting sound ".Mobile phone A sends the control instruction of " broadcasting sound " to server.Alternatively, use
Family click on " broadcasting sound " control 002 after, the function be in send command status, this icon become turns to wait state, with to
Family prompting controlled terminal is handling the instruction, prevents user from repeatedly clicking on.
Alternatively, control terminal sends control information by communication network to server, and the control information includes:Control is eventually
Device identification, user account number, the device identification of controlled terminal and first control instruction at end.Alternatively, device identification uses state
Border mobile equipment identity code (International Mobile Equipment Identity, IMEI) is represented.
Step 402, server receives the first control instruction that control terminal is sent.
Alternatively, server receives the control information that control terminal is sent by communication network, and the control information includes:Control
Device identification, user account number, the device identification of controlled terminal and the first control instruction of terminal processed.Then, server is from control
The first control instruction is extracted in information, the first control instruction is used to be controlled controlled terminal.
Alternatively, the binding relationship between user account number and the device identification of each terminal is also previously stored with server
(or incidence relation), server detects whether control terminal has the control authority to controlled terminal according to the binding relationship;
When control terminal has control authority corresponding with controlled terminal, server performs next step.
Table 1 schematically shows the binding relationship between user account number and device identification.User account number Z1 and equipment mark
Know B1, device identification B2 and device identification B3 has binding relationship respectively, it is assumed that the corresponding terminal Ds 1 of device identification B1 are control
Terminal, user account number Z1 and device identification B2, the device identification B3 of terminal D 3 of terminal D 2 have binding relationship, control terminal D1
With the control authority to controlled terminal D2 and controlled terminal D3.User account number Z2 is similarly.When control terminal D1 has with being controlled
During 2 corresponding control authority of terminal D, server just performs next step.
If control terminal does not have control authority corresponding with controlled terminal, server does not perform next step then.
Table 1
Step 403, server determines the corresponding first short message sequence of the first control instruction according to target control short message sequence
Number.
Safeguard there is target control short message sequence in server, it is short that target control short message sequence includes one or more controls
Letter, each control short message includes control instruction and short message sequence number.Short message sequence number is used to represent that control short message is short in target control
Believe the order in sequence.Alternatively, short message sequence number is represented using at least one of numeral, letter, symbol and timestamp.
Table 2 schematically shows a kind of target control short message sequence.It is short that target control short message sequence includes multiple controls
Letter:Short message X1, control short message X2, control short message X3 are controlled to controlling short message X10, its corresponding short message sequence number sorts difference successively
For:Sequence number 001, sequence number 002, sequence number 003 are to sequence number 010.
Table 2
Table 3 schematically shows another target control short message sequence.Server, which is safeguarded, to be had including target control short message
Multiple control short message sequences including sequence:Control short message sequence L1, control short message sequence L2 (target control short message sequence) and
Short message sequence L3 is controlled, each control short message sequence includes a plurality of control short message respectively again.
Table 3
In a kind of possible implementation, server will be sent to the control short message of all controlled terminals, be maintained in same
In one control short message sequence;In alternatively possible implementation, server is by the corresponding control of each controlled terminal
Short message, is safeguarded into control short message sequence corresponding with the controlled terminal respectively;Such as, by the control short message of controlled terminal 1, dimension
Shield is in control short message sequence 1;The control short message of controlled terminal 2 is maintained in control short message sequence 2.
In a kind of possible implementation, and though control short message entrained by control instruction type why type, clothes
All control short messages are maintained in same control short message sequence by business device.
In alternatively possible implementation, server safeguards that multiple controls are short respectively according to the difference of instruction type
Believe that the control short message in sequence, each control short message sequence has the control instruction of same instruction type;Such as, control is carried
The control short message of system instruction " broadcasting sound " is maintained in control short message sequence 1, carries the control of control instruction " data of erasing "
Short message processed is maintained in control short message sequence 2.
Table 4 schematically shows the different multiple control short message sequences safeguarded of the server according to instruction type.User
Account number Z1 and device identification B2 have binding relationship, and server divides according to the difference for the instruction type for being sent to controlled terminal B2
Two control short message sequences are not maintained:The corresponding controls of the corresponding control short message sequence L1 and instruction type N2 of instruction type N1
Short message sequence L2.Included in control short message sequence L1:Control short message M1, control short message M2 and control short message M3, control short message M1
Correspondence short message sequence number N1-001, control short message M2 correspondence short message sequence numbers N1-002, control short message M3 correspondence short message sequence numbers N1-003.
Included in control short message sequence L2:Control short message S1, control short message S2 and control short message S3, control short message S1 correspondence short message sequence numbers
N2-001, control short message S2 correspondence short message sequence numbers N2-002, control short message S3 correspondence short message sequence numbers N2-003.
Table 4
When server safeguard control short message sequence be 1 when, target control short message sequence be server safeguard control
Short message sequence processed, as shown in table 2;When server maintenance is when controlling short message sequence at least two, target control short message sequence is
One in multiple control short message sequences that server is safeguarded, as shown in table 3 or shown in table 4.Server according to user account number, set
Target control short message sequence is determined at least one of mark, the instruction type of the first control instruction information.
Server is received after the first control instruction, it is necessary to a short message sequence number be distributed for the first control instruction, to give birth to
Into the first control short message.Server determines the mode including but not limited to the following two kinds of the first short message sequence number:
The first, server asks the short message sequence number of the control short message of last in target control short message sequence with predetermined value
With obtain the corresponding first short message sequence number of the first control instruction.
Alternatively, predetermined value is positive number.As shown in table 2, it is assumed that predetermined value is 1, the short message sequence of last control short message
Number it is 010, short message sequence number 010 and predetermined value 1 summation of last control short message obtain 011, obtain the first control instruction pair
The the first short message sequence number 011 answered.
Second, server regard the corresponding timestamp of the first control instruction as the first short message sequence number.
Unlike illustrating from above table, short message sequence number can also be represented using timestamp.Target control short message sequence
At the time of the timestamp of each control short message can be that server receives the control instruction in row.
Such as, server was on 06 01st, 2,017 01:00 receives the first control instruction, and server is by timestamp 2017
01 day 06 month 01 year:00 is used as the first short message sequence number 201706010100.Corresponding example is as shown in table 5.
Table 5
The control instruction time of reception | Control short message | Short message sequence number |
On 05 20th, 2017 09:00 | Control short message P1 | 201705200900 |
…… | …… | …… |
On 06 01st, 2017 01:00 | Control short message P77 | 201706010100 |
On 06 01st, 2017 15:00 | Control short message P78 | 201706011500 |
Alternatively, if safeguarding the multiple control short message sequences having including target control short message sequence, same control in server
The control instruction included by each control short message in short message sequence processed has identical instruction type, and server determines the first control
The step of system instructs corresponding first short message sequence number is as follows:
Step one, server determines the target control belonging to the first control instruction according to the instruction type of the first control instruction
Short message sequence processed.
Wherein, the instruction class of the instruction type and the first control instruction of short message is each controlled in target control short message sequence
Type is identical.
Instruction type refers to the action type indicated by control instruction.Alternatively, instruction type includes positioning, changes close
Code, broadcasting sound, unblock or locked terminal and at least one of data of erasing.
As shown in table 4, if the instruction type of the first control instruction is N2, server determines that the first control instruction belongs to target
Control short message sequence L2.
Step 2, server determines the corresponding first short message sequence number of the first control instruction according to target control short message sequence.
As shown in table 4, server has determined that the first control instruction belongs to target control short message sequence L2, it is assumed that predetermined value is
1, server sums the short message sequence number N2-003 of the control short message of last in target control short message sequence L2 with predetermined value 1,
Obtain the corresponding first short message serial number N2-004 of the first control instruction.
Step 404, server generation first controls short message, and the first control short message includes the first control instruction and first short
Believe sequence number.
Alternatively, server carries out coding generation control short message to the first control instruction and the first short message sequence number.Such as, take
Be engaged in device the first short message sequence number is inserted before the first control instruction, middle part or below.
Alternatively, targeted customer can also be carried in addition to it can carry control instruction and short message sequence number in control short message
Identification code, step is as follows:
Step one, server receives the corresponding user's mark of the first control instruction and/or device identification.
Alternatively, user is designated user account number.Alternatively, controlled terminal and control terminal binding have same user's account
Number.
Device identification is used for unique mark controlled terminal.Alternatively, device identification identifies for the physical equipment of controlled terminal,
Such as IMEI.
When control terminal is to server the first control instruction of transmission, the corresponding use of the first control instruction can also be sent simultaneously
Family is identified and/or device identification.Such as, it is assumed that user account number is used in mobile phone A:YHJ, which is logged in, searches application program of mobile phone, user
Operational control mobile phone B is carried out in mobile phone A, when mobile phone A sends the first control instruction of broadcasting sound to server, can also be sent out
Send user account number:YHJ and mobile phone B IMEI B.
Step 2, server is identified and/or device identification according to user, generates targeted customer's identification code.
Targeted customer's identification code be user's mark, device identification, user identify and device identification, by pre-defined algorithm to
Family mark calculates obtained value, the value obtained by pre-defined algorithm to device identification calculating, or, by pre-defined algorithm to user
Mark and device identification calculate obtained value.Such as, to generating MD5 values after user's mark and the processing of device identification Hash, by this
MD5 values are used as targeted customer's identification code.
Step 3, server generation first controls short message, and the first control short message includes the first control instruction, the first short message
Sequence number and targeted customer's identification code.
As shown in table 6, it is assumed that control instruction includes:Positioning instruction, ring command, locked instruction and data command of erasing,
The corresponding command identification of positioning instruction is that the corresponding command identification of 12, ring command is 15, the corresponding command identification of locked instruction
It is 51 for 48 command identifications corresponding with data command of erasing.Schematically, the form for controlling short message is:0 | command identification |
uniqueId|msgId|[msg].Wherein, 0 to represent the short message be the downlink short message that server is sent to controlled terminal,
UniqueId is that user identifies MD5 values corresponding with device identification, and msgId is short message sequence number, and msg is reserved field, this implementation
Msg can carry particular content in example, can not also carry particular content.
Table 6
Control instruction name | Command identification |
Positioning | 12 |
Jingle bell | 15 |
It is locked | 48 |
Erase data | 51 |
Schematically, the first control instruction is locked instruction, and server generation first controls short message to be 048IMEIB N2-
004, wherein 48 be the command identification of locked instruction, IMEIB is the IMEI of mobile phone B, and N2-004 is the first short message sequence number.
Step 405, the first control short message is added target control short message sequence by server.
Schematically, as shown in table 7, server is by the corresponding control short messages of short message sequence number (the first short message sequence number) N2-004
S4 (the first control short message) is added in target control short message sequence L2.
Table 7
Step 406, server sends the control short message in target control short message sequence to controlled terminal successively.
Send successively and refer to that server is controlled according to order of the control short message in target control sequence to controlled terminal transmission
Short message processed.Such as, server sends control short message according to the size of order to controlled terminal.
Alternatively, the present embodiment does not limit the succession between step 406 and abovementioned steps.Sorted when server is sent
During control short message earlier above, the control short message after sequence relatively can be generated simultaneously.
Step 407, the first control short message that controlled terminal the reception server is sent.
Controlled terminal refers to the terminal for performing the control instruction corresponding to control short message.
Alternatively, controlled terminal operation has the controlled terminal application program for remote control.For the controlled of remote control
End application program includes but is not limited to:Controlled terminal application program under enterprise's office scene, the controlled terminal under family's mutual assistance scene
Controlled terminal application program and lookup application program of mobile phone under application program, long-distance service scene.With lookup in the present embodiment
Application program of mobile phone is illustrated.
Schematically, operation has lookup application program of mobile phone in controlled terminal.Search that application program of mobile phone is the commonly provided looks into
At least one function of looking in mobile phone, control mobile phone.User is searching mobile phone application journey when using application program of mobile phone is searched
The user account number of oneself is logged in sequence, the user account number is unique mark of the user in application program of mobile phone is searched.
Step 408, the control short message of newest response is defined as the second control short message by controlled terminal.
When not differentiating between the instruction type of control instruction of control short message, controlled terminal is according to the response time, by newest sound
The control short message answered is defined as the second control short message.
When distinguishing the instruction type of control instruction of control short message, this step comprises the following steps:
Step one, controlled terminal determines the instruction type of the first control instruction.
Alternatively, command identification of the controlled terminal in the first control short message determines the instruction class of the first control instruction
Type.Such as, first short message is controlled to be 048IMEIBN2-004, according to command identification 48, controlled terminal determines the first control instruction
Instruction type be locked instruction.
Assuming that controlled terminal determines that the instruction type of the first control instruction is N2.
Step 2, controlled terminal determines one or more target control short messages, and target control short message is included and the first control
Control instruction of the instruction with same instructions type.
Controlled terminal determines one or more target control short messages from a plurality of control short message having responded to:Target
Control short message S1, target control short message S2 and target control short message S3.The instruction class of control instruction in this three control short messages
Type is N2.
The target control short message of newest response is defined as the second control short message by step 3, controlled terminal.
Sorted according to the priority of response time, the target control short message S3 of newest response is defined as the second control by controlled terminal
Short message processed.
Controlled terminal is determined after the second control short message, obtains the second short message sequence number in the second control short message.Schematically
Reference table 7 shown in, controlled terminal according to control short message S3 obtain the second short message sequence number N2-003.
Step 409, controlled terminal detects whether the first short message sequence number is more than the second short message sequence number of the second control short message.
The second control short message for controlling short message to have been responded by controlled terminal in target control short message sequence, the second control is short
Letter includes the second control instruction and the second short message sequence number, and the second short message sequence number is used to represent that second controls short message in target control
Order in short message sequence.
Such as, it is assumed that mobile phone B is 9:00 receives the control short message of a change password, changes the control short message of password
Serial number 99.A mobile phone B nearest time point 8:50 have received the control short message of drilling sound reproduction sound, play the control of sound
The serial number 100 of short message, then the second short message serial number 100, the first short message serial number 99.Mobile phone B detects the first short message sequence number 99
Whether the second short message sequence number 100 is more than.
Again such as, it is assumed that mobile phone B is 9:00 receives the control short message of a change password, changes the control short message of password
Serial number 99.In target control short message sequence with same instructions type " change password ", the control of newest response is short
Whether the short message serial number 98 of letter, the sequence number 99 of the control short message of mobile phone B detection change password is short more than the control of newest response
The short message sequence number 98 of letter.
Step 410, if the first short message sequence number is less than the second short message sequence number, controlled terminal is not responding to the first control instruction.
Such as, mobile phone B detects the first short message sequence number 99 less than the second short message sequence number 100, then to be not responding to change close for mobile phone B
The control instruction of code.
Again as shown in table 7, it is assumed that the first short message serial number N2-002, the second short message serial number N2-003, by detecting
Go out the first short message sequence number N2-002 less than the second short message sequence number N2-003, controlled terminal is not responding to the first control instruction.
Because short message sequence number is determined according to the generation quantity of control short message or the reception timestamp of control instruction, because
This, when the first short message sequence number is less than the second short message sequence number, it is believed that controlled terminal first have received the later control of transmission time
Short message processed.First control short message there occurs abnormal conditions in transmitting procedure, and abnormal conditions include delay, are intercepted and are tampered
At least one of.Controlled terminal can consider that the first control short message is expired or fails, then do not perform the first control instruction.
Step 411, if the first short message sequence number is more than the second short message sequence number, controlled terminal responds the first control instruction.
Such as, mobile phone B detects the first short message sequence number 99 more than the second short message sequence number 98, then password is changed in mobile phone B response
Control instruction.
Again as shown in table 7, it is assumed that the first short message serial number N2-004, the second short message serial number N2-003, by detecting
Go out the first short message sequence number N2-004 more than the second short message sequence number N2-003, controlled terminal responds the first control instruction.
Because short message sequence number is to control the quantity of control short message and/or the time in short message sequence to determine according to history, because
This, when the first short message sequence number is more than the second short message sequence number, it is believed that the first control short message is that the control normally received is short
Letter, controlled terminal then performs the first control instruction.
As shown in fig. 6, mobile phone B responds the first control instruction:Play in sound, the user interface of mobile phone A " broadcasting sound "
Control 002 is changed into the icon 006 of " playing successfully ".
Alternatively, if also carrying targeted customer's identification code in the first control short message, controlled terminal can also be according to target
CUSTOMER ID determines whether to respond the first control instruction with whether controlled CUSTOMER ID matches, now, before step 411
Also comprise the following steps:
Step one, controlled terminal is bound according to controlled terminal user's mark and/or the device identification of controlled terminal, generation
Controlled CUSTOMER ID.
Controlled CUSTOMER ID is:Controlled terminal binding user's mark, the device identification of controlled terminal, user identify and
Device identification, by pre-defined algorithm user's mark calculate obtained value, count device identification by pre-defined algorithm
Obtained value, or, user is identified by pre-defined algorithm and device identification calculates obtained value.Such as, to controlled terminal
The device identification of the user's mark and controlled terminal of binding carries out generating MD5 values after Hash processing, regard the MD5 values as controlled use
Family identification code.
It should be noted that " binding " in the present embodiment is it is also understood that be the implications such as login, association.
Step 2, controlled terminal judges whether targeted customer's identification code and controlled CUSTOMER ID match.
Alternatively, whether targeted customer's identification code and controlled CUSTOMER ID, which match, refers to:Targeted customer's identification code and by
Whether identical control CUSTOMER ID.
Step 3, if targeted customer's identification code and controlled CUSTOMER ID are mismatched, controlled terminal is not responding to the first control
System instruction.
When targeted customer's identification code and controlled CUSTOMER ID differ or both and not possess binding relationship, it can recognize
Erroneous transmissions are there occurs for control short message, controlled terminal is not responding to the first control instruction.
Under a kind of possible implement scene, it is assumed that user's first has two terminals of mobile phone A and mobile phone B, mobile phone A and mobile phone
It is equipped with searching application program of mobile phone on B, and is logged in using same user account number first;User's first accidentally loses mobile phone B,
User's second obtains mobile phone B, and the data message in mobile phone B on user account number first is erased;User's second uses the user of himself
Account number second logs in mobile phone B, now, although still retain the SIM cards of mobile phones K of original users first in mobile phone B, but due to user's account
The alternation of signs, mobile phone B judges that user account number first is mismatched with user account number second, then mobile phone B is not responding to the first control instruction.Show
Meaning property, the first control instruction is data command of erasing, and now mobile phone A can not control mobile phone B to delete on user account number second
Data message, therefore the data message of other users will not be deleted by mistake.
Under alternatively possible implement scene, it is assumed that user's first has two terminals of mobile phone A and mobile phone B, mobile phone A and hand
It is equipped with searching application program of mobile phone on machine B, and is logged in using same user account number first;User's first accidentally loses mobile phone B
Lose, user's second obtains mobile phone B.User's second extracts Mobile phone card K in insertion mobile phone C, due to mobile phone C user account number second and user
Account number first is mismatched, and IMEIC and IMEIB is mismatched, then mobile phone C is not responding to the first control instruction.Schematically, the first control
Instruct as data command of erasing, mobile phone A can not control mobile phone C to delete on user account number second and/or mobile phone C data message,
Therefore the data message on other users account number and/or other mobile phones will not be deleted by mistake.
Under alternatively possible implement scene, it is assumed that user's first has two terminals of mobile phone A and mobile phone B, mobile phone A and hand
It is equipped with searching application program of mobile phone on machine B, and is logged in using same user account number first;User's first accidentally loses mobile phone B
Lose, user's second obtains mobile phone B.User's second extracts Mobile phone card K in insertion mobile phone D, and mobile phone D has and mobile phone B identical IMEI
(because stealing the fortuitous phenomena that occur of brush IMEI), because user account number second and user account number first are mismatched, then mobile phone D is not responding to the
One control instruction.It is assumed that the first control instruction is data command of erasing, mobile phone A can not control mobile phone D to delete user account number second
And/or mobile phone D data message, therefore the data message on other users account number and/or other mobile phones will not be deleted by mistake.
In summary, the information processing method that the present embodiment is provided, first sent by controlled terminal the reception server
Short message is controlled, the first control short message belongs to the target control short message sequence of server maintenance, and the first control short message includes the first control
System instruction and the first short message sequence number, the first short message sequence number are used to represent the first time for controlling short message in target control short message sequence
Sequence;Controlled terminal detects whether the first short message sequence number is more than the second short message sequence number of the second control short message, and second controls the short message to be
The control short message responded by controlled terminal in target control short message sequence;If the first short message sequence number is less than the second short message sequence number,
Then controlled terminal is not responding to the first control instruction, solves and there may be delayed situation because short message is received, and causes controlled whole
The problem of business at end performs abnormal;Reach and can judge whether to need to perform the control in control short message according to short message sequence number
System instruction, reduces terminal traffic and performs abnormal possibility.
In addition, under a kind of possible implement scene, having reached after the data message erased in terminal, having used other users
When account number logs in the terminal, control the terminal after user account number will not be changed by mistake.Under alternatively possible implement scene, reach
The effect for the other-end that former SIM card inserted will not be controlled by mistake.Under alternatively possible implement scene, also reach and worked as
When other-end has identical device identification with former terminal, even if former SIM card is inserted in other terminals, it will not also control by mistake
The effect of the inserted other-end of original card.
Following is apparatus of the present invention embodiment, can be used for performing the inventive method embodiment.It is real for apparatus of the present invention
The details not disclosed in example is applied, the inventive method embodiment is refer to.
Fig. 7 is refer to, the block diagram of the information processor provided it illustrates one embodiment of the invention, the letter
Breath processing unit being implemented in combination with as the controlled end in information processing system shown in Fig. 1 by software, hardware or both
That holds is some or all of.The information processor can include:
Short message receiving module 720, the first control short message sent for the reception server, the first control short message belongs to service
The target control short message sequence that device is safeguarded, the first control short message includes the first control instruction and the first short message sequence number, the first short message
Sequence number is used to represent that first controls order of the short message in target control short message sequence;
Sequence number detection module 740, for detecting whether the first short message sequence number is more than the second short message sequence of the second control short message
Number, the second control short message for controlling short message to have been responded by controlled terminal in target control short message sequence, the second control short message bag
The second control instruction and the second short message sequence number are included, the second short message sequence number is used to represent that second controls short message in target control short message
Order in sequence;
Respond module 760 is instructed, for when the first short message sequence number is less than the second short message sequence number, being not responding to the first control and referring to
Order.
Alternatively, the device, in addition to:
First determining module, for the control short message of newest response to be defined as into the second control short message.
Alternatively, the control instruction included by each control short message in target control short message sequence has identical instruction
Type;
The device, in addition to:
Determination type module, the instruction type for determining the first control instruction;
Second determining module, for determining one or more target control short messages, target control short message is included and the first control
The control instruction of system instruction same instructions type;
3rd determining module, for the target control short message of newest response to be defined as into the second control short message.
Alternatively, the first control short message also carries targeted customer's identification code, and the device also includes:
First generation module, user's mark and/or the device identification of controlled terminal for the binding according to controlled terminal,
The controlled CUSTOMER ID of generation;
Identification code judge module, for judging whether targeted customer's identification code and controlled CUSTOMER ID match;
Respond module is instructed, for when targeted customer's identification code and controlled CUSTOMER ID mismatch, being then not responding to the
One control instruction.
In summary, the information processor that the present embodiment is provided, first sent by controlled terminal the reception server
Short message is controlled, the first control short message belongs to the target control short message sequence of server maintenance, and the first control short message includes the first control
System instruction and the first short message sequence number, the first short message sequence number are used to represent the first time for controlling short message in target control short message sequence
Sequence;Controlled terminal detects whether the first short message sequence number is more than the second short message sequence number of the second control short message, and second controls the short message to be
The control short message responded by controlled terminal in target control short message sequence;If the first short message sequence number is less than the second short message sequence number,
Then controlled terminal is not responding to the first control instruction, solves and there may be delayed situation because short message is received, and causes controlled whole
The problem of business at end performs abnormal;Reach and can judge whether to need to perform the control in control short message according to short message sequence number
System instruction, reduces terminal traffic and performs abnormal possibility.
In addition, by judging whether targeted customer's identification code and controlled CUSTOMER ID match;If targeted customer's identification code
Mismatched with controlled CUSTOMER ID, then controlled terminal is not responding to the first control instruction.Reached in targeted customer's identification code and
When controlled CUSTOMER ID is mismatched, controlled terminal is not responding to control instruction, and detection other information is not continued executing with, has saved meter
Calculate the effect of resource.
In addition, under a kind of possible implement scene, having reached after the data message erased in terminal, having used other users
When account number logs in the terminal, control the terminal after user account number will not be changed by mistake.Under alternatively possible implement scene, reach
The inserted other-end of former card will not be controlled by mistake.Under alternatively possible implement scene, also reach and worked as other-end
When there is identical device identification with former terminal, the inserted other-end of former card will not be controlled by mistake.
Fig. 8 is refer to, the block diagram of the information processor provided it illustrates one embodiment of the invention, the letter
Breath processing unit being implemented in combination with as the server in information processing system shown in Fig. 1 by software, hardware or both
It is some or all of.The information processor can include:
Command reception module 810, the first control instruction for receiving control terminal transmission, wherein, the first control instruction
For being controlled to controlled terminal, safeguard there is target control short message sequence in server, target control short message sequence includes
One or more control short messages, each control short message includes corresponding control instruction and short message sequence number, and short message sequence number is used for table
Show order of the control short message in target control short message sequence;
Sequence number determining module 820, for according to target control short message sequence, determining that the first control instruction is corresponding first short
Believe sequence number;
Message generation module 830, for generate first control short message, first control short message include the first control instruction with
First short message sequence number;
Sequence adds module 840, for the first control short message to be added into target control short message sequence;
SMS transmission module 850, for sending the control short message in target control short message sequence successively to controlled terminal.
Alternatively,
Sequence number determining module, for last in target control short message sequence to be controlled to the short message sequence number of short message with making a reservation for
Value summation, obtains the corresponding first short message sequence number of the first control instruction;
Or,
Sequence number determining module, for regarding the corresponding timestamp of the first control instruction as the first short message sequence number.
Alternatively, the multiple control short message sequences having including target control short message sequence, same control are safeguarded in server
The control instruction included by each control short message in short message sequence has identical instruction type;
The device also includes:
4th determining module, for the instruction type according to the first control instruction, determines that the first control instruction belongs to target
Control short message sequence.
Alternatively, the device also includes:
Receiving module is identified, for receiving the corresponding user's mark of the first control instruction and/or device identification;
Second generation module, for according to user's mark and/or device identification, generating targeted customer's identification code;
Message generation module, controls short message, the first control short message includes the first control instruction, first for generating first
Short message sequence number and targeted customer's identification code.
In summary, the information processor that the present embodiment is provided, control terminal is sent first is received by server
Safeguard there is target control short message sequence in control instruction, server, target control short message sequence includes one or more controls
Short message, each control short message includes corresponding control instruction and short message sequence number;Server is according to target control short message sequence, really
The corresponding first short message sequence number of fixed first control instruction;Server generation first controls short message, and the first control short message includes the
One control instruction and the first short message sequence number;First control short message is added target control short message sequence by server;Server is to quilt
Control terminal sends the control short message in target control short message sequence successively, solves and there may be delayed feelings because short message is received
Condition, causes the problem of business of controlled terminal performs abnormal;Reach that server determines the short message sequence number of each control short message, with
Just controlled terminal can judge whether to need to perform the control instruction in control short message according to short message sequence number, reduce or eliminate end
The business at end performs abnormal possibility.
In addition, by receiving the corresponding user's mark of the first control instruction and/or device identification;According to user mark and/
Or device identification, generate targeted customer's identification code;Generation first controls short message, and the first control short message includes the first control and referred to
Make, the first short message sequence number and targeted customer's identification code;Reach when controlled terminal is judged in targeted customer's identification code and is controlled
When CUSTOMER ID is mismatched, controlled terminal is not responding to control instruction, and detection other information is not continued executing with, has saved calculating money
The effect in source.
It should be noted that:The information processor that above-described embodiment is provided is in processing information, only with above-mentioned each function
The division progress of module is for example, in practical application, as needed can distribute above-mentioned functions by different function moulds
Block complete, i.e., the internal structure of terminal or server is divided into different functional modules, with complete it is described above whole or
Person's partial function.In addition, the information processor that above-described embodiment is provided belongs to same design with information processing method embodiment,
It implements process and refers to embodiment of the method, repeats no more here.
Fig. 9 shows the structural representation of the terminal involved by an illustrative embodiment of the invention.The terminal includes:Should
Terminal includes:Processor 911, receiver 912, transmitter 913, memory 914 and bus 915.
Processor 911 includes one or more than one processing core, and memory 914 passes through bus 915 and processor 911
Be connected, memory 914 be used for storage program instruct, processor 911 perform memory 914 in programmed instruction when realize Fig. 2 with
In embodiment of the method shown in Fig. 4 the step of the information processing method of end side.
Receiver 912 and transmitter 913 can be implemented as a communication component, and the communication component can be one piece of communication core
Piece, for being modulated and/or demodulating to information, and by reception of wireless signals or sends the information.
In addition, memory 914 can be by any kind of volatibility or non-volatile memory device or combinations thereof
Realize, such as static access memory (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable at any time
Read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory,
Disk or CD.
Said structure signal is only that terminal is schematically illustrated, and terminal can include more or less parts, such as
Terminal can not include transmitter, or, terminal also includes other parts such as sensor, display screen, power supply, and the present embodiment is no longer
Repeat.
The embodiment of the present invention also provides a kind of computer-readable medium, is stored thereon with programmed instruction, and programmed instruction is located
The step of reason device 911 realizes the information processing method of end side in embodiment of the method shown in Fig. 2 and Fig. 4 when performing.
Figure 10 shows the structural representation for the server that one exemplary embodiment of the application is provided, the server bag
Include:Processor 921, receiver 922, transmitter 923, memory 924, bus 925 and network interface 926.
Processor 921 includes one or more than one processing core, and memory 924 passes through bus 925 and processor 921
Be connected, memory 924 be used for storage program instruct, processor 921 perform memory 924 in programmed instruction when realize Fig. 3 with
In embodiment of the method shown in Fig. 4 the step of the information processing method of server side.
Receiver 922 and transmitter 923 can be implemented as a communication component, and the communication component can be one piece of communication core
Piece, for being modulated and/or demodulating to information, and by reception of wireless signals or sends the information.In other embodiments,
Receiver 922 and transmitter 923 is alternative is implemented as network interface 926, server passes through the network interface 926 and short message
Send platform to be connected, send platform to receive and dispatch short message by short message.
In addition, memory 924 can be by any kind of volatibility or non-volatile memory device or combinations thereof
Realize, such as static access memory (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable programmable at any time
Read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory,
Disk or CD.
Said structure signal is only that server is schematically illustrated, and server can include more or less parts,
Such as server also other parts such as I/O interfaces, power supply including keyboard and mouse etc, the present embodiment is repeated no more.
The embodiment of the present invention also provides a kind of computer-readable medium, is stored thereon with programmed instruction, and programmed instruction is located
The step of reason device 921 realizes the information processing method of server side in embodiment of the method shown in Fig. 3 and Fig. 4 when performing.
Above-mentioned the embodiment of the present application sequence number is for illustration only, and the quality of embodiment is not represented.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only the preferred embodiment of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent substitution and improvements made etc. should be included within the protection domain of the application.
Claims (21)
1. a kind of information processing method, it is characterised in that methods described includes:
The first control short message that controlled terminal the reception server is sent, the first control short message belongs to what the server was safeguarded
Target control short message sequence, the first control short message includes the first control instruction and the first short message sequence number, first short message
Sequence number is used to represent order of the first control short message in the target control short message sequence;
The controlled terminal detects whether the first short message sequence number is more than the second short message sequence number of the second control short message, described the
The two control short messages for controlling short message to have been responded by the controlled terminal in the target control short message sequence, second control
Short message includes the second control instruction and the second short message sequence number, and the second short message sequence number is used to represent second control
Order of the short message in the target control short message sequence;
If the first short message sequence number is less than the second short message sequence number, the controlled terminal is not responding to first control and referred to
Order.
2. according to the method described in claim 1, it is characterised in that whether the controlled terminal detects the first short message sequence number
Before the second short message sequence number more than the second control short message, in addition to:
The control short message of newest response is defined as the second control short message by the controlled terminal.
3. according to the method described in claim 1, it is characterised in that each control short message in the target control short message sequence
Included control instruction has identical instruction type;
The controlled terminal detects whether the first short message sequence number is more than before the second short message sequence number of the second control short message, also
Including:
The controlled terminal determines the instruction type of first control instruction;
The controlled terminal determines one or more target control short messages, and the target control short message is included and the described first control
Instruct the control instruction of same instructions type;
The target control short message of newest response is defined as the second control short message by the controlled terminal.
4. according to any described method of claims 1 to 3, it is characterised in that the first control short message also carries target
CUSTOMER ID, methods described also includes:
The controlled terminal according to the user of the binding of the controlled terminal identify and/or the controlled terminal device identification,
The controlled CUSTOMER ID of generation;
The controlled terminal judges whether targeted customer's identification code and the controlled CUSTOMER ID match;
If targeted customer's identification code and the controlled CUSTOMER ID are mismatched, the controlled terminal is not responding to described the
One control instruction.
5. a kind of information processing method, it is characterised in that methods described includes:
Server receives the first control instruction that control terminal is sent, wherein, first control instruction is used for controlled terminal
Be controlled, safeguard there is a target control short message sequence in the server, the target control short message sequence include one or
Multiple control short messages, each control short message includes corresponding control instruction and short message sequence number, and the short message sequence number is used for
Represent order of the control short message in the target control short message sequence;
The server determines the corresponding first short message sequence of first control instruction according to the target control short message sequence
Number;
Server generation first controls short message, and the first control short message includes first control instruction and described the
One short message sequence number;
Described first control short message is added the target control short message sequence by the server;
The server sends the control short message in the target control short message sequence to the controlled terminal successively.
6. method according to claim 5, it is characterised in that the server according to the target control short message sequence,
The corresponding first short message sequence number of first control instruction is determined, including:
The server sums the short message sequence number of the control short message of last in the target control short message sequence with predetermined value,
Obtain the corresponding first short message sequence number of first control instruction;
Or,
The server regard the corresponding timestamp of first control instruction as the first short message sequence number.
7. the method according to claim 5 or 6, it is characterised in that safeguard there is target control short message sequence in the server
The control instruction included by each control short message being listed in interior multiple control short message sequences, same control short message sequence has
Identical instruction type;
The server determines the corresponding first short message sequence number of first control instruction according to the target control short message sequence
Also include before:
The server determines that first control instruction belongs to the target according to the instruction type of first control instruction
Control short message sequence.
8. according to any described method in claim 5 to 7, it is characterised in that methods described also includes:
The server receives the corresponding user's mark of first control instruction and/or device identification;
The server is identified and/or device identification according to the user, generates targeted customer's identification code;
Server generation first controls short message, and the first control short message includes first control instruction and described the
One short message sequence number includes:
Server generation first controls short message, and the first control short message includes first control instruction, described the
One short message sequence number and targeted customer's identification code.
9. a kind of information processor, it is characterised in that applied to controlled terminal, described device includes:
Short message receiving module, the first control short message sent for the reception server, the first control short message belongs to the clothes
The target control short message sequence that business device is safeguarded, the first control short message includes the first control instruction and the first short message sequence number, institute
Stating the first short message sequence number is used to represent order of the first control short message in the target control short message sequence;
Sequence number detection module, for detecting whether the first short message sequence number is more than the second short message sequence number of the second control short message,
Described second controls short message to be the control short message that has been responded by the controlled terminal in the target control short message sequence, and described the
Two control short messages include the second control instruction and the second short message sequence number, and the second short message sequence number is used to representing described the
Order of the two control short messages in the target control short message sequence;
Respond module is instructed, for when the first short message sequence number is less than the second short message sequence number, being not responding to described first
Control instruction.
10. device according to claim 9, it is characterised in that described device, in addition to:
First determining module, for the control short message of newest response to be defined as into the second control short message.
11. device according to claim 9, it is characterised in that each control in the target control short message sequence is short
The included control instruction of letter has identical instruction type;
Described device, in addition to:
Determination type module, the instruction type for determining first control instruction;
Second determining module, for determining one or more target control short messages, the target control short message is included and described the
The control instruction of one control instruction same instructions type;
3rd determining module, for the target control short message of newest response to be defined as into the second control short message.
12. according to any described device of claim 9 to 11, it is characterised in that the first control short message also carries mesh
CUSTOMER ID is marked, described device also includes:
First generation module, user's mark and/or the equipment of the controlled terminal for the binding according to the controlled terminal
Mark, the controlled CUSTOMER ID of generation;
Identification code judge module, for judging whether targeted customer's identification code and the controlled CUSTOMER ID match;
The instruction respond module, for when targeted customer's identification code and the controlled CUSTOMER ID are mismatched, no
Respond first control instruction.
13. a kind of information processor, it is characterised in that applied in server, described device includes:
Command reception module, the first control instruction for receiving control terminal transmission, wherein, first control instruction is used for
Controlled terminal is controlled, being safeguarded in the server has in target control short message sequence, the target control short message sequence
Including one or more control short messages, each control short message includes corresponding control instruction and short message sequence number, described short
Letter sequence number is used to represent order of the control short message in the target control short message sequence;
Sequence number determining module, for according to the target control short message sequence, determining first control instruction corresponding first
Short message sequence number;
Message generation module, controls short message, the first control short message includes first control instruction for generating first
With the first short message sequence number;
Sequence adds module, for the described first control short message to be added into the target control short message sequence;
SMS transmission module, for sending the control short message in the target control short message sequence successively to the controlled terminal.
14. device according to claim 13, it is characterised in that
The sequence number determining module, for by the target control short message sequence last control short message short message sequence number with
Predetermined value is summed, and obtains the corresponding first short message sequence number of first control instruction;
Or,
The sequence number determining module, for regarding the corresponding timestamp of first control instruction as the first short message sequence number.
15. the device according to claim 13 or 14, it is characterised in that safeguard there is target control short message in the server
Control instruction tool included by each control short message in multiple control short message sequences including sequence, same control short message sequence
There is identical instruction type;
Described device also includes:
4th determining module, for the instruction type according to first control instruction, determines that first control instruction belongs to
The target control short message sequence.
16. according to any described device in claim 13 to 15, it is characterised in that described device also includes:
Receiving module is identified, for receiving the corresponding user's mark of first control instruction and/or device identification;
Second generation module, for according to user mark and/or device identification, generating targeted customer's identification code;
The message generation module, controls short message, the first control short message includes first control for generating first
Instruction, the first short message sequence number and targeted customer's identification code.
17. a kind of controlled terminal, it is characterised in that the controlled terminal includes:Processor, the storage being connected with the processor
Device, and the programmed instruction being stored on the memory, realize that right such as will during the computing device described program instruction
The step of seeking 1 to 4 any described information processing method.
18. a kind of server, it is characterised in that the server includes:Processor, the memory being connected with the processor,
And the programmed instruction on the memory is stored in, realize such as claim 5 during the computing device described program instruction
The step of to 8 any described information processing method.
19. a kind of information processing system, it is characterised in that described information processing system includes:Server and at least one terminal;
The server includes the information processor as described in claim 13 to 16 is any;At least one described terminal includes
Information processor as described in claim 9 to 12 is any;
Or,
The server is server as claimed in claim 18, and the terminal is as claimed in claim 17 controlled whole
End.
20. a kind of computer-readable medium, is stored thereon with programmed instruction, it is characterised in that described program is instructed by processor
The step of information processing method as described in Claims 1-4 is any is realized during execution.
21. a kind of computer-readable medium, is stored thereon with programmed instruction, it is characterised in that described program is instructed by processor
The step of information processing method as described in claim 5 to 8 is any is realized during execution.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710324096.0A CN107105098B (en) | 2017-05-09 | 2017-05-09 | Information processing method, apparatus and system |
PCT/CN2018/086069 WO2018205941A1 (en) | 2017-05-09 | 2018-05-08 | Information processing method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710324096.0A CN107105098B (en) | 2017-05-09 | 2017-05-09 | Information processing method, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107105098A true CN107105098A (en) | 2017-08-29 |
CN107105098B CN107105098B (en) | 2019-07-12 |
Family
ID=59669162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710324096.0A Active CN107105098B (en) | 2017-05-09 | 2017-05-09 | Information processing method, apparatus and system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107105098B (en) |
WO (1) | WO2018205941A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018205941A1 (en) * | 2017-05-09 | 2018-11-15 | Oppo广东移动通信有限公司 | Information processing method, apparatus and system |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616381A (en) * | 2008-06-23 | 2009-12-30 | 中国移动通信集团重庆有限公司 | A kind of tele-control system and method based on short message |
US20140011477A1 (en) * | 2012-07-06 | 2014-01-09 | Samsung Electronics Co., Ltd. | Apparatus and method for providing remote communication of an electronic device in a communication network environment |
CN103813280A (en) * | 2012-11-15 | 2014-05-21 | 中国电信股份有限公司 | Method and system for controlling communication action capabilities of mobile phone terminals on basis of short messages |
US20150085636A1 (en) * | 2013-03-06 | 2015-03-26 | Barracuda Networks, Inc. | Network traffic control via sms text messaging |
CN104571033A (en) * | 2014-12-26 | 2015-04-29 | 广东美的制冷设备有限公司 | Method and device for controlling household appliance through short message |
CN105392086A (en) * | 2015-11-04 | 2016-03-09 | 广东欧珀移动通信有限公司 | Information processing method and play equipment |
CN106453473A (en) * | 2016-07-15 | 2017-02-22 | 孙宝石 | Method and system of solving internet of things multi-message channel control message conflict |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895900A (en) * | 2009-05-19 | 2010-11-24 | 中兴通讯股份有限公司 | Device and method for managing/controlling terminal based on M2M application platform |
US8285315B1 (en) * | 2011-06-02 | 2012-10-09 | Google Inc. | Methods for user-interface over SMS messages based on a rolling sequence model |
CN106292449B (en) * | 2016-09-06 | 2019-02-12 | 合肥移顺信息技术有限公司 | The system and method for vehicle is remotely controlled based on Encrypted short message |
CN107105098B (en) * | 2017-05-09 | 2019-07-12 | Oppo广东移动通信有限公司 | Information processing method, apparatus and system |
-
2017
- 2017-05-09 CN CN201710324096.0A patent/CN107105098B/en active Active
-
2018
- 2018-05-08 WO PCT/CN2018/086069 patent/WO2018205941A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101616381A (en) * | 2008-06-23 | 2009-12-30 | 中国移动通信集团重庆有限公司 | A kind of tele-control system and method based on short message |
US20140011477A1 (en) * | 2012-07-06 | 2014-01-09 | Samsung Electronics Co., Ltd. | Apparatus and method for providing remote communication of an electronic device in a communication network environment |
CN103813280A (en) * | 2012-11-15 | 2014-05-21 | 中国电信股份有限公司 | Method and system for controlling communication action capabilities of mobile phone terminals on basis of short messages |
US20150085636A1 (en) * | 2013-03-06 | 2015-03-26 | Barracuda Networks, Inc. | Network traffic control via sms text messaging |
CN104571033A (en) * | 2014-12-26 | 2015-04-29 | 广东美的制冷设备有限公司 | Method and device for controlling household appliance through short message |
CN105392086A (en) * | 2015-11-04 | 2016-03-09 | 广东欧珀移动通信有限公司 | Information processing method and play equipment |
CN106453473A (en) * | 2016-07-15 | 2017-02-22 | 孙宝石 | Method and system of solving internet of things multi-message channel control message conflict |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018205941A1 (en) * | 2017-05-09 | 2018-11-15 | Oppo广东移动通信有限公司 | Information processing method, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN107105098B (en) | 2019-07-12 |
WO2018205941A1 (en) | 2018-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105933888B (en) | A kind of eSIM card method for burn-recording and device based on NFC | |
CN105607931A (en) | Method and device for optimizing retention rate of application program and electronic equipment | |
CN106790727A (en) | Information push method and device | |
CN107846507A (en) | Method for sending information, device, computer installation and computer-readable recording medium | |
CN108809800A (en) | A kind of multimedia data processing method and its equipment, system | |
CN106790926A (en) | A kind of contact management method and terminal | |
CN112990484B (en) | Model joint training method, device and equipment based on asymmetric federated learning | |
CN106878527A (en) | Call control method and device | |
CN106101984A (en) | The security module management method of a kind of NFC Mobile payment terminal and terminal | |
CN105515830A (en) | User management method and device | |
CN110378753A (en) | A kind of advertisement serving policy determines method and device | |
CN109783335A (en) | User's operation records restoring method, device, equipment and readable storage medium storing program for executing | |
CN110046000A (en) | Small routine operation method and device | |
CN107105098A (en) | Information processing method, apparatus and system | |
CN107318100B (en) | Method, device and system for binding mobile phone number | |
CN108512803A (en) | Remind the method and device of change account bound phone number | |
CN104615709A (en) | Information display method and device | |
CN106559551A (en) | A kind of information cuing method of address list, device | |
CN106875184B (en) | Abnormal scene simulation method, device and equipment | |
CN106407470A (en) | Fingerprint sharing method, terminal and server | |
CN108920309B (en) | Method and apparatus for handling information | |
CN106792521A (en) | Obtain method, device and the electronic equipment of terminal location | |
CN106202456A (en) | Send the method and device of picture | |
CN106384159A (en) | Judge meeting appointment method and device applied to court system | |
CN113254989B (en) | Fusion method and device of target data and server |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |