Movatterモバイル変換


[0]ホーム

URL:


CN112218279B - Method and device for controlling display terminal by multi-protocol handheld terminal - Google Patents

Method and device for controlling display terminal by multi-protocol handheld terminal
Download PDF

Info

Publication number
CN112218279B
CN112218279BCN202011098878.5ACN202011098878ACN112218279BCN 112218279 BCN112218279 BCN 112218279BCN 202011098878 ACN202011098878 ACN 202011098878ACN 112218279 BCN112218279 BCN 112218279B
Authority
CN
China
Prior art keywords
terminal
wireless communication
display terminal
handheld terminal
communication protocol
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
CN202011098878.5A
Other languages
Chinese (zh)
Other versions
CN112218279A (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.)
Fujian Xiaofei Technology Co ltd
Original Assignee
Fujian Xiaofei Technology Co 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 Fujian Xiaofei Technology Co ltdfiledCriticalFujian Xiaofei Technology Co ltd
Priority to CN202011098878.5ApriorityCriticalpatent/CN112218279B/en
Publication of CN112218279ApublicationCriticalpatent/CN112218279A/en
Application grantedgrantedCritical
Publication of CN112218279BpublicationCriticalpatent/CN112218279B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention relates to a control method of a multi-protocol handheld terminal to a display terminal, which comprises the following steps: confirming a first wireless communication protocol according to hardware configuration of the handheld terminal and the display terminal; the first wireless communication protocol is used for transmitting a control command of the handheld terminal to the display terminal; confirming a second wireless communication protocol; the handheld terminal transmits the image data to the display terminal through a second wireless communication protocol; if the first wireless communication protocol is different from the second wireless communication protocol, the handheld terminal transmits configuration information required by the pairing connection of the second wireless communication protocol to the display terminal through the first wireless communication protocol.

Description

Method and device for controlling display terminal by multi-protocol handheld terminal
Technical Field
The invention relates to a method and equipment for controlling a display terminal by a multi-protocol handheld terminal, and belongs to the field of Internet of things.
Background
Display terminals typically use a liquid crystal screen or an ink screen as a display screen. The two screens display different image data formats and the required data transfer rates are different. The liquid crystal display has high power consumption, high data transmission rate requirement and more supported wireless communication protocol types (WiFi, bluetooth, NFC and the like); the ink screen has low power consumption and low data transmission rate requirement, and only the Bluetooth protocol is usually supported.
The prior art basically realizes control and data transmission of the display terminal by the following two methods. The cloud server uploads the data resources to the cloud server, and a user controls the display terminal to access the cloud through the handheld terminal, so that selected data are obtained. Cloud services have the following drawbacks: 1. user data is stored in a cloud server, is easy to hack or leak by staff, and has poor safety; 2. the cloud server is influenced by periodic and unpredictable factors to interrupt service, so that the stability is poor; 3. display terminal play jamming or even no picture caused by network delay and interruption; 4. the long-term renting cloud service is high in cost. And secondly, the connection between the handheld terminal and the display terminal is directly established through short-range wireless communication protocols such as Bluetooth, wiFi, NFC, zigbee, WIDI and the like so as to carry out corresponding control and data transmission. The defects are as follows: the application ranges of the communication protocols are different, and only a small part of display terminals and handheld terminals support NFC, zigbee, WIDI and other communication protocols.
The patent publication No. CN103684546A, a method and a system for pairing wireless user terminals, discloses a method for transmitting key information of unpaired short-range wireless communication modules by establishing connection between any two short-range wireless communication modules; and establishing pairing connection between the corresponding short-distance wireless communication modules by utilizing the key information. Data is transmitted over the recently paired communication channel or the user selected communication channel and displayed via the display screen of the source wireless user terminal. The patent achieves a fast pairing connection and data transmission between two terminals. However, the short-range wireless communication module established in the patent is only used for transmitting the key information to establish another communication connection, and cannot fully utilize the short-range wireless communication connection established in the prior art.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method and equipment for controlling a display terminal by a multi-protocol handheld terminal, which have strong universality and are suitable for various display terminals.
The technical scheme of the invention is as follows:
The technical scheme is as follows:
A control method of a multi-protocol handheld terminal to a display terminal comprises the following steps:
Confirming a first wireless communication protocol according to hardware configuration of the handheld terminal and the display terminal; the first wireless communication protocol is used for transmitting a control command of the handheld terminal to the display terminal;
confirming a second wireless communication protocol; the handheld terminal transmits the image data to the display terminal through a second wireless communication protocol;
If the first wireless communication protocol is different from the second wireless communication protocol, the handheld terminal transmits configuration information required by the pairing connection of the second wireless communication protocol to the display terminal through the first wireless communication protocol.
Further, the first wireless communication protocol is a bluetooth protocol, and a security verification mechanism is established through bluetooth, and the specific steps are as follows:
setting a terminal identifier; the handheld terminal generates a time stamp according to the current time; combining the terminal identifier with the timestamp to obtain a first character string; carrying out hash encryption on the first character string through a password hash function to obtain a first secret key; the method comprises the steps that a handheld terminal generates a first check code, wherein the first check code consists of a time stamp and a first secret key;
The handheld terminal sends a first check code to the display terminal; the display terminal generates a second key through the password hash function according to the timestamp in the first check code and the locally stored terminal identifier; and the display terminal compares the second secret key with the first secret key in the first check code, and if the comparison results are consistent, the check is passed.
Further, a user password is further provided in the security verification mechanism, and the specific steps are as follows:
Setting a user password; the handheld terminal generates a time stamp according to the current time; combining the terminal identifier, the user password and the timestamp to obtain a second character string; carrying out hash encryption on the second character string through a password hash function to obtain a third key; the handheld terminal generates a second check code, wherein the second check code consists of a time stamp and a third secret key;
The handheld terminal sends a second check code to the display terminal; the display terminal generates a fourth secret key through the password hash function according to the time stamp in the second check code, the locally stored user password and the terminal identifier; and the display terminal compares the fourth secret key with the third secret key in the second check code, and if the comparison results are consistent, the check is passed.
Furthermore, the communication modules of the handheld terminal and the display terminal support a Bluetooth protocol, a WiFi protocol and a hot spot protocol;
Confirming that Bluetooth is a first wireless communication protocol;
judging whether the display terminal and the handheld terminal are under the same WiFi, and if so, confirming that the WiFi is a second wireless communication protocol; otherwise, confirming the hot spot as the second wireless communication protocol.
Further, the hot spot is opened by the display terminal.
Further, the method also comprises the step of sharing the image data through the FTP server, and the steps are as follows:
setting up an FTP server, and uploading the image data to the FTP server by the handheld terminal;
the presentation terminal obtains image data to be displayed from the FTP server.
Further, the first wireless communication protocol and the second wireless communication protocol are one of bluetooth, WIFI, hot spot, NFC or other wireless communication protocols.
The second technical scheme is as follows:
A multi-protocol handheld terminal to presentation terminal control device comprising a memory and a processor, the memory storing instructions adapted to be loaded by the processor and to perform the steps of:
Confirming a first wireless communication protocol according to hardware configuration of the handheld terminal and the display terminal; the first wireless communication protocol is used for transmitting a control command of the handheld terminal to the display terminal;
confirming a second wireless communication protocol; the handheld terminal transmits the image data to the display terminal through a second wireless communication protocol;
If the first wireless communication protocol is different from the second wireless communication protocol, the handheld terminal transmits configuration information required by the pairing connection of the second wireless communication protocol to the display terminal through the first wireless communication protocol.
Further, the first wireless communication protocol is a bluetooth protocol, and a security verification mechanism is established through bluetooth, and the specific steps are as follows:
setting a terminal identifier; the handheld terminal generates a time stamp according to the current time; combining the terminal identifier with the timestamp to obtain a first character string; carrying out hash encryption on the first character string through a password hash function to obtain a first secret key; the method comprises the steps that a handheld terminal generates a first check code, wherein the first check code consists of a time stamp and a first secret key;
The handheld terminal sends a first check code to the display terminal; the display terminal generates a second key through the password hash function according to the timestamp in the first check code and the locally stored terminal identifier; and the display terminal compares the second secret key with the first secret key in the first check code, and if the comparison results are consistent, the check is passed.
Further, a user password is further provided in the security verification mechanism, and the specific steps are as follows:
Setting a user password; the handheld terminal generates a time stamp according to the current time; combining the terminal identifier, the user password and the timestamp to obtain a second character string; carrying out hash encryption on the second character string through a password hash function to obtain a third key; the handheld terminal generates a second check code, wherein the second check code consists of a time stamp and a third secret key;
The handheld terminal sends a second check code to the display terminal; the display terminal generates a fourth secret key through the password hash function according to the time stamp in the second check code, the locally stored user password and the terminal identifier; and the display terminal compares the fourth secret key with the third secret key in the second check code, and if the comparison results are consistent, the check is passed.
Furthermore, the communication modules of the handheld terminal and the display terminal support a Bluetooth protocol, a WiFi protocol and a hot spot protocol;
Confirming that Bluetooth is a first wireless communication protocol;
judging whether the display terminal and the handheld terminal are under the same WiFi, and if so, confirming that the WiFi is a second wireless communication protocol; otherwise, confirming the hot spot as the second wireless communication protocol.
Further, the hot spot is opened by the display terminal.
Further, the method also comprises the step of sharing the image data through the FTP server, and the steps are as follows:
setting up an FTP server, and uploading the image data to the FTP server by the handheld terminal;
the presentation terminal obtains image data to be displayed from the FTP server.
Further, the first wireless communication protocol and the second wireless communication protocol are one of bluetooth, WIFI, hot spot, NFC or other wireless communication protocols.
The invention has the following beneficial effects:
1. The invention confirms the first wireless communication protocol according to the hardware configuration (namely the supported wireless communication protocol) of the display terminal and the handheld terminal. For a display terminal which only supports a single wireless communication protocol or has small data transmission quantity, the transmission of control commands and image data is directly finished through a first wireless communication protocol (Bluetooth, NFC and the like). For the display terminal supporting multiple wireless communication protocols, the first wireless communication protocol transmits configuration information required by the second wireless communication pairing connection, and then the control command and the image data are transmitted separately through the first wireless communication protocol and the second wireless communication protocol, so that the data and the control command are transmitted in a branching way, congestion is avoided, and the working efficiency of the display terminal is effectively improved. Therefore, the invention is suitable for various display terminals, has strong universality, does not need to manually input the password of the second wireless communication protocol, and optimizes the user experience. The user can also switch the second wireless communication protocol quickly and freely according to the actual requirements.
2. According to the invention, a security verification mechanism is established through Bluetooth, the handheld terminal sends the verification code to the display terminal, and the display terminal verifies the identity of the handheld terminal according to the verification code, so that management of Bluetooth connection objects of the display terminal and security verification of control commands transmitted by Bluetooth are realized, and practicability and security are enhanced. The time stamp enables the verification code to dynamically change, and the difficulty of verification code cracking is increased. MD5 is used to avoid the transmission of a terminal identifier and a user password in the clear between the presentation terminal and the handheld terminal. The terminal identifier enables the presentation terminal to be controlled only by the hand-held terminal using the control method of the present invention. The user password further limits the display terminal to be connected and controlled only by the handheld terminal which uses the control method and stores the user password.
3. According to the invention, the second wireless communication protocol is automatically confirmed according to the conditions of the communication module supported by the display terminal and the handheld terminal, the connected network and the like. WiFi, hot spot, and bluetooth are common communication protocols. Therefore, the control method has low hardware requirements on the handheld terminal and the display terminal, can save cost and has strong practicability. Meanwhile, the fact that hardware configuration of the handheld terminal is not uniform, uncertainty exists, and the handheld terminal is fixed to the display terminal equipment to open hot spots is considered.
4. According to the invention, the FTP server shares the image data, and the handheld terminal and the display terminal do not need to be connected to an external communication network, so that the image data and the control command can be directly transmitted in the internal network of the unit, and the risks of data leakage, network delay, communication faults and the like are avoided.
Drawings
FIG. 1 is a flow chart of the present invention;
Fig. 2 is a flowchart showing a terminal acquiring and displaying an image in the fourth embodiment;
Fig. 3 is a flowchart showing that a terminal acquires and displays an image in the sixth embodiment.
Detailed Description
The invention will now be described in detail with reference to the drawings and to specific embodiments.
Example 1
Referring to fig. 1, a method for controlling a presentation terminal by a multi-protocol handheld terminal includes the following steps:
And confirming a first wireless communication protocol according to the hardware configuration of the handheld terminal (mobile phone and tablet) and the display terminal, wherein the first wireless communication protocol is used for transmitting a control command of the handheld terminal to the display terminal.
Since bluetooth is a standard configuration of a handheld terminal and a display terminal, and is suitable for transmitting a control command with a smaller data amount, bluetooth is generally confirmed to be a first wireless communication protocol. When the display terminal and the handheld terminal both support wireless communication protocols such as NFC, NFC can also be selected as the first wireless communication protocol.
The control commands include device control instructions and image material control instructions. The equipment control instruction comprises an instruction for setting the display terminal body, such as: change device name instructions, device firmware upgrade instructions, restore factory settings instructions, user key settings, verification instructions, and the like. The image material control instruction comprises an instruction for controlling the display effect of the image material on the display terminal, such as: designating a playlist instruction, clearing the playlist instruction, acquiring the playlist instruction, deleting the designated image material instruction, and clearing the image pixel material instruction. Wherein the playlist refers to a list composed of at least one image material including an image display order, a display duration. The method comprises the steps that a play list is created on a handheld terminal, a play list instruction is acquired and transmitted to the display terminal, the play list on the current display terminal is designated through a play list designating instruction, all play lists stored on the display terminal are emptied through a play list emptying instruction, designated image material instructions or image material emptying instructions are deleted or all image materials transmitted to the display terminal are emptied, and the storage space of the display terminal is released.
And confirming the second wireless communication protocol, and transmitting the image data to the display terminal through the second wireless communication protocol by the handheld terminal.
If the first wireless communication protocol is different from the second wireless communication protocol, the handheld terminal transmits configuration information required by the pairing connection of the second wireless communication protocol to the display terminal through the first wireless communication protocol.
The embodiment has the advantage that the first wireless communication protocol is confirmed according to the hardware configuration (namely the supported wireless communication protocol) of the display terminal and the handheld terminal. For a display terminal supporting only a single wireless communication protocol, the transmission of control commands and image data is directly completed through a first wireless communication protocol (Bluetooth, NFC and the like). For the display terminal supporting multiple wireless communication protocols, the first wireless communication protocol transmits configuration information required by the second wireless communication pairing connection, and then the control command and the image data are transmitted separately through the first wireless communication protocol and the second wireless communication protocol, so that the data and the control command are transmitted in a branching way, congestion is avoided, and the working efficiency of the display terminal is effectively improved. Therefore, the invention is suitable for various display terminals, has strong universality, does not need to manually input the password of the second wireless communication protocol, and optimizes the user experience. The user can also switch the second wireless communication protocol quickly and freely according to the actual requirements.
Compared with the method and the system for pairing the wireless user terminals in the background technology, the method and the system fully utilize the two established wireless communication connections and transmit the image data and the control command in parallel.
Example two
The two terminals for establishing the Bluetooth connection can randomly check service information, characteristic value information and the like of the Bluetooth module of the opposite party, acquire part of terminal information by reading the readable characteristic value, and attempt to write data and the like into the writable characteristic value. Therefore, a certain limitation needs to be made on the object for displaying the bluetooth connection of the terminal to ensure the security of bluetooth communication. Existing bluetooth connections may optionally set pairing codes to limit the objects of the bluetooth connection. When no pairing is set, bluetooth connection is directly established between terminals. If pairing is set, inquiring whether the users are paired or not through a popup window, and then manually inputting a pairing code by the users to pair, and establishing Bluetooth connection after successful pairing. However, the popup window is easy to intercept, a certain potential safety hazard still exists, a password is required to be manually input, and the user experience is poor.
Furthermore, in the embodiment, a security verification mechanism is established through bluetooth, so as to realize the management of a bluetooth connection object and the security verification of a control command transmitted by bluetooth (such as modifying an image/video displayed by a display terminal, restoring factory settings, and the like), and the specific steps are as follows:
Terminal identifiers are set (the same character string is uniformly set as the terminal identifier for a plurality of display terminals to be controlled, and the user has no authority change; in this embodiment, the terminal identifier is set as × &65#% ms#). The handheld terminal generates a time stamp (e.g., 1573439902) based on the current time. The terminal identifier is combined with the timestamp to obtain a first string (& 65#% ms# 1573439902). The first string is hashed by a cryptographic hash function (MD 5) to obtain a first key (334 BEBBC, 48EAD6C905611A170528B1A 4). The handheld terminal generates a first check code (1573439902334 BEBBC EAD6C905611A170528B1A 4) comprised of a time stamp and a first key. The time stamp is dynamically generated according to the current time, so that the first check code and the first secret key obtained each time are different from the last time.
The handheld terminal sends a first check code to the display terminal; the display terminal generates a second key through the password hash function according to the timestamp in the first check code and the locally stored terminal identifier; and the display terminal compares the second secret key with the first secret key in the first check code, and if the comparison results are consistent, the check is passed. The MD5 is an irreversible encryption algorithm and is used for avoiding plaintext transmission of a terminal identifier between a display terminal and a handheld terminal.
In this embodiment, the control method of the multi-protocol handheld terminal to the display terminal is presented on the handheld terminal in the form of APP. The terminal identifier is well known within the APP. Only the handheld terminal provided with the APP can be connected with and control the corresponding display terminal, and the display terminal can be prevented from being connected by other Bluetooth equipment.
The improvement of the embodiment is that a security verification mechanism is established, the security verification mechanism is established through Bluetooth, the handheld terminal sends a verification code to the display terminal, the display terminal verifies the identity of the handheld terminal according to the verification code, management of Bluetooth connection objects and security verification of control commands transmitted by Bluetooth are achieved, and the practicability and security of the scheme are enhanced. The time stamp enables the first secret key to be dynamically changed, and the first secret key cracking difficulty is increased. MD5 is used to avoid the transmission of a terminal identifier in the clear between the presentation terminal and the handheld terminal. The terminal identifier enables the presentation terminal to be controlled only by the hand-held terminal using the control method of the present invention.
Example III
Furthermore, a user password is also arranged in the security verification mechanism. The initial state defaults to not setting the user password. After the user sets or modifies the user password on the handheld terminal, the handheld terminal sends a check code (if the user password is set for the first time, the check code is the first check code at this time, and if the user password is modified, the check code is the second check code at this time) and the set or modified user password to the display terminal, and the user password is stored after the display terminal is successfully checked.
In this embodiment, the control method of the multi-protocol handheld terminal to the display terminal is presented on the handheld terminal in the form of APP. The user sets the user password through the APP on the handheld terminal A and informs the user password to the display terminal B. The user password is stored in the handheld terminal a and the presentation terminal B and is not known internally as APP. The hand-held terminal A is connected with and controls the display terminal B, while other hand-held terminals which are also provided with the APP cannot be connected with and control the display terminal B under the premise of unknown user passwords.
The improvement of the embodiment is that a user password is set, so that the display terminal can only be connected and controlled by the handheld terminal which uses the control method and stores the user password, and the management of Bluetooth connection objects and the safety verification of control commands transmitted by Bluetooth are further enhanced.
Example IV
Further, referring to fig. 2, in this embodiment, the screen of the display terminal is an ink screen, and bluetooth is confirmed to be the first wireless communication protocol and the second wireless communication protocol. And the display terminal and the handheld terminal are connected through Bluetooth.
The ink screen display terminal can only display black, white and red colors at most, so that image data is required to be preprocessed, and the method comprises the following steps: the image is processed into a dither pattern of black and white/red and white/black and white colors by an error diffusion algorithm or other image processing algorithm that modifies the image by randomly adding different colors between adjacent pixels so that the human eye perceives the image to appear more colors than originally. Compressing the jitter diagram.
And sending the compressed jittering image to the display terminal through Bluetooth. And displaying the shaking graph by the display terminal.
Example five
Furthermore, the communication modules of the handheld terminal and the display terminal support a Bluetooth protocol, a WiFi protocol and a hot spot protocol. And confirming that Bluetooth is a first wireless communication protocol, and establishing connection between the display terminal and the handheld terminal through Bluetooth.
Judging whether the display terminal and the handheld terminal are under the same WiFi, and if so, confirming that the WiFi is a second wireless communication protocol. And then transmitting WiFi configuration information through Bluetooth, wherein the WiFi configuration information comprises information such as a network name SSID, a password pwd of connection, an encryption mode and the like.
If the hot spot is not in the same WiFi, the hot spot is confirmed to be in the second line communication mode. And the handheld terminal sends the hot spot information to the display terminal through Bluetooth, and the display terminal sets and opens the hot spot according to the hot spot information.
The embodiment is advanced in that the second wireless communication protocol is automatically confirmed according to the conditions of the communication modules supported by the display terminal and the handheld terminal, the connected network and the like. WiFi, hot spot, and bluetooth are common communication protocols. Therefore, the control method has low hardware requirements on the handheld terminal and the display terminal, can save cost and has strong practicability. Meanwhile, the fact that hardware configuration of the handheld terminal is not uniform, uncertainty exists, and the handheld terminal is fixed to the display terminal equipment to open hot spots is considered.
Example six
Further, referring to fig. 3, in this embodiment, the connection between the display terminal and the handheld terminal is established through bluetooth. Setting up an FTP server on the display terminal, and setting configuration information of the FTP server, including a host IP address, a port number, a user name, a password and the like.
WiFi is acknowledged as the second wireless communication protocol in this implementation. The display terminal and the handheld terminal are connected to the same WiFi network.
The display terminal sends the host IP address to the handheld terminal through Bluetooth. The handheld terminal establishes connection with the FTP server through the host IP address. The FTP server starts an FTP server. And the handheld terminal uploads the image data to the appointed directory of the FTP server through WiFi according to the IP address and the port number of the host.
After the uploading is finished, the handheld terminal sends the synchronous code (comprising a command for informing the completion of the uploading and a time stamp) to the display terminal through Bluetooth. And the display terminal copies the uploaded image data into an SD card of the display terminal, and generates a corresponding thumbnail according to the image data. The presentation terminal transmits a synchronization code (including a time stamp and SD card status) to the handheld terminal via bluetooth. The handheld terminal compares the locally stored same-class synchronous codes according to the received synchronous codes to determine whether the thumbnail needs to be updated.
After updating the thumbnail, the user selects the thumbnail on the handheld terminal and sets an image material control instruction. The handheld terminal sends an image material control instruction to the display terminal through Bluetooth; and the display terminal displays the image according to the received image material control instruction.
In addition, a web server can be built on the handheld terminal. A fixed folder in the SD card of the hand-held terminal is mapped to the root directory of the web server, and the display terminal is informed of the address (e.g., 192.168.200.1/template12. Jpg) of the image data under the root directory. And the display terminal downloads the image data according to the address.
The improvement of the embodiment is that the FTP server is used for sharing the image data, the handheld terminal and the display terminal do not need to be connected to an external communication network, the image data and the control command can be directly transmitted in the unit internal network, and risks such as data leakage, network delay and communication faults are avoided.
Example seven
An apparatus for a multi-protocol handheld terminal to display terminal control method, comprising a memory and a processor, the memory storing instructions adapted to be loaded by the processor and to perform the steps of:
And confirming a first wireless communication protocol according to the hardware configuration of the handheld terminal (mobile phone and tablet) and the display terminal, wherein the first wireless communication protocol is used for transmitting a control command of the handheld terminal to the display terminal.
Since bluetooth is a standard configuration of a handheld terminal and a display terminal, and is suitable for transmitting a control command with a smaller data amount, bluetooth is generally confirmed to be a first wireless communication protocol. When the display terminal and the handheld terminal both support wireless communication protocols such as NFC, NFC can also be selected as the first wireless communication protocol.
The control commands include device control instructions and image material control instructions. The equipment control instruction comprises an instruction for setting the display terminal body, such as: change device name instructions, device firmware upgrade instructions, restore factory settings instructions, user key settings, verification instructions, and the like. The image material control instruction comprises an instruction for controlling the display effect of the image material on the display terminal, such as: designating a playlist instruction, clearing the playlist instruction, acquiring the playlist instruction, deleting the designated image material instruction, and clearing the image pixel material instruction. Wherein the playlist refers to a list composed of at least one image material including an image display order, a display duration. The method comprises the steps that a play list is created on a handheld terminal, a play list instruction is acquired and transmitted to the display terminal, the play list on the current display terminal is designated through a play list designating instruction, all play lists stored on the display terminal are emptied through a play list emptying instruction, designated image material instructions or image material emptying instructions are deleted or all image materials transmitted to the display terminal are emptied, and the storage space of the display terminal is released.
And confirming the second wireless communication protocol, and transmitting the image data to the display terminal through the second wireless communication protocol by the handheld terminal.
If the first wireless communication protocol is different from the second wireless communication protocol, the handheld terminal transmits configuration information required by the pairing connection of the second wireless communication protocol to the display terminal through the first wireless communication protocol.
The embodiment has the advantage that the first wireless communication protocol is confirmed according to the hardware configuration (namely the supported wireless communication protocol) of the display terminal and the handheld terminal. For a display terminal supporting only a single wireless communication protocol, the transmission of control commands and image data is directly completed through a first wireless communication protocol (Bluetooth, NFC and the like). For the display terminal supporting multiple wireless communication protocols, the first wireless communication protocol transmits configuration information required by the second wireless communication pairing connection, and then the control command and the image data are transmitted separately through the first wireless communication protocol and the second wireless communication protocol, so that the data and the control command are transmitted in a branching way, congestion is avoided, and the working efficiency of the display terminal is effectively improved. Therefore, the invention is suitable for various display terminals, has strong universality, does not need to manually input the password of the second wireless communication protocol, and optimizes the user experience. The user can also switch the second wireless communication protocol quickly and freely according to the actual requirements.
Example eight
The two terminals for establishing the Bluetooth connection can randomly check service information, characteristic value information and the like of the Bluetooth module of the opposite party, acquire part of terminal information by reading the readable characteristic value, and attempt to write data and the like into the writable characteristic value. Therefore, a certain limitation needs to be made on the object for displaying the bluetooth connection of the terminal to ensure the security of bluetooth communication. Existing bluetooth connections may optionally set pairing codes to limit the objects of the bluetooth connection. When no pairing is set, bluetooth connection is directly established between terminals. If pairing is set, inquiring whether the users are paired or not through a popup window, and then manually inputting a pairing code by the users to pair, and establishing Bluetooth connection after successful pairing. However, the popup window is easy to intercept, a certain potential safety hazard still exists, a password is required to be manually input, and the user experience is poor.
Furthermore, in the embodiment, a security verification mechanism is established through bluetooth, so as to realize the management of a bluetooth connection object and the security verification of a control command transmitted by bluetooth (such as modifying an image/video displayed by a display terminal, restoring factory settings, and the like), and the specific steps are as follows:
Terminal identifiers are set (the same character string is uniformly set as the terminal identifier for a plurality of display terminals to be controlled, and the user has no authority change; in this embodiment, the terminal identifier is set as × &65#% ms#). The handheld terminal generates a time stamp (e.g., 1573439902) based on the current time. The terminal identifier is combined with the timestamp to obtain a first string (& 65#% ms# 1573439902). The first string is hashed by a cryptographic hash function (MD 5) to obtain a first key (334 BEBBC, 48EAD6C905611A170528B1A 4). The handheld terminal generates a first check code (1573439902334 BEBBC EAD6C905611A170528B1A 4) comprised of a time stamp and a first key. The time stamp is dynamically generated according to the current time, so that the first check code and the first secret key obtained each time are different from the last time.
The handheld terminal sends a first check code to the display terminal; the display terminal generates a second key through the password hash function according to the timestamp in the first check code and the locally stored terminal identifier; and the display terminal compares the second secret key with the first secret key in the first check code, and if the comparison results are consistent, the check is passed. The MD5 is an irreversible encryption algorithm and is used for avoiding plaintext transmission of a terminal identifier between a display terminal and a handheld terminal.
In this embodiment, the control method of the multi-protocol handheld terminal to the display terminal is presented on the handheld terminal in the form of APP. The terminal identifier is well known within the APP. Only the handheld terminal provided with the APP can be connected with and control the corresponding display terminal, and the display terminal can be prevented from being connected by other Bluetooth equipment.
The improvement of the embodiment is that a security verification mechanism is established, the security verification mechanism is established through Bluetooth, the handheld terminal sends a verification code to the display terminal, the display terminal verifies the identity of the handheld terminal according to the verification code, management of Bluetooth connection objects and security verification of control commands transmitted by Bluetooth are achieved, and the practicability and security of the scheme are enhanced. The time stamp enables the first secret key to be dynamically changed, and the first secret key cracking difficulty is increased. MD5 is used to avoid the transmission of a terminal identifier in the clear between the presentation terminal and the handheld terminal. The terminal identifier enables the presentation terminal to be controlled only by the hand-held terminal using the control method of the present invention.
Example nine
Furthermore, a user password is also arranged in the security verification mechanism. The initial state defaults to not setting the user password. After the user sets or modifies the user password on the handheld terminal, the handheld terminal sends a check code (if the user password is set for the first time, the check code is the first check code at this time, and if the user password is modified, the check code is the second check code at this time) and the set or modified user password to the display terminal, and the user password is stored after the display terminal is successfully checked.
In this embodiment, the control method of the multi-protocol handheld terminal to the display terminal is presented on the handheld terminal in the form of APP. The user sets the user password through the APP on the handheld terminal A and informs the user password to the display terminal B. The user password is stored in the handheld terminal a and the presentation terminal B and is not known internally as APP. The hand-held terminal A is connected with and controls the display terminal B, while other hand-held terminals which are also provided with the APP cannot be connected with and control the display terminal B under the premise of unknown user passwords.
The improvement of the embodiment is that a user password is set, so that the display terminal can only be connected and controlled by the handheld terminal which uses the control method and stores the user password, and the management of Bluetooth connection objects and the safety verification of control commands transmitted by Bluetooth are further enhanced.
Examples ten
Further, referring to fig. 2, in this embodiment, the screen of the display terminal is an ink screen, and bluetooth is confirmed to be the first wireless communication protocol and the second wireless communication protocol. And the display terminal and the handheld terminal are connected through Bluetooth.
The ink screen display terminal can only display black, white and red colors at most, so that image data is required to be preprocessed, and the method comprises the following steps: the image is processed into a dither pattern of black and white/red and white/black and white colors by an error diffusion algorithm or other image processing algorithm that modifies the image by randomly adding different colors between adjacent pixels so that the human eye perceives the image to appear more colors than originally. Compressing the jitter diagram.
And sending the compressed jittering image to the display terminal through Bluetooth. And displaying the shaking graph by the display terminal.
Example eleven
Furthermore, the communication modules of the handheld terminal and the display terminal support a Bluetooth protocol, a WiFi protocol and a hot spot protocol. And confirming that Bluetooth is a first wireless communication protocol, and establishing connection between the display terminal and the handheld terminal through Bluetooth.
Judging whether the display terminal and the handheld terminal are under the same WiFi, and if so, confirming that the WiFi is a second wireless communication protocol. And then transmitting WiFi configuration information through Bluetooth, wherein the WiFi configuration information comprises information such as a network name SSID, a password pwd of connection, an encryption mode and the like.
If the hot spot is not in the same WiFi, the hot spot is confirmed to be in the second line communication mode. And the handheld terminal sends the hot spot information to the display terminal through Bluetooth, and the display terminal sets and opens the hot spot according to the hot spot information.
The embodiment is advanced in that the second wireless communication protocol is automatically confirmed according to the conditions of the communication modules supported by the display terminal and the handheld terminal, the connected network and the like. WiFi, hot spot, and bluetooth are common communication protocols. Therefore, the control method has low hardware requirements on the handheld terminal and the display terminal, can save cost and has strong practicability. Meanwhile, the fact that hardware configuration of the handheld terminal is not uniform, uncertainty exists, and the handheld terminal is fixed to the display terminal equipment to open hot spots is considered.
Example twelve
Further, referring to fig. 3, in this embodiment, the connection between the display terminal and the handheld terminal is established through bluetooth. Setting up an FTP server on the display terminal, and setting configuration information of the FTP server, including a host IP address, a port number, a user name, a password and the like.
WiFi is acknowledged as the second wireless communication protocol in this implementation. The display terminal and the handheld terminal are connected to the same WiFi network.
The display terminal sends the host IP address to the handheld terminal through Bluetooth. The handheld terminal establishes connection with the FTP server through the host IP address. The FTP server starts an FTP server. And the handheld terminal uploads the image data to the appointed directory of the FTP server through WiFi according to the IP address and the port number of the host.
After the uploading is finished, the handheld terminal sends the synchronous code (comprising a command for informing the completion of the uploading and a time stamp) to the display terminal through Bluetooth. And the display terminal copies the uploaded image data into an SD card of the display terminal, and generates a corresponding thumbnail according to the image data. The presentation terminal transmits a synchronization code (including a time stamp and SD card status) to the handheld terminal via bluetooth. The handheld terminal compares the locally stored same-class synchronous codes according to the received synchronous codes to determine whether the thumbnail needs to be updated.
After updating the thumbnail, the user selects the thumbnail on the handheld terminal and sets an image material control instruction. The handheld terminal sends an image material control instruction to the display terminal through Bluetooth; and the display terminal displays the image according to the received image material control instruction.
In addition, a web server can be built on the handheld terminal. A fixed folder in the SD card of the hand-held terminal is mapped to the root directory of the web server, and the display terminal is informed of the address (e.g., 192.168.200.1/template12. Jpg) of the image data under the root directory. And the display terminal downloads the image data according to the address.
The improvement of the embodiment is that the FTP server is used for sharing the image data, the handheld terminal and the display terminal do not need to be connected to an external communication network, the image data and the control command can be directly transmitted in the unit internal network, and risks such as data leakage, network delay and communication faults are avoided.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes or direct or indirect application in other related technical fields are included in the scope of the present invention.

Claims (7)

CN202011098878.5A2020-10-142020-10-14Method and device for controlling display terminal by multi-protocol handheld terminalActiveCN112218279B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011098878.5ACN112218279B (en)2020-10-142020-10-14Method and device for controlling display terminal by multi-protocol handheld terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011098878.5ACN112218279B (en)2020-10-142020-10-14Method and device for controlling display terminal by multi-protocol handheld terminal

Publications (2)

Publication NumberPublication Date
CN112218279A CN112218279A (en)2021-01-12
CN112218279Btrue CN112218279B (en)2024-06-11

Family

ID=74052697

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011098878.5AActiveCN112218279B (en)2020-10-142020-10-14Method and device for controlling display terminal by multi-protocol handheld terminal

Country Status (1)

CountryLink
CN (1)CN112218279B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN119255333B (en)*2024-02-042025-10-03荣耀终端股份有限公司 Device interaction method, system and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101686299A (en)*2008-09-262010-03-31兄弟工业株式会社Data processing device
WO2019047208A1 (en)*2017-09-112019-03-14深圳传音通讯有限公司File transmission method and system
CN111447053A (en)*2020-03-242020-07-24重庆邮电大学 A data security transmission method and system based on chaotic logic mapping and RC4 stream cipher

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105427105A (en)*2014-09-112016-03-23中兴通讯股份有限公司Mobile payment method, system and device
CN204993394U (en)*2015-08-252016-01-20苏州科贝尔实业有限公司System for carry out digital privilege management to terminal equipment
CN108370319B (en)*2015-12-042021-08-17维萨国际服务协会 Method and computer for token verification
WO2017214930A1 (en)*2016-06-162017-12-21华为技术有限公司Method and device for communication between wearable device and mobile terminal
WO2018081583A1 (en)*2016-10-272018-05-03Infinitekey, Inc.System and method for authenticating and authorizing devices
CN108616547A (en)*2016-12-022018-10-02武汉斗鱼网络科技有限公司A kind of method and device of transmission file
CN106652855A (en)*2016-12-282017-05-10天津恒达文博科技有限公司Navigation method for gathering and intensively displaying information
CN106817671B (en)*2017-02-142020-04-07腾讯科技(深圳)有限公司Networking information sharing method, first terminal and system
CN109936547A (en)*2017-12-182019-06-25阿里巴巴集团控股有限公司Identity identifying method, system and calculating equipment
CN108763895B (en)*2018-04-282021-03-30Oppo广东移动通信有限公司Image processing method and device, electronic equipment and storage medium
CN111583022A (en)*2020-05-062020-08-25广东洪心创业服务有限公司Enterprise financing wind control method and device based on block chain

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101686299A (en)*2008-09-262010-03-31兄弟工业株式会社Data processing device
WO2019047208A1 (en)*2017-09-112019-03-14深圳传音通讯有限公司File transmission method and system
CN111447053A (en)*2020-03-242020-07-24重庆邮电大学 A data security transmission method and system based on chaotic logic mapping and RC4 stream cipher

Also Published As

Publication numberPublication date
CN112218279A (en)2021-01-12

Similar Documents

PublicationPublication DateTitle
US10887745B2 (en)Method and device for sharing file between different terminals
CN104010309B (en)The method and terminal of connection are established between access point and terminal
US20150249923A1 (en)Communication control apparatus, system, and method therefor
US20040131188A1 (en)Method of generating key data for successful communication during a network link
US20150135240A1 (en)Video display terminal, video transmission terminal, video communication system, video display method, video transmission method, and computer-readable recording medium recording program
JP2019114910A (en)Communication apparatus and control method thereof
US20180054854A1 (en)Wireless communication device and wireless communication method
US10420156B2 (en)Wireless communication terminal, wireless communication system, wireless communication method, and non-transitory medium saving program
EP3902239A1 (en)Camera sharing method and apparatus
US9837042B2 (en)Projection system with auto-project portable device for displaying images automatically
US20130169670A1 (en)Electronic device and method for transmitting slide file during slide file presentation
CN112003881B (en)Safety cloud mobile phone system based on private cloud
JP2018533864A (en) Remote control method, device and portable terminal
KR20220024302A (en)System for authenticating image based on blockchain and hash encryption technique and method thereof
KR20210000957A (en)System for authenticating image based on blockchain and hash encryption technique and method thereof
CN112751932A (en)Method for remotely checking mobile phone application information through video stream and fixed instruction
CN112218279B (en)Method and device for controlling display terminal by multi-protocol handheld terminal
CN108924837A (en)Pairing method, device and system for intelligent interaction equipment
US20120329431A1 (en)Cellular Telephone System and Method
CN109104774B (en) Data transmission method and system
CN105763229A (en)Mobile terminal external equipment and file transmission method
KR101528681B1 (en)Method for Providing Security Push Messaging
CN112448970A (en)Equipment connection method and system and corresponding Internet of things equipment
US20190037612A1 (en)Connecting method to an information capture device
JP2016189566A (en)Radio communication device and radio communication system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp