WO2015003610A1 - 远程控制方法、装置及*** - Google Patents

远程控制方法、装置及*** Download PDF

Info

Publication number
WO2015003610A1
WO2015003610A1 PCT/CN2014/081805 CN2014081805W WO2015003610A1 WO 2015003610 A1 WO2015003610 A1 WO 2015003610A1 CN 2014081805 W CN2014081805 W CN 2014081805W WO 2015003610 A1 WO2015003610 A1 WO 2015003610A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
information
control operation
server
response server
Prior art date
Application number
PCT/CN2014/081805
Other languages
English (en)
French (fr)
Inventor
刘健
申飞龙
张辉
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2015003610A1 publication Critical patent/WO2015003610A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Definitions

  • the present invention relates to the field of communications technologies, and more particularly to a remote control method, apparatus, and system. Background of the invention
  • Remote control means that the local device is connected to the device to be controlled through the network in a remote place, thereby configuring the parameters of the remote controlled device through the local device, and modifying and installing the internal program.
  • the internal network refers to the internal special network of the Internet service company, and the server in the internal network is the server related to the provision of the Internet service. Take the URL cloud security service as an example.
  • a server with a URL (Uniform Resource Locator, Uniform Resource Locator, also known as a URL) set to a dangerous URL or a secure URL is set on the internal network. If the operator of the Web site security service prevents the URL from spreading during non-business hours, the operator can access the internal network through remote control technology, connect to the corresponding server, and set the URL as a dangerous URL.
  • URL Uniform Resource Locator, Uniform Resource Locator, also known as a URL
  • the embodiments of the present invention provide a remote control method, apparatus, and system to solve the problem that the prior art does not remotely control through a mobile terminal and the corresponding system.
  • the embodiments of the present invention provide the following technical solutions: A remote control method, where the method includes:
  • the access server receives a message that is generated by the mobile terminal and carries a control command, where the control command includes at least control object information and control operation information;
  • the access server determines control object information included in the control command, and control operation information
  • the access server determines a target response server corresponding to the control operation information; the access server sends an indication message to the target response server according to the control object information and the control operation information, the indication information At least the control object information is included.
  • the control command further includes: a separation identifier
  • the determining the control object information included in the control command, and the control operation information includes:
  • Determining, according to the predefined editing format, an information segment corresponding to a predefined control object arrangement sequence as the control object information, and an information segment corresponding to the predefined control operation sequence order is the control operation information .
  • the control command further includes: a separation identifier, a control object information identifier, and a control operation information identifier;
  • the determining the control object information included in the control command, and the control operation information includes:
  • the information segment identified by the operation information is control operation information.
  • the embodiment of the invention further provides a remote control method, which is applied to a response server, and the method includes:
  • the indication information is that the access server receives a message that is generated by the mobile terminal and carries a control command, where the control command includes at least a control object.
  • Information and control operation information determining control object information and control operation information included in the control command according to a predefined editing format, and determining a target response server corresponding to the control operation information, according to the control object information and the Controlling operation information, and transmitting indication information to the target response server;
  • the corresponding control operation program is called, and the control operation program is used to perform a control operation on the operation object corresponding to the control object information.
  • the embodiment of the invention further provides a remote control device, which is applied to an access server, and the device includes:
  • control command receiving module configured to receive a message that is generated by the mobile terminal and that carries a control command, where the control command includes at least control object information and control operation information;
  • An information determining module configured to determine control object information and control operation information included in the control command according to a predefined editing format
  • a target response server determining module configured to determine a target response server corresponding to the control operation information
  • a sending module configured to send, according to the control object information and the control operation information, indication information to the target response server, where the indication information includes at least control object information.
  • the embodiment of the invention further provides a remote control device, which is applied to a response server, and the device includes:
  • the indication message receiving module is configured to receive an indication message sent by the access server, where the indication information includes at least control object information, where the indication information is that the access server receives a message that is generated by the mobile terminal and carries a control command, where
  • the control command includes at least control object information and control operation information, determining control object information and control operation information included in the control command according to a predefined editing format, and determining a target response server corresponding to the control operation information, according to the And the control operation information and the control operation information sent to the target response server to trigger the target response server to execute a control operation function corresponding to the control operation information;
  • a command execution module configured to retrieve a corresponding control operation program according to the indication information, and perform a control operation on the operation object corresponding to the control object information by using the control operation program.
  • the embodiment of the invention further provides a remote control system, comprising: a mobile terminal, an access server and a response server;
  • the mobile terminal is configured to generate a message carrying a control command and send the message, where the control command includes at least control object information and control operation information;
  • the access server is configured to receive the message, determine control object information and control operation information included in the control command according to a predefined editing format, and determine a target response server corresponding to the control operation information, according to the Transmitting the control object information and the control operation information, and transmitting the indication information to the target response server, where the indication information includes at least control object information;
  • the response server is configured to receive the indication message, and retrieve a corresponding control operation program according to the indication message, and perform a control operation on the operation object corresponding to the control object information by using the control operation program.
  • the remote control method provided by the embodiment of the present invention generates a message carrying a control command by the mobile terminal, and the access server determines the control after receiving the message.
  • Control object information and control operation information edited in a predefined edit format, thereby determining a target corresponding server that executes the control command, and transmitting an indication message including at least control object information to the target response server, thereby triggering the target response server Execute control commands for remote control.
  • the remote control method provided by the embodiment of the present invention achieves the purpose of remotely controlling the response server in the intranet through the mobile terminal by corresponding processing of the received message carrying the control command by the access server.
  • FIG. 1 is a flowchart of a remote control method according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a method for determining control object information and control operation information according to an embodiment of the present invention
  • FIG. 3 is a flowchart of another method for determining control object information and control operation information according to an embodiment of the present invention.
  • FIG. 4 is another flowchart of a remote control method according to an embodiment of the present invention
  • FIG. 5 is a flowchart of a remote control method according to an embodiment of the present invention
  • FIG. 7 is a flowchart of a method for verifying an authorization password according to an embodiment of the present invention
  • FIG. 8 is still another flowchart of a remote control method according to an embodiment of the present invention.
  • FIG. 9 is a structural block diagram of a remote control apparatus according to an embodiment of the present invention.
  • FIG. 10 is a structural block diagram of an information determining module according to an embodiment of the present invention.
  • FIG. 11 is a block diagram of another structure of an information determining module according to an embodiment of the present invention.
  • FIG. 12 is a structural block diagram of a target response server determining module according to an embodiment of the present invention;
  • FIG. 13 is a structural block diagram of a sending module according to an embodiment of the present invention;
  • FIG. 14 is a structural block diagram of a control command receiving module according to an embodiment of the present invention
  • FIG. 15 is a block diagram showing another structure of a remote control device according to an embodiment of the present invention
  • FIG. 16 is a structural block diagram of a command execution module according to an embodiment of the present invention
  • FIG. 17 is another structural block diagram of a command execution module according to an embodiment of the present invention.
  • FIG. 18 is a structural block diagram of a remote control system according to an embodiment of the present invention.
  • FIG. 19 is a block diagram showing another structure of a remote control system according to an embodiment of the present invention.
  • FIG. 20 is a block diagram showing another structure of a remote control system according to an embodiment of the present invention; Block diagram
  • FIG. 22 is a block diagram of another structure of an access server according to an embodiment of the present invention.
  • FIG. 23 is a flow chart of a method for verifying validity of an authorized password according to an embodiment of the present invention. Mode for carrying out the invention
  • FIG. 1 is a flowchart of a remote control method according to an embodiment of the present invention.
  • the method is applied to an access server, and the access server is connected to at least one response server of the internal network.
  • the access server can be configured to receive the message sent through the external network, and process the message and forward it to the corresponding response server.
  • the response server is a server that carries a service program in the internal network and can perform related control tasks, such as setting a response level server of the URL security level.
  • the response server can perform a blacklisting operation or a whitewashing operation by using a web address blackening program or a web address whitewashing program set therein to implement a web security level setting task.
  • the blackout operation refers to setting the URL as a dangerous URL
  • the whitewashing operation refers to setting the URL as a secure URL.
  • the method may include: Step S100: The access server receives a message that is generated by a mobile terminal and carries a control command, where the control command includes at least control object information and control operation information.
  • the control commands include control object information and control operation information.
  • the control command is used to describe the control task "What kind of control operation is performed on which control object".
  • the control task of pulling the URL sex.com as an example, where "sex.com” is the control object information and "black” is the control operation information.
  • the control command describes "what device, what kind of control operation on which object” to explicitly execute the control server (ie, the target response server), that is, the control object information corresponding to the control command, Control operation information and target response server identification.
  • the control command may further include other control information such as the execution time of the control command.
  • control command should include at least control object information and control operation information.
  • control command may also include the target response server identifier, execution time. Control information.
  • the control object information, the control operation information, and the like may be edited by using a predefined editing format.
  • the control information, the control information, and the like are controlled as a piece of information, and the control command content is edited in a predefined edit format of each piece of information.
  • the control task of pulling the URL sex.com as an example, where "sex.com” is an information segment, edited in a predefined editing format of the control object, and "black" is another information segment to control the operation.
  • Pre-defined editing format for editing is a predefined editing format for editing.
  • the receiving object of the message may be an access server, and the message is directly received by the access server.
  • the mobile terminal can also generate and send a message carrying a control command through an instant messaging application provided by the instant messaging application server.
  • the receiving object of the message may be a specific account of the instant messaging application, and the access server receives the message sent by the mobile terminal through the instant messaging application server.
  • the access server receives the message forwarded by the instant messaging application server. If the mobile terminal can send the message to a specific account by using an instant messaging application, the instant messaging application server forwards the message to the specific application account before receiving the message sent to the specific account. The access server.
  • Step S110 The access server determines the control object information and the control operation information in the control command according to the predefined editing format.
  • the access server determines that the information segment corresponding to the predefined control object editing format in the control command is the control object information, and the information segment corresponding to the predefined control operation editing format is the control operation information.
  • the access server may obtain each control information segment in the control command, and determine which segment of the information segment is the control object by using a predefined editing format of each segment of the information segment. information, Which piece of information is the control operation information.
  • the information segment corresponding to the editing format may be determined as the control object information by using an edit format of the predefined control object.
  • the information segment corresponding to the editing format can be determined as control operation information by a predefined control operation editing format.
  • the control command further includes other control information such as the target response server identifier
  • the information segment corresponding to the edit format may be determined as the target response server identifier by using the edit format of the predefined target response server identifier.
  • Step S120 The access server determines a target response server corresponding to the control operation information.
  • the target response server may be directly determined by the target response server identifier.
  • the correspondence between the control operation information and the response server may also be preset in the access server.
  • the response server in the corresponding relationship may perform a control operation corresponding to the corresponding control operation information, and the response server corresponding to the control operation information determined in step S110 is determined as the target response server.
  • Step S130 The access server sends the indication information to the target response server to trigger the target response server to perform a control operation corresponding to the control operation information, where the indication information includes at least control object information.
  • the indication information may include only the control object information, and may also include control information such as control object information and control operation information.
  • the control object information is necessary indication information, and other control information such as control operation information may be determined according to actual application conditions.
  • the mobile terminal In the remote control method provided by the embodiment of the present invention, the mobile terminal generates a message carrying a control command. After receiving the message, the access server determines control object information and control operation information edited in a predefined edit format in the control command, thereby determining a target corresponding server that executes the control command, and sending at least the control object to the target response server An indication message of the information, which in turn triggers the target response server to execute a control command to implement remote control System.
  • the remote control method provided by the embodiment of the present invention achieves the purpose of remotely controlling the response server in the intranet through the mobile terminal by corresponding processing of the received message carrying the control command by the access server.
  • control operation information of different description forms may exist for the same control operation.
  • these control operation information which are different in form of description but both indicate the same control operation can be regarded as the same control operation information.
  • the control operation information corresponding to the blacklist operation of the website may be "black".
  • setblack can also be a character code, such as "control operation”, etc.
  • control operation information indicating that the URL is blacked out is considered to be the same control operation information. The situation is similar to the case where the target responds to the server ID and the like.
  • the control command may include a separation identifier separating the control object information from the control operation information.
  • Separation IDs separate the various types of control information in the control commands.
  • the separation flag separates the control command into a plurality of pieces of information having at least control object information and control operation information.
  • the separator ID can be an identifier such as ",”, "space character", "#”, space, and so on.
  • the predefined editing formats may be used in the following two types. It is worth noting that the following two implementation modes are only optional. .
  • the control object information and the control operation information are arranged on both sides of the separation mark in a predefined arrangement order. If the first sequence is defined as the control object information, and the second sequence is the control operation information, the control object information and the control operation information are set in the corresponding sequence when editing. Obviously, the control command includes the target response server identifier, and the control time. The editing principle when other control information is used is similar to this and can be referred to.
  • the first implementation manner can be performed in the step S110 shown in FIG. 1.
  • the implementation manner may include:
  • Step S1110 The access server parses the message to obtain a control command content carried in the message.
  • Step S11 The access server acquires two pieces of information segments arranged on two sides of the separation identifier by using the separation identifier, and determines that the information segment corresponding to the pre-defined control object arrangement order is the control object information, and the predefined control operation
  • the information segments corresponding to the sequence bits are control operation information.
  • the order of the predefined control object information is the first place, and the order of the predefined control operation information is the second place, and the control edited by the mobile terminal
  • the command can be "sex.com, black”.
  • the access server parses the message and obtains the control command "sex.com, pull black"
  • the access information "” can be obtained by separating the identifier ",” to obtain the "sex.com” and “black” segments.
  • the "sex.com” of the sequence is the control object information
  • the "black” of the second sequence is the control operation information.
  • the second editing format may be a corresponding identifier set in a preset position in the control object information and the control operation information.
  • the control object information identifier may be set at a preset position of the control object information
  • the control operation information identifier is set at a preset position of the control operation information.
  • the identifier corresponding to the control operation information may be added in the front part of the control operation information "black", in the control object information "sex.com”
  • the identifier corresponding to the control object information is 01
  • the identifier corresponding to the control operation information is 02
  • the edited control command may be "01 sex.com, 02 black.”
  • the control command also includes the target response server identifier, control time when controlling other information, etc. Make the editing principle the same as described in this paragraph, and refer to it. Multiple pieces of information are separated by a separation mark.
  • the control command edited by the mobile terminal may be "01sex.com, 02 black, 03 server 1", and the identifier corresponding to the control object information defined is 01.
  • the identifier corresponding to the control operation information is 02, and the identifier corresponding to the target response server identifier is 03.
  • the step S110 shown in FIG. 1 may have a second implementation manner.
  • the implementation manner may include:
  • Step S1120 Parsing the message, and obtaining the content of the control command carried in the message;
  • Step S1111 Obtaining two pieces of information segments arranged on both sides of the separation mark by using the separation identifier, respectively extracting control objects from preset positions in the information segments at both ends Information identification and control operation information identification;
  • Step S1122 determining that the information segment having the control object information identifier is the control object information, and the information segment having the control operation information identifier is the control operation information.
  • the identifiers 01 and 02 are extracted from the front of the two pieces of information, and the information segment sex.com having the identifier 01 is determined as the control object information, and the information segment having the identifier 02 is blacked out as the control operation information.
  • Fig. 4 shows the remote control method in the corresponding case, which can be referred to.
  • FIG. 4 is another flowchart of a remote control method according to an embodiment of the present invention.
  • the method may include: Step S200: The access server receives a message that is generated by the mobile terminal and carries a control command, where the control command includes control object information and control operation information.
  • the editing format of the control commands may use the first or second editing format described above.
  • Step S210 The access server determines that the information segment corresponding to the predefined control object editing format in the control command is the control object information, and the information segment corresponding to the predefined control operation editing format is the control operation information;
  • step S200 when step S200 uses the first editing format described above to edit the control command, the control object information and the control operation can be determined using the method shown in FIG.
  • the step S200 uses the second editing format described above to edit the control command, the control object information and the control operation can be determined by the method shown in FIG.
  • Step S220 Determine, according to the correspondence between the preset control operation information and the response server, that the response server corresponding to the control operation information is the target response server.
  • the access server may preset a correspondence between the control operation information and the response server.
  • the access server can preset a correspondence table. Each response server and its corresponding control operation information are set in the table.
  • the response server in the table can execute a control operation program corresponding to the corresponding control operation information. If there is a corresponding relationship between the server and the black, the server 1 can execute the blackmail program.
  • the access server can be called after determining the control object information and the control operation information. Corresponding relationship between the preset control operation information and the response server. If the control operation information determined in step S210 corresponds to the preset control operation information, determining that the preset response server corresponding to the control operation information is Target response server.
  • Step S230 If it is determined that the target response server has only the control operation function corresponding to the control operation information, send an indication message including only the control object information to the target response server. If the target response server corresponds to the control operation information in the corresponding relationship between the preset control operation information and the response server, determining that the target response server has only the control operation function corresponding to the control operation information, The indication message sent to the target response server may include only control object information.
  • the indication message may carry the control object information identifier to enable the target response server to determine that the information existing in the received message is the control object information.
  • the target response server can also preset the control operation information corresponding to the target response server.
  • the control operation information preset by the access server and having a one-to-one correspondence with the target response server corresponds to the control operation information preset by the target response server.
  • the target response server may invoke a control operation program corresponding to the preset control operation information, thereby performing a control operation on the control object corresponding to the control object information.
  • the access server can determine that only the control object information is carried in the indication message according to the actual target response server condition, so that the indication message sent to the target response server is as short and effective as possible, and the access is reduced. The amount of data transferred between the server and the target response server.
  • Step S240 If it is determined that the target response server has multiple control operation functions, send an indication message including the control object information and the control operation information to the target response server.
  • the target response server may be determined to have Multiple control operation functions.
  • the indication message sent to the target response server should include control object information and control operation information.
  • the indication message carries the control object information identifier and the control operation The information is identified to enable the target response server to determine that the information present in the received message is control object information and control operation information.
  • step S230 and step S240 are two different processing flows for different situations according to an embodiment of the present invention, and there is no order between the two.
  • the indication message may only carry the control object information, and may also carry the control object information and the control operation information.
  • Step S10 The access server receives a message that is generated by the mobile terminal and carries a "sex.com, pull black" control command.
  • control command may also be described in the manner of "01 sex.com, 02 black", where 01 is the control object information identifier, and 02 is the control operation information identifier; it is worth noting that the mobile terminal can also use other edits. Format editing control commands, do not make a comment here.
  • Step S11 The access server parses the message, determines that "black” is the control operation information, and "sex.com” is the control object information;
  • Step S12 The access server retrieves a corresponding relationship between the preset control operation information and the response server, and if the “black pull” corresponds to the preset control operation information, determining that the response server corresponding to the “black pull” is the target response server;
  • the access server may send a control command error prompt message to the mobile terminal.
  • Step S13 If the correspondence between the target response server and the "black-out" is one-to-one correspondence in the correspondence, the access server determines that the indication message sent to the target response server includes only "sex.com". Control object information;
  • Step S14 If, in the corresponding relationship, the target response server has a corresponding relationship with the "black-out” relationship, and the other control operation information has a corresponding relationship, the access server does
  • the indication message sent to the target response server includes "black” and "sex.com”; since the target response server may also have a correspondence with the control operation information "wash white", that is, the target response server can simultaneously perform URL pull.
  • Black and whitewash operation in this case, in addition to sending the URL information of the operation to the target response server, it is also necessary to send control operation information to the target response server, so that the target response server explicitly blacks or washes the URL. White operation.
  • step S13 and step S14 are the two processing branches in step S12.
  • the control command may include: control object information, control operation information, and target response server identification.
  • Fig. 5 shows the remote control method in the corresponding case, which can be referred to.
  • FIG. 5 is still another flowchart of a remote control method according to an embodiment of the present invention.
  • the method may include:
  • Step S300 The access server receives a message that is generated by the mobile terminal and carries a control command, where the control command includes control object information, control operation information, and a target response server identifier.
  • Step S310 The access server parses the message, determines control object information, controls operation information, and a target response server identifier.
  • control object information in the control command the edit format of the control operation information and the target response server identifier, and the manner of determining the control object information, the control operation information, and the target response server identifier from the control command, refer to the description of the corresponding part in the above embodiment. I will not repeat them here.
  • Step S320 The access server determines that the response server corresponding to the target response server identifier is the target response server.
  • Step S330 The access server sends an indication message including the control object information and the control operation information to the target response server.
  • the control command may include the control object information, the control operation information, and the target response server identifier
  • the method shown in FIG. 6 may also be used for remote control. Compared with the method shown in FIG. 5, the method shown in FIG. 6 can be in the indication message. Carry the information as short and effective as possible to trigger the target response server to successfully execute the control command.
  • FIG. 6 is still another flowchart of a remote control method according to an embodiment of the present invention. Referring to FIG. 6, the process may include:
  • Step S400 The access server receives a message that is generated by the mobile terminal and carries a control command, where the control command includes control object information, control operation information, and a target response server identifier.
  • Step S410 The access server parses the message, determines control object information, controls operation information, and a target response server identifier.
  • Step S420 The access server retrieves a correspondence between the preset control operation information and the response server, and determines whether the control operation information and the target response server identifier are in the corresponding relationship and corresponding to, if yes, performing steps S430, if not, executing step S440; step S430, the access server sends an indication message including only the control object information to the response server corresponding to the target response server identifier;
  • control operation information is in a corresponding relationship with the target response server, it may be determined that, in the embodiment of the present invention, the target response server has only corresponding to the control operation information. Controlling an operation function, an indication message including only the control object information may be sent to the target response server.
  • Step S440 The access server sends an indication message including the control object information and the control operation information to the response server corresponding to the target response server identifier.
  • the control operation information exists in the corresponding relationship, but the target response server corresponding to the control operation information and the target response server identifier are No correspondence; in this case, the target response server identifier conflicts with the target response server capable of performing the control operation, and there is control
  • the control command error message can be fed back to the mobile terminal.
  • the target response server identifier carried in the control command may be further determined, and the preset response server corresponding to the control operation information carried in the control command is matched. S440. If there is no match, the control command error message may be fed back to the mobile terminal, and the step of sending the indication message to the determined target response server is interrupted to reduce invalid data transmission.
  • Step S20 The access server receives a message that the bearer generated by the mobile terminal is “sex.com, black, and server ⁇ control command;
  • Step S21 The access server parses the message, determines that "black” is the control operation information, "sex.com” is the control object information, and "the server” is the target response server;
  • Step S22 The access server retrieves the correspondence between the preset control operation information and the response server, and determines whether there is a one-to-one correspondence between the "black” and the "server” in the corresponding relationship. If yes, step S23 is performed, if no , performing step S24;
  • Step S23 The access server sends an indication message carrying "sex.com” to the server 1, to trigger the server 1 to black out "sex.com”;
  • Step S24 The access server sends an indication message carrying "sex.com” and "black” to the server 1, to trigger the server 1 to black out "sex.com”.
  • step S24 may not be directly performed, but the following steps are performed:
  • Step S25 the access server determines, in the correspondence, whether the response server corresponding to "black” corresponds to "server ,, if yes, step S24 is performed, and if no, step S26 is performed;
  • Step S26 feeding back control command error information to the mobile terminal.
  • the mobile terminal received by the access server generates a message carrying a control command and an authorization password, and performs validity verification on the authorization password.
  • FIG. 23 is a flowchart showing the validity verification of an authorization password according to an embodiment of the present invention. Referring to FIG. 23, the process may include:
  • Step S700 The access server receives a message that is sent by the mobile terminal and carries a control command and an authorization password, where the message further carries the identity of the mobile terminal user.
  • the authorization password can be edited in a predefined edit format, such as adding a password information identifier in front of the authorized password;
  • the identity of the mobile terminal user may be a mobile terminal identity.
  • the mobile terminal identity may be a mobile phone number. If the mobile terminal generates and sends a message using an instant messaging application, the identity can be an instant messaging account.
  • Step S710 the access server determines whether the authorization password corresponds to the identity identifier, and if so, step S720 is performed, and if no, step S730 is performed;
  • the authorization password and the identity identifier carried in the message may be determined according to the correspondence between the authorization password and the identity identifier pre-stored in the access server.
  • Step S720 The access server receives a message that is generated by the mobile terminal and carries a control command, and processes the message.
  • Step S730 The access server feeds back the authorization password error information to the mobile terminal.
  • the access server may further receive a message that is generated by the mobile terminal and carries the authorization password, and perform validity verification on the authorization password.
  • FIG. 7 is a flowchart showing the validity verification of an authorization password according to an embodiment of the present invention. Referring to FIG. 7, the process may include:
  • Step S500 The access server receives a message that is generated by the mobile terminal and carries an authorization password, where the message further carries the identity of the mobile terminal user.
  • the authorization password can be edited in a predefined edit format, such as The front part of the right password is added with the password information identifier;
  • the identity of the mobile terminal user may be a mobile terminal identity.
  • the mobile terminal identity may be a mobile phone number. If the mobile terminal generates and sends a message using an instant messaging application, the identity can be an instant messaging account.
  • Step S510 the access server determines whether the authorization password corresponds to the identity identifier, and if so, step S520 is performed, and if no, step S530 is performed;
  • the authorization password and the identity identifier carried in the message may be determined according to the correspondence between the authorization password and the identity identifier pre-stored in the access server.
  • Step S520 The access server feeds back the authorization information to the mobile terminal, and receives the message that is generated by the mobile terminal and carries the control command, and processes the message;
  • Step S530 The access server feeds back the authorization password error information to the mobile terminal.
  • the embodiment of the present invention may also set an expiration date of the authorization password, and the authorization password will be changed once every one expiration date. If the correct authorization password is set to 123 and the validity period is 1 day, the correct password will be changed to a password different from "123" the next day.
  • the access server may forward the received message generated by the mobile terminal to the audit server, so that the audit server performs statistics on the message transmission status of each mobile terminal account.
  • the access server may forward, to the audit server, a message that is generated by the mobile terminal and carries a control command, so that the audit server collects control data corresponding to the control command.
  • the control data may be the execution data of the control command.
  • the control command is a black-and-white URL
  • the access server sends the received message of the black-out and white-washing address command to the audit server, and the audit server may count the certain A mobile terminal account washes the number of web addresses in a period of time, and the number of black web addresses, thereby realizing monitoring of various control commands required by the mobile terminal.
  • the access server can generate the authorized password generated by the received mobile terminal.
  • the message is forwarded to the audit server, so that the audit server counts the number of authorization errors corresponding to the mobile terminal, and sends the corresponding prompt information to the mobile terminal when the number of authorization errors reaches a preset number of times within a preset time.
  • the audit server can count the number of errors of the authorization password sent by the mobile terminal.
  • the audit server can send the account security prompt information to the specific device, so as to discover the potential account leakage risk in time.
  • FIG. 8 is still another flowchart of a remote control method according to an embodiment of the present invention. The method is applied to a response server. Referring to FIG. 8, the method may include:
  • Step S600 The response server receives the indication message sent by the access server, where the indication information includes at least control object information.
  • the indication information is a message that the access server generates a control command generated by the mobile terminal.
  • the control command includes at least control object information and control operation information, determining that the information segment corresponding to the predefined control object editing format in the control command is the control object information, and the information segment corresponding to the predefined control operation editing format is controlled. Operational information.
  • the access server transmits the indication information to the target response server after determining the target response server corresponding to the control operation information.
  • the indication information is used to trigger the target response server to perform a control operation function corresponding to the control operation information.
  • Step S610 The response server retrieves a corresponding control operation program according to the instruction message, and performs a control operation on the operation object corresponding to the control object information by using the control operation program.
  • the indication message may include the control object information and the control operation information
  • the implementation manner of step S610 may be as follows: according to the preset control operation information and the control operation program correspondence, responding to the server retrieval and the control Operation control corresponding control
  • the operating program performs a control operation on the operation object corresponding to the control object information by the retrieved control operation program.
  • control task Take the control task of pulling the URL sex.com as an example.
  • the response server receives the control object information "sex.com” and controls the operation information "black”
  • the response server will retrieve the preset control operation program corresponding to the "black” control operation information.
  • the control program is used to set the security level of the "sex.com” website to be dangerous, thereby avoiding the spread of the website.
  • the control task can also be to kill a process within the response server. Through the received control object information and control operation information, the corresponding process kill program can be called to kill the process corresponding to the control object information.
  • the response server may determine that the control operation program for executing the control command is a control operation program corresponding to the presence of the response server in the response server.
  • the implementation manner of the step S610 may be as follows: when the indication message includes only the control object information, determine a preset control operation program that has a one-to-one correspondence with the response server, and retrieve the control operation program, and use the The control operation program performs a control operation on the control object corresponding to the control object information.
  • a relational table can be set in the response server. The control operator identifier that stores the correspondence with the response server is stored in the relationship table.
  • the response server retrieves the control operation program corresponding to the control operation program identifier stored in the relationship table, and uses the control operation program to perform a control operation on the control object corresponding to the control object information. It is worth noting that, when the indication message received by the response server only includes the control object information, the response server will only always retrieve a control operation program corresponding to the presence of the response server, unless the change and response server exists.
  • the control operation procedure corresponding to the existence of the response server Take the control operation procedure corresponding to the existence of the response server as an example.
  • the URL sex.com is blacked out, when the response server receives the indication
  • the preset URL and the corresponding server's existence-corresponding URL blackening program can be adjusted, and the security level of "sex.com” is set to Danger.
  • the control message received by the response server in the control command for whitewashing the URL should include control object information and control operation information, wherein the control operation object is controlled.
  • the description information corresponds to the URL whitewashing object
  • the control operation information corresponds to the URL whitewashing control operation program.
  • the remote control device provided by the embodiment of the present invention is described below in terms of an access server.
  • the remote control device described below corresponds to the remote control method described above in terms of an access server, and the two can refer to each other.
  • FIG. 9 is a structural block diagram of a remote control apparatus according to an embodiment of the present invention.
  • the remote control apparatus is applied to an access server.
  • the apparatus may include:
  • the control command receiving module 100 is configured to receive a message that is generated by the mobile terminal and that carries a control command, where the control command includes at least control object information and control operation information;
  • the information determining module 110 is configured to determine that the information segment corresponding to the predefined control object editing format in the control command is the control object information, and the information segment corresponding to the predefined control operation editing format is the control operation information;
  • the target response server determining module 120 is configured to determine a target response server corresponding to the control operation information
  • the sending module 130 is configured to send the indication information to the target response server, to trigger the target response server to perform a control operation corresponding to the control operation information, where the indication information includes at least control object information.
  • the remote control device provided by the embodiment of the present invention generates a message carrying a control command by the mobile terminal, and after receiving the message, the access server determines the control object information and the control operation information edited in the predefined edit format in the control command, thereby Determine the execution of the control command
  • the target corresponding server sends an indication message including at least the control object information to the target response server, thereby triggering the target response server to execute the control command to implement remote control.
  • the remote control method provided by the embodiment of the present invention achieves the purpose of remotely controlling the response server in the intranet through the mobile terminal by corresponding processing of the received message carrying the control command by the access server.
  • control command may include: a separation identifier separating the control object information and the control operation information; the control object information and the control operation information are arranged in the predefined arrangement order in the separation identifier On both sides.
  • FIG. 10 shows the structure of the information determining module 110, including:
  • the first information segment obtaining unit 1110 is configured to obtain, by using the separation identifier, two pieces of information segments arranged on two sides of the separation identifier;
  • the first information determining unit 1111 is configured to determine that the information segment corresponding to the pre-defined control object arrangement sequence is the control object information, and the information segment corresponding to the predefined control operation sequence order is the control operation information.
  • control command may include: a separation identifier that separates the control object information from the control operation information, a control object information identifier that is set at a preset position of the control object information, and is set in the A control operation information identifier that controls the preset position setting of the operation information.
  • FIG. 11 shows another structure of the information determining module 110, including:
  • the second information segment obtaining unit 1120 is configured to obtain, by using the separation identifier, two pieces of information segments arranged on two sides of the separation identifier;
  • the identifier extracting unit 1121 is configured to extract the control object information identifier and the control operation information identifier from the preset positions in the two end information segments respectively;
  • the second information determining unit 1122 is configured to determine that the information segment having the control object information identifier is the control object information, and the information segment having the control operation information identifier is the control operation information.
  • the structure of the target response server determining module 120 is as shown in FIG. 12, and includes: a first target response server determining unit 1210, configured to determine, according to a preset correspondence between the control operation information and the response server, The response server is the target response server.
  • the structure of the sending module 130 can be as shown in FIG. 13, and includes:
  • the first sending unit 1310 is configured to, when determining that the target response server has only the control operation function corresponding to the control operation information, send an indication message including only the control object information to the target response server;
  • the target response server corresponds to the control operation information in a correspondence between the preset control operation information and the response server, determining that the target response server has only the control operation information Corresponding control operation function;
  • the second sending unit 1320 is configured to: when determining that the target response server has multiple control operation functions, send an indication message including the control object information and the control operation information to the target response server;
  • the target response server if there is a correspondence between the preset control operation information and the response server, the target response server has a corresponding relationship with the control operation information, and further has a corresponding relationship with other control operation information, Determine that the target response server has multiple control operations.
  • control command may further include a target response server identifier.
  • another structure of the target response server determining module 120 may include: a second target response server determining unit (not shown);
  • a second target response server determining unit configured to determine that the response server corresponding to the target response server identifier is the target response server.
  • the mobile terminal can generate and transmit a message carrying a control command through an application provided by the instant messaging application server.
  • the control command receiving module 100 The structure can be as shown in Figure 14, including:
  • the forwarding message receiving unit 101 is configured to receive the message forwarded by the instant messaging application server after receiving the message sent by the mobile terminal, and the receiving object of the message corresponds to the preset object.
  • the remote control device provided by the embodiment of the present invention may further include:
  • an authorization password verification module configured to: before receiving the message that is sent by the mobile terminal and carrying the control command, receive a message that is generated by the mobile terminal and carries an authorization password, and verify the validity of the authorization password. ;
  • the security in the remote control process can be improved, and safe and convenient remote control can be realized.
  • a message forwarding module (not shown), configured to forward, to the audit server, a message that is generated by the mobile terminal and carries a control command, so that the audit server collects control data corresponding to the control command.
  • the remote control device provided by the embodiment of the present invention is described below in response to a server perspective.
  • the remote control device described below corresponds to the remote control method described above in response to a server perspective, and the two can refer to each other.
  • FIG. 15 is another structural block diagram of a remote control apparatus according to an embodiment of the present invention.
  • the remote control apparatus may include:
  • the indication message receiving module 200 is configured to receive an indication message sent by the access server, where the indication information includes at least control object information;
  • the indication information is a message that is sent by the access server to receive the control command, and the control command includes at least control object information and control operation information, and the control command corresponds to a predefined control object edit format.
  • Information segment The image information, and the information segment corresponding to the predefined control operation editing format are control operation information, and after determining the target response server corresponding to the control operation information, sending the target response server to the target response server to trigger the target response server Information of a control operation function corresponding to the control operation information is executed.
  • the command execution module 210 is configured to retrieve a corresponding control operation program according to the indication information, and perform a control operation on the operation object corresponding to the control object information by using the control operation program.
  • the structure of the command execution module 210 may be as shown in FIG. 16, including:
  • the first control operation program retrieving unit 2110 is configured to retrieve a control operation program corresponding to the control operation information according to a preset correspondence between the control operation information and the control operation program;
  • the first execution unit 2111 is configured to perform a control operation on the operation object corresponding to the control object information by the control operation program retrieved by the first control operation program calling unit 2110.
  • the target response server may determine that the control operation program for executing the control command is a preset control operation program corresponding to the response server existence; correspondingly,
  • the structure of the command execution module 210 can be as shown in FIG. 17, and includes:
  • the second control operation program retrieving unit 2120 is configured to: when the information to be sent is the control object information, determine a preset control operation program that has a one-to-one correspondence with the response server, and retrieve the control operation program. ;
  • the second execution unit 2121 is configured to perform a control operation on the operation object corresponding to the control object information by using the control operation program retrieved by the second control operation program retrieving unit 2120.
  • the embodiment of the present invention further provides a remote control system.
  • the contents of the mobile terminal, the access server, and the response server involved in the following system may refer to the description of related parts above.
  • the system may include: a mobile terminal 10, an access server 20, and a response server 30, and the access server 20 is connected to at least one response server 30;
  • the mobile terminal 10 is configured to generate a message carrying a control command and send the message, where the control command includes at least control object information and control operation information.
  • the access server 20 is configured to receive the message generated by the mobile terminal 10, and determine that the information segment corresponding to the predefined control object editing format in the control command is the control object information, and the information corresponding to the predefined control operation editing format.
  • a segment is a control operation information, and a target response server corresponding to the control operation information is determined; an indication message is sent to the target response server to trigger the target response server to perform a control operation corresponding to the control operation information,
  • the indication information includes at least control object information;
  • the response server 30 is configured to receive the indication message, retrieve a corresponding control operation program according to the indication message, and perform a control operation on the operation object corresponding to the control object information by using the control operation program.
  • the receiving object of the message may be the access server 20, or may be another server that has a binding relationship with the access server 20.
  • the mobile terminal 10 can transmit the message by using an instant messaging application, and when the message is sent to the instant messaging application server, it is forwarded by the instant messaging application server to the bound access server.
  • FIG. 19 is another structural block diagram of a remote control system according to an embodiment of the present invention. As shown in FIG. 18 and FIG. 19, the remote control system may further include: an application server 40, and the mobile terminal 10 corresponds to the application server 40.
  • the instant messaging application generates and sends the message, where the message further includes a receiving object identifier of the message, where the application server 40 is configured to receive the message sent by the mobile terminal 10, if Receiving the message corresponding to the preset receiving object, forwarding the message to the access server 20 bound to the preset receiving object, so that the access server 20 receives the generated by the mobile terminal 10 Message.
  • the operator can apply for a communication account for the access server in the instant messaging application, and bind the communication account to the access server.
  • the communication account may be a special public account for remote control, and the operator may use his own communication account to pay attention to the communication account bound to the access server, or add the communication account as a friend.
  • the mobile terminal uses the operator's own communication account to log in to the instant messaging application, and generates a message carrying the control command through the instant messaging application editing, and uses the communication account bound to the access server as the message receiving object. Send the message.
  • the application server corresponding to the instant messaging application After receiving the message sent by the mobile terminal, the application server corresponding to the instant messaging application identifies the message receiving object in the message, and when it identifies that the message receiving object corresponds to the communication account bound to the access server, The application server forwards the message to the access server.
  • the access server and the response server perform the remote control methods described herein to implement remote control.
  • FIG 20 is a block diagram showing another structure of the remote control system according to an embodiment of the present invention. As shown in Figure 17 and Figure 19, the remote control system may further include an audit server 50;
  • the access server 20 is further configured to forward, to the audit server 50, a message generated by the mobile terminal 10 and carrying a control command;
  • the audit server 50 is configured to receive a message that is forwarded by the access server 20 and that carries a control command, and collects control data corresponding to the control command.
  • the access server 20 is further configured to: before receiving the message carrying the control command, receive the message that is generated by the mobile terminal 10 and that carries the authorization password, and send the bearer with the authorized password to the audit server 50.
  • the audit server 50 may be configured to receive a message carrying the authorization password sent by the access server 20, and count the number of authorization errors corresponding to the mobile terminal 10, and the authorization error is performed within a preset time. When the number reaches the preset number, the corresponding message is sent to the specific device.
  • the application server shown in Fig. 19 may also be included in the system shown in Fig. 20.
  • the mobile terminal may send the message to the access server through the public network, and after receiving the message, the access server determines the control command.
  • Control object information and control operation information edited in a predefined edit format, thereby determining a target corresponding server that executes the control command, and transmitting an indication message including at least control object information to the target response server, thereby triggering the target response server to execute control commands.
  • the remote control system provided by the embodiment of the present invention achieves the purpose of remotely controlling a response server in an intranet through a mobile terminal.
  • FIG. 21 is a structural block diagram of an access server according to an embodiment of the present invention.
  • the access server may include: a communication interface 1, a memory 2, a processor 3, and a communication bus 4.
  • the communication interface 1 can be an interface of the communication module, such as an interface of the network card, for implementing signals during the process of transmitting and receiving information between the access server and the external device. Receive and send.
  • Memory 2 can be used to store software programs as well as modules.
  • the processor 3 executes various functional applications of the access server and data processing by running software programs and modules stored in the memory 2.
  • the memory 2 can mainly include a memory program area and a memory data area.
  • the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.).
  • the storage data area can store data (such as audio data, phone book, etc.) created according to the use of the access server.
  • the memory 2 may include a high speed random access memory, and may also include a nonvolatile memory such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the processor 3 is a control center of the access server, and connects various parts of the entire access server by using various interfaces and lines, by running or executing a software program stored in the memory 2. And/or modules, as well as invoking data stored in the memory 2, performing various functions of the access server and processing data, thereby performing overall monitoring of the access server.
  • the processor 3 may include one or more processing units.
  • the processor 3 can integrate an application processor and a modem processor.
  • the application processor mainly processes an operating system, an application, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 3.
  • Communication interface 1 memory 2, processor 3 completes communication with each other via communication bus 4.
  • the processor 3 may also have the following functions:
  • Determining, in the control command, the information segment corresponding to the predefined control object editing format is the control object information, and the information segment corresponding to the predefined control operation editing format is the control operation information;
  • FIG. 22 is another structural block diagram of an access server according to an embodiment of the present invention.
  • the apparatus includes at least: a communication bus 6, a memory 7, and a processor 5 in communication with the memory 7.
  • the memory 7 is connected to the processor 6 via a communication bus 6.
  • the memory 7 includes a control command receiving command 70, an information determining command 71, a target response server determining command 72, and a transmitting command 73 that are executable by the processor.
  • the control command receiving instruction 70 is configured to receive a message that is generated by the mobile terminal and that carries a control command, where the control command includes at least control object information and control operation information;
  • the information determining instruction 71 is configured to determine that the information segment corresponding to the predefined control object editing format in the control command is the control object information and the information segment corresponding to the predefined control operation editing format is the control operation information;
  • the target response server determining instruction 72 is configured to determine a target response server corresponding to the control operation information
  • the sending instruction 73 is configured to send the indication information to the target response server, to trigger the target response server to perform a control operation corresponding to the control operation information, where the indication information includes at least control object information.
  • the steps of a method or algorithm described in connection with the embodiments disclosed herein can be implemented directly in hardware, a software module executed by a processor, or a combination of both.
  • the software module can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明实施例提供一种远程控制方法、装置及***,其中方法包括:接入服务器接收移动终端生成的承载有控制命令的消息,所述控制命令至少包括控制对象信息及控制操作信息;确定控制命令中所包括的控制对象信息,及控制操作信息;确定与所述控制操作信息对应的目标响应服务器;向所述目标响应服务器发送指示消息,所述指示信息中至少包括控制对象信息。本发明实施例提供的远程控制方法通过接入服务器对所接收的承载有控制命令的消息的相应处理,实现了通过移动终端对内网中的响应服务器进行远程控制的目的。

Description

远程控制方法、 装置及***
技术领域
本发明涉及通信技术领域, 更具体地说, 涉及一种远程控制方法、 装置及***。 发明背景
远程控制是指在异地通过网络将本地设备与需被控制的设备相联 通, 从而通过本地设备对远程被控制设备的参数进行配置, 内部程序进 行修改、 安装等控制工作。
随着互联网技术的发展, 远程控制在互联网服务提供中愈显重要。 通过远程控制技术, 互联网服务的运营人员可在异地对处于内部网络中 的服务器进行操作控制, 从而实现更好的互联网服务, 提升用户体验。 其中内部网络是指互联网服务公司的内部专门网络, 处于内部网络中的 服务器是与互联网服务提供相关的服务器。 以网址云安全服务为例。 将
URL ( Uniform Resource Locator, 统一资源定位符、 也称网址)设定为 危险 URL或是安全 URL的服务器设置于内部网络中。 如果网址云安全 服务的运营人员在非工作时间, 阻止该 URL 大量传播时, 运营人员可 通过远程控制技术进入内部网络中, 与对应的服务器相联通, 将该 URL 设定为危险 URL。
发明内容
有鉴于此, 本发明实施例提供一种远程控制方法、 装置及***, 以 解决现有技术并没有通过移动终端进行远程控制的技术及对应***的 问题。 为实现上述目的, 本发明实施例提供如下技术方案: 一种远程控制方法, 所述方法包括:
接入服务器接收移动终端生成的承载有控制命令的消息, 所述控制 命令至少包括控制对象信息及控制操作信息;
根据预定义的编辑格式, 所述接入服务器确定所述控制命令中所包 括的控制对象信息, 及与控制操作信息;
所述接入服务器确定与所述控制操作信息对应的目标响应服务器; 根据所述控制对象信息及所述控制操作信息, 所述接入服务器向所 述目标响应服务器发送指示消息, 所述指示信息中至少包括控制对象信 息。
其中, 所述控制命令还包括: 分隔标识;
所述确定所述控制命令中所包括的控制对象信息, 及与控制操作信 息包括:
获取分别排列于所述分隔标识两侧的两段信息段;
根据所述预定义的编辑格式, 确定与预定义的控制对象排列序位对 应的信息段为所述控制对象信息, 及与预定义的控制操作排列序位对应 的信息段为所述控制操作信息。
其中, 所述控制命令还包括: 分隔标识、 控制对象信息标识, 及控 制操作信息标识;
所述确定所述控制命令中所包括的控制对象信息, 及与控制操作信 息包括:
获取分别排列于所述分隔标识两侧的两段信息段;
根据所述预定义的编辑格式, 分别从所述两端信息段中的预设位置 提取控制对象信息标识和控制操作信息标识;
确定具有控制对象信息标识的信息段为控制对象信息, 及具有控制 操作信息标识的信息段为控制操作信息。
本发明实施例还提供一种远程控制方法, 应用于响应服务器, 所述 方法包括:
接收接入服务器发送的指示消息, 所述指示信息中至少包括控制对 象信息; 所述指示信息为所述接入服务器接收移动终端生成的承载有控 制命令的消息, 所述控制命令至少包括控制对象信息及控制操作信息, 根据预定义的编辑格式, 确定控制命令中所包括的控制对象信息与控制 操作信息, 确定与所述控制操作信息对应的目标响应服务器, 根据所述 控制对象信息及所述控制操作信息, 向所述目标响应服务器发送指示信 息;
根据所述指示消息, 调取相应的控制操作程序, 通过所述控制操作 程序, 对所述控制对象信息对应的操作对象执行控制操作。
本发明实施例还提供一种远程控制装置, 应用于接入服务器, 所述 装置包括:
控制命令接收模块, 用于接收移动终端生成的承载有控制命令的消 息, 所述控制命令至少包括控制对象信息及控制操作信息;
信息确定模块, 用于根据预定义的编辑格式, 确定所述控制命令中 所包括的控制对象信息与控制操作信息;
目标响应服务器确定模块, 用于确定与所述控制操作信息对应的目 标响应服务器;
发送模块, 用于根据所述控制对象信息及所述控制操作信息, 向所 述目标响应服务器发送指示信息, 所述指示信息中至少包括控制对象信 息。
本发明实施例还提供一种远程控制装置, 应用于响应服务器, 所述 装置包括: 指示消息接收模块, 用于接收接入服务器发送的指示消息, 所述指 示信息中至少包括控制对象信息; 所述指示信息为所述接入服务器接收 移动终端生成的承载有控制命令的消息, 所述控制命令至少包括控制对 象信息及控制操作信息, 根据预定义的编辑格式, 确定控制命令中所包 括的控制对象信息与控制操作信息, 确定与所述控制操作信息对应的目 标响应服务器, 根据所述控制对象信息及所述控制操作信息, 向所述目 标响应服务器发送的以触发所述目标响应服务器执行与所述控制操作 信息对应的控制操作功能的信息;
命令执行模块, 用于根据所述指示信息调取相应的控制操作程序, 通过所述控制操作程序对所述控制对象信息对应的操作对象执行控制 操作。
本发明实施例还提供一种远程控制***, 包括: 移动终端, 接入服 务器和响应服务器;
所述移动终端, 用于生成承载有控制命令的消息并发送所述消息, 所述控制命令至少包括控制对象信息及控制操作信息;
所述接入服务器, 用于接收所述消息, 根据预定义的编辑格式, 确 定控制命令中所包括的控制对象信息与控制操作信息, 确定与所述控制 操作信息对应的目标响应服务器, 根据所述控制对象信息及所述控制操 作信息, 向所述目标响应服务器发送指示信息, 所述指示信息中至少包 括控制对象信息;
所述响应服务器, 用于接收所述指示消息, 根据所述指示消息调取 相应的控制操作程序, 通过所述控制操作程序对所述控制对象信息对应 的操作对象执行控制操作。
基于上述技术方案, 本发明实施例提供的远程控制方法由移动终端 生成承载有控制命令的消息, 接入服务器在接收所述消息后, 确定控制 命令中以预定义编辑格式编辑的控制对象信息和控制操作信息, 从而确 定执行控制命令的目标相应服务器, 向所述目标响应服务器发送至少包 括控制对象信息的指示消息, 进而触发所述目标响应服务器执行控制命 令, 实现远程控制。 本发明实施例提供的远程控制方法通过接入服务器 对所接收的承载有控制命令的消息的相应处理, 实现了通过移动终端对 内网中的响应服务器进行远程控制的目的。 附图简要说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将 对实施例或现有技术描述中所需要使用的附图作简单地介绍, 显而易见 地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人 员来讲, 在不付出创造性劳动的前提下, 还可以根据这些附图获得其他 的附图。
图 1为本发明实施例提供的远程控制方法的流程图;
图 2为本发明实施例确定控制对象信息与控制操作信息的方法流程 图;
图 3为本发明实施例确定控制对象信息与控制操作信息的另一方法 流程图;
图 4为本发明实施例提供的远程控制方法的另一流程图; 图 5为本发明实施例提供的远程控制方法的再一流程图; 图 6为本发明实施例提供的远程控制方法的又一流程图; 图 7为本发明实施例提供的对授权密码进行有效性验证的方法流程 图;
图 8为本发明实施例提供的远程控制方法的又另一流程图; 图 9为本发明实施例提供的远程控制装置的结构框图; 图 10为本发明实施例提供的信息确定模块的结构框图;
图 11为本发明实施例提供的信息确定模块的另一结构框图; 图 12为本发明实施例提供的目标响应服务器确定模块的结构框图; 图 13为本发明实施例提供的发送模块的结构框图;
图 14为本发明实施例提供的控制命令接收模块的结构框图; 图 15为本发明实施例提供的远程控制装置另一结构框图; 图 16为本发明实施例提供的命令执行模块的结构框图;
图 17为本发明实施例提供的命令执行模块的另一结构框图; 图 18为本发明实施例提供的远程控制***的结构框图;
图 19为本发明实施例提供的远程控制***的另一结构框图; 图 20为本发明实施例提供的远程控制***的又一结构框图; 图 21为本发明实施例提供的接入服务器的结构框图;
图 22为本发明实施例提供的接入服务器的另一结构框图; 图 23 为本发明实施例提供的对授权密码进行有效性验证的方法流 程图。 实施本发明的方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合 本发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整 地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的 实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。
随着移动终端的兴起及移动网络的大范围分布, 釆用移动终端对内 网中的服务器进行远程控制成为一种需求, 然而现有技术并没有通过移 动终端进行远程控制的技术及对应***。 下面以接入服务器的角度对本发明实施例提供的远程控制方法进 行描述。 图 1为本发明实施例提供的远程控制方法的流程图, 该方法应 用于接入服务器, 接入服务器与内部网络的至少一个响应服务器相连 接。 接入服务器可用于接收通过外部网络发送的消息, 将该消息经过处 理后转发给对应的响应服务器。 响应服务器是内部网络中承载有服务程 序的服务器, 能够执行相关的控制任务, 如设置网址安全等级的响应服 务器。 该响应服务器能够通过其内设置的网址拉黑程序或网址洗白程 序, 将对应的 URL进行拉黑操作或洗白操作, 实现网址安全等级的设 置任务。 在一个实施方式中, 拉黑操作是指将 URL设置为危险 URL, 洗白操作是指将 URL设置为安全 URL。 参照图 1, 该方法可以包括: 步骤 S100、 接入服务器接收移动终端生成的承载有控制命令的消 息, 所述控制命令至少包括控制对象信息及控制操作信息。
控制命令包括控制对象信息和控制操作信息。 这样, 该控制命令用 于描述如下控制任务 "对什么样的控制对象进行什么样的控制操作"。 以将网址 sex.com拉黑这一控制任务为例, 其中 "sex.com" 为控制对象 信息, "拉黑" 为控制操作信息。 显然, 控制命令描述了 "在什么设备 上, 对什么样的对象进行什么样的控制操作", 以明确执行控制命令的 响应服务器 (即目标响应服务器), 即描述控制命令对应的控制对象信 息, 控制操作信息和目标响应服务器标识。 以 "在服务器 1 上将网址 sex.com拉黑" 这一控制任务为例, 其中 "sex.com" 为控制对象信息, "拉黑" 为控制操作信息, "服务器 Γ 为目标响应服务器标识。 作为控 制命令的扩充, 控制命令中还可包括控制命令的执行时间等其他控制信 息。
在本发明实施例中, 控制命令应至少包括控制对象信息及控制操作 信息。 在此基础上, 控制命令还可包括目标响应服务器标识, 执行时间 等控制信息。
可选的, 移动终端在编辑控制命令时, 控制对象信息, 控制操作信 息等控制信息可以釆用预定义的编辑格式进行编辑。 在一个实施方式 中, 控制对象信息, 控制操作信息等各控制信息作为一段信息段, 以预 定义的各段信息段的编辑格式进行控制命令内容的编辑。 以将网址 sex.com拉黑这一控制任务为例, 其中 "sex.com" 为一个信息段, 以控 制对象预定义的编辑格式进行编辑, "拉黑" 为另一个信息段, 以控制 操作预定义的编辑格式进行编辑。
可选的, 移动终端生成所述消息后, 消息的接收对象可以是接入服 务器, 由接入服务器直接接收所述消息。 移动终端还可通过即时通讯应 用服务器提供的即时通讯应用生成并发送承载有控制命令的消息。 所述 消息的接收对象可以是即时通讯应用的特定账号, 接入服务器通过即时 通讯应用服务器接收移动终端发送的所述消息。 在一个实施方式中, 当 所述消息的接收对象与预设对象相对应后, 接入服务器接收即时通讯应 用服务器转发的所述消息。 如移动终端可通过即时通讯应用程序向特定 账号发送所述消息, 则即时通讯应用服务器在接收到发送给该特定账号 的所述消息后, 将把所述消息转发给与该特定应用账号预先绑定的接入 服务器。
步骤 S110、根据预定义的编辑格式,接入服务器确定控制命令中控 制对象信息与控制操作信息。
在一个实施方式中, 接入服务器确定控制命令中与预定义的控制对 象编辑格式对应的信息段为控制对象信息, 及与预定义的控制操作编辑 格式对应的信息段为控制操作信息。 接入服务器在解析所述消息, 得到 消息内承载的控制命令内容后, 可获取控制命令中的各控制信息段, 通 过各段信息段预定义的编辑格式可确定出哪段信息段为控制对象信息, 哪段信息段为控制操作信息。 具体的, 通过预定义的控制对象的编辑格 式可确定对应编辑格式的信息段为控制对象信息。 通过预定义的控制操 作编辑格式可确定对应编辑格式的信息段为控制操作信息。 显然, 若控 制命令中还包括目标响应服务器标识等其他控制信息时, 也可通过预定 义的目标响应服务器标识的编辑格式确定对应编辑格式的信息段为目 标响应服务器标识。
步骤 S120、接入服务器确定与所述控制操作信息对应的目标响应服 务器。
在一个实施方式中, 若控制命令中包括目标响应服务器标识, 可直 接通过目标响应服务器标识确定目标响应服务器。
在一个实施方式中, 接入服务器中也可预设控制操作信息与响应服 务器的对应关系。 该对应关系中的响应服务器均可执行对应控制操作信 息所对应的控制操作, 通过该对应关系确定与步骤 S110 中确定的控制 操作信息对应的响应服务器为目标响应服务器。
步骤 S130、接入服务器向该目标响应服务器发送指示信息, 以触发 所述目标响应服务器执行与该控制操作信息对应的控制操作, 该指示信 息中至少包括控制对象信息。
指示信息中可以仅包括控制对象信息, 也可包括控制对象信息和控 制操作信息等控制信息。 其中, 控制对象信息为必要指示信息, 控制操 作信息等其他控制信息可根据实际应用情况确定是否必要。
在本发明实施例提供的远程控制方法中, 移动终端生成承载有控制 命令的消息。 接入服务器在接收所述消息后, 确定控制命令中以预定义 编辑格式编辑的控制对象信息和控制操作信息, 从而确定执行控制命令 的目标相应服务器, 向所述目标响应服务器发送至少包括控制对象信息 的指示消息, 进而触发所述目标响应服务器执行控制命令, 实现远程控 制。 本发明实施例提供的远程控制方法通过接入服务器对所接收的承载 有控制命令的消息的相应处理, 实现了通过移动终端对内网中的响应服 务器进行远程控制的目的。
值得注意的是, 在本发明实施例中, 对于同一控制操作可能存在不 同描述形式的控制操作信息。 然而这些描述形式不同但均表示同一控制 操作的控制操作信息可以认为是相同的控制操作信息。 以控制操作为网 址拉黑操作为例, 网址拉黑操作对应的控制操作信息可以是 "拉黑",
"setblack" 等, 也可以是某一字符代号, 如 "控制操作 Γ 等。 然而对 于这些不同描述形式但均表示网址拉黑操作的控制操作信息, 均认为是 相同的控制操作信息。 控制对象信息和目标响应服务器标识等信息的情 况与此类似。
在一个实施方式中, 控制命令中可以包括分隔控制对象信息与控制 操作信息的分隔标识。 分隔标识可以将控制命令中的各类控制信息进行 分隔。 分隔标识将控制命令分隔成至少具有控制对象信息及控制操作信 息的多段信息段。分隔标识可以是 ","、 "空格符"、 "#"、 空格等标识。 以 "将网址 sex.com拉黑"这一控制任务为例, sex.com为控制对象信息, 拉黑为控制操作信息, 控制对象信息与控制操作信息之间可通过 "," 进行分隔, 则所形成的控制命令可以是 "sex.com, 拉黑"。
在一个实施方式中, 移动终端在编辑控制对象信息及控制操作信息 时, 所釆用的预定义的编辑格式可以有以下两种, 值得注意的是, 下述 两种实现方式仅为可选方式。
第一种编辑格式, 控制对象信息与控制操作信息按照预定义的排列 顺序排列于分隔标识的两侧。 如定义第一序位为控制对象信息, 第二序 位为控制操作信息, 则控制对象信息和控制操作信息在编辑时, 将设置 于对应的序位。 显然, 控制命令中包括目标响应服务器标识, 控制时间 等其他控制信息时的编辑原理与此类似, 可进行参照。
基于上述第一种编辑格式, 图 1所示步骤 S110中可以有第一种实 现方式, 如图 2所示, 该实现方式可以包括:
步骤 S1110、 接入服务器解析所述消息, 得到消息内承载的控制命 令内容;
步骤 Sllll、 接入服务器通过分隔标识获取排列于所述分隔标识两 侧的两段信息段, 确定与预定义的控制对象排列序位对应的信息段为控 制对象信息, 及与预定义的控制操作排列序位对应的信息段为控制操作 信息。
以将 sex.com拉黑这一控制任务为例, 预定义的控制对象信息的排 列序位为第一位, 预定义的控制操作信息的排列序位为第二位, 移动终 端所编辑的控制命令可以是 "sex.com, 拉黑"。 接入服务器在解析所述 消息, 得到 "sex.com, 拉黑" 这一控制命令后, 可通过分隔标识 "," 获取 "sex.com" 和 "拉黑" 这两信息段, 确定第一序位的 "sex.com" 为控制对象信息, 第二序位的 "拉黑" 为控制操作信息。
第二种编辑格式, 预定义的编辑格式可以为, 在控制对象信息与控 制操作信息中的预设位置设置对应标识。 移动终端在编辑控制命令时, 可在控制对象信息的预设位置设置控制对象信息标识, 在控制操作信息 的预设位置设置控制操作信息标识。
以将网址 sex.com拉黑作为控制任务为例进行说明, 在编辑控制命 令时, 可在控制操作信息 "拉黑"的前部加入控制操作信息对应的标识, 在控制对象信息 "sex.com" 的前部加入控制对象信息对应的标识。 为便 于描述, 定义控制对象信息对应的标识为 01, 控制操作信息对应的标识 为 02, 则所编辑的控制命令可以为 "01 sex.com, 02拉黑"。 显然, 控 制命令中还包括目标响应服务器标识, 控制时间等其他信息时的控制命 令编辑原理与本段描述相同, 可进行参照。 多个信息段之间通过分隔标 识来分隔。 如针对在服务器 1上将 sex.com拉黑这一控制任务, 移动终 端所编辑的控制命令可以是 "01sex.com, 02拉黑, 03服务器 1", 其定 义的控制对象信息对应的标识为 01, 控制操作信息对应的标识为 02, 目标响应 良务器标识对应的标识为 03。
基于上述第二种编辑格式, 图 1所示步骤 S110可以有第二种实现 方式, 如图 3所示, 该实现方式可以包括:
步骤 S1120、 解析所述消息, 得到消息内承载的控制命令内容; 步骤 S1121、通过分隔标识获取排列于分隔标识两侧的两段信息段, 分别从两端信息段中的预设位置提取控制对象信息标识和控制操作信 息标识;
步骤 S1122、确定具有控制对象信息标识的信息段为控制对象信息, 及具有控制操作信息标识的信息段为控制操作信息。
以将 sex.com拉黑这一控制任务为例, 在编辑控制命令时, 在控制 对象信息 "sex.com" 的前部设置相应标识 01, 在控制操作信息的前部 设置对应标识 02, 从而得到控制命令 "01 sex.com, 02拉黑"。 接入服 务器在解析所述消息, 得到 "01sex.com, 02拉黑" 这一控制命令后, 可通过分隔标识 "," 获取 "01sex.com" 和 "02拉黑" 这两信息段, 分 别从两信息段的前部提取标识 01 和 02, 确定具有标识 01 的信息段 sex.com为控制对象信息, 具有标识 02的信息段拉黑为控制操作信息。
当控制命令包括控制对象信息、 控制操作信息时, 本发明实施例可 通过控制操作信息确定目标响应服务器。 图 4示出了对应情况下的远程 控制方法, 可进行参照。
图 4为本发明实施例提供的远程控制方法的另一流程图,参照图 4, 该方法可以包括: 步骤 S200、 接入服务器接收移动终端生成的承载有控制命令的消 息, 所述控制命令包括控制对象信息及控制操作信息;
在一个实施方式中, 控制命令的编辑格式可釆用上文描述的第一种 或第二种编辑格式。
步骤 S210、接入服务器确定控制命令中与预定义的控制对象编辑格 式对应的信息段为控制对象信息, 及与预定义的控制操作编辑格式对应 的信息段为控制操作信息;
在一个实施方式中, 当步骤 S200釆用上文描述的第一种编辑格式 编辑控制命令时, 可釆用图 2所示方法确定控制对象信息和控制操作。 当步骤 S200釆用上文描述的第二种编辑格式编辑控制命令时, 可釆用 图 3所示方法确定控制对象信息和控制操作。
步骤 S220、根据预设的控制操作信息与响应服务器的对应关系, 确 定与所述控制操作信息对应的响应服务器为所述目标响应服务器。
在一个实施方式中, 接入服务器可预设控制操作信息与响应服务器 的对应关系。 接入服务器可预置对应关系表。 在该表中设定各个响应服 务器及其对应的控制操作信息。 表中的响应服务器可执行对应控制操作 信息对应的控制操作程序。 如表中存在 "服务器 Γ 与 "拉黑" 的对应 关系, 则表示服务器 1可执行网址拉黑程序。 本发明实施例中, 接入服 务器在确定了控制对象信息及控制操作信息后, 可调用预设的控制操作 信息与响应服务器的对应关系。 若步骤 S210所确定的控制操作信息与 预设的控制操作信息对应, 则确定对应关系中, 与所述控制操作信息对 应的预设响应服务器为目标响应服务器。
步骤 S230、若确定目标响应服务器仅具有与所述控制操作信息对应 的控制操作功能, 则向所述目标响应服务器发送仅包括所述控制对象信 息的指示消息。 若在预设的控制操作信息与响应服务器的对应关系中, 所述目标响 应服务器与所述控制操作信息——对应, 则确定目标响应服务器仅具有 与所述控制操作信息对应的控制操作功能, 发送给目标响应服务器的指 示消息可仅包括控制对象信息。
在一个实施方式中, 指示消息中可携带控制对象信息标识, 以使目 标响应服务器能够确定所接收的消息中存在的信息为控制对象信息。
值得注意的是, 目标响应服务器中也可预设与目标响应服务器存在 ——对应关系的控制操作信息。 接入服务器所预设的与所述目标响应服 务器存在一一对应关系的控制操作信息, 与目标响应服务器所预设的控 制操作信息相对应。 当目标响应服务器所接收的指示消息中仅包括控制 对象信息时, 目标响应服务器可调用预设的控制操作信息对应的控制操 作程序, 从而对控制对象信息对应的控制对象进行控制操作。
在本发明实施例中, 接入服务器能够根据实际的目标响应服务器情 况, 确定指示消息中仅携带控制对象信息, 从而使得发送给目标响应服 务器的指示消息尽可能的简短、 有效, 减小接入服务器与目标响应服务 器间的数据传输量。
步骤 S240、若确定目标响应服务器具有多个控制操作功能, 则向所 述目标响应服务器发送包括所述控制对象信息与所述控制操作信息的 指示消息。
若在预设的控制操作信息与响应服务器的对应关系中, 所述目标响 应服务器除与所述控制操作信息存在对应关系外, 还与其他控制操作信 息存在对应关系, 则可确定目标响应服务器具有多个控制操作功能。 为 使目标响应服务器明确所要执行的控制操作, 向目标响应服务器发送的 指示消息中应包括控制对象信息和控制操作信息。
在一个实施方式中, 指示消息中可携带控制对象信息标识和控制操 作信息标识, 以使目标响应服务器能够确定所接收的消息中存在的信息 为控制对象信息和控制操作信息。
值得注意的是, 步骤 S230和步骤 S240为本发明实施例针对不同情 况的两个不同处理流程, 两者之间没有先后顺序。 本发明实施例中, 指 示消息中可以仅携带控制对象信息, 也可以携带控制对象信息和控制操 作信息。
下面以将网址 sex.com拉黑作为控制任务为例, 对图 4所示方法进 行说明。
步骤 S10、 接入服务器接收移动终端生成的承载 "sex.com, 拉黑" 控制命令的消息;
可选的, 控制命令也可以 "01 sex.com, 02拉黑" 的方式描述, 其 中 01为控制对象信息标识, 02为控制操作信息标识; 值得注意的是, 移动终端还可釆用其他编辑格式编辑控制命令, 在此不做赞述。
步骤 Sll、 接入服务器解析所述消息, 确定 "拉黑" 为控制操作信 息, "sex.com" 为控制对象信息;
步骤 S12、 接入服务器调取预设的控制操作信息与响应服务器的对 应关系, 若 "拉黑" 与预设的控制操作信息对应, 确定 "拉黑" 对应的 响应服务器为目标响应服务器;
可选的, 若 "拉黑" 与预设的控制操作信息并不对应, 则接入服务 器可向移动终端发送控制命令错误提示信息。
步骤 S13、 若在所述对应关系中, 目标响应服务器与 "拉黑" 的对 应关系为一一对应, 则接入服务器确定发送给目标响应服务器的指示消 息中仅包括 "sex.com" 这一控制对象信息;
步骤 S14、 若在所述对应关系中, 目标响应服务器除与 "拉黑" 存 在对应关系外, 还与其他控制操作信息存在对应关系, 则接入服务器确 定发送给目标响应服务器的指示消息中包括 "拉黑" 和 "sex.com" ; 由于目标响应服务器还有可能与控制操作信息 "洗白" 存在对应关 系, 即目标响应服务器能够同时进行网址拉黑和洗白操作, 在这种情况 下, 除了向目标响应服务器发送操作的网址信息外, 还需要向目标响应 服务器发送控制操作信息, 以使目标响应服务器明确是对该网址进行拉 黑还是洗白操作。
值得注意的是,步骤 S13和步骤 S14为步骤 S12下的两个处理分支。 在一个实施方式中, 控制命令可以包括: 控制对象信息, 控制操作 信息和目标响应服务器标识。 图 5示出了对应情况下的远程控制方法, 可进行参照。
图 5为本发明实施例提供的远程控制方法的再一流程图,参照图 5, 该方法可以包括:
步骤 S300、 接入服务器接收移动终端生成的承载有控制命令的消 息, 所述控制命令包括控制对象信息, 控制操作信息和目标响应服务器 标识;
步骤 S310、接入服务器解析所述消息, 确定控制对象信息, 控制操 作信息, 及目标响应服务器标识;
控制命令中控制对象信息, 控制操作信息和目标响应服务器标识的 编辑格式, 及从控制命令中确定控制对象信息, 控制操作信息, 及目标 响应服务器标识的方式可参照如上实施例对应部分的描述, 此处不再赘 述。
步骤 S320、接入服务器确定目标响应服务器标识对应的响应服务器 为所述目标响应服务器;
步骤 S330、接入服务器向所述目标响应服务器发送包括所述控制对 象信息和所述控制操作信息的指示消息。 在控制命令可以包括控制对象信息、 控制操作信息和目标响应服务 器标识时, 也可釆用图 6所示方法进行远程控制, 相比图 5所示方法, 图 6所示方法能够在指示消息中携带尽量简短有效的信息, 以触发目标 响应服务器顺利执行控制命令。 图 6为本发明实施例提供的远程控制方 法的又一流程图, 参照图 6, 该流程可以包括:
步骤 S400、 接入服务器接收移动终端生成的承载有控制命令的消 息, 所述控制命令包括控制对象信息, 控制操作信息和目标响应服务器 标识;
步骤 S410、接入服务器解析所述消息, 确定控制对象信息, 控制操 作信息, 及目标响应服务器标识;
步骤 S420、接入服务器调取预设的控制操作信息与响应服务器的对 应关系, 判断所述控制操作信息与所述目标响应服务器标识是否存在所 述对应关系中且——对应,若是,执行步骤 S430,若否,执行步骤 S440; 步骤 S430、接入服务器向所述目标响应服务器标识对应的响应服务 器发送仅包括所述控制对象信息的指示消息;
若在所述对应关系中, 所述控制操作信息与所述目标响应服务器为 ——对应关系, 则可确定在本发明实施例中, 所述目标响应服务器仅具 有与所述控制操作信息对应的控制操作功能, 可向所述目标响应服务器 发送仅包括所述控制对象信息的指示消息。
步骤 S440、接入服务器向所述目标响应服务器标识对应的响应服务 器发送包括所述控制对象信息和所述控制操作信息的指示消息。
可选的, 在步骤 S420的判断结果为否时可能存在下述情形: 所述 控制操作信息存在所述对应关系中, 但所述控制操作信息对应的目标响 应服务器与所述目标响应服务器标识并不对应; 在这种情形下, 目标响 应服务器标识与能够执行控制操作的目标响应服务器相冲突, 存在控制 命令编辑错误的可能, 可向移动终端反馈控制命令错误信息。 基于此, 在步骤 S420的判断结果为否时, 可进一步的判断控制命令中携带的目 标响应服务器标识, 与控制命令中携带的控制操作信息对应的预设响应 服务器是否匹配, 若匹配, 执行步骤 S440, 若不匹配可向移动终端反馈 控制命令错误信息, 中断向所确定的目标响应服务器发送指示消息的步 骤, 以减少无效的数据传输。
下面以在服务器 1上将网址 sex.com拉黑作为控制任务为例, 对图 6所示方法进行说明。
步骤 S20、 接入服务器接收移动终端生成的承载 "sex.com, 拉黑, 服务器 Γ 控制命令的消息;
步骤 S21、 接入服务器解析所述消息, 确定 "拉黑" 为控制操作信 息, "sex.com" 为控制对象信息, "服务器 Γ 为目标响应服务器;
步骤 S22、 接入服务器调取预设的控制操作信息与响应服务器的对 应关系, 判断 "拉黑" 与 "服务器 Γ 是否存在所述对应关系中且一一 对应, 若是, 执行步骤 S23, 若否, 执行步骤 S24;
步骤 S23、 接入服务器向服务器 1发送携带有 "sex.com" 的指示消 息, 以触发服务器 1将 "sex.com" 拉黑;
步骤 S24、接入服务器向服务器 1发送携带有 "sex.com"和 "拉黑" 的指示消息, 以触发服务器 1将 "sex.com" 拉黑。
可选的, 在步骤 S22的判断结果为否时, 可不直接执行步骤 S24, 而是执行下述步骤:
步骤 S25、接入服务器判断在所述对应关系中, "拉黑"对应的响应 服务器是否与 "服务器 Γ 对应, 若是, 执行步骤 S24, 若否, 执行步 骤 S26;
步骤 S26、 向移动终端反馈控制命令错误信息。 在一个实施方式中, 接入服务器接收的移动终端生成的承载有控制 命令与授权密码的消息, 对该授权密码进行有效性验证。 图 23 示出了 本发明实施例对授权密码进行有效性验证的流程, 参照图 23, 该流程可 以包括:
步骤 S700、接入服务器接收移动终端生成的承载有控制命令与授权 密码的消息, 该消息中还携带有移动终端使用者的身份标识;
在一个实施方式中, 可以预定义的编辑格式编辑授权密码, 如在授 权密码的前部加入密码信息标识;
移动终端使用者的身份标识可以是移动终端标识。 例如, 若移动终 端为手机时, 移动终端身份标识可以为手机号码。 若移动终端使用即时 通讯应用程序生成并发送消息, 则身份标识可以是即时通讯账户。
步骤 S710、 接入服务器判断所述授权密码与所述身份标识是否对 应, 若是, 执行步骤 S720, 若否, 执行步骤 S730;
可根据接入服务器中预存储的授权密码与身份标识的对应关系, 判 断所述消息中携带的授权密码与身份标识是否对应。
步骤 S720、接入服务器接收移动终端生成的承载有控制命令的消息 并处理;
步骤 S730、 接入服务器向移动终端反馈授权密码错误信息。
在一个实施方式中, 接入服务器在接收移动终端生成的承载有控制 命令的消息之前, 还可接收移动终端生成的承载有授权密码的消息, 对 该授权密码进行有效性验证。 图 7示出了本发明实施例对授权密码进行 有效性验证的流程, 参照图 7, 该流程可以包括:
步骤 S500、 接入服务器接收移动终端生成的承载有授权密码的消 息, 该消息中还携带有移动终端使用者的身份标识;
在一个实施方式中, 可以预定义的编辑格式编辑授权密码, 如在授 权密码的前部加入密码信息标识;
移动终端使用者的身份标识可以是移动终端标识。 例如, 若移动终 端为手机时, 移动终端身份标识可以为手机号码。 若移动终端使用即时 通讯应用程序生成并发送消息, 则身份标识可以是即时通讯账户。
步骤 S510、 接入服务器判断所述授权密码与所述身份标识是否对 应, 若是, 执行步骤 S520, 若否, 执行步骤 S530;
可根据接入服务器中预存储的授权密码与身份标识的对应关系, 判 断所述消息中携带的授权密码与身份标识是否对应。
步骤 S520、接入服务器向移动终端反馈授权信息,接收移动终端生 成的承载有控制命令的消息并处理;
步骤 S530、 接入服务器向移动终端反馈授权密码错误信息。
在一个实施方式中, 本发明实施例还可设置授权密码的有效期, 每 隔一个有效期授权密码将更改一次。 如所设置的正确授权密码为 123, 有效期为 1天, 则隔天后正确 4吏权密码将更改为与 "123" 不同的密码。
在一个实施方式中, 接入服务器可将接收的移动终端生成的消息转 发给审计服务器, 以便审计服务器对各个移动终端账号的消息发送情况 进行统计。
一方面, 接入服务器可向审计服务器转发所述移动终端生成的承载 有控制命令的消息, 以便所述审计服务器统计所述控制命令对应的控制 数据。 控制数据可以是控制命令的执行数据, 以控制命令为拉黑、 洗白 网址为例, 接入服务器将接收的承载拉黑、 洗白网址命令的消息发送给 审计服务器, 审计服务器可统计出某一移动终端账号在一段时间内洗白 网址的条数, 和拉黑网址的条数, 从而实现对移动终端所要求的各控制 命令进行监控。
另一方面, 接入服务器可将接收的移动终端生成的承载有授权密码 的消息转发给审计服务器, 以便审计服务器统计移动终端对应的授权错 误次数, 并在预设时间内所述授权错误次数达到预设次数时, 向所述移 动终端发送相应提示信息。 如审计服务器可统计移动终端所发送的授权 密码的错误次数, 当错误次数达到预设次数时, 审计服务器可向特定设 备发送账号安全提示信息, 以便及时发现潜在的帐号泄漏风险。
下面以响应服务器的角度, 对本发明实施例提供的远程控制方法进 行描述, 下文描述的内容中存在与上文描述的远程控制方法相应的部 分, 对于相应部分的内容可参照上文描述。 图 8为本发明实施例提供的 远程控制方法的又另一流程图, 该方法应用于响应服务器中, 参照图 8, 该方法可以包括:
步骤 S600、 响应服务器接收接入服务器发送的指示消息, 所述指示 信息中至少包括控制对象信息;
其中, 所述指示信息为接入服务器在接收移动终端生成的承载有控 制命令的消息。 所述控制命令至少包括控制对象信息及控制操作信息, 确定控制命令中与预定义的控制对象编辑格式对应的信息段为控制对 象信息, 及与预定义的控制操作编辑格式对应的信息段为控制操作信 息。 接入服务器在确定与所述控制操作信息对应的目标响应服务器之 后, 向该目标响应服务器发送该指示信息。 该指示信息用于触发目标响 应服务器执行与所述控制操作信息对应的控制操作功能。
步骤 S610、 响应服务器根据所述指示消息调取相应的控制操作程 序, 通过所述控制操作程序对所述控制对象信息对应的操作对象执行控 制操作。
在一个实施方式中, 指示消息可以包括控制对象信息和控制操作信 息, 则步骤 S610 的实现方式可以如下: 根据预设的控制操作信息与控 制操作程序的对应关系, 响应服务器调取与所述控制操作信息对应的控 制操作程序, 通过所调取的控制操作程序对所述控制对象信息对应的操 作对象执行控制操作。
以将网址 sex.com拉黑这一控制任务为例。 当响应服务器接收到控 制对象信息 "sex.com" 和控制操作信息 "拉黑"后, 响应服务器将调取 预置的与 "拉黑" 这一控制操作信息对应的控制操作程序。 通过该控制 操作程序将 "sex.com"这一网址的安全等级设置为危险, 从而避免该网 址的传播。 在一个实施方式中, 控制任务还可以是杀死响应服务器内的 某一进程。 通过所接收的控制对象信息和控制操作信息, 可调用相应的 进程杀死程序杀死与控制对象信息对应的进程。
在一个实施方式中, 若指示消息携带的信息仅包括控制对象信息, 则响应服务器可确定执行控制命令的控制操作程序为响应服务器中预 设的与响应服务器存在——对应关系的控制操作程序。 此时, 步骤 S610 的实现方式可以如下: 在指示消息仅包括控制对象信息时, 确定预设的 与所述响应服务器存在一一对应关系的控制操作程序, 调取该控制操作 程序, 釆用该控制操作程序对控制对象信息对应的控制对象执行控制操 作。 在一个实施方式中, 响应服务器中可设置关系表。 在该关系表中存 储与响应服务器存在——对应关系的控制操作程序标识。 在确定待发送 信息为控制对象信息时, 响应服务器调取该关系表中存储的控制操作程 序标识对应的控制操作程序, 釆用该控制操作程序对控制对象信息对应 的控制对象执行控制操作。 值得注意的是, 响应服务器所接收的指示消 息仅包括控制对象信息时, 响应服务器只会始终调取一个与与响应服务 器存在——对应关系的控制操作程序执行控制命令, 除非更改与响应服 务器存在一一对应关系的控制操作程序。
以与响应服务器存在——对应关系的控制操作程序为将网址拉黑 程序为例。 在执行将网址 sex.com拉黑时, 当响应服务器接收的指示消 息仅包括控制对象信息 "sex.com"后, 可调取预设的与响应服务器存在 ——对应关系的网址拉黑程序, 通过该网址拉黑程序将 "sex.com" 的安 全等级设置为危险。 值得注意的是, 若网址洗白程序也设置于该响应服 务器内, 则对于将网址洗白的控制命令, 响应服务器接收到的指示消息 中应包括控制对象信息和控制操作信息, 其中控制操作对象描述信息对 应网址洗白的对象, 控制操作信息对应网址洗白的控制操作程序。 下面以接入服务器的角度对本发明实施例提供的远程控制装置进 行描述, 下文描述的远程控制装置与上文以接入服务器角度描述的远程 控制方法相对应, 两者可相互参照。
图 9为本发明实施例提供的远程控制装置的结构框图, 该远程控制 装置应用于接入服务器, 参照图 9, 该装置可以包括:
控制命令接收模块 100, 用于接收移动终端生成的承载有控制命令 的消息, 所述控制命令至少包括控制对象信息及控制操作信息;
信息确定模块 110, 用于确定控制命令中与预定义的控制对象编辑 格式对应的信息段为控制对象信息, 及与预定义的控制操作编辑格式对 应的信息段为控制操作信息;
目标响应服务器确定模块 120, 用于确定与所述控制操作信息对应 的目标响应服务器;
发送模块 130, 用于向所述目标响应服务器发送指示信息, 以触发 所述目标响应服务器执行与所述控制操作信息对应的控制操作, 所述指 示信息中至少包括控制对象信息。
本发明实施例提供的远程控制装置由移动终端生成承载有控制命 令的消息, 接入服务器在接收所述消息后, 确定控制命令中以预定义编 辑格式编辑的控制对象信息和控制操作信息, 从而确定执行控制命令的 目标相应服务器, 向所述目标响应服务器发送至少包括控制对象信息的 指示消息,进而触发所述目标响应服务器执行控制命令, 实现远程控制。 本发明实施例提供的远程控制方法通过接入服务器对所接收的承载有 控制命令的消息的相应处理, 实现了通过移动终端对内网中的响应服务 器进行远程控制的目的。
可选的, 控制命令中可以包括: 分隔所述控制对象信息与所述控制 操作信息的分隔标识; 所述控制对象信息与所述控制操作信息按照预定 义的排列顺序排列于所述分隔标识的两侧。 对应的, 图 10 示出了信息 确定模块 110的结构, 包括:
第一信息段获取单元 1110,用于通过所述分隔标识获取排列于所述 分隔标识两侧的两段信息段;
第一信息确定单元 1111, 用于确定与预定义的控制对象排列序位对 应的信息段为控制对象信息, 及与预定义的控制操作排列序位对应的信 息段为控制操作信息。
在一个实施方式中, 控制命令中可以包括: 分隔所述控制对象信息 与所述控制操作信息的分隔标识, 设置于所述控制对象信息的预设位置 的控制对象信息标识, 及设置于所述控制操作信息的预设位置设置的控 制操作信息标识。对应的,图 11示出了信息确定模块 110的另一种结构, 包括:
第二信息段获取单元 1120,用于通过所述分隔标识获取排列于所述 分隔标识两侧的两段信息段;
标识提取单元 1121,用于分别从所述两端信息段中的预设位置提取 控制对象信息标识和控制操作信息标识;
第二信息确定单元 1122,用于确定具有控制对象信息标识的信息段 为控制对象信息, 及具有控制操作信息标识的信息段为控制操作信息。 目标响应服务器确定模块 120的结构可如图 12所示, 包括: 第一目标响应服务器确定单元 1210,用于根据预设的控制操作信息 与响应服务器的对应关系, 确定与所述控制操作信息对应的响应服务器 为所述目标响应服务器。
发送模块 130的结构可如图 13所示, 包括:
第一发送单元 1310,用于在确定目标响应服务器仅具有与所述控制 操作信息对应的控制操作功能时, 向所述目标响应服务器发送仅包括所 述控制对象信息的指示消息;
在一个实施方式中, 若在预设的控制操作信息与响应服务器的对应 关系中, 所述目标响应服务器与所述控制操作信息——对应, 则确定目 标响应服务器仅具有与所述控制操作信息对应的控制操作功能时;
第二发送单元 1320,用于在确定目标响应服务器具有多个控制操作 功能时, 向所述目标响应服务器发送包括所述控制对象信息与所述控制 操作信息的指示消息;
在一个实施方式中, 若在预设的控制操作信息与响应服务器的对应 关系中, 所述目标响应服务器除与所述控制操作信息存在对应关系外, 还与其他控制操作信息存在对应关系, 则确定目标响应服务器具有多个 控制操作功能。
在一个实施方式中, 控制命令中还可以包括目标响应服务器标识; 对应的, 目标响应服务器确定模块 120的另一种结构可以包括: 第二目 标响应服务器确定单元(未图示);
第二目标响应服务器确定单元, 用于确定所述目标响应服务器标识 对应的响应服务器为所述目标响应服务器。
在一个实施方式中, 移动终端可通过即时通讯应用服务器提供的应 用生成并发送承载有控制命令的消息。 对应的, 控制命令接收模块 100 的结构可如图 14所示, 包括:
转发消息接收单元 101, 用于接收即时通讯应用服务器在接收移动 终端发送的所述消息, 且所述消息的接收对象与预设对象相对应后, 所 转发的所述消息。
在一个实施方式中, 在图 9所示远程控制装置的基础上, 本发明实 施例提供的远程控制装置还可以包括:
授权密码验证模块 (未图示), 用于在接收移动终端生成的承载有 控制命令的消息之前, 接收所述移动终端生成的承载有授权密码的消 息, 对所述授权密码的有效性进行验证;
通过授权密码验证模块的装置, 能够提高远程控制过程中的安全 性, 实现安全、 便捷的远程控制。
消息转发模块(未图示), 用于向审计服务器转发所述移动终端生 成的承载有控制命令的消息, 以便所述审计服务器统计所述控制命令对 应的控制数据。 下面以响应服务器角度对本发明实施例提供的远程控制装置进行 描述, 下文描述的远程控制装置与上文描述的以响应服务器角度描述的 远程控制方法对应, 两者可相互参照。
图 15 为本发明实施例提供的远程控制装置另一结构框图, 参照图 15, 该远程控制装置可以包括:
指示消息接收模块 200, 用于接收接入服务器发送的指示消息, 所 述指示信息中至少包括控制对象信息;
其中, 所述指示信息为接入服务器在接收移动终端生成的承载有控 制命令的消息, 所述控制命令至少包括控制对象信息及控制操作信息, 确定控制命令中与预定义的控制对象编辑格式对应的信息段为控制对 象信息, 及与预定义的控制操作编辑格式对应的信息段为控制操作信 息, 确定与所述控制操作信息对应的目标响应服务器之后, 向所述目标 响应服务器发送的以触发所述目标响应服务器执行与所述控制操作信 息对应的控制操作功能的信息。
命令执行模块 210, 用于根据所述指示信息调取相应的控制操作程 序, 通过所述控制操作程序对所述控制对象信息对应的操作对象执行控 制操作。
在一个实施方式中, 若指示消息中包括控制对象信息和控制操作信 息; 对应的, 命令执行模块 210的结构可如图 16所示, 包括:
第一控制操作程序调取单元 2110,用于根据预设的控制操作信息与 控制操作程序的对应关系, 调取与所述控制操作信息对应的控制操作程 序;
第一执行单元 2111, 用于通过第一控制操作程序调取单元 2110所 调取的控制操作程序, 对所述控制对象信息对应的操作对象执行控制操 作。
在一个实施方式中, 若指示消息中仅包括为控制对象信息, 则目标 响应服务器可确定执行控制命令的控制操作程序为预设的与响应服务 器存在——对应关系的控制操作程序; 对应的, 命令执行模块 210的结 构可如图 17所示, 包括:
第二控制操作程序调取单元 2120,用于在所述待发送信息为控制对 象信息时, 确定预设的与所述响应服务器存在一一对应关系的控制操作 程序, 调取所述控制操作程序;
第二执行单元 2121, 用于通过第二控制操作程序调取单元 2120所 调取的控制操作程序, 对所述控制对象信息对应的操作对象执行控制操 作。 本发明实施例还提供一种远程控制***, 下文***中涉及的移动终 端、 接入服务器、 和响应服务器的内容可参照上文相关部分的描述。 图
18 为本发明实施例提供的远程控制***的结构框图, 参照图 18, 该系 统可以包括: 移动终端 10, 接入服务器 20和响应服务器 30, 接入服务 器 20连接有至少一个响应服务器 30;
其中, 移动终端 10, 用于生成承载有控制命令的消息并发送所述消 息, 所述控制命令至少包括控制对象信息及控制操作信息;
接入服务器 20, 用于接收移动终端 10生成的所述消息, 确定控制 命令中与预定义的控制对象编辑格式对应的信息段为控制对象信息, 及 与预定义的控制操作编辑格式对应的信息段为控制操作信息, 确定与所 述控制操作信息对应的目标响应服务器; 向所述目标响应服务器发送指 示消息, 以触发所述目标响应服务器执行与所述控制操作信息对应的控 制操作, 所述指示信息中至少包括控制对象信息;
响应服务器 30, 用于接收所述指示消息, 根据所述指示消息调取相 应的控制操作程序, 通过所述控制操作程序对所述控制对象信息对应的 操作对象执行控制操作。
在一个实施方式中, 移动终端 10发送所述消息时, 消息的接收对 象可以是接入服务器 20, 也可以是其他的与接入服务器 20存在绑定关 系的服务器。 例如, 移动终端 10可釆用即时通讯应用程序发送所述消 息, 在该消息发送到即时通讯应用服务器时, 由即时通讯应用服务器转 发到绑定的接入服务器中。 图 19 为本发明实施例提供的远程控制*** 的另一结构框图, 结合图 18和图 19所示, 远程控制***还可以包括: 应用 良务器 40,移动终端 10通过应用 良务器 40对应的即时通讯应用生 成并发送所述消息, 所述消息中还包括所述消息的接收对象标识; 其中, 应用服务器 40, 用于接收移动终端 10发送的所述消息, 若 所述消息的接收对象与预设接收对象相对应, 将所述消息转发至与所述 预设接收对象相绑定的接入服务器 20, 以使接入服务器 20接收移动终 端 10生成的所述消息。
运营人员可在即时通讯应用中为接入服务器申请一个通信账号, 将 该通信账号与接入服务器相绑定。 该通信账号可以是专门的用于进行远 程控制的公众账号, 运营人员可使用自己的通信账号关注该与接入服务 器相绑定的通信账号, 或加该通信账号为好友。 在进行远程控制时, 移 动终端釆用运营人员自己的通信账号登陆即时通讯应用, 通过即时通讯 应用编辑生成承载有控制命令的消息, 将与接入服务器相绑定的通信账 号作为消息接收对象, 发送所述消息。 即时通讯应用对应的应用服务器 在接收到移动终端发送的所述消息后, 将识别所述消息中的消息接收对 象, 在识别到消息接收对象与接入服务器相绑定的通信账号相对应时, 应用服务器将所述消息转发至该接入服务器。 接入服务器和响应服务器 执行本文描述的相应远程控制方法, 进而实现远程控制。
图 20 为本发明实施例提供的远程控制***的又一结构框图, 结合 图 17和图 19所示, 远程控制***中还可以包括审计服务器 50;
接入服务器 20,还用于向审计服务器 50转发移动终端 10生成的承 载有控制命令的消息;
审计服务器 50, 用于接收接入服务器 20转发的承载有控制命令的 消息, 统计所述控制命令对应的控制数据。
在一个实施方式中, 接入服务器 20还可以用于在接收承载有控制 命令的消息之前, 接收移动终端 10生成的承载有授权密码的消息, 并 向审计服务器 50发送所述承载有授权密码的消息; 对应的, 审计服务 器 50, 可以用于接收接入服务器 20发送的承载有授权密码的消息, 统 计移动终端 10对应的授权错误次数, 并在预设时间内所述授权错误次 数达到预设次数时, 向特定设备发送相应提示信息。
在一个实施方式中, 图 20所示***中也可包括图 19所示应用服务 器。
本发明实施例提供的远程控制***中, 移动终端生成承载有控制命 令的消息后, 可通过公用网络将所述消息发送给接入服务器, 接入服务 器在接收到所述消息后, 确定控制命令中以预定义编辑格式编辑的控制 对象信息和控制操作信息, 从而确定执行控制命令的目标相应服务器, 向所述目标响应服务器发送至少包括控制对象信息的指示消息, 进而触 发所述目标响应服务器执行控制命令。 本发明实施例提供的远程控制系 统实现了通过移动终端对内网中的响应服务器进行远程控制的目的。
图 21为本发明实施例提供的接入服务器的结构框图。 参照图 21, 接入服务器可以包括: 通信接口 1, 存储器 2, 处理器 3和通信总线 4。
下面结合图 21对接入服务器的各个构成部件进行具体的介绍: 通信接口 1可以为通信模块的接口, 如网卡的接口, 用于在接入服 务器与外部设备进行信息收发过程中, 实现信号的接收和发送。
存储器 2可用于存储软件程序以及模块。 处理器 3通过运行存储在 存储器 2的软件程序以及模块, 从而执行接入服务器的各种功能应用以 及数据处理。 存储器 2可主要包括存储程序区和存储数据区。 其中, 存 储程序区可存储操作***、 至少一个功能所需的应用程序 (比如声音播 放功能、 图像播放功能等)等。 存储数据区可存储根据接入服务器的使 用所创建的数据(比如音频数据、 电话本等)等。 此外, 存储器 2可以 包括高速随机存取存储器, 还可以包括非易失性存储器, 例如至少一个 磁盘存储器件、 闪存器件、 或其他易失性固态存储器件。
处理器 3是接入服务器的控制中心, 利用各种接口和线路连接整个 接入服务器的各个部分, 通过运行或执行存储在存储器 2内的软件程序 和 /或模块, 以及调用存储在存储器 2内的数据, 执行接入服务器的各种 功能和处理数据, 从而对接入服务器进行整体监控。 可选的, 处理器 3 可包括一个或多个处理单元。 优选的, 处理器 3可集成应用处理器和调 制解调处理器。 其中, 应用处理器主要处理操作***、 和应用程序等。 调制解调处理器主要处理无线通信。 可以理解的是, 上述调制解调处理 器也可以不集成到处理器 3中。
通信接口 1, 存储器 2, 处理器 3通过通信总线 4完成相互间的通 信。
在本发明实施例中, 处理器 3还可以具有如下功能:
通过通信接口 1接收移动终端生成的承载有控制命令的消息, 所述 控制命令至少包括控制对象信息及控制操作信息;
确定控制命令中与预定义的控制对象编辑格式对应的信息段为控 制对象信息, 及与预定义的控制操作编辑格式对应的信息段为控制操作 信息;
确定与所述控制操作信息对应的目标响应服务器;
通过通信接口 1向所述目标响应服务器发送指示消息, 以触发所述 目标响应服务器执行与所述控制操作信息对应的控制操作, 所述指示信 息中至少包括控制对象信息。
图 22 为本发明实施例提供的接入服务器的另一结构框图。 该装置 至少包括: 通信总线 6、 存储器 7以及与存储器 7通信的处理器 5。 其 中该存储器 7与处理器 6通过通信总线 6相连接。 该存储器 7中包括可 由处理器执行的控制命令接收指令 70、 信息确定指令 71、 目标响应服 务器确定指令 72、 发送指令 73。
控制命令接收指令 70用于接收移动终端生成的承载有控制命令的 消息, 所述控制命令至少包括控制对象信息及控制操作信息; 信息确定指令 71 用于确定控制命令中与预定义的控制对象编辑格 式对应的信息段为控制对象信息及与预定义的控制操作编辑格式对应 的信息段为控制操作信息;
目标响应服务器确定指令 72用于确定与所述控制操作信息对应的 目标响应服务器;
发送指令 73 用于向所述目标响应服务器发送指示信息, 以触发所 述目标响应服务器执行与所述控制操作信息对应的控制操作, 所述指示 信息中至少包括控制对象信息。
本说明书中各个实施例釆用递进的方式描述, 每个实施例重点说明 的都是与其他实施例的不同之处, 各个实施例之间相同相似部分互相参 见即可。 对于实施例公开的装置而言, 由于其与实施例公开的方法相对 应, 所以描述的比较简单, 相关之处参见方法部分说明即可。
专业人员还可以进一步意识到, 结合本文中所公开的实施例描述的 各示例的单元及算法步骤, 能够以电子硬件、 计算机软件或者二者的结 合来实现, 为了清楚地说明硬件和软件的可互换性, 在上述说明中已经 按照功能一般性地描述了各示例的组成及步骤。 这些功能究竟以硬件还 是软件方式来执行, 取决于技术方案的特定应用和设计约束条件。 专业 技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能, 但是这种实现不应认为超出本发明的范围。
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用 硬件、 处理器执行的软件模块, 或者二者的结合来实施。 软件模块可以 置于随机存储器(RAM )、 内存、 只读存储器(ROM )、 电可编程 ROM、 电可擦除可编程 ROM、 寄存器、 硬盘、 可移动磁盘、 CD-ROM、 或技 术领域内所公知的任意其它形式的存储介质中。
对所公开的实施例的上述说明, 使本领域专业技术人员能够实现或 使用本发明。 对这些实施例的多种修改对本领域的专业技术人员来说将 是显而易见的, 本文中所定义的一般原理可以在不脱离本发明的精神或 范围的情况下, 在其它实施例中实现。 因此, 本发明将不会被限制于本 文所示的这些实施例, 而是要符合与本文所公开的原理和新颖特点相一 致的最宽的范围。

Claims

权利要求书
1、 一种远程控制方法, 其特征在于, 所述方法包括:
接入服务器接收移动终端生成的承载有控制命令的消息, 所述控制 命令至少包括控制对象信息及控制操作信息;
根据预定义的编辑格式, 所述接入服务器确定所述控制命令中所包 括的控制对象信息, 及控制操作信息;
所述接入服务器确定与所述控制操作信息对应的目标响应服务器; 根据所述控制对象信息及所述控制操作信息, 所述接入服务器向所 述目标响应服务器发送指示消息, 所述指示信息中至少包括控制对象信 息。
2、 根据权利要求 1 所述的方法, 其特征在于, 所述控制命令进一 步包括: 分隔标识;
所述确定所述控制命令中所包括的控制对象信息与控制操作信息 包括:
获取分别排列于所述分隔标识两侧的两段信息段;
根据所述预定义的编辑格式, 确定与预定义的控制对象排列序位对 应的信息段为所述控制对象信息, 及与预定义的控制操作排列序位对应 的信息段为所述控制操作信息。
3、 根据权利要求 1 所述的方法, 其特征在于, 所述控制命令进一 步包括: 分隔标识、 控制对象信息标识、 及控制操作信息标识;
所述确定所述控制命令中所包括的控制对象信息与控制操作信息 包括:
获取分别排列于所述分隔标识两侧的两段信息段;
根据所述预定义的编辑格式, 分别从所述两端信息段中的预设位置 提取控制对象信息标识和控制操作信息标识; 确定具有控制对象信息标识的信息段为所述控制对象信息, 及具有 控制操作信息标识的信息段为所述控制操作信息。
4、 根据权利要求 1-3任一项所述的方法, 其特征在于, 所述确定与 所述控制操作信息对应的目标响应服务器包括:
根据预设的控制操作信息与响应服务器的对应关系, 确定与所述控 制操作信息对应的响应服务器为所述目标响应服务器。
5、 根据权利要求 1-3任一项所述的方法, 其特征在于, 所述根据所 述控制对象信息及所述控制操作信息, 向所述目标响应服务器发送指示 信息包括:
若确定目标响应服务器具有一个与所述控制操作信息对应的控制 操作功能, 则向所述目标响应服务器发送包括所述控制对象信息的指示 消息;
若确定目标响应服务器具有多个控制操作功能, 则向所述目标响应 服务器发送包括所述控制对象信息与所述控制操作信息的指示消息。
6、 根据权利要求 1 所述的方法, 其特征在于, 所述控制命令还包 括目标响应服务器标识;
所述方法还包括: 确定所述控制命令中所包括的所述目标响应服务 器标识;
所述确定与所述控制操作信息对应的目标响应服务器包括: 确定所述目标响应服务器标识对应的响应服务器为所述目标响应 服务器。
7、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 在接收移动终端生成的承载有控制命令的消息之前, 接收所述移动 终端生成的承载有授权密码的消息;
对所述授权密码的有效性进行验证。
8、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 向审计服务器转发所述移动终端生成的承载有控制命令的消息, 以 便所述审计服务器统计所述控制命令对应的控制数据。
9、 根据权利要求 1 所述的方法, 其特征在于, 所述接收移动终端 生成的承载有控制命令的消息包括:
接收即时通讯应用服务器在接收所述移动终端发送的所述消息, 且 所述消息的接收对象与预设对象相对应后, 所转发的所述消息。
10、 一种远程控制方法, 其特征在于, 所述方法包括:
响应服务器接收接入服务器发送的指示消息, 所述指示信息中至少 包括控制对象信息; 所述指示信息为所述接入服务器接收移动终端生成 的承载有控制命令的消息, 所述控制命令至少包括控制对象信息及控制 操作信息, 根据预定义的编辑格式, 确定控制命令中所包括的控制对象 信息与控制操作信息, 确定与所述控制操作信息对应的目标响应服务 器, 根据所述控制对象信息及所述控制操作信息, 向所述目标响应服务 器发送指示信息;
所述响应服务器根据所述指示消息, 调取相应的控制操作程序, 通 过所述控制操作程序对所述控制对象信息对应的操作对象执行控制操 作。
11、 根据权利要求 10 所述的方法, 其特征在于, 所述指示消息还 包括控制操作信息;
所述根据所述指示信息调取相应的控制操作程序包括:
根据预设的控制操作信息与控制操作程序的对应关系, 调取与所述 控制操作信息对应的控制操作程序。
12、 根据权利要求 10所述的方法, 其特征在于, 所述根据所述指 示信息调取相应的控制操作程序包括:
确定预设的与所述响应服务器存在一一对应关系的控制操作程序, 调取所述控制操作程序。
13、 一种远程控制装置, 其特征在于, 所述装置包括:
控制命令接收模块, 用于接收移动终端生成的承载有控制命令的消 息, 所述控制命令至少包括控制对象信息及控制操作信息;
信息确定模块, 用于根据预定义的编辑格式, 确定所述控制命令中 所包括的控制对象信息, 及与控制操作信息;
目标响应服务器确定模块, 用于确定与所述控制操作信息对应的目 标响应服务器;
发送模块, 用于根据所述控制对象信息及所述控制操作信息, 向所 述目标响应服务器发送指示信息, 所述指示信息中至少包括控制对象信 息。
14、 根据权利要求 13 所述的装置, 其特征在于, 所述控制命令还 包括: 分隔标识;
所述信息确定模块包括:
第一信息段获取单元, 用于获取分别排列于所述分隔标识两侧的两 段信息段;
第一信息确定单元, 用于根据所述预定义的编辑格式, 确定与预定 义的控制对象排列序位对应的信息段为所述控制对象信息, 及与预定义 的控制操作排列序位对应的信息段为所述控制操作信息。
15、 根据权利要求 13 所述的装置, 其特征在于, 所述控制命令还 包括: 分隔标识、 控制对象信息标识, 及控制操作信息标识;
所述信息确定模块包括:
第二信息段获取单元, 用于获取分别排列于所述分隔标识两侧的两 段信息段;
标识提取单元, 用于根据所述预定义的编辑格式, 分别从所述两端 信息段中的预设位置提取控制对象信息标识和控制操作信息标识; 第二信息确定单元, 用于确定具有控制对象信息标识的信息段为所 述控制对象信息, 及具有控制操作信息标识的信息段为所述控制操作信 息。
16、 根据权利要求 13 所述的装置, 其特征在于, 所述发送模块包 括:
第一发送单元, 用于在确定目标响应服务器具有一个与所述控制操 作信息对应的控制操作功能时, 向所述目标响应服务器发送包括所述控 制对象信息的指示消息;
第二发送单元, 用于在确定目标响应服务器具有多个控制操作功能 时, 向所述目标响应服务器发送包括所述控制对象信息与所述控制操作 信息的指示消息。
17、 根据权利要求 13 所述的装置, 其特征在于, 所述控制命令接 收模块用于接收即时通讯应用服务器在接收移动终端发送的所述消息, 且所述消息的接收对象与预设对象相对应后, 所转发的所述消息。
18、 一种远程控制装置, 其特征在于, 应用于响应服务器, 所述装 置包括:
指示消息接收模块, 用于接收接入服务器发送的指示消息, 所述指 示信息中至少包括控制对象信息; 所述指示信息为所述接入服务器接收 移动终端生成的承载有控制命令的消息, 所述控制命令至少包括控制对 象信息及控制操作信息, 根据预定义的编辑格式, 确定所包括的控制对 象信息与控制操作信息, 确定与所述控制操作信息对应的目标响应服务 器, 根据所述控制对象信息及所述控制操作信息, 向所述目标响应服务 器发送指示信息;
命令执行模块,用于根据所述指示信息,调取相应的控制操作程序, 通过所述控制操作程序, 对所述控制对象信息对应的操作对象执行控制 操作。
19、 一种远程控制***, 其特征在于, 包括: 移动终端, 接入服务 器和响应服务器;
所述移动终端, 用于生成承载有控制命令的消息并发送所述消息, 所述控制命令至少包括控制对象信息及控制操作信息;
所述接入服务器, 用于接收所述消息, 确定控制命令中所包括的控 制对象信息及控制操作信息, 确定与所述控制操作信息对应的目标响应 服务器, 根据所述控制对象信息及所述控制操作信息, 向所述目标响应 服务器发送指示信息, 所述指示信息中至少包括控制对象信息;
所述响应服务器, 用于接收所述指示消息, 根据所述指示消息调取 相应的控制操作程序, 对所述控制对象信息对应的操作对象执行控制操 作。
20、 根据权利要求 19 所述的***, 其特征在于, 还包括: 应用服 务器;
所述应用服务器, 用于接收所述移动终端发送的所述消息, 若所述 消息的接收对象与预设接收对象相同, 将所述消息转发至与所述预设接 收对象相绑定的所述接入服务器。
21、 根据权利要求 19或 20所述的***, 其特征在于, 还包括: 审 计服务器;
所述接入服务器, 还用于向审计服务器转发所述移动终端生成的承 载有控制命令的消息;
所述审计服务器, 用于接收所述接入服务器转发的承载有控制命令 的消息, 统计所述控制命令对应的控制数据,
PCT/CN2014/081805 2013-07-09 2014-07-08 远程控制方法、装置及*** WO2015003610A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310286488.4 2013-07-09
CN201310286488.4A CN103327119B (zh) 2013-07-09 2013-07-09 远程控制方法、装置及***

Publications (1)

Publication Number Publication Date
WO2015003610A1 true WO2015003610A1 (zh) 2015-01-15

Family

ID=49195640

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/081805 WO2015003610A1 (zh) 2013-07-09 2014-07-08 远程控制方法、装置及***

Country Status (2)

Country Link
CN (1) CN103327119B (zh)
WO (1) WO2015003610A1 (zh)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103327119B (zh) * 2013-07-09 2015-06-24 腾讯科技(深圳)有限公司 远程控制方法、装置及***
CN104734934B (zh) * 2013-12-18 2019-01-08 腾讯科技(深圳)有限公司 一种关注公众账号的方法、装置和***
CN103701895A (zh) * 2013-12-24 2014-04-02 深圳市共进电子股份有限公司 一种远程控制终端网关设备的方法
CN105338009B (zh) * 2014-06-19 2020-02-18 腾讯科技(深圳)有限公司 一种电子设备的控制方法及相关设备、***
CN104219314B (zh) * 2014-09-10 2017-07-28 珠海市君天电子科技有限公司 电子设备、远程控制电子设备的方法及***
CN105785858A (zh) * 2016-03-02 2016-07-20 宇龙计算机通信科技(深圳)有限公司 一种控制方法、装置以及终端
CN106161592B (zh) * 2016-06-21 2019-11-29 微梦创科网络科技(中国)有限公司 一种实现远程命令执行的方法及装置
CN110348200A (zh) * 2018-04-02 2019-10-18 南宁富桂精密工业有限公司 应用程序安装方法、***、服务器及终端
CN109067895A (zh) * 2018-08-23 2018-12-21 视联动力信息技术股份有限公司 一种远程控制的方法和装置
CN109218171B (zh) * 2018-11-01 2021-08-03 苏州达家迎信息技术有限公司 一种信息发送方法、客户端、存储介质及设备
CN109391541B (zh) * 2018-11-01 2021-08-03 苏州达家迎信息技术有限公司 一种信息发送方法、装置、存储介质及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1969503A (zh) * 2004-06-15 2007-05-23 皇家飞利浦电子股份有限公司 本地联网***的网关
CN101365204A (zh) * 2007-08-10 2009-02-11 中兴通讯股份有限公司 基于远程服务器的分布式无线数据测量***及其测量方法
CN102916809A (zh) * 2012-10-29 2013-02-06 西安交通大学 基于状态估计的智能电网控制命令动态认证方法
CN103327119A (zh) * 2013-07-09 2013-09-25 腾讯科技(深圳)有限公司 远程控制方法、装置及***

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1801047A (zh) * 2004-12-31 2006-07-12 联想(北京)有限公司 一种远程控制计算机的***及其实现方法
CN101141628A (zh) * 2006-09-07 2008-03-12 环达电脑(上海)有限公司 移动嵌入式设备远程监控***及方法
CN101674110A (zh) * 2009-10-21 2010-03-17 中兴通讯股份有限公司 一种实现移动终端桌面共享和控制的方法及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1969503A (zh) * 2004-06-15 2007-05-23 皇家飞利浦电子股份有限公司 本地联网***的网关
CN101365204A (zh) * 2007-08-10 2009-02-11 中兴通讯股份有限公司 基于远程服务器的分布式无线数据测量***及其测量方法
CN102916809A (zh) * 2012-10-29 2013-02-06 西安交通大学 基于状态估计的智能电网控制命令动态认证方法
CN103327119A (zh) * 2013-07-09 2013-09-25 腾讯科技(深圳)有限公司 远程控制方法、装置及***

Also Published As

Publication number Publication date
CN103327119B (zh) 2015-06-24
CN103327119A (zh) 2013-09-25

Similar Documents

Publication Publication Date Title
WO2015003610A1 (zh) 远程控制方法、装置及***
US10423958B2 (en) Method, apparatus and system for voice verification
WO2013004059A1 (zh) 版本升级方法、终端及版本升级***
JP6522159B2 (ja) 音声通信処理方法及びシステム、電子装置、並びに記憶媒体
CN101287006B (zh) 一种信息提示方法、***及装置
WO2018058982A1 (zh) 控制信息的推送方法、推送装置、智能路由器和服务器
CN108833565B (zh) 一种监控服务器的方法、装置、服务器和存储介质
WO2014110820A1 (zh) 一种通知推送方法、装置和***
EP3641355A1 (en) Server and method for remotely controlling working of communications terminal, and communications terminal
WO2011144165A1 (zh) 基于业务递送平台的应用测试方法和业务递送平台
US20140019957A1 (en) Method, apparatus, and system for sharing software among terminals
WO2014086222A1 (zh) 设置视频通话参数、和发送能力参数的方法及装置
WO2016086755A1 (zh) 一种报文处理的方法和透明代理服务器
WO2015043211A1 (zh) 一种评论信息的显示方法及设备
JP2012253431A (ja) サーバ装置、電話システム及びサーバ装置に使用されるファームウェア更新制御方法
EP3101576A1 (en) Access control device, communication system, program, and access control method
RU2009137874A (ru) Получение информации из источников информации с помощью запросов refer
US9648159B2 (en) Single-PDP dual stack serial dialing method and system
CN109104774B (zh) 数据传输方法和***
CN110809262A (zh) 一种基于coap协议的物联网设备运维管理方法
EP3174244A1 (en) Video communication ending method and apparatus, computer program and recording medium
EP2838249A1 (en) Method, apparatus and system for voice call processing
CN105072020B (zh) 即时通信消息处理的方法及***
WO2013087002A1 (zh) 用户端接入控制的方法和***
CN113132745B (zh) 直播服务***、方法、服务器

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14822157

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29/04/2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14822157

Country of ref document: EP

Kind code of ref document: A1