WO2014090017A1 - Procédé de commande de communication, et terminal de communication mobile - Google Patents

Procédé de commande de communication, et terminal de communication mobile Download PDF

Info

Publication number
WO2014090017A1
WO2014090017A1 PCT/CN2013/084444 CN2013084444W WO2014090017A1 WO 2014090017 A1 WO2014090017 A1 WO 2014090017A1 CN 2013084444 W CN2013084444 W CN 2013084444W WO 2014090017 A1 WO2014090017 A1 WO 2014090017A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
designated device
communication terminal
mobile communication
html page
Prior art date
Application number
PCT/CN2013/084444
Other languages
English (en)
Chinese (zh)
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 WO2014090017A1 publication Critical patent/WO2014090017A1/fr

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]

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a device control method and a mobile communication terminal. Background technique
  • the integration between networks is more and more extensive.
  • the interaction between a mobile communication terminal and a wired computer terminal is achieved through wireless and wired network convergence, or the interaction between the mobile communication terminal and an IoT intelligent terminal such as a smart TV is becoming more and more common.
  • this existing method needs to set a corresponding control mode for each controlled device on the one hand, and the implementation is complicated, and the corresponding control mode needs to be replaced when the controlled device is replaced, and the compatibility is poor; on the other hand, the control method
  • the type is artificially set, and the artificially set control mode is limited.
  • the function of the controlled device cannot be utilized to the greatest extent, resulting in waste of resources. If the function of a controlled device is only turned on and off, The controller can only turn the controlled device on or off, and cannot use other features of the controlled device. Summary of the invention
  • the present invention has been made in order to provide a device control method and a mobile communication terminal that overcome the above problems or at least partially solve the above problems.
  • a device control method including: a mobile communication terminal transmitting an information acquisition command to a network control server, where the network control server forwards the information acquisition command to a designated device, where The information acquisition command is used to acquire device information of the specified device; the mobile communication terminal receives the network control server to acquire the information The feedback of the command is performed to obtain an HTML page for performing control operations on the specified device, and the specified device is controlled by the HTML page, wherein the network control server feeds back the information acquisition command according to the The device information returned by the specified device is generated.
  • a mobile communication terminal including: a first sending module, configured to send an information acquisition command to a network control server, where the network control server forwards the information acquisition command to a designated device
  • the information obtaining command is configured to acquire device information of the specified device
  • the acquiring module is configured to receive feedback from the network control server on the information acquiring command, and obtain a control operation for the specified device.
  • the HTML page is configured to perform a control operation on the specified device by using the HTML page, wherein the feedback of the information acquisition command by the network control server is generated according to the device information returned by the specified device.
  • a device control method including: the mobile communication terminal sends an information acquisition command to a designated device that is successfully paired, wherein the information acquisition command is used to acquire device information of the specified device. And the mobile communication terminal generates an HTML page for performing control operations on the designated device according to the device information returned by the specified device, and performs a control operation on the designated device by using the HTML page.
  • a mobile communication terminal including: a second sending module, configured to send an information acquisition command to a designated device that is successfully paired, wherein the information obtaining command is used to obtain the specified
  • the device information of the device is configured to generate, according to the device information returned by the specified device, an HTML page for performing a control operation on the specified device, and perform a control operation on the specified device by using the HTML page.
  • a computer readable recording medium having recorded thereon a program for executing the above device control method.
  • the mobile communication terminal generates an HTML page by acquiring feedback generated based on the device information of the specified device, and controls the IoT device through the generated HTML page.
  • the device information carries the information related to the specified device, and the type of the information to be carried can be appropriately set by a person skilled in the art according to actual needs.
  • all the information supported by the designated device can be obtained through feedback generated according to the device information of the specified device.
  • Control operations to fully utilize designated devices to avoid wasting resources on devices on the other hand, HTML pages are Widely used and supported by almost all operating systems, the operation of the mobile communication terminal to control the device through the HTML page is simple, and it is not necessary to set a dedicated control mode for a single designated device, thereby improving the compatibility of device control;
  • the mobile communication terminal side and the designated device side do not need special operation control software, and the operation is convenient, the implementation is simple, the compatibility is good, and the implementation cost is low.
  • the solution of the present invention solves the problem that the existing controlled device realizes poor complex compatibility and wastes resources, and achieves the effects of simple implementation, good compatibility, and full utilization of device resources.
  • FIG. 1 is a flow chart of steps of a device control method according to a first embodiment of the present invention
  • FIG. 2 is a flow chart of steps of a device control method according to a second embodiment of the present invention
  • FIG. 4 is a schematic diagram of an interface of an HTML page in the embodiment shown in FIG.
  • FIG. 5 is a flow chart showing the steps of a device control method according to Embodiment 4 of the present invention
  • FIG. 6 is a flow chart showing the steps of a device control method according to Embodiment 5 of the present invention
  • FIG. 8 is a block diagram showing the structure of a mobile communication terminal according to a seventh embodiment of the present invention.
  • DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While the embodiments of the present invention have been shown in the drawings, the embodiments Rather, these embodiments are provided so that this disclosure will be more fully understood, and the scope of the disclosure may be fully disclosed to those skilled in the art.
  • Embodiment 1 Embodiment 1
  • FIG. 1 there is shown a flow chart of the steps of a device control method according to a first embodiment of the present invention.
  • Step S102 The mobile communication terminal sends an information acquisition command to the network control server, and the network control server forwards the information acquisition command to the designated device.
  • the information obtaining command is used to obtain device information of the specified device.
  • the specified device may be a computer terminal device such as a PC or a terminal device in the Internet of Things.
  • Step S104 The mobile communication terminal receives the feedback of the network control server for the information acquisition command, obtains an HTML page for performing control operations on the designated device, and performs a control operation on the designated device through the HTML page.
  • the feedback of the network control server to the information acquisition command is generated according to the device information returned by the specified device.
  • the HTML (Hypertext Markup Language) page is generated according to the device information of the specified device, and has an operation control corresponding to the control operation supported by the specified device, and is used for the user to perform control operations on the specified device, and is sent according to the control.
  • the generated control operation instructions are manipulated to control the operation of the specified device.
  • the mobile communication terminal generates an HTML page by acquiring feedback generated according to the device information of the specified device, and implements control of the Internet of Things device through the generated HTML page.
  • the device information carries the information related to the specified device, and the type of the information to be carried can be appropriately set by a person skilled in the art according to actual needs.
  • all the information supported by the designated device can be obtained through feedback generated according to the device information of the specified device.
  • HTML pages are widely used and supported by almost all operating systems.
  • the operation of the mobile communication terminal is controlled by the HTML page. There is no need to set a dedicated control mode for a single designated device, which improves the compatibility of device control.
  • the solution of the present embodiment solves the problem that the existing controlled device is complicated to implement, has poor compatibility, and wastes resources. The problem is achieved by achieving simple implementation, good compatibility, and full use of equipment resources.
  • FIG. 2 there is shown a flow chart of the steps of a device control method in accordance with a second embodiment of the present invention.
  • the mobile communication terminal interacts with the designated device via the network control server.
  • the communication between the mobile communication terminal and the network control server, and between the network control server and the designated device all comply with the WebSocket protocol.
  • WebSocket protocol it is not limited thereto, and other similar communication protocols can also be referred to the present embodiment.
  • the WebSocket protocol is HTML5, a new protocol that implements full-duplex communication between the browser and the server.
  • the WebSocket protocol is relatively simple.
  • the device and the normal browser use the port 80 or port 443 to perform a request handshake.
  • the server identifies whether it is a WebSocket request according to the HTTP HEADER. If yes, the request is upgraded to a WebSocket connection. After the handshake is successful. It enters the data transfer phase of the two-way long connection.
  • the specified device supports the NPAPI (Netscape Plugin Application Programming Interface) mechanism, in which the NPAPI plug-in is set.
  • NPAPI Network Plugin Application Programming Interface
  • Each plugin in the Netscape plugin declares that it supports one or several content types. When the browser encounters this type of content, it looks for a plugin that can be decoded in the plugin library. It is parsed and displayed in the corresponding location of the web page.
  • the corresponding API Application Programming Interface
  • the system can be called to implement corresponding functions, such as shutting down, adjusting the volume, controlling the mouse operation and the like.
  • the browser provides SetCursorPos, Shutdown, Sna shot to the javascript script in the extension web page through the NPAPI mechanism (currently the mechanism has been applied to Chrome, browsers based on Chromium open source projects and browsers such as Firefox).
  • MouseDown, MouseUp, KeyDown, KeyU and other interface functions javascript communicates with the server through websocket. After receiving the control command, it calls these javascript interface functions extended by NPAPI, such as controlling cursor position, simulating mouse click and keyboard press. , snapshots, power on and off, and more.
  • the device control method of this embodiment includes the following steps:
  • the mobile communication terminal obtains, from the network control server, information of at least one designated device to be controlled, where the information of the specified device includes at least one of the following: a two-dimensional code of the specified device, an identifier of the designated device, and an IP address of the designated device;
  • the mobile communication terminal identifies and displays the designated device by specifying the information of the device; or the network control server identifies the designated device according to the information of the designated device to be controlled; the mobile communication terminal acquires the designated device identified by the network control server from the network control server Information and display.
  • the mobile communication terminal acquires the registration information of the specified device from the network control server, where the registration information of the designated device is the designated device to the network control server. Registered information; the mobile communication terminal locates the designated device according to the registration information of the specified device; or, the mobile communication terminal acquires the device identifier of the designated device, and sends the device identifier to the network control server; the network control server identifies the designated device according to the device identifier, and The recognition result is returned to the mobile communication terminal; the mobile communication terminal locates the designated device according to the recognition result. In this way, you can also obtain information about the specified device, which in turn can establish a connection with the specified device.
  • the mobile communication terminal establishes a WebSocket connection between the network control server and the designated device.
  • Step S206 The mobile communication terminal sends an information acquisition command to the network control server, and the network control server forwards the information acquisition command to the designated device.
  • the information obtaining command is used to obtain device information of the specified device.
  • the mobile communication terminal sends an information acquisition command to the network control server through the WebSocket connection between the mobile communication terminal and the network control server; the network control server forwards the information acquisition command to the designated device through the WebSocket connection between the mobile control server and the designated device. To get the device information of the specified device.
  • Step S208 The mobile communication terminal receives feedback from the network control server on the information acquisition command. Get the HTML page used to control the specified device.
  • the feedback of the network control server to the information acquisition command is generated according to the device information returned by the specified device.
  • the network control server receives the device information returned by the designated device, and determines a control operation supported by the specified device according to the device information; the network control server generates a corresponding HTML page according to the control operation supported by the specified device and sends the corresponding HTML page to the mobile communication terminal; The communication terminal obtains an HTML page;
  • the network control server receives the device information returned by the designated device, and determines a control operation supported by the designated device according to the device information; the network control server transmits information of the control operation supported by the specified device to the mobile communication terminal; the mobile communication terminal according to the designation The information of the control operation supported by the device generates a corresponding HTML page;
  • the network control server receives the device information returned by the designated device, where the device information carries information about the control operation supported by the specified device; the network control server generates an HTML page to send the mobile device according to the information of the control operation supported by the specified device.
  • a communication terminal the mobile communication terminal acquires an HTML page;
  • the network control server receives the device information returned by the designated device, and the device information carries information of the control operation supported by the specified device; the network control server forwards the information of the control operation supported by the specified device to the mobile communication terminal; The terminal generates an HTML page according to the information of the control operation supported by the specified device.
  • the network control server or the mobile communication terminal when the network control server or the mobile communication terminal generates the corresponding HTML page according to the control operation supported by the specified device, the network control server or the mobile communication terminal determines the corresponding HTML according to the control operation supported by the specified device.
  • the page element generates a corresponding control operation control according to the HTML page element; the control operation control is used to generate the HTML page.
  • Step S210 The mobile communication terminal performs a control operation on the designated device through the HTML page.
  • the mobile communication terminal displays an HTML page, and the user operates the operation control in the HTML page; the mobile communication terminal acquires operation information of the operation performed by the user, and then generates a corresponding control operation instruction; the mobile communication terminal sends the control operation to the network control server via the network control server Specify a device to implement control operations on the specified device.
  • the mobile communication terminal receives a control operation instruction for the user to perform a control operation on the designated device through the HTML page; the control operation instruction is sent to the network control server through the WebSocket connection, and the network operation server connects the control operation instruction through the WebSocket connection. Forwarding to the specified device, causing the designated device to implement the control operation indicated by the control operation instruction by calling the system API of the specified device through the NPAPI function according to the control operation instruction.
  • the mobile communication terminal listens to the user's operation on the HTML page through the HTML page; acquires the information of the operation through the DOM (Document Obj ect Model) event of the HTML page, according to the operation information Determine the control operation for the specified device and generate control operation instructions.
  • DOM Document Obj ect Model
  • FIG. 3 a flow chart of steps of a device control method according to a third embodiment of the present invention is shown.
  • the device control method of the present application is described by taking the mobile communication terminal as the mobile phone and the designated device as the PC, and generating an HTML page according to the device information of the specified device.
  • Step S302 Set up a network control server.
  • a network control server is built by using Node.js.
  • Node.js is a set of JavaScript toolkits for writing high-performance web servers with single-threaded, non-blocking 10, event-driven, and many more.
  • the network control server can also be built in other appropriate ways, such as building an Apache (Apache) server.
  • the network control server establishes a connection between the mobile communication terminal and the designated device controlled by the mobile communication terminal through the WebSocket protocol.
  • the construction of the network control server includes:
  • Step 1 Install Cygwin; then, download and install Node.js.
  • Step 2 Implement WebSocket communication with socket.io.js.
  • Socket.io.js is a js library file that uses the WebSocket specification in the HTML5 draft to implement two-way communication between the browser and the server. It provides functions such as sending a message (socket.emit ( )) and receiving information (socket.on ( ) ), broadcast information ( socket.broadcast.emit ( )), etc.
  • APL APL
  • the third step realize the authorization and authentication of the mobile communication terminal.
  • the designated device sends the controlled password to the network control server, and the network control server backs up the controlled password.
  • the control terminal that is, the mobile communication terminal wants to control a controlled designated device, it needs to input the controlled password and send it to the network.
  • the control server performs verification, and if the password is entered correctly, control is obtained.
  • Step 4 The network control server obtains the command of the controlled designated device, the control terminal, that is, the mobile communication terminal, and implements the transfer.
  • the device has a browser and browser extension with NPAPI mechanism, and the browser extension is controlled to specify that the device needs to rely on a browser extension (.crx, .xpi file).
  • the background page of the extension is an HTML page that is used to complete the server with the network control.
  • the communication, extension NPAPI plugin is a DLL that completes the system API call.
  • the background page of the controlled device browser extension program obtains the control operation command sent by the network control server, parses the command and calls the related function of NPAPI, and then calls the system API (such as mouse_event, keybd_event) by the NPAPI function. , OpenProcessToken , LookupPrivilege Value , AdjustTokenPrivileges , ExitWindowsEx , etc.) to complete the operation. This is because the browser extension program cannot directly call the system API, but can call the export function of the NPAPI plug-in.
  • the NPAPI plug-in is a DLL that can directly call the system API, thereby implementing the controlled specified device to execute the API of the system through the NPAPI. Accepted instructions.
  • Step S306 The mobile communication terminal selects the designated device, and sends a WebSocket information acquisition command to the network control server through the WebSocket connection, and requests to obtain the device information of the selected specified device.
  • Step S314 The network control server forwards the device information of the specified device to the mobile communication terminal through the WebSocket connection.
  • Step S316 The mobile communication terminal receives the device information of the designated device, obtains information about the control operation supported by the specified device, and generates a corresponding control operation control according to the information, and uses The control action control generates an HTML page corresponding to the specified device.
  • the HTML page generated by the mobile communication terminal is used for the user to perform control operations on the designated device, and sends a control operation instruction generated according to the control operation.
  • the generated HTML page is set as shown in FIG. That is, the mobile communication terminal learns from the device information of the designated device that the specified device supports the volume adjustment, the power on/off, the screenshot, the display desktop, and the like, and generates corresponding controls, and uses the generated controls to generate and control the designated device.
  • HTML page is only exemplary.
  • the actual control and HTML pages can be generated according to the specific operations supported by the specified device.
  • the generated HTML pages can be one or more.
  • a "select terminal" control is added to the generated HTML page, so that the user can return to the terminal selection page at any time as needed, and replace the required controlled terminal (ie, the controlled designated device).
  • the control operations performed on the specified device through the HTML page include: adjusting the volume, displaying the desktop, taking a screenshot, and shutting down.
  • the control terminal ie, the HTML page of the mobile communication terminal, listens to the click event of each button, and then sends the corresponding information to the network control server, and the network control server sends the data to the controlled designated device, and the controlled designated device acquires the data.
  • the corresponding system API is called through the NPAPI plug-in mechanism to complete the corresponding operation.
  • Step S318 The mobile communication terminal receives an operation performed by the user on the designated device through the HTML page, and generates a control operation instruction according to the operation.
  • the DOM event of the HTML page acquires a button click information, thereby generating a corresponding control operation instruction.
  • Step S320 The mobile communication terminal communicates with the network control server by using a WebSocket connection, and sends a control operation instruction to the network control server through the HTML page.
  • Step S322 The network control server uses the WebSocket connection to communicate with the controlled designated device, and sends a control operation instruction to the controlled designated device.
  • Step S324 The controlled designated device acquires a control operation instruction sent by the network control server through a background page of the browser extension program, and invokes a related NPAPI function.
  • Step S326 The controlled designated device invokes the API function of the system through the NPAPI function, and executes Controls the control operations indicated by the operation instructions.
  • the HTML page performs the specified device control as an example, and the device control method of the present application is described. However, it should be apparent to those skilled in the art that other ways of generating an HTML page can be combined with the foregoing embodiments and the present embodiment.
  • the mobile communication terminal such as the mobile phone
  • the mobile communication terminal comprehensively acquires the control operations supported by the designated device and performs the operation control on the designated device.
  • the new web standard and the characteristics of the mobile communication terminal such as the mobile phone are carried, and the mobile communication terminal, such as the mobile phone, is used as the input device of the designated device, and the convenience of the control of the designated device is maximized, and the user is greatly improved.
  • the operating experience of the specified device is carried, and the mobile communication terminal, such as the mobile phone, is used as the input device of the designated device, and the convenience of the control of the designated device is maximized, and the user is greatly improved.
  • the device control method of this embodiment does not require the participation of the network control server, and can be applied to control operations of devices in a set area (e.g., a room).
  • Step S402 The mobile communication terminal sends an information acquisition command to the designated device that successfully pairs.
  • the information obtaining command is used to obtain device information of the specified device.
  • the designated device in this embodiment may be an IoT intelligent terminal, such as a smart TV, a smart refrigerator, or the like.
  • Step S404 The mobile communication terminal generates an HTML page for performing control operations on the designated device according to the device information returned by the specified device, and controls the specified device through the HTML page.
  • the operation control of the mobile communication device to the designated device in the case of no server participation is realized.
  • the HTML page generated according to the device information of the specified device can obtain the control operations supported by the specified device, thereby fully utilizing the designated device and avoiding waste of resources of the device;
  • the HTML page is widely used and is almost All the pages supported by the operating system realize the operation control of the mobile communication terminal through the HTML page, which is simple to implement, and does not need to set a dedicated control mode for a single designated device, thereby improving the design.
  • FIG. 6 there is shown a flow chart showing the steps of a device control method according to a fifth embodiment of the present invention.
  • This embodiment is a further optimization scheme of the device control scheme in the fourth embodiment.
  • the device control method in this embodiment includes the following steps:
  • Step S502 The mobile communication terminal sends a pairing request to the designated device, requesting to establish a pairing connection with the designated device.
  • the pairing request includes information of the mobile communication terminal.
  • the information of the mobile communication terminal comprises at least one of the following: a two-dimensional code of the mobile communication terminal, an identifier of the mobile communication terminal, and an IP address of the mobile communication terminal. This information can be used by the designated device to effectively identify the mobile communication terminal.
  • Step S504 The mobile communication terminal receives the pairing response returned by the designated device and carries the information of the designated device, and establishes a pairing connection with the designated device according to the pairing response.
  • the smart television when the smart television receives a pairing request sent by the mobile communication terminal and carries the information of the mobile communication terminal, the smart communication terminal is identified; and then, the pairing response is sent to the mobile communication terminal, and the pairing response is Carrying its own information, such as the two-dimensional code of the smart TV, the two-dimensional code carries rich information, such as the identity, address, etc. of the smart TV; after the mobile communication terminal receives the pairing response, acquires the designated device Corresponding information, and then based on this information to establish a paired connection with the specified device.
  • the two-dimensional code carries rich information, such as the identity, address, etc. of the smart TV
  • Step S506 The mobile communication terminal sends an information acquisition command to the designated device that successfully pairs.
  • the information obtaining command is used to obtain device information of the specified device.
  • Device letter of the specified device Information may include the model number of the specified device, and/or, specify the control operations supported by the device
  • Step S508 The mobile communication terminal generates an HTML page for performing a control operation on the designated device according to the device information returned by the specified device.
  • the method includes: the mobile communication terminal determines, according to the device information returned by the specified device, a control operation supported by the specified device; determines a corresponding HTML page element according to a control operation supported by the specified device, and generates a corresponding control operation control according to the HTML page element. ; Use the control action controls to generate an HTML page.
  • the mobile communication terminal can search for the control operation supported by the smart TV of the model from the specified device data stored by itself, and generate a corresponding HTML page;
  • the information of the control operations supported by the mobile communication terminal is returned to the mobile communication terminal, and the mobile communication terminal can directly generate a corresponding HTML page based on the information.
  • the mobile communication terminal can also send the model information to the corresponding server through the wireless network to which it is connected, and then obtain the smart TV of the model from the server. Information about supported control operations, etc.
  • the mobile communication terminal monitors the user's operation on the HTML page through the HTML page; obtains the operation information through the DOM event of the HTML page, determines the control operation on the designated device according to the operation information, and generates a control operation instruction.
  • the operation control of the mobile communication device to the designated device is realized in the case of no server participation, and the existing controlled device is complicated to implement and has poor compatibility.
  • the problem of wasting resources the effect of simple implementation, good compatibility, and full utilization of equipment resources is achieved.
  • the mobile communication terminal of this embodiment includes: a first sending module 602, configured to send an information obtaining command to the network control server, where the network control server forwards the information obtaining command to the designated device, where the information obtaining command is used to obtain the designated device
  • the device information 604 is configured to receive feedback from the network control server on the information acquisition command, obtain an HTML page for performing control operations on the specified device, and perform control operations on the specified device through the HTML page, where the network control server pairs information The feedback of the get command is generated based on the device information returned by the specified device.
  • the obtaining module 604 is configured to receive the device information returned by the specified device by the network control server, determine a control operation supported by the specified device according to the device information, and receive and acquire the network control server to generate a corresponding operation according to the control operation supported by the specified device.
  • an HTML page or configured to receive, by the network control server, device information returned by the specified device, determine a control operation supported by the specified device according to the device information, and receive information about a control operation supported by the specified device sent by the network control server;
  • the information of the supported control operation generates a corresponding HTML page; or is configured to receive, by the network control server, device information returned by the specified device, where the device information carries information of a control operation supported by the specified device; and receives and acquires the network control server.
  • Controlling information receiving information of control operations supported by a specified device sent by the network control server; generating an HTML page based on information of control operations supported by the specified device.
  • the obtaining module 604 receives and acquires the corresponding HTML page generated by the network control server according to the control operation supported by the specified device, and receives and acquires the corresponding control HTML operation server according to the control operation supported by the specified device, and determines the corresponding HTML page.
  • the element generates a corresponding control operation control according to the HTML page element, and generates an HTML page by using the control operation control; or, the obtaining module 604 generates the corresponding HTML page according to the control operation supported by the specified device, according to the control supported by the specified device. Operation, determining the corresponding HTML page element, Generate corresponding control action controls based on HTML page elements; use control action controls to generate HTML pages.
  • the first sending module 602 is configured to send an information obtaining command to the network control server by using a WebSocket connection between the mobile communication terminal and the network control server; the network control server obtains an information obtaining command by using a WebSocket connection with the designated device. Forward to the specified device to obtain device information of the specified device.
  • the mobile communication terminal of this embodiment further includes: an identification module 606 configured to send an information acquisition command to the network control server in the first sending module 602, before the network control server forwards the information acquisition command to the designated device, from the network
  • the control server acquires at least one information of the specified device to be controlled, where the information of the specified device includes at least one of the following: a two-dimensional code of the specified device, an identifier of the designated device, an IP address of the designated device, and the information of the specified device is identified and Displaying the specified device; or configuring the network control server to identify the designated device according to the information of the designated device to be controlled; and obtaining information of the specified device identified by the network control server from the network control server.
  • the mobile communication terminal of the embodiment further includes: a positioning module 608 configured to send an information acquisition command to the network control server in the first sending module 602, before the network control server forwards the information acquisition command to the designated device, from the network
  • the control server obtains the registration information of the specified device, where the registration information of the specified device is the information that the specified device registers with the network control server; locates the specified device according to the registration information of the specified device; or, is configured to obtain the device identifier of the specified device, and configure the device
  • the identifier is sent to the network control server; the network control server identifies the specified device according to the device identifier, and returns a recognition result; and locates the designated device according to the returned recognition result.
  • the obtaining module 604 receives a control operation instruction for the user to perform a control operation on the designated device through the HTML page when performing the control operation on the specified device through the HTML page; and sends the control operation instruction to the network control server through the WebSocket connection, which is controlled by the network
  • the server forwards the control operation instruction to the designated device through the WebSocket connection, so that the designated device invokes the system API of the specified device through the NPAPI function to implement the control operation indicated by the control operation instruction according to the control operation instruction.
  • the obtaining module 604 receives the user to control the specified device through the HTML page.
  • the operation instruction is controlled, the operation of the HTML page is monitored by the HTML page; the information of the operation is obtained through the DOM event of the HTML page, the control operation of the specified device is determined according to the information of the operation, and the control operation instruction is generated. .
  • the mobile communication terminal in this embodiment is used to implement the corresponding device control method in the foregoing method embodiments, and has the beneficial effects of the corresponding method embodiments, and details are not described herein again.
  • the mobile communication terminal of this embodiment includes: a second sending module 702, configured to send an information obtaining command to a designated device that is successfully paired, where the information obtaining command is used to obtain device information of the specified device; and the generating module 704 is configured to be configured according to the specified
  • the device information returned by the device generates an HTML page for performing control operations on the specified device, and controls the specified device through an HTML page.
  • the mobile communication terminal of the embodiment further includes: a pairing module 706, configured to send a pairing request to the designated device before the second sending module 702 sends the information obtaining command to the designated device that successfully pairs, requesting to establish a pair with the designated device.
  • the connection wherein the pairing request includes information of the mobile communication terminal; receiving a pairing response returned by the designated device and carrying the information of the designated device, and establishing a paired connection with the designated device according to the pairing response.
  • the information of the mobile communication terminal comprises at least one of: a two-dimensional code of the mobile communication terminal, an identifier of the mobile communication terminal, an IP address of the mobile communication terminal; the information of the designated device includes at least one of the following: Code, the identifier of the specified device, and the IP address of the specified device.
  • the generating module 704 receives a control operation instruction for the user to perform a control operation on the designated device through the HTML page when performing the control operation on the specified device through the HTML page; and using the paired connection between the mobile communication terminal and the designated device to control the operation instruction Send to the specified device, so that the specified device performs control operations according to the control operation instructions.
  • the generating module 704 monitors the user's operation on the HTML page through the HTML page when receiving the control operation instruction that the user controls the specified device through the HTML page; and acquires the information of the operation through the DOM event of the HTML page, according to the The information of the operation determines a control operation for the designated device, and generates a control operation command.
  • the various component embodiments of the present invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof.
  • a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the device control scheme in accordance with embodiments of the present invention.
  • the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
  • a program implementing the present invention may be stored on a computer readable medium or may have the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

L'invention concerne un procédé de commande de communication, et un terminal de communication mobile. Le procédé de commande de communication comprend: la transmission, par le terminal de communication mobile, d'une commande d'acquisition d'informations, à un serveur de commande de réseau ; le transfert, par le serveur de commande de réseau, de la commande d'acquisition d'informations à un dispositif désigné, la commande d'acquisition d'informations étant utilisée pour acquérir des informations de dispositif du dispositif désigné ; la réception, par le terminal de communication mobile, d'une réaction sur la commande d'acquisition d'informations par le serveur de commandes de réseau, l'acquisition d'une page HTML devant être utilisée pour exécuter une opération de commande sur le dispositif, et l'exécution de l'opération de commande sur le dispositif désigné via la page HTML. La réaction sur la commande d'acquisition informations par le serveur de commande de réseau est générée sur la base des informations de dispositif retournées par le dispositif désigné. La présente invention permet au terminal mobile de commander plus simplement un dispositif commandé. Elle garantit une meilleure compatibilité ainsi qu'une utilisation complète des ressources de dispositif.
PCT/CN2013/084444 2012-12-12 2013-09-27 Procédé de commande de communication, et terminal de communication mobile WO2014090017A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210537736.3 2012-12-12
CN201210537736.3A CN103067448B (zh) 2012-12-12 2012-12-12 设备控制方法与移动通信终端

Publications (1)

Publication Number Publication Date
WO2014090017A1 true WO2014090017A1 (fr) 2014-06-19

Family

ID=48109902

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/084444 WO2014090017A1 (fr) 2012-12-12 2013-09-27 Procédé de commande de communication, et terminal de communication mobile

Country Status (2)

Country Link
CN (1) CN103067448B (fr)
WO (1) WO2014090017A1 (fr)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051693B (zh) * 2012-12-12 2016-12-21 北京奇虎科技有限公司 设备控制方法与移动通信终端
CN103067448B (zh) * 2012-12-12 2017-04-19 北京奇虎科技有限公司 设备控制方法与移动通信终端
CN104954449B (zh) * 2015-05-29 2019-12-10 深圳市常胜信息技术有限公司 物联网控制方法及装置
CN106101783A (zh) * 2016-05-24 2016-11-09 乐视控股(北京)有限公司 设备的控制方法和装置
CN105898893B (zh) * 2016-05-31 2020-09-22 北京乐美无限科技有限公司 一种移动终端与物联网设备全双工通信的方法
CN106790430A (zh) * 2016-12-02 2017-05-31 无锡久源软件股份有限公司 手机控制方法及系统
CN109120716A (zh) * 2018-09-25 2019-01-01 珠海格力电器股份有限公司 设备控制方法、装置、存储介质以及设备机组
CN110471743A (zh) * 2019-08-15 2019-11-19 北京莱利时空科技有限公司 移动操控处理方法和装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325612A (zh) * 2008-07-24 2008-12-17 中兴通讯股份有限公司 一种家庭网络的远程访问控制系统和方法
CN102685254A (zh) * 2012-05-31 2012-09-19 深圳英宝通科技有限公司 一种跨平台移动网络终端控制方法及其系统
CN102799473A (zh) * 2012-06-18 2012-11-28 Tcl集团股份有限公司 一种管理智能显示设备第三方应用的方法及装置
EP2530947A2 (fr) * 2011-06-03 2012-12-05 Samsung Electronics Co., Ltd. Appareil et procédé permettant d'effectuer une navigation web en utilisant un contrôleur à distance
CN103067448A (zh) * 2012-12-12 2013-04-24 北京奇虎科技有限公司 设备控制方法与移动通信终端

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1172485C (zh) * 2002-09-30 2004-10-20 联想(北京)有限公司 网络信息家电远程控制及安全认证装置和方法
KR101924974B1 (ko) * 2011-01-04 2018-12-04 삼성전자주식회사 이동통신 단말기에서 주변 디바이스를 원격 제어하기 위한 장치 및 방법
CN102739800A (zh) * 2012-07-05 2012-10-17 合一网络技术(北京)有限公司 基于互联网对浏览器Web页面进行遥控的系统和方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325612A (zh) * 2008-07-24 2008-12-17 中兴通讯股份有限公司 一种家庭网络的远程访问控制系统和方法
EP2530947A2 (fr) * 2011-06-03 2012-12-05 Samsung Electronics Co., Ltd. Appareil et procédé permettant d'effectuer une navigation web en utilisant un contrôleur à distance
CN102685254A (zh) * 2012-05-31 2012-09-19 深圳英宝通科技有限公司 一种跨平台移动网络终端控制方法及其系统
CN102799473A (zh) * 2012-06-18 2012-11-28 Tcl集团股份有限公司 一种管理智能显示设备第三方应用的方法及装置
CN103067448A (zh) * 2012-12-12 2013-04-24 北京奇虎科技有限公司 设备控制方法与移动通信终端

Also Published As

Publication number Publication date
CN103067448B (zh) 2017-04-19
CN103067448A (zh) 2013-04-24

Similar Documents

Publication Publication Date Title
WO2014090017A1 (fr) Procédé de commande de communication, et terminal de communication mobile
WO2014090016A1 (fr) Procédé de commande de dispositif et terminal de communication mobile
US10805380B2 (en) Data transmission method and device
WO2015161786A1 (fr) Procédé de commande à distance, serveur, dispositif de commande et système
WO2017211020A1 (fr) Procédé et appareil de commande de téléviseur
CN103049190B (zh) 一种移动通信终端及控制设备操作的方法
KR20150004867A (ko) 디바이스를 지능적으로 제어하는 방법, 장치, 및 시스템, 그리고 플러그앤플레이 디바이스
JP5757750B2 (ja) 頭部装着型表示装置及びクライアント装置
CN103051694B (zh) 移动通信终端控制设备的方法与移动通信终端
US8990404B2 (en) Directing data in a web browser from a portable electronic device
US11611633B2 (en) Systems and methods for platform-independent application publishing to a front-end interface
CN104038527A (zh) 远程操作方法和系统
CN104270662A (zh) 一种终端设备通过浏览器对智能电视进行控制的系统
WO2014180331A1 (fr) Procédé, dispositif et système de réalisation d'une saisie d'écran de page web
WO2017020523A1 (fr) Procédé et appareil de commande à distance de terminal
JP2016502338A (ja) ネットワーク接続パラメータの設定方法、装置、ネットワーク設備、プログラム及び記録媒体
WO2017096813A1 (fr) Procédé d'affichage de page web, terminal mobile, terminal intelligent, programme et support d'informations
CN103607654A (zh) 基于多屏协同系统的移动终端辅助输入装置及方法
WO2017059703A1 (fr) Procédé de commande d'appareil de réseau, appareil de réseau, téléphone polyvalent, et système
JP2016533550A (ja) 機器別応用プログラムの間の通信のための装置及び方法
WO2020228013A1 (fr) Procédé d'association de comptes, dispositif, système, serveur, et support de stockage
CN101707627A (zh) 一种呈现页面信息的方法及其装置
WO2017096812A1 (fr) Procédé d'affichage de page web, terminal mobile, terminal intelligent, programme informatique, et support de stockage
WO2018000623A1 (fr) Procédé et appareil de fonctionnement de page web
CN109714425A (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: 13863044

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13863044

Country of ref document: EP

Kind code of ref document: A1