CN111669450B - Remote control method, device and system based on HTTP (hyper text transport protocol) - Google Patents

Remote control method, device and system based on HTTP (hyper text transport protocol) Download PDF

Info

Publication number
CN111669450B
CN111669450B CN202010733110.4A CN202010733110A CN111669450B CN 111669450 B CN111669450 B CN 111669450B CN 202010733110 A CN202010733110 A CN 202010733110A CN 111669450 B CN111669450 B CN 111669450B
Authority
CN
China
Prior art keywords
control
controlled terminal
bar code
module
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010733110.4A
Other languages
Chinese (zh)
Other versions
CN111669450A (en
Inventor
邹芳
曹磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN202010733110.4A priority Critical patent/CN111669450B/en
Publication of CN111669450A publication Critical patent/CN111669450A/en
Application granted granted Critical
Publication of CN111669450B publication Critical patent/CN111669450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • G06K17/0025Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to the technical field of data processing, and provides a remote control method, device and system based on an HTTP protocol, wherein the method comprises the following steps: the user terminal scans the bar code displayed by the controlled terminal and enters a control page corresponding to the bar code through a preset browser; the user terminal receives the triggered control operation through the control page and generates a control instruction corresponding to the control operation; the user terminal sends a control instruction to the server through an HTTP protocol; the server receives the control instruction and sends the control instruction to the controlled terminal through the HTTP protocol; the controlled terminal receives a control instruction through a preset control module; the controlled terminal converts the control instruction into a corresponding control handle through the control module; the controlled terminal controls the control object corresponding to the control instruction through the control handle. The scheme can be applied to smart cities, and remote control of the controlled terminal can be realized by utilizing the user terminal. Furthermore, the present application relates to blockchain techniques in which the control handle may be stored in the blockchain.

Description

Remote control method, device and system based on HTTP (hyper text transport protocol)
Technical Field
The application relates to the technical field of data processing and the technical field of blockchain, in particular to a remote control method, device and system based on an HTTP protocol.
Background
With the rapid development of mobile terminal technology, mobile terminals such as mobile phones and the like are indispensable communication tools in people's life. Currently, in some large exhibition places, such as trade exhibitions, enterprise experience halls, smart retail stores, etc., merchants often use relatively large terminal devices with large screen, for example, to present some novel web pages or applications to users for the purpose of sharing product or service messages related to enterprises. However, when the user has a need to operate the applications or web pages displayed on the terminal device, the user can only perform control operations on the terminal device body displaying the applications or web pages, and thus the control interaction mode for performing operations on the terminal device body lacks intelligence, and the user experience is poor. The existing control interaction mode with the terminal equipment cannot meet the increasing demands of users, users hope to realize remote control of applications or webpages on other terminals through own user terminals, but a technical means for realizing a scheme for realizing remote control of other terminals by using own terminals is not provided in the prior art so as to meet the demands of users.
Disclosure of Invention
The main objective of the present application is to provide a remote control method, device and system based on HTTP protocol, so as to solve the technical problems that when a user has a need to operate an application or a web page displayed on a terminal device, the existing control interaction mode for operating on a terminal device body lacks intelligence, the user experience is bad, and a technical means for implementing a scheme for implementing remote control on other terminals by using the user terminal is not yet proposed in the prior art.
The application provides a remote control method based on an HTTP protocol, which comprises the following steps:
the method comprises the steps that a user terminal scans a bar code displayed by a controlled terminal, and a control page corresponding to the bar code is entered through a preset browser;
the user terminal receives control operation triggered by a user through the control page and generates a control instruction corresponding to the control operation;
the user terminal sends the control instruction to the server through the HTTP protocol;
the server receives the control instruction and sends the control instruction to the controlled terminal through an HTTP protocol;
the controlled terminal receives the control instruction through a preset control module;
The controlled terminal converts the control instruction into a corresponding control handle through the control module;
and the controlled terminal controls the control object corresponding to the control instruction through the control handle.
Optionally, the step of the user terminal scanning the bar code displayed by the controlled terminal and entering a control page corresponding to the bar code through a preset browser includes:
the user terminal judges whether the bar code scanning operation triggered by the user is detected;
if judging that the bar code scanning operation triggered by the user is detected, the user terminal executes a scanning instruction corresponding to the bar code scanning operation and judges whether the bar code displayed by the controlled terminal is scanned or not;
if the user terminal judges that the bar code displayed by the controlled terminal is scanned, the bar code is analyzed to obtain corresponding address information;
and the user terminal enters the control page corresponding to the address information through the browser according to the address information.
Optionally, before the step of receiving the control instruction by the controlled terminal through a preset control module, the method includes:
the controlled terminal receives the input control code;
the controlled terminal generates a control module corresponding to the control code according to the control code;
And the controlled terminal integrates the control module internally.
Optionally, the step of converting, by the controlled terminal, the control instruction into a corresponding control handle by the control module includes:
the controlled terminal obtains control parameters corresponding to the control instructions through the control module;
the controlled terminal acquires character string information corresponding to the control parameters;
and the controlled terminal converts the control instruction into the control handle according to the character string information.
Optionally, after the step of receiving the control instruction by the controlled terminal through the preset control module, the method includes:
and the controlled terminal conceals the currently displayed bar code.
The application also provides a remote control device based on the HTTP protocol, which comprises a user terminal module, a server module and a controlled terminal module, wherein:
the user terminal module is used for scanning the bar code displayed by the controlled terminal and entering a control page corresponding to the bar code through a preset browser; receiving control operation triggered by a user through the control page, and generating a control instruction corresponding to the control operation; sending the control instruction to a server through an HTTP protocol;
The server module is used for receiving the control instruction and sending the control instruction to the controlled terminal through an HTTP protocol;
the controlled terminal module is used for receiving the control instruction through a preset control module; converting the control instruction into a corresponding control handle through the control module; and controlling the control object corresponding to the control instruction through the control handle.
The application also provides a remote control system based on the HTTP protocol, which comprises a user terminal, a server and a controlled terminal, wherein:
the user terminal is used for scanning the bar code displayed by the controlled terminal and entering a control page corresponding to the bar code through a preset browser; receiving control operation triggered by a user through the control page, and generating a control instruction corresponding to the control operation; sending the control instruction to a server through an HTTP protocol;
the server side is used for receiving the control instruction and sending the control instruction to the controlled terminal through an HTTP protocol;
the controlled terminal is used for receiving the control instruction through a preset control module; converting the control instruction into a corresponding control handle through the control module; and controlling the control object corresponding to the control instruction through the control handle.
Optionally, the remote control system based on HTTP protocol includes:
the user terminal is also used for judging whether the bar code scanning operation triggered by the user is detected; if the detection of the bar code scanning operation triggered by the user is judged, executing a scanning instruction corresponding to the bar code scanning operation, and judging whether the bar code displayed by the controlled terminal is scanned or not; if the bar code displayed by the controlled terminal is judged to be scanned, the bar code is analyzed to obtain corresponding address information; and entering the control page corresponding to the address information through the browser according to the address information.
Optionally, the remote control system based on HTTP protocol includes:
the controlled terminal is also used for receiving the input control code; generating a control module corresponding to the control code according to the control code; the control module is integrated internally.
Optionally, the remote control system based on HTTP protocol includes:
the controlled terminal is also used for acquiring control parameters corresponding to the control instructions through the control module; acquiring character string information corresponding to the control parameters; and converting the control instruction into the control handle according to the character string information.
Optionally, the remote control system based on HTTP protocol includes:
and the controlled terminal is also used for hiding the currently displayed bar code.
According to the remote control method, device and system based on the HTTP protocol, a user only needs to scan the bar code displayed by the controlled terminal through the user terminal, and then a control page generated in the browser of the user terminal triggers a required control operation, so that remote control of the controlled terminal corresponding to the bar code can be conveniently and rapidly realized according to the control operation. After receiving the control operation, the user terminal generates a control instruction corresponding to the control operation and sends the control instruction to the server through an HTTP protocol. And then the server side also sends the control instruction to the controlled terminal through the HTTP protocol, the controlled terminal can receive the control instruction through a preset control module, the control instruction is converted into a corresponding control handle through the control module, and a control object corresponding to the control instruction is controlled through the control handle, so that a user can intelligently and conveniently realize remote control of the controlled terminal by using the user terminal. In the process of realizing remote control, a user can perform remote control experience on the controlled terminal by using the user terminal to instantly scan the bar code displayed by the controlled terminal, and the remote control on the controlled terminal can be realized only through the browser in the user terminal without additional keyboards or other interactive equipment or additional application or connection data lines, so that the control efficiency on the controlled terminal is effectively improved, and the use experience of the user is also improved.
Drawings
Fig. 1 is a flow chart of a remote control method based on HTTP protocol according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a remote control device based on HTTP protocol according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a remote control system based on HTTP protocol according to an embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
The scheme can be applied to the field of smart cities, so that the construction of the smart cities is promoted.
Referring to fig. 1, an HTTP protocol-based remote control method according to an embodiment of the present application includes:
s1: the method comprises the steps that a user terminal scans a bar code displayed by a controlled terminal, and a control page corresponding to the bar code is entered through a preset browser;
s2: the user terminal receives control operation triggered by a user through the control page and generates a control instruction corresponding to the control operation;
s3: the user terminal sends the control instruction to the server through the HTTP protocol;
s4: the server receives the control instruction and sends the control instruction to the controlled terminal through an HTTP protocol;
S5: the controlled terminal receives the control instruction through a preset control module;
s6: the controlled terminal converts the control instruction into a corresponding control handle through the control module;
s7: and the controlled terminal controls the control object corresponding to the control instruction through the control handle.
As described in steps S1 to S7, the present embodiment relates to a remote control method based on the HTTP protocol, and the main body for executing the remote control method based on the HTTP protocol includes three types, namely, a user terminal, a server and a controlled terminal. Specifically, firstly, a user terminal scans a bar code displayed by a controlled terminal, and enters a control page corresponding to the bar code through a preset browser. The user terminal is an intelligent terminal held and used by a user, for example, a smart phone, and has a function of bar code scanning and analysis, and a preset browser capable of performing data transmission by using an HTTP protocol is installed inside the user terminal. The bar code includes identification information and address information corresponding to the controlled terminal, and the type of the bar code is not particularly limited and may include a one-dimensional bar code, a two-dimensional bar code (two-dimensional code), and the like. In addition, the control page is a special webpage corresponding to the controlled terminal, and all touch operations or control operations performed by the user on the control page are directly applied to the control object of the controlled terminal, so that the effect of remotely controlling the controlled terminal through the user terminal is achieved. And then the user terminal receives the control operation triggered by the user through the control page and generates a control instruction corresponding to the control operation. The control page includes control buttons corresponding to various control functions of the controlled terminal, and a user can touch any one or more control buttons according to the actual requirement of the user to control the functions of the controlled terminal. And then the user terminal sends the control instruction to the server through the HTTP protocol. After receiving the control instruction, the server side sends the control instruction to the controlled terminal through the HTTP protocol. Among other things, the HTTP (HyperTextTransfer Protocol ) protocol is an application layer protocol for distributed, collaborative, and hypermedia information systems. The HTTP service, that is, the HTTP protocol, is used to transfer control instructions between terminals, which is generally applicable to web pages or applications, without additional technical development. And finally, the controlled terminal controls the control object corresponding to the control instruction according to the received control instruction. The controlled terminal is a terminal for being controlled or controlled by a user, for example, the controlled terminal can be a large-screen television or a display machine, or a PC (personal computer) and the like; the control object includes a web page or an application. Specifically, the control implementation process of the controlled terminal for controlling the control object corresponding to the control instruction according to the received control instruction specifically includes: the controlled terminal receives the control instruction through a preset control module. The control module is integrated into the controlled terminal through a code layer, the control module is mainly used for receiving a control instruction forwarded by the server to realize information interaction between the controlled terminal and the server and between the controlled terminal and the user terminal, and the control module can control the controlled terminal to execute corresponding control operation according to the control instruction. And then the controlled terminal converts the control instruction into a corresponding control handle through the control module. The control handle is data for identifying the control parameters of the controlled terminal, and the control parameters of the controlled terminal can be controlled by calling the control handle, so that the aim that the control module can correspondingly control the controlled terminal according to the received control instruction is fulfilled. In addition, the control command can be analyzed to obtain a corresponding control parameter, and a control handle corresponding to the control command can be generated according to the control parameter. In addition, the control handle can be stored in a blockchain of a blockchain system, and the generated control handle is stored and managed by using the blockchain, so that the safety and the non-falsifiability of the control handle can be effectively ensured. When the control handle is obtained, the controlled terminal controls the control object corresponding to the control instruction through the control handle, and further the appointed content corresponding to the control instruction can be displayed in the control object. The controlled terminal can analyze and process the control instruction to obtain a control object corresponding to the control instruction. In addition, when the control module calls the control handle, the control parameters in the control instruction are converted into the control parameters in the control handle. For example, if the above control instruction is a pause instruction, among the control instructions, the control parameter corresponding to the pause instruction is pause. However, in the control handle, the control parameter representing the pause instruction is a specific character string different from the pause, and the control module invokes the specific character string corresponding to the pause, and determines the control handle having the mapping relation with the specific character string according to the specific character string, so that the pause control of the control object in the controlled terminal can be realized according to the obtained control handle. In addition, in order to avoid the confusion of the controlled terminal, one controlled terminal only receives remote control of one user terminal at a time, when the condition that the bar code displayed by one appointed controlled terminal is scanned by a plurality of user terminals occurs, the server side only responds to a remote control request initiated by the first appointed user terminal with the fastest scanning time according to the time sequence of scanning the bar code of each user terminal, namely, only successfully loads a control page corresponding to the bar code in a browser of the appointed user terminal, and sends connection failure information to other user terminals except the appointed user terminal so as to remind other users that the appointed controlled terminal is connected with the appointed user terminal currently and cannot be connected with other user terminals any more. The content of the connection failure information is not particularly limited, and may be, for example: connection failure, please try again later or attempt to connect to other machines. The embodiment can be applied to the field of smart cities, thereby promoting the construction of the smart cities. Through the embodiment, a user can conveniently and rapidly realize remote control of the controlled terminal corresponding to the bar code through the browser by only scanning the bar code displayed by the controlled terminal through the user terminal, and the problems of high experience cost and high management difficulty when the user interacts with a customer in a commercial environment can be effectively solved. In addition, through the controlled terminal with the large screen system, products or services of enterprises are displayed through the controlled terminal, when on-site customer users have the requirement of experiencing the products, namely the requirement of operating the application or the webpage displayed on the terminal equipment, the user terminal of the user terminal can instantly scan the bar code displayed by the controlled terminal to remotely control the controlled terminal, no additional keyboard or other interactive equipment is needed, no additional application is needed for the user terminal, the control experience can be realized only through the browser in the user terminal, no direct relation with the mobile phone system and configuration exists, and the compatibility is better. From the perspective of a user, only the user terminal of the user is needed to be used when the remote control of the controlled terminal is performed, and no additional control application or data line connection is needed to be installed, so that the remote control system more accords with the control habit of the user, and has higher efficiency and better experience. And when the remote control is performed, the equipment purchasing cost and the management cost are greatly saved as no additional interactive equipment support is needed.
Further, in an embodiment of the present application, the step S1 of the user terminal scanning the bar code displayed by the controlled terminal and entering the control page corresponding to the bar code through the preset browser includes:
s100: the user terminal judges whether the bar code scanning operation triggered by the user is detected;
s101: if judging that the bar code scanning operation triggered by the user is detected, the user terminal executes a scanning instruction corresponding to the bar code scanning operation and judges whether the bar code displayed by the controlled terminal is scanned or not;
s102: if the user terminal judges that the bar code displayed by the controlled terminal is scanned, the bar code is analyzed to obtain corresponding address information;
s103: and the user terminal enters the control page corresponding to the address information through the browser according to the address information.
As described in the steps S100 to S103, the step of the user terminal scanning the bar code displayed by the controlled terminal and entering the control page corresponding to the bar code through the preset browser may specifically include: the user terminal first determines whether a user-triggered bar code scanning operation is detected. The triggering mode of the barcode scanning operation is not particularly limited, and for example, a mode of pressing a physical button or a virtual button, a mode of inputting voice, and the like can be adopted. And if the user terminal judges that the bar code scanning operation triggered by the user is detected, executing a scanning instruction corresponding to the bar code scanning operation, and judging whether the bar code displayed by the controlled terminal is scanned. The bar code displayed by the controlled terminal is automatically generated after the control module is integrated in the controlled terminal, and the bar code comprises the identity information of the server end to the controlled terminal and the address information corresponding to the control object in the controlled terminal. And if the user terminal judges that the bar code displayed by the controlled terminal is scanned, the bar code is analyzed to obtain the corresponding address information. And finally, when the address information is obtained, the user terminal enters the control page corresponding to the address information through the browser according to the address information, so that a subsequent user can perform corresponding touch operation on the control page to realize remote control on the controlled terminal, the intelligence and the simplicity of the remote control of the terminal are effectively improved, and the use experience of the user is improved.
Further, in an embodiment of the present application, before step S5 of receiving, by the controlled terminal, the control instruction through a preset control module, the method includes:
s500: the controlled terminal receives the input control code;
s501: the controlled terminal generates a control module corresponding to the control code according to the control code;
s502: and the controlled terminal integrates the control module internally.
As described in the above steps S500 to S502, before the step of receiving the control instruction by the controlled terminal through the preset control module, the method further includes a generating process for generating the control module. Specifically, the controlled terminal first receives an input control code. The control codes can be written and input into the controlled terminal by a developer according to actual service requirements. And then the controlled terminal generates a corresponding control module according to the control code. The control module can be generated by acquiring the control function corresponding to the user demand through the control code and writing the control interface corresponding to the control function corresponding to the user demand into a preset module template. And finally, when the control module is generated, the controlled terminal integrates the control module internally. The control module is integrated into the controlled terminal through a code layer, the main function of the control module is to transmit control instructions sent by a user through the user terminal to the controlled terminal, the control interfaces of different controlled terminals are specific, the control information can be transmitted only through the integrated control module, and otherwise, interaction of control objects in the controlled terminal cannot be controlled. According to the embodiment, the corresponding control module is generated according to the input control code, and the control module is integrated in the controlled terminal, so that the control instruction forwarded by the server is converted into the corresponding control handle through the control module, the control object corresponding to the control command in the controlled terminal is controlled through the control handle, the appointed content corresponding to the control instruction is displayed in the control object, and the user can send the control instruction through the user terminal to complete remote control of the controlled terminal, so that the intelligence and simplicity of remote control of the terminal are effectively improved.
Further, in an embodiment of the present application, step S6 of converting, by the controlled terminal, the control instruction into a corresponding control handle through the control module includes:
s600: the controlled terminal obtains control parameters corresponding to the control instructions through the control module;
s601: the controlled terminal acquires character string information corresponding to the control parameters;
s602: and the controlled terminal converts the control instruction into the control handle according to the character string information.
As described in steps S600 to S602, the step of converting, by the control module, the control instruction into a corresponding control handle may specifically include: firstly, the controlled terminal obtains the control parameters corresponding to the control instructions through the control module. The control instruction is analyzed and processed, and control parameters corresponding to the control instruction are extracted. For example, if the control instruction is a pause instruction, the control parameter corresponding to the pause instruction may be extracted as pause after analysis. And then the controlled terminal acquires the character string information corresponding to the control parameters. When the specific parameter content corresponding to the control parameter corresponding to the control instruction is known, the character string information having a mapping relation with the specific parameter content can be extracted according to the specific parameter content. And finally, the controlled terminal converts the control instruction into the control handle according to the character string information, so that the controlled terminal can control a control object corresponding to the control instruction in the controlled terminal through the control handle, and display specified content corresponding to the control instruction in the control object, thereby intelligently and simply using the user terminal to realize remote control of the controlled terminal corresponding to the bar code. When the character string information corresponding to the control parameter in the control instruction is obtained, the control handle with the mapping relation with the character string information can be determined according to the character string information.
In an embodiment of the present application, after the step S500 of receiving the input control code by the controlled terminal, the method includes:
s503: and the controlled terminal stores the control code to a blockchain of the blockchain system.
After the controlled terminal receives the input control code, the controlled terminal may also perform secure storage processing on the received control code based on the blockchain to implement secure storage of the control code, as described in step S503. Specifically, after the step of receiving the input control code by the controlled terminal, the method may further include: and the controlled terminal stores the control codes to a block chain of the block chain system. The embodiment effectively ensures the security and the non-falsifiability of the received control codes by using the blockchain to store and manage the received control codes.
Further, in an embodiment of the present application, after step S5 of receiving, by the controlled terminal, the control instruction through a preset control module, the method includes:
s510: and the controlled terminal conceals the currently displayed bar code.
As described in step S510, after receiving the control instruction through the preset control module, the controlled terminal determines that the control instruction sent by the server is received, and may further include a hiding process for hiding the currently displayed barcode. Specifically, after the step of receiving the control instruction by the controlled terminal through the preset control module, the step of hiding the currently displayed bar code is included. The bar code comprises identity information and address information corresponding to the controlled terminal, and the bar code is displayed in a display interface of the controlled terminal after being generated so as to be scanned and connected by a user. When receiving a control instruction sent by a server through a preset control module, the controlled terminal in the embodiment indicates that a user terminal which establishes a control connection relationship with the controlled terminal exists currently, and then the controlled terminal can intelligently hide the currently displayed bar code in the display interface, so that other users are prevented from influencing the control operation of the current user terminal by scanning the bar code, and the disordered request of the remote control process caused by the fact that a plurality of users scan the bar code of the same controlled terminal is avoided, and the smoothness of the remote control operation of the user terminal on the controlled terminal is effectively ensured.
Further, after the controlled terminal controls the control object corresponding to the control instruction through the control handle, if it is determined that the control connection relationship between the user terminal and the controlled terminal is released, the controlled terminal intelligently restores the original state, and the display state of the bar code is displayed in the display interface. Specifically, after the step of the controlled terminal controlling the control object corresponding to the control instruction through the control handle, the method includes: and judging whether a new control instruction sent by the server is received in a preset time period. The content of the new control command may be the same as or different from that of the control command, but the appearance time of the new control command is after the control command. In addition, the above-mentioned preset period of time is not particularly limited, and may be set according to actual conditions, for example, may be set to 3 minutes. If the fact that the new control instruction sent by the server side is not received within the preset time period is judged, the controlled terminal judges that the user terminal finishes the remote control operation on the controlled terminal, and cancels the display of the specified content corresponding to the control object, and the bar code is displayed in the display interface again. According to the method and the device, when the new control instruction sent by the server is not received in the preset time period, the user terminal can be intelligently judged to be in control connection relation with the controlled terminal, and then the bar code can be displayed in the display interface again later, so that other users can conveniently and rapidly realize new remote control of the controlled terminal by scanning the bar code, and continuous fluency of remote control of the controlled terminal is effectively guaranteed.
Referring to fig. 2, in an embodiment of the present application, there is further provided a remote control device based on HTTP protocol, including a user terminal module 1, a server module 2, and a controlled terminal module 3, where:
the user terminal module is used for scanning the bar code displayed by the controlled terminal and entering a control page corresponding to the bar code through a preset browser; receiving control operation triggered by a user through the control page, and generating a control instruction corresponding to the control operation; sending the control instruction to a server through an HTTP protocol;
the server module is used for receiving the control instruction and sending the control instruction to the controlled terminal through an HTTP protocol;
the controlled terminal module is used for receiving the control instruction through a preset control module; converting the control instruction into a corresponding control handle through the control module; and controlling the control object corresponding to the control instruction through the control handle.
In this embodiment, the operations performed by the user terminal module, the server terminal module, and the controlled terminal module are in one-to-one correspondence with steps S1 to S7 in the HTTP protocol-based remote control method in the foregoing embodiment, and are not described herein again.
Referring to fig. 3, in an embodiment of the present application, there is further provided a remote control system based on HTTP protocol, including a user terminal 10, a server 20, and a controlled terminal 30, where:
the user terminal is used for scanning the bar code displayed by the controlled terminal and entering a control page corresponding to the bar code through a preset browser; receiving control operation triggered by a user through the control page, and generating a control instruction corresponding to the control operation; sending the control instruction to a server through an HTTP protocol;
the server side is used for receiving the control instruction and sending the control instruction to the controlled terminal through an HTTP protocol;
the controlled terminal is used for receiving the control instruction through a preset control module; converting the control instruction into a corresponding control handle through the control module; and controlling the control object corresponding to the control instruction through the control handle. In this embodiment, the operations performed by the user terminal, the server, and the controlled terminal are in one-to-one correspondence with steps S1 to S7 in the HTTP protocol-based remote control method in the foregoing embodiment, which are not described herein again.
Further, in an embodiment of the present application, the remote control system based on HTTP protocol includes:
The user terminal is also used for judging whether the bar code scanning operation triggered by the user is detected; if the detection of the bar code scanning operation triggered by the user is judged, executing a scanning instruction corresponding to the bar code scanning operation, and judging whether the bar code displayed by the controlled terminal is scanned or not; if the bar code displayed by the controlled terminal is judged to be scanned, the bar code is analyzed to obtain corresponding address information; and entering the control page corresponding to the address information through the browser according to the address information.
In this embodiment, the operations performed by the user terminal are in one-to-one correspondence with steps S100 to S103 in the HTTP protocol-based remote control method in the foregoing embodiment, and are not described herein again.
Further, in an embodiment of the present application, the remote control system based on HTTP protocol includes:
the controlled terminal is also used for receiving the input control code; generating a control module corresponding to the control code according to the control code; the control module is integrated internally.
In this embodiment, the operations performed by the controlled terminal are in one-to-one correspondence with steps S500 to S502 in the HTTP protocol-based remote control method in the foregoing embodiment, and are not described herein again.
Further, in an embodiment of the present application, the remote control system based on HTTP protocol includes:
the controlled terminal is also used for acquiring control parameters corresponding to the control instructions through the control module; acquiring character string information corresponding to the control parameters; and converting the control instruction into the control handle according to the character string information.
In this embodiment, the operations performed by the controlled terminal are in one-to-one correspondence with steps S600 to S602 in the HTTP protocol-based remote control method in the foregoing embodiment, and are not described herein again.
Further, in an embodiment of the present application, the remote control system based on HTTP protocol includes:
and the controlled terminal is also used for storing the control codes to a blockchain of the blockchain system.
In this embodiment, the operation performed by the controlled terminal corresponds to step S503 in the HTTP protocol-based remote control method in the foregoing embodiment one by one, which is not described herein.
Further, in an embodiment of the present application, the remote control system based on HTTP protocol includes:
and the controlled terminal is also used for hiding the currently displayed bar code.
In this embodiment, the operation performed by the controlled terminal corresponds to step S510 in the HTTP protocol-based remote control method in the foregoing embodiment one by one, which is not described herein.
Further, after the controlled terminal controls the control object corresponding to the control instruction through the control handle, if it is determined that the control connection relationship between the user terminal and the controlled terminal is released, the controlled terminal intelligently restores the original state, and the display state of the bar code is displayed in the display interface. Specifically, after the step of the controlled terminal controlling the control object corresponding to the control instruction through the control handle, the method includes: and judging whether a new control instruction sent by the server is received in a preset time period. The content of the new control command may be the same as or different from that of the control command, but the appearance time of the new control command is after the control command. In addition, the above-mentioned preset period of time is not particularly limited, and may be set according to actual conditions, for example, may be set to 3 minutes. If the fact that the new control instruction sent by the server side is not received within the preset time period is judged, the controlled terminal judges that the user terminal finishes the remote control operation on the controlled terminal, and cancels the display of the specified content corresponding to the control object, and the bar code is displayed in the display interface again. According to the method and the device, when the new control instruction sent by the server is not received in the preset time period, the user terminal can be intelligently judged to be in control connection relation with the controlled terminal, and then the bar code can be displayed in the display interface again later, so that other users can conveniently and rapidly realize new remote control of the controlled terminal by scanning the bar code, and continuous fluency of remote control of the controlled terminal is effectively guaranteed.
In summary, according to the remote control method, device and system based on the HTTP protocol provided in the embodiments of the present application, a user terminal scans a bar code displayed by a controlled terminal, and enters a control page corresponding to the bar code through a preset browser; the user terminal receives control operation triggered by a user through the control page and generates a control instruction corresponding to the control operation; the user terminal sends the control instruction to the server through the HTTP protocol; the server receives the control instruction and sends the control instruction to the controlled terminal through an HTTP protocol; the controlled terminal receives the control instruction through a preset control module; the controlled terminal converts the control instruction into a corresponding control handle through the control module; and the controlled terminal controls the control object corresponding to the control instruction through the control handle. Through the embodiment of the application, a user can conveniently and rapidly realize remote control of the controlled terminal corresponding to the bar code through the browser by only scanning the bar code displayed by the controlled terminal through the user terminal, and the problems of high experience cost and high management difficulty when the user interacts with a customer in a commercial environment can be effectively solved. In addition, through the controlled terminal with the large screen system, products or services of enterprises are displayed through the controlled terminal, when on-site customer users have the requirement of experiencing the products, namely the requirement of operating the application or the webpage displayed on the terminal equipment, the user terminal of the user terminal can instantly scan the bar code displayed by the controlled terminal to remotely control the controlled terminal, no additional keyboard or other interactive equipment is needed, no additional application is needed for the user terminal, the control experience can be realized only through the browser in the user terminal, no direct relation with the mobile phone system and configuration exists, and the compatibility is better. From the perspective of a user, only the user terminal of the user is needed to be used when the remote control of the controlled terminal is performed, and no additional control application or data line connection is needed to be installed, so that the remote control system more accords with the control habit of the user, and has higher efficiency and better experience. And when the remote control is performed, the equipment purchasing cost and the management cost are greatly saved as no additional interactive equipment support is needed.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm and the like. The Blockchain (Blockchain), which is essentially a decentralised database, is a string of data blocks that are generated by cryptographic means in association, each data block containing a batch of information of network transactions for verifying the validity of the information (anti-counterfeiting) and generating the next block. The blockchain may include a blockchain underlying platform, a platform product services layer, an application services layer, and the like.
The blockchain underlying platform may include processing modules for user management, basic services, smart contracts, operation monitoring, and the like. The user management module is responsible for identity information management of all blockchain participants, including maintenance of public and private key generation (account management), key management, maintenance of corresponding relation between the real identity of the user and the blockchain address (authority management) and the like, and under the condition of authorization, supervision and audit of transaction conditions of certain real identities, and provision of rule configuration (wind control audit) of risk control; the basic service module is deployed on all block chain node devices, is used for verifying the validity of a service request, recording the service request on a storage after the effective request is identified, for a new service request, the basic service firstly analyzes interface adaptation and authenticates the interface adaptation, encrypts service information (identification management) through an identification algorithm, and transmits the encrypted service information to a shared account book (network communication) in a complete and consistent manner, and records and stores the service information; the intelligent contract module is responsible for registering and issuing contracts, triggering contracts and executing contracts, a developer can define contract logic through a certain programming language, issue the contract logic to a blockchain (contract registering), invoke keys or other event triggering execution according to the logic of contract clauses to complete the contract logic, and simultaneously provide a function of registering contract upgrading; the operation monitoring module is mainly responsible for deployment in the product release process, modification of configuration, contract setting, cloud adaptation and visual output of real-time states in product operation, for example: alarms, monitoring network conditions, monitoring node device health status, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, system, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, system, article, or method. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, system, article, or method that comprises the element.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (6)

1. A remote control method based on HTTP protocol, comprising:
the method comprises the steps that a user terminal scans a bar code displayed by a controlled terminal, and a control page corresponding to the bar code is entered through a preset browser; the control page comprises control buttons respectively corresponding to a plurality of control functions of the controlled terminal; the control page is a special webpage corresponding to the controlled terminal;
The user terminal receives control operation triggered by a user through the control page and generates a control instruction corresponding to the control operation;
the user terminal sends the control instruction to the server through the HTTP protocol;
the server receives the control instruction and sends the control instruction to the controlled terminal through an HTTP protocol;
the controlled terminal receives the control instruction through a preset control module;
the controlled terminal converts the control instruction into a corresponding control handle through the control module;
the controlled terminal controls a control object corresponding to the control instruction through the control handle;
before the step that the controlled terminal receives the control instruction through a preset control module, the method comprises the following steps:
the controlled terminal receives the input control code;
the controlled terminal generates a control module corresponding to the control code according to the control code; the control module is used for generating a control module according to the control code, wherein the control function corresponding to the user demand is obtained through the control code, and then a control interface corresponding to the control function corresponding to the user demand is written into a preset module template;
the controlled terminal integrates the control module internally;
The step of converting the control instruction into a corresponding control handle by the controlled terminal through the control module comprises the following steps:
the controlled terminal obtains control parameters corresponding to the control instructions through the control module;
the controlled terminal acquires character string information corresponding to the control parameters;
and the controlled terminal converts the control instruction into the control handle according to the character string information.
2. The HTTP protocol-based remote control method according to claim 1, wherein the step of the user terminal scanning a bar code displayed by the controlled terminal and entering a control page corresponding to the bar code through a preset browser, includes:
the user terminal judges whether the bar code scanning operation triggered by the user is detected;
if judging that the bar code scanning operation triggered by the user is detected, the user terminal executes a scanning instruction corresponding to the bar code scanning operation and judges whether the bar code displayed by the controlled terminal is scanned or not;
if the user terminal judges that the bar code displayed by the controlled terminal is scanned, the bar code is analyzed to obtain corresponding address information;
and the user terminal enters the control page corresponding to the address information through the browser according to the address information.
3. The HTTP protocol-based remote control method according to claim 1, wherein after the step of the controlled terminal receiving the control instruction through a preset control module, comprising:
and the controlled terminal conceals the currently displayed bar code.
4. The remote control device based on the HTTP protocol is characterized by comprising a user terminal module, a server module and a controlled terminal module, wherein:
the user terminal module is used for scanning the bar code displayed by the controlled terminal and entering a control page corresponding to the bar code through a preset browser; receiving control operation triggered by a user through the control page, and generating a control instruction corresponding to the control operation; sending the control instruction to a server through an HTTP protocol; the control page comprises control buttons respectively corresponding to a plurality of control functions of the controlled terminal; the control page is a special webpage corresponding to the controlled terminal;
the server module is used for receiving the control instruction and sending the control instruction to the controlled terminal through an HTTP protocol;
the controlled terminal module is used for receiving the control instruction through a preset control module; converting the control instruction into a corresponding control handle through the control module; controlling a control object corresponding to the control instruction through the control handle;
Before the step that the controlled terminal receives the control instruction through a preset control module, the method comprises the following steps:
the controlled terminal receives the input control code;
the controlled terminal generates a control module corresponding to the control code according to the control code; the control module is used for generating a control module according to the control code, wherein the control function corresponding to the user demand is obtained through the control code, and then a control interface corresponding to the control function corresponding to the user demand is written into a preset module template;
the controlled terminal integrates the control module internally;
the step of converting the control instruction into a corresponding control handle by the controlled terminal through the control module comprises the following steps:
the controlled terminal obtains control parameters corresponding to the control instructions through the control module;
the controlled terminal acquires character string information corresponding to the control parameters;
and the controlled terminal converts the control instruction into the control handle according to the character string information.
5. The remote control system based on the HTTP protocol is characterized by comprising a user terminal, a server and a controlled terminal, wherein:
the user terminal is used for scanning the bar code displayed by the controlled terminal and entering a control page corresponding to the bar code through a preset browser; receiving control operation triggered by a user through the control page, and generating a control instruction corresponding to the control operation; sending the control instruction to a server through an HTTP protocol; the control page comprises control buttons respectively corresponding to a plurality of control functions of the controlled terminal; the control page is a special webpage corresponding to the controlled terminal;
The server side is used for receiving the control instruction and sending the control instruction to the controlled terminal through an HTTP protocol;
the controlled terminal is used for receiving the control instruction through a preset control module; converting the control instruction into a corresponding control handle through the control module; controlling a control object corresponding to the control instruction through the control handle;
the controlled terminal is also used for receiving the input control code; generating a control module corresponding to the control code according to the control code; integrating the control module internally; the control module is used for generating a control module according to the control code, wherein the control function corresponding to the user demand is obtained through the control code, and then a control interface corresponding to the control function corresponding to the user demand is written into a preset module template;
the controlled terminal is also used for acquiring control parameters corresponding to the control instructions through the control module; acquiring character string information corresponding to the control parameters; and converting the control instruction into the control handle according to the character string information.
6. The HTTP protocol-based remote control system according to claim 5, comprising:
The user terminal is also used for judging whether the bar code scanning operation triggered by the user is detected; if the detection of the bar code scanning operation triggered by the user is judged, executing a scanning instruction corresponding to the bar code scanning operation, and judging whether the bar code displayed by the controlled terminal is scanned or not; if the bar code displayed by the controlled terminal is judged to be scanned, the bar code is analyzed to obtain corresponding address information; and entering the control page corresponding to the address information through the browser according to the address information.
CN202010733110.4A 2020-07-27 2020-07-27 Remote control method, device and system based on HTTP (hyper text transport protocol) Active CN111669450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010733110.4A CN111669450B (en) 2020-07-27 2020-07-27 Remote control method, device and system based on HTTP (hyper text transport protocol)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010733110.4A CN111669450B (en) 2020-07-27 2020-07-27 Remote control method, device and system based on HTTP (hyper text transport protocol)

Publications (2)

Publication Number Publication Date
CN111669450A CN111669450A (en) 2020-09-15
CN111669450B true CN111669450B (en) 2023-07-28

Family

ID=72392882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010733110.4A Active CN111669450B (en) 2020-07-27 2020-07-27 Remote control method, device and system based on HTTP (hyper text transport protocol)

Country Status (1)

Country Link
CN (1) CN111669450B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253845A (en) * 2013-06-28 2014-12-31 腾讯科技(北京)有限公司 Method and terminal for remotely controlling application
CN104284230A (en) * 2014-08-18 2015-01-14 四川长虹电器股份有限公司 Play control system and method for television
CN109495794A (en) * 2018-10-19 2019-03-19 视联动力信息技术股份有限公司 A kind of view networked terminals control method and system
CN110730208A (en) * 2019-09-16 2020-01-24 深圳市国信合成科技有限公司 Local device calling method and device, storage medium and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104253845A (en) * 2013-06-28 2014-12-31 腾讯科技(北京)有限公司 Method and terminal for remotely controlling application
CN104284230A (en) * 2014-08-18 2015-01-14 四川长虹电器股份有限公司 Play control system and method for television
CN109495794A (en) * 2018-10-19 2019-03-19 视联动力信息技术股份有限公司 A kind of view networked terminals control method and system
CN110730208A (en) * 2019-09-16 2020-01-24 深圳市国信合成科技有限公司 Local device calling method and device, storage medium and device

Also Published As

Publication number Publication date
CN111669450A (en) 2020-09-15

Similar Documents

Publication Publication Date Title
US6360253B1 (en) Split personal computer system
TW436733B (en) Content configurable and collaborative kiosk
CN105378768A (en) Proximity and context aware mobile workspaces in enterprise systems
KR102174392B1 (en) Work support system and method with screen sharing and development system for multi-platform application
US20210217076A1 (en) Interactive Kiosk System
KR102185800B1 (en) Work support system and method with device sharing and development system for multi-platform application
US20110154423A1 (en) Split personal computer system
KR102281338B1 (en) Menagement system of product safety information
CN110351225A (en) A kind of networking method of hardware device, device, system and storage medium
JP2009104264A (en) Log-in authentication method, log-in authentication server, and log-in authentication program
KR101771956B1 (en) One-Click Platform based Intelligent integrated automation systems for public services, and method thereof
CN111669450B (en) Remote control method, device and system based on HTTP (hyper text transport protocol)
CN110515574B (en) Apparatus, method and system for interacting with at least one computer
JP2018013941A (en) Electronic application support system, electronic application support method and electronic application support program
CN109074229A (en) The printing of encrypted document is carried out using multiple networks
CN100359849C (en) Net aid system and implementing method therefor
CN107431697A (en) The interactive system and device realized based on biological characteristic
CN108768742A (en) Network establishing method and device, electronic equipment, storage medium
CN211236847U (en) Man-machine interaction system of electromechanical equipment on expressway based on AR technology
CN113420133A (en) Session processing method, device, equipment and storage medium
JP2003005823A (en) Method for remote monitoring and operation apparatus for supervisory control
CN113553820A (en) Information processing method, equipment and computer readable storage medium
JP6088101B1 (en) Electronic application support server, electronic application support method, and electronic application support program
KR100946708B1 (en) System of Guiding Visitor and Method there of
KR101770352B1 (en) Electronic document service providing system

Legal Events

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