Background
The application relates to an intelligent terminal, namely a mobile and portable intelligent terminal, which comprises an iPhone smart Phone, an Android smart Phone, a Windows Phone smart Phone, an iPad, an Android smart Phone, a Windows Phone tablet personal computer and the like; target controlled terminals including, but not limited to, outdoor/indoor large screens (advertising, information distribution screens, etc.), televisions (controlled by set-top boxes (STBs)), home smart appliances/homes (e.g., refrigerators, washing machines, air conditioners, lights/sounds, etc.).
As above, all terminals are distributed, independent and narrow control modes, for example, a television can only be controlled in a certain range by using a remote controller through an infrared mode, and household intelligent appliances are also controlled through respective unique remote controllers through respective communication modes and protocols. For the outdoor large-screen terminal, the application such as advertisement putting, information publishing and updating can only be operated physically on site, the operability is poor, time and labor are consumed, money is consumed, the application such as voting and evaluation can only adopt a short message sending or written mode to collect information, the controllability is not good for users in the industry, and the participation sense is not good for the users.
Disclosure of Invention
The application provides a method for controlling a target controlled terminal by an intelligent terminal, which realizes control of various target controlled terminals by uniformly adopting the intelligent terminal, greatly improves convenience and enhances user experience.
The method for controlling the target controlled terminal by the intelligent terminal provided by the embodiment of the application comprises the following steps:
A. setting corresponding concurrency requirements, safety requirements and selection of access modes according to the use scene and application characteristics of the target controlled terminal;
B. the intelligent terminal and the target controlled terminal are accessed into the wireless network according to the selected access mode;
C. the intelligent terminal establishes wireless connection with a target controlled terminal;
D. according to the type and the application scene of the target controlled terminal, the intelligent terminal controls the controlled terminal;
E. and after the control operation is finished, the intelligent terminal is disconnected with the target controlled terminal in a wireless mode.
Preferably, the target controlled terminal is a large-screen terminal used for displaying image-text information or playing video, and the concurrency requirement is set to be single-person access.
Preferably, the target controlled terminal is a voting terminal, and the concurrency requirement is multi-user concurrent access with a limited maximum access number.
Preferably, the access mode is Wifi, 3G or GPRS.
Preferably, the wireless connection between the intelligent terminal and the target controlled terminal is as follows: and the intelligent terminal scans the two-dimensional code corresponding to the target controlled terminal, inputs the uniform resource locator corresponding to the target controlled terminal or automatically discovers the target controlled terminal.
Preferably, the transmission protocol between the intelligent terminal and the target controlled terminal adopts a client/server mode or a browser/server mode.
Preferably, the wireless connection between the intelligent terminal and the target controlled terminal is disconnected in one of the following ways:
the intelligent terminal sends a request for disconnecting the wireless connection to the target controlled terminal, and the target controlled terminal disconnects the wireless connection with the intelligent terminal after receiving the request;
the target controlled terminal does not receive the message from the intelligent terminal within the preset time length, the target controlled terminal breaks the corresponding wireless connection, and relevant wireless resources are released; or,
and the target controlled terminal actively releases the wireless connection of the intelligent terminal.
According to the technical scheme, the intelligent terminal and the target controlled terminal establish wireless connection and realize control operation of the target controlled terminal according to the preset concurrency requirement and safety requirement. The scheme of the application can greatly facilitate the operation of the user, accords with the operation habit of the user and enhances the participation enthusiasm of the user.
Detailed Description
In order to make the technical principle, characteristics and technical effects of the technical scheme of the present application clearer, the technical scheme of the present application is explained in detail with reference to specific embodiments below.
The flow of the method for controlling the target controlled terminal by the intelligent terminal is shown in fig. 1, and the method comprises the following steps:
step 101: and setting corresponding concurrency requirements, safety requirements and selection of access modes according to the use scene and application characteristics of the target controlled end.
For example, for a large-screen terminal such as an electronic newspaper reading board and the like, relevant image-text information needs to be displayed on the large-screen terminal or videos need to be watched, and the large-screen terminal is suitable for being accessed by a single person, so that confusion caused by operation of multiple persons of the same person is avoided; for voting terminals or scenes adopting a B/S (browser/server) framework (a target controlled terminal is used as an HTTP server, browsed information is displayed on respective intelligent terminals), multi-user concurrent access with the maximum access number limited can be adopted according to the service performance of the target controlled terminal.
The security verification is carried out on the access terminal, a user name or a password can be required to be input, and anonymous access can be adopted for the voting large-screen terminal.
When the intelligent terminal is accessed, the access mode can be selected according to the application scene and the operation requirement, such as wireless access modes of Wifi, 3G, GPRS and the like.
Step 102: and the intelligent terminal and the target controlled terminal are accessed into the wireless network according to the selected access mode.
Step 103: and the intelligent terminal establishes wireless connection with the target controlled terminal.
The specific way of establishing the connection may be one of the following three ways: and scanning the two-dimensional code, and manually inputting the URL or automatically discovering the target controlled end.
The specific operation is that the intelligent terminal can start a corresponding APP client to scan the access two-dimensional code of the target controlled terminal, and also can manually input a Uniform Resource Locator (URL) corresponding to the target controlled terminal, and directly access the target controlled terminal through a corresponding application program (APP) or a browser, or automatically access the target controlled terminal through an automatic discovery mode, and according to the safety requirement, a user name or a password can be required to be input, and also can directly access anonymously.
The transmission protocol between the intelligent terminal and the target controlled terminal can adopt the following modes:
the first mode is as follows: in client/server (C/S) mode: the intelligent terminal takes an APP form as a client, the target controlled terminal serves as a server, and the communication between the APP form and the server and the target controlled terminal and the server can realize the communication between instructions and states through a Socket interface (Socket), including but not limited to file transmission (uploading files on the intelligent terminal to the target control terminal, and downloading files related to the target control terminal, such as log files, data files and the like, to the intelligent terminal), and video streaming (outputting video streaming to the intelligent terminal by the target control terminal, such as STB).
And a second mode: in browser/server (B/S) mode: the intelligent terminal accesses the HTTP service of the target controlled terminal through the browser to realize the control of the server and acquire related information from the server.
Step 104: and controlling the controlled terminal by the intelligent terminal according to the type and the application scene of the target controlled terminal.
Step 105: and after the control operation is finished, the intelligent terminal is disconnected with the target controlled terminal in a wireless mode.
The embodiment of the application provides three specific ways of disconnecting: the intelligent terminal sends a request for disconnecting the wireless connection to the target controlled terminal, and the target controlled terminal disconnects the wireless connection with the intelligent terminal after receiving the request; or the target controlled end does not receive the message from the intelligent terminal within the preset time length, the target controlled end disconnects the corresponding wireless connection, and releases the related wireless resources; and the target controlled terminal actively releases the connection of the intelligent terminal. The practical application may not be limited to this.
The following lists application scenarios to which the technical solution of the present application is applicable. The application scenario is only for example and is not intended to limit the application scheme thereto.
(1) The diagnosis, configuration and control of outdoor/indoor large screens and the popularization operation are realized through the intelligent terminal. Engineering personnel such as technical support and the like can realize fault diagnosis and configuration of the outdoor large screen through the intelligent terminal, and the fault diagnosis and configuration comprise the step of transmitting related media playing data through a wireless network. After the engineering personnel access the target controlled end through the intelligent terminal, the engineering personnel can enter the directory of the controlled end to remotely update the picture and video information of the engineering personnel, so that the remote operation of the engineering personnel is facilitated. For voting large-screen customers, common users can adopt familiar intelligent terminals to access the large-screen users through a wireless network, and the operation and control of the outdoor large-screen users, such as information browsing, retrieval, interactive voting, message leaving, evaluation and the like, are realized.
(2) The control of the household television is realized through the intelligent terminal. The mobile phone/PAD is used as an intelligent control terminal of the television, and various rich intelligent television control applications can be freely downloaded (or provided by an operator) on the mobile phone. All information, film flowers and ranking lists of various films can be browsed and searched through the intelligent terminal, and the information, the film flowers and the ranking lists comprise SNS communication, television voting interaction and the like of social television. The video being watched on the mobile phone can be conveniently switched to the television, and the current program on the television can be watched by 'sensing'/'feedback' on the mobile phone. Can effectively attract the most valuable young and middle-aged people and cater to the operation habits of the people. Meanwhile, the system is not limited to one STB in a living room, can be accessed to a radio and television network through WIFI, and can watch television through various intelligent control terminals; and the video can be accessed through a WIFI hotspot in a public area, and the video can be watched on demand at any time and any place.
(3) The centralized control of household intelligent appliances and intelligent home is realized through the intelligent terminal. Such as refrigerator, washing machine, air conditioner, light/sound, etc. The existing home control is dispersed, and an independent control terminal adopts an infrared mode to control a controlled terminal within a limited distance. And the intelligent control terminal only needs the target controlled terminal to comply with an industry standard interface, and can remotely operate the controlled terminal after the intelligent control terminal is connected into the target electrical appliance through Wifi, so that the troubles of various terminals and distances are eliminated.
By applying the technical scheme of the application, the following technical effects can be realized:
a. the operation of the user is greatly facilitated, the operation habit of the user is met, and the participation enthusiasm of the user is enhanced;
b. the cost of the outdoor large screen is greatly reduced, a touch screen or an operation device is not needed, the requirements on the installation position of the outdoor/indoor large screen and the like are looser, the outdoor/indoor large screen can be hung on a wall with a certain height, a user input device is omitted, the requirements on the space layout are saved and reduced, and the safety precaution is improved to a certain extent;
c. the system supports simultaneous wireless remote control of multiple persons, such as real-time participation in interaction, bonus voting and the like;
d. more convenient video watching and the use of household appliances are realized.
The above description is only a preferred embodiment of the present application and should not be taken as limiting the scope of the present application, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the technical solution of the present application should be included in the scope of the present application.