技术领域technical field
本发明涉及交互技术,尤其涉及一种设备互连方法、装置、系统、设备和存储介质。The present invention relates to interaction technology, in particular to a device interconnection method, device, system, device and storage medium.
背景技术Background technique
随着交互智能平板的广泛应用,在将终端设备与交互智能平板进行互连的基础上,进行投屏或直播等应用需求在教育和会议场景下越来越普遍。现有的方案中通常是用户在终端设备上输入PIN码的方式实现互连,其中,PIN码编码了交互智能平板的当前网络信息。With the wide application of interactive smart panels, on the basis of interconnecting terminal devices with interactive smart panels, application requirements such as screen projection or live broadcast are becoming more and more common in education and conference scenarios. In an existing solution, the user usually enters a PIN code on a terminal device to realize interconnection, wherein the PIN code encodes the current network information of the interactive smart panel.
在实现本发明的过程中,发明人发现现有技术中至少存在如下问题,该方法需要用户手动将终端设备连接的网络切换至与交互智能平板相同的网络。也即,终端设备端需要和交互智能平板连接至相同的局域网。In the process of implementing the present invention, the inventors have found at least the following problems in the prior art. This method requires the user to manually switch the network connected to the terminal device to the same network as the interactive smart tablet. That is, the terminal device needs to be connected to the same local area network as the interactive smart tablet.
发明内容Contents of the invention
本发明实施例提供一种设备互连方法、装置、系统、设备和存储介质,无需用户手动将终端设备和交互智能平板统一至相同的网络,即可实现设备间互连。Embodiments of the present invention provide a device interconnection method, device, system, device, and storage medium, which can realize interconnection between devices without manually unifying the terminal device and the interactive smart tablet into the same network by the user.
第一方面,本发明实施例提供了一种设备互连方法,该方法包括:In a first aspect, an embodiment of the present invention provides a device interconnection method, the method including:
接收到来自交互智能平板的信息标识码后向服务器发送信息请求;After receiving the information identification code from the interactive smart tablet, send an information request to the server;
从所述服务器对所述信息请求的反馈消息中获取与所述信息标识码对应的网络信息;Obtaining network information corresponding to the information identification code from a feedback message of the server to the information request;
根据所述网络信息向所述交互智能平板发起连接请求。Initiate a connection request to the interactive smart tablet according to the network information.
第二方面,本发明实施例还提供了一种设备互连方法,该方法包括:In the second aspect, the embodiment of the present invention also provides a device interconnection method, the method including:
将当前接入网络对应的网络信息发送至服务器,接收并显示所述服务器根据所述网络信息生成对应的信息标识码;Sending the network information corresponding to the current access network to the server, receiving and displaying the corresponding information identification code generated by the server according to the network information;
接收来自终端设备发起的连接请求,所述连接请求的网络信息由所述终端设备根据所述信息标识码访问所述服务器得到;receiving a connection request initiated by a terminal device, and the network information of the connection request is obtained by the terminal device accessing the server according to the information identification code;
根据所述连接请求与所述终端设备建立连接。Establish a connection with the terminal device according to the connection request.
第三方面,本发明实施例提供了一种设备互连系统,该系统包括:交互智能平板和终端设备,其中:In a third aspect, an embodiment of the present invention provides a device interconnection system, the system includes: an interactive smart tablet and a terminal device, wherein:
终端设备接收到来自交互智能平板的信息标识码后向服务器发送信息请求;After receiving the information identification code from the interactive smart tablet, the terminal device sends an information request to the server;
交互智能平板将当前接入网络对应的网络信息发送至服务器,接收并显示所述服务器根据所述网络信息生成对应的信息标识码;The interactive smart tablet sends the network information corresponding to the current access network to the server, receives and displays the corresponding information identification code generated by the server according to the network information;
所述终端设备从所述服务器对所述信息请求的反馈消息中获取与所述信息标识码对应的网络信息;The terminal device acquires network information corresponding to the information identification code from a feedback message of the server to the information request;
所述终端设备根据所述网络信息向所述交互智能平板发起连接请求。The terminal device initiates a connection request to the interactive smart tablet according to the network information.
所述交互智能平板接收来自终端设备发起的连接请求,所述连接请求的网络信息由所述终端设备根据所述信息标识码访问所述服务器得到;The interactive smart tablet receives a connection request initiated by a terminal device, and the network information of the connection request is obtained by the terminal device accessing the server according to the information identification code;
所述交互智能平板根据所述连接请求与所述终端设备建立连接。The interactive smart tablet establishes a connection with the terminal device according to the connection request.
第四方面,本发明实施例提供了一种设备互连装置,应用于终端设备,该装置包括:In a fourth aspect, an embodiment of the present invention provides a device interconnection device, which is applied to a terminal device, and the device includes:
信息发送模块,用于接收到来自交互智能平板的信息标识码后向服务器发送信息请求;The information sending module is used to send an information request to the server after receiving the information identification code from the interactive smart panel;
网络信息获取模块,用于从所述服务器对所述信息请求的反馈消息中获取与所述信息标识码对应的网络信息;A network information acquisition module, configured to acquire the network information corresponding to the information identification code from the server's feedback message to the information request;
请求发起模块,根据所述网络信息向所述交互智能平板发起连接请求。The request initiating module initiates a connection request to the interactive smart tablet according to the network information.
第五方面,本发明实施例提供了一种设备互连装置,应用于交互智能平板,该装置包括:In a fifth aspect, an embodiment of the present invention provides a device interconnection device, which is applied to an interactive smart tablet, and the device includes:
信息接收模块,用于将当前接入网络对应的网络信息发送至服务器,接收并显示所述服务器根据所述网络信息生成对应的信息标识码;The information receiving module is used to send the network information corresponding to the current access network to the server, receive and display the corresponding information identification code generated by the server according to the network information;
请求接收模块,用于接收来自终端设备发起的连接请求,所述连接请求的网络信息由所述终端设备根据所述信息标识码访问所述服务器得到;A request receiving module, configured to receive a connection request initiated by a terminal device, and the network information of the connection request is obtained by the terminal device accessing the server according to the information identification code;
连接模块,用于根据所述连接请求与所述终端设备建立连接。A connection module, configured to establish a connection with the terminal device according to the connection request.
第六方面,本发明实施例还提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如本发明实施例中任一所述的设备互连方法。In the sixth aspect, the embodiment of the present invention also provides a computer device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the computer program according to the present invention when executing the program. The device interconnection method described in any one of the embodiments.
第七方面,本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现如本发明实施例中任一所述的设备互连方法。In a seventh aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the device interconnection method as described in any one of the embodiments of the present invention is implemented.
本发明实施例中,通过终端设备接收到来自交互智能平板的信息标识码后向服务器发送信息请求;从所述服务器对所述信息请求的反馈消息中获取与所述信息标识码对应的网络信息;根据所述网络信息向所述交互智能平板发起连接请求。无需用户手动将终端设备和交互智能平板统一至相同的网络,即可实现设备间互连。In the embodiment of the present invention, after receiving the information identification code from the interactive smart tablet through the terminal device, the information request is sent to the server; the network information corresponding to the information identification code is obtained from the server's feedback message to the information request ; Initiate a connection request to the interactive smart tablet according to the network information. Device-to-device interconnection can be achieved without the need for users to manually unify the terminal device and the interactive smart tablet to the same network.
附图说明Description of drawings
图1是本发明实施例一中的一种设备互连方法的流程图;FIG. 1 is a flowchart of a device interconnection method in Embodiment 1 of the present invention;
图2是本发明实施例二中的一种设备互连方法的流程图;FIG. 2 is a flow chart of a device interconnection method in Embodiment 2 of the present invention;
图3是本发明实施例三中的一种设备互连系统的结构示意图;3 is a schematic structural diagram of a device interconnection system in Embodiment 3 of the present invention;
图4是本发明实施例四中的一种设备互连装置的结构示意图;FIG. 4 is a schematic structural diagram of a device interconnection device in Embodiment 4 of the present invention;
图5是本发明实施例五中的一种设备互连装置的结构示意图;FIG. 5 is a schematic structural diagram of a device interconnection device in Embodiment 5 of the present invention;
图6是本发明实施例六中的一种计算机设备的结构示意图。Fig. 6 is a schematic structural diagram of a computer device in Embodiment 6 of the present invention.
具体实施方式Detailed ways
下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.
实施例一Embodiment one
图1为本发明实施例一提供的一种设备互连方法的流程图,本实施例可适用于多个设备需要互相连接以进行数据传输的情况,该方法可以由本发明实施例提供的设备互连装置来执行,该装置可采用软件和/或硬件的方式实现,并一般集成在终端设备中与交互智能平板配合使用。参考图1,该方法具体可以包括如下步骤:Figure 1 is a flow chart of a device interconnection method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where multiple devices need to be connected to each other for data transmission. This method can be implemented by the device interconnection method provided by the embodiment of the present invention. It can be implemented with a connected device, which can be implemented in the form of software and/or hardware, and is generally integrated into a terminal device and used in conjunction with an interactive smart tablet. Referring to Fig. 1, the method specifically may include the following steps:
S110、接收到来自交互智能平板的信息标识码后向服务器发送信息请求。S110. After receiving the information identification code from the interactive smart tablet, send an information request to the server.
其中,信息标识码为字母和数字组成的字符串,长度可以是六位到八位,信息标识码可标记的设备总数与信息标识码的长度有关。该信息标识码与交互智能平板的网络信息关联。终端设备接收到来自交互智能平板的连接码后向服务器发送信息请求。具体的,服务器中存储有与信息标识码对应的交互智能平板的网络信息。可选的,信息请求可以是一个握手信号,其中,握手信号中携带有终端设备想要获取的交互智能平板的网络信息中的相关网络参数的参数名称等。Wherein, the information identification code is a character string composed of letters and numbers, and the length can be six to eight digits. The total number of devices that can be marked by the information identification code is related to the length of the information identification code. The information identification code is associated with the network information of the interactive smart tablet. After receiving the connection code from the interactive smart tablet, the terminal device sends an information request to the server. Specifically, the server stores the network information of the interactive smart panel corresponding to the information identification code. Optionally, the information request may be a handshake signal, wherein the handshake signal carries the parameter names of relevant network parameters in the network information of the interactive smart tablet that the terminal device wants to obtain.
S120、从所述服务器对所述信息请求的反馈消息中获取与所述信息标识码对应的网络信息。S120. Obtain network information corresponding to the information identification code from a feedback message of the server for the information request.
具体的,服务器对该信息请求进行反馈,并生成反馈消息,其中,反馈消息中包括终端设备信息请求中的网络参数等,终端设备从服务器对信息请求的反馈消息中获取与信息标识码对应的网络信息。Specifically, the server feeds back the information request and generates a feedback message, wherein the feedback message includes the network parameters in the terminal device information request, and the terminal device obtains the information corresponding to the information identification code from the server's feedback message for the information request. Internet Information.
S130、根据所述网络信息向所述交互智能平板发起连接请求。S130. Initiate a connection request to the interactive smart tablet according to the network information.
具体的,终端设备向交互智能平板发起连接请求,可选的,该连接请求可以是在交互智能平板上弹出一个提示框,例如:XXXX连接请求,以指示智能平板根据该连接请求与终端设备建立连接。Specifically, the terminal device initiates a connection request to the interactive smart tablet. Optionally, the connection request may pop up a prompt box on the interactive smart tablet, for example: XXXX connection request, to instruct the smart tablet to establish a connection with the terminal device according to the connection request. connect.
本发明实施例中,通过终端设备接收到来自交互智能平板的信息标识码后向服务器发送信息请求;从所述服务器对所述信息请求的反馈消息中获取与所述信息标识码对应的网络信息;根据所述网络信息向所述交互智能平板发起连接请求。无需用户手动将终端设备和交互智能平板统一至相同的网络,即可实现设备间互连。In the embodiment of the present invention, after receiving the information identification code from the interactive smart tablet through the terminal device, the information request is sent to the server; the network information corresponding to the information identification code is obtained from the server's feedback message to the information request ; Initiate a connection request to the interactive smart tablet according to the network information. Device-to-device interconnection can be achieved without the need for users to manually unify the terminal device and the interactive smart tablet to the same network.
可选的,所述网络信息包括交互智能平板当前连接的局域网的IP、当前连接热点的网络标识符、所述当前连接热点的接入密码、所述当前连接热点的IP和连接端口号。Optionally, the network information includes the IP of the local area network to which the interactive smart tablet is currently connected, the network identifier of the currently connected hotspot, the access password of the currently connected hotspot, the IP and the connection port number of the currently connected hotspot.
其中,交互智能平板当前连接的局域网的IP用来标识交互智能平板当前连接的网络;当前连接热点的网络标识符可以是热点SSID(Service Set Identifier),SSID用来区分不同的网络,无线网卡通过连接不同的SSID并输入相应的无线访问接入点的密码就可以接入不同的网络;当前连接热点的接入密码提供安全认证;当前连接热点的IP用来标识交互智能平板连接的热点网络;连接端口号用来区分不同的计算机服务,例如浏览网页服务的80端口号、用于FTP(File Transfer Protocol,文件传输协议)服务的21端口号等。Among them, the IP of the LAN currently connected to the interactive smart panel is used to identify the network currently connected to the interactive smart panel; the network identifier of the currently connected hotspot can be a hotspot SSID (Service Set Identifier), and the SSID is used to distinguish different networks. Connect to different SSIDs and enter the password of the corresponding wireless access point to access different networks; the access password of the currently connected hotspot provides security authentication; the IP of the currently connected hotspot is used to identify the hotspot network connected to the interactive smart tablet; The connection port number is used to distinguish different computer services, such as port 80 for web browsing services, port 21 for FTP (File Transfer Protocol, file transfer protocol) services, and the like.
在上述技术方案的基础上,本发明实施例提供的设备互连方法还包括:若所述当前连接的局域网的IP为空,则根据所述交互智能平板当前连接热点的网络标识符和所述当前连接热点的接入密码连接到所述交互智能平板的热点;根据所述当前连接热点的IP和连接端口号与所述交互智能平板建立连接。On the basis of the above technical solution, the device interconnection method provided by the embodiment of the present invention further includes: if the IP of the currently connected local area network is empty, then according to the network identifier of the hotspot currently connected to the interactive smart tablet and the The access password of the currently connected hotspot is connected to the hotspot of the interactive smart panel; and the connection is established with the interactive smart panel according to the IP and connection port number of the currently connected hotspot.
具体的,判断网络信息中的当前连接的局域网的IP是否为空,若是,则表明交互智能平板当前没有连接至其他局域网,则终端设备去连接交互智能平板自身发出的热点信号,根据从网络信息中获取到的交互智能平板当前连接热点的网络标识符来识别交互智能平板的热点信号,该网络标识符为该热点信号的唯一识别码,根据该网络标识符和当前连接热点的接入密码连接到交互智能平板的热点。然后根据当前连接热点的IP和连接端口号与交互智能平板建立连接。无需将终端设备和交互智能平板的统一至相同的局域网,即可实现终端设备和交互智能平板的互连,进而进行数据传输。Specifically, judge whether the IP of the currently connected LAN in the network information is empty, if so, it indicates that the interactive smart tablet is not currently connected to other LANs, and the terminal device connects to the hotspot signal sent by the interactive smart tablet itself, according to the information from the network The hotspot signal of the interactive smart tablet is identified by the network identifier of the hotspot currently connected to the interactive smart tablet. The network identifier is the unique identification code of the hotspot signal. According to the network identifier and the access password of the currently connected hot to the hotspot of the interactive smart tablet. Then establish a connection with the interactive smart tablet according to the IP and connection port number of the currently connected hotspot. It is not necessary to unify the terminal device and the interactive smart tablet to the same local area network, so that the terminal device and the interactive smart tablet can be interconnected for data transmission.
可选的,若所述当前连接的局域网的IP不为空,则根据所述交互智能平板当前连接的局域网的IP和端口号与所述交互智能平板进行连接;若在设定时间内未能成功连接,则根据所述交互智能平板当前连接热点的网络标识符和所述当前连接热点的接入密码连接到所述交互智能平板的热点;根据所述当前连接热点的IP和连接端口号与所述交互智能平板建立连接。Optionally, if the IP of the currently connected local area network is not empty, then connect to the interactive smart flat panel according to the IP and port number of the local area network currently connected to the interactive smart flat panel; Successfully connected, then connect to the hotspot of the interactive smart flat panel according to the network identifier of the currently connected hotspot of the interactive smart panel and the access password of the currently connected hotspot; The interactive smart panel establishes a connection.
具体的,若交互智能平板当前连接的局域网的IP不为空,则表明交互智能平板连接到了某个局域网内,则根据交互智能平板连接的局域网的IP和端口号与交互智能平板进行连接,即将终端设备连接至与交互智能平板有互连关系的局域网内。若在设定的时间内未能成功连接,该设定的时间可以取60秒,则确定连接超时,则终端设备根据交互智能平板当前连接热点的网络标识符与当前连接点的接入密码连接到智能平板的热点,并根据所述当前连接热点的IP和连接端口号与所述交互智能平板建立连接。这样设置的好处在于,当终端设备和交互智能平板在相同的局域网内时,无需切换至交互智能平板的热点,用户体验更好。需要说明的是,造成连接超时的原因可能是局域网的网络信号较弱或不稳定等。Specifically, if the IP of the LAN currently connected to the interactive smart tablet is not empty, it indicates that the interactive smart tablet is connected to a certain LAN, and the interactive smart tablet is connected to the interactive smart tablet according to the IP and port number of the LAN connected to the interactive smart tablet. The terminal equipment is connected to the local area network interconnected with the interactive smart tablet. If the connection fails within the set time, the set time can be 60 seconds, then it is determined that the connection is timed out, and the terminal device connects with the access password of the current connection point according to the network identifier of the hotspot currently connected to the interactive smart panel to the hotspot of the smart panel, and establish a connection with the interactive smart panel according to the IP and connection port number of the currently connected hotspot. The advantage of this setting is that when the terminal device and the interactive smart tablet are in the same local area network, there is no need to switch to the hotspot of the interactive smart tablet, and the user experience is better. It should be noted that the reason for the connection timeout may be that the network signal of the LAN is weak or unstable.
实施例二Embodiment two
图2为本发明实施例二提供的一种设备互连方法的流程图,本实施例可适用于多个设备需要互相连接以进行数据传输的情况,该方法可以由本发明实施例提供的设备互连装置来执行,该装置可采用软件和/或硬件的方式实现,并一般集成交互智能平板中与终端设备配合使用。参考图2,该方法具体可以包括如下步骤:Figure 2 is a flow chart of a device interconnection method provided by Embodiment 2 of the present invention. This embodiment is applicable to the situation where multiple devices need to be connected to each other for data transmission. This method can be implemented by the device interconnection method provided by the embodiment of the present invention. The device can be implemented by means of software and/or hardware, and is generally integrated into an interactive smart tablet and used in conjunction with a terminal device. Referring to Figure 2, the method specifically may include the following steps:
S210、将当前接入网络对应的网络信息发送至服务器,接收并显示所述服务器根据所述网络信息生成对应的信息标识码。S210. Send the network information corresponding to the currently accessed network to the server, receive and display the corresponding information identification code generated by the server according to the network information.
具体的,交互智能平板将当前接入网络对应的网络信息发送至服务器,其中,交互智能平板当前接入网络可以是局域网,也可以是自身网络发出的热点网络。可选的,网络信息包括交互智能平板当前连接的局域网的IP、当前连接热点的网络标识符、所述当前连接热点的接入密码、所述当前连接热点的IP和连接端口号。若交互智能平板当前无局域网连接,在发送的局域网的IP为空。在一个具体的例子中,还可以将交互智能平板的物理地址与网络信息以前发送至服务器,其中,每个设备主机都有一个物理地址,而每个网络位置会有一个专属的IP地址。Specifically, the interactive smart tablet sends network information corresponding to the currently connected network to the server, wherein the current connected network of the interactive smart tablet may be a local area network, or a hotspot network issued by its own network. Optionally, the network information includes the IP of the local area network to which the interactive smart tablet is currently connected, the network identifier of the currently connected hotspot, the access password of the currently connected hotspot, the IP and the connection port number of the currently connected hotspot. If the interactive smart tablet does not currently have a LAN connection, the IP of the sent LAN is empty. In a specific example, the physical address and network information of the interactive smart panel can also be sent to the server in advance, wherein each device host has a physical address, and each network location has a dedicated IP address.
在一个具体的例子中,服务器在收到交互智能平板发送的网络信息后,查询服务器中是否存在该物理地址的信息,若是,更新交互智能平板对应的网络信息,并更新该网络信息对应的信息标识码;若否,生成一个与交互智能平板信息关联的唯一的信息标识码。可选的,为了保证交互智能平板在互连过程中能被搜索到,优先开启交互智能平板的网络服务功能,通常情况下,该网络服务功能为开机自启动。In a specific example, after receiving the network information sent by the interactive smart tablet, the server inquires whether the information of the physical address exists in the server, and if so, updates the network information corresponding to the interactive smart tablet, and updates the information corresponding to the network information Identification code; if not, generate a unique information identification code associated with the interactive smart tablet information. Optionally, in order to ensure that the interactive smart tablet can be searched during the interconnection process, the network service function of the interactive smart tablet is preferentially enabled. Normally, the network service function is automatically started after booting.
交互智能平板接收并显示所述服务器根据所述网络信息生成对应的信息标识码,等待终端设备进行连接。将信息标识码显示在交互智能平板上,可以提示用户该信息标识码已经生成,还可以提示用户将该信息标识码输入至终端设备的相关输入框以实现设备互连。The interactive smart tablet receives and displays the corresponding information identification code generated by the server according to the network information, and waits for the terminal device to connect. Displaying the information identification code on the interactive smart panel can prompt the user that the information identification code has been generated, and can also prompt the user to input the information identification code into the relevant input box of the terminal device to realize device interconnection.
在一个具体的例子中,交互智能平板在第一次获取信息标识码后,会将其保存至本地,若在下次启动时无网络,则显示本地保存的信息标识码,若在下次启动时有网络连接,则向服务器请求更新信息标识码,并将其更新保存至本地。这样设置的好处是其他终端设备可以通过该信息标识码从服务器获取到交互智能平板的网络信息。In a specific example, after the interactive smart tablet obtains the information identification code for the first time, it will save it locally. If there is no network at the next startup, it will display the locally saved information identification code. network connection, request the update information identification code from the server, and save the update to the local. The advantage of this setting is that other terminal devices can obtain the network information of the interactive smart tablet from the server through the information identification code.
S220、接收来自终端设备发起的连接请求,所述连接请求的网络信息由所述终端设备根据所述信息标识码访问所述服务器得到。S220. Receive a connection request initiated by a terminal device, where the network information of the connection request is obtained by the terminal device accessing the server according to the information identification code.
具体的,交互智能平板接收来自终端设备发起的连接请求,可选的,终端设备发起的连接请求中携带有网络信息,该网络信息是终端设备根据信息标识码访问服务器得到,其中,服务器中存储有信息标识码与网络信息的对应关系,根据信息标识码即可在服务器中获取与其对应的网络信息。Specifically, the interactive smart tablet receives the connection request initiated by the terminal device. Optionally, the connection request initiated by the terminal device carries network information, and the network information is obtained by the terminal device accessing the server according to the information identification code, wherein the server stores There is a corresponding relationship between the information identification code and the network information, and the corresponding network information can be acquired in the server according to the information identification code.
S230、根据所述连接请求与所述终端设备建立连接。S230. Establish a connection with the terminal device according to the connection request.
具体的,交互智能平板响应终端设备的连接请求,与终端设备建立连接,成功建立连接后,可以进行数据传输。Specifically, the interactive smart tablet responds to the connection request of the terminal device, establishes a connection with the terminal device, and can perform data transmission after the connection is successfully established.
本发明实施例中,通过将当前接入网络对应的网络信息发送至服务器,接收并显示所述服务器根据所述网络信息生成对应的信息标识码,接收来自终端设备发起的连接请求,所述连接请求的网络信息由所述终端设备根据所述信息标识码访问所述服务器得到,根据所述连接请求与所述终端设备建立连接。无需用户手动将终端设备和交互智能平板统一至相同的网络,即可实现设备间互连。In the embodiment of the present invention, by sending the network information corresponding to the current access network to the server, receiving and displaying the corresponding information identification code generated by the server according to the network information, and receiving the connection request initiated by the terminal device, the connection The requested network information is obtained by the terminal device accessing the server according to the information identification code, and a connection is established with the terminal device according to the connection request. Device-to-device interconnection can be achieved without the need for users to manually unify the terminal device and the interactive smart tablet to the same network.
在上述技术方案的基础上,所述接收来自终端设备发起的连接请求,所述连接请求的网络信息由所述终端设备根据所述信息标识码访问所述服务器得到之前,还包括:当检测到所述网络信息发生变化时,向所述服务器发送信息标识码更新请求,接收所述服务器根据变化后的网络信息反馈的更新后的信息标识码;或,每隔预设时间向所述服务器发送信息标识码更新请求来获取更新后的信息标识码。On the basis of the above technical solution, before receiving the connection request initiated by the terminal device, before the network information of the connection request is obtained by the terminal device accessing the server according to the information identification code, it also includes: When the network information changes, send an information identification code update request to the server, and receive an updated information identification code fed back by the server according to the changed network information; or, send an information identification code to the server every preset time The information identification code update request is used to obtain the updated information identification code.
具体的,在接收来自终端设备发起的连接请求之前,还包括:交互智能平板检测到网络信息发生变化时,向服务器发送信息标识码更新请求,服务器为交互智能平板分配新的信息标识码。其中,当网络信息中的至少一条信息发生变化时,均表示网络信息发生了变化,则需要更新网络标识码,网络信息可以包括:交互智能平板当前连接的局域网的IP、当前连接热点的网络标识符、所述当前连接热点的接入密码、所述当前连接热点的IP和连接端口号。Specifically, before receiving the connection request initiated by the terminal device, it also includes: when the interactive smart tablet detects that the network information changes, it sends an information identification code update request to the server, and the server assigns a new information identification code to the interactive smart tablet. Among them, when at least one piece of information in the network information changes, it means that the network information has changed, and the network identification code needs to be updated. The network information can include: the IP of the local area network that the interactive smart panel is currently connected to, and the network identification of the current connection hotspot symbol, the access password of the currently connected hotspot, the IP and connection port number of the currently connected hotspot.
可选的,服务器在为交互智能平板分配新的信息标识码后,将该信息标识码设置成占用状态,具体可以通过给该信息标识码添加设定的标志位等实现。这样设置的好处在于,避免在为交互智能平板分配了新的信息标识码后,在交互智能平板使用该信息标识码之前的时间差中,该新的信息标识码被重复分配。Optionally, after the server assigns a new information identification code to the interactive smart panel, the information identification code is set to the occupied state, which can be specifically realized by adding a set flag to the information identification code. The advantage of this setting is that after the new information identification code is assigned to the interactive smart panel, it is avoided that the new information identification code is assigned repeatedly in the time difference before the interactive smart panel uses the information identification code.
此外,还可以通过每隔预设时间向服务器发送信息标识码更新请求来获取更新后的信息标识码,该预设时间可以是5分钟。更新信息标识码的操作,可以使信息标识码处于一个动态变化的过程,避免了不变的信息标识码给设备互连带来安全隐患,提高了网络连接的安全性,In addition, the updated information identification code may also be acquired by sending an information identification code update request to the server every preset time, which may be 5 minutes. The operation of updating the information identification code can make the information identification code in a process of dynamic change, avoiding the safety hazard caused by the unchanged information identification code to the interconnection of devices, and improving the security of network connection.
在上述技术方案的基础上,终端设备在收到更新后的信息标识码后,将接收到的消息反馈至服务器,避免服务器更新信息标识码后而终端设备未收到更新的信息标识码而导致的连接失败。On the basis of the above technical solution, after the terminal device receives the updated information identification code, it will feed back the received message to the server, so as to avoid the problem caused by the terminal device not receiving the updated information identification code after the server updates the information identification code. The connection failed for .
在本发明实施例的基础上,信息标识码还可以通过如下编码规则生成:由设备唯一标识和8位连接信息组成,其中,设备唯一标识是指交互智能平板在服务器上的唯一标识,可以用物理地址作为该唯一标识,还可以用经过已经编码规则的数字或字母组成,假设长度为4位数字或大写字母的组合,如1A2B;8位连接信息是包含交互智能平板的IP和端口号的信息,其中,交互智能平板的IP可以优先选取局域网IP,若无局域网连接,则选用交互智能平板的热点IP,按设计规则编码的数字或大写字母组成,如UA67WW4RA,在这个例子中,交互智能平板上显示的信息标识码为1A2BUA67WW4RA。当终端设备无法通过服务器获取到交互智能平板的网络信息时,或者获取到的信息有误时,可以从该信息标识码中解析出交互智能平板的IP和端口号进行尝试连接,只要终端设备和交互智能平板在相同的局域网内,即可连接成功。On the basis of the embodiment of the present invention, the information identification code can also be generated by the following coding rules: it is composed of a unique device identifier and 8-bit connection information, wherein the unique device identifier refers to the unique identifier of the interactive smart panel on the server, which can be used As the unique identifier, the physical address can also be composed of numbers or letters that have been encoded regularly, assuming that the length is a combination of 4 digits or uppercase letters, such as 1A2B; the 8-digit connection information includes the IP and port number of the interactive smart panel Information, among them, the IP of the interactive smart tablet can be selected as the LAN IP first. If there is no LAN connection, the hot IP of the interactive smart The message ID code displayed on the tablet is 1A2BUA67WW4RA. When the terminal device cannot obtain the network information of the interactive smart panel through the server, or the obtained information is incorrect, it can parse out the IP and port number of the interactive smart panel from the information identification code and try to connect, as long as the terminal device and The interactive smart tablet can be connected successfully if it is in the same local area network.
在每隔预设时间向所述服务器发送信息标识码更新请求来获取更新后的信息标识码的过程中,该编码规则下的设备唯一标识码不变,但是8位连接信息会按照一定的规则重新编码。当交互智能平板超过设定的时间没有请求更新信息标识码,则认为该交互智能平板已经停止网络连接服务,服务器将清理该交互智能平板的设备唯一标识,留出空间给其他交互智能平板使用。这样设置的好处在于,在服务器不工作的状态下,终端设备仍然可以通过连接信息标识码来获取交互智能平板的IP和端口号,只要保证终端设备和交互智能平板处于相同的局域网内即可,尝试与交互智能平板进行连接。During the process of sending an information identification code update request to the server at preset times to obtain the updated information identification code, the unique equipment identification code under this encoding rule remains unchanged, but the 8-digit connection information will be in accordance with certain rules Recode. When the interactive smart panel does not request to update the information identification code within the set time, it is considered that the interactive smart panel has stopped the network connection service, and the server will clear the unique device identifier of the interactive smart panel to leave space for other interactive smart panels to use. The advantage of this setting is that when the server is not working, the terminal device can still obtain the IP and port number of the interactive smart tablet through the connection information identification code, as long as the terminal device and the interactive smart tablet are in the same local area network. Try to connect with the interactive smart tablet.
实施例三Embodiment three
图3为本发明实施例三提供的设备互连系统的结构示意图,参考图3,该设备互连系统包括交互智能平板310和终端设备320,其中:FIG. 3 is a schematic structural diagram of a device interconnection system provided by Embodiment 3 of the present invention. Referring to FIG. 3 , the device interconnection system includes an interactive smart tablet 310 and a terminal device 320, wherein:
终端设备320接收到来自交互智能平板310的信息标识码后向服务器发送信息请求;The terminal device 320 sends an information request to the server after receiving the information identification code from the interactive smart panel 310;
交互智能平板310将当前接入网络对应的网络信息发送至服务器,接收并显示所述服务器根据所述网络信息生成对应的信息标识码;The interactive smart panel 310 sends the network information corresponding to the current access network to the server, receives and displays the corresponding information identification code generated by the server according to the network information;
终端设备320从所述服务器对所述信息请求的反馈消息中获取与所述信息标识码对应的网络信息;The terminal device 320 obtains the network information corresponding to the information identification code from the server's feedback message to the information request;
终端设备320根据所述网络信息向交互智能平板310发起连接请求。The terminal device 320 initiates a connection request to the interactive smart tablet 310 according to the network information.
交互智能平板310接收来自终端设备320发起的连接请求,所述连接请求的网络信息由终端设备320根据所述信息标识码访问所述服务器得到;The interactive smart panel 310 receives a connection request initiated by the terminal device 320, and the network information of the connection request is obtained by the terminal device 320 accessing the server according to the information identification code;
交互智能平板310根据所述连接请求与终端设备320建立连接。The interactive smart tablet 310 establishes a connection with the terminal device 320 according to the connection request.
本发明实施例中,通过终端设备接收到来自交互智能平板的信息标识码后向服务器发送信息请求;交互智能平板将当前接入网络对应的网络信息发送至服务器,接收并显示所述服务器根据所述网络信息生成对应的信息标识码;所述终端设备从所述服务器对所述信息请求的反馈消息中获取与所述信息标识码对应的网络信息;所述终端设备根据所述网络信息向所述交互智能平板发起连接请求。所述交互智能平板接收来自终端设备发起的连接请求,所述连接请求的网络信息由所述终端设备根据所述信息标识码访问所述服务器得到;所述交互智能平板根据所述连接请求与所述终端设备建立连接。无需用户手动将终端设备和交互智能平板统一至相同的网络,即可实现设备间互连。In the embodiment of the present invention, after receiving the information identification code from the interactive smart tablet through the terminal device, the information request is sent to the server; the interactive smart tablet sends the network information corresponding to the current access network to the server, receives and displays the The corresponding information identification code is generated from the network information; the terminal device obtains the network information corresponding to the information identification code from the feedback message of the server to the information request; the terminal device sends the network information to the The above-mentioned interactive smart tablet initiates a connection request. The interactive smart panel receives a connection request initiated by a terminal device, and the network information of the connection request is obtained by the terminal device accessing the server according to the information identification code; to establish a connection with the above-mentioned terminal device. Device-to-device interconnection can be achieved without the need for users to manually unify the terminal device and the interactive smart tablet to the same network.
在本发明上述实施例的基础上,将终端设备作为发送端,将交互智能平板作为接收端,以接收端、发送端和服务器的连接过程为例对设备互连进行说明。On the basis of the above embodiments of the present invention, the terminal device is used as the sending end, the interactive smart tablet is used as the receiving end, and the connection process of the receiving end, the sending end, and the server is taken as an example to illustrate device interconnection.
首先,接收端的交互智能平板将自身连接的局域网IP、热点IP、热点SSID、热点密码、端口号以及交互智能平板的物理地址发送给服务器;服务器保存交互智能平板的上述网络信息,并根据该交互智能平板网络信息生成信息标识码,将该信息标识码与交互智能平板关联,其中,将该信息标识码与交互智能平板的物理地址绑定,也即,在服务器上通过查找信息标识码或者物理地址均可以唯一确定一台交互智能平板。First, the interactive smart tablet at the receiving end sends the connected LAN IP, hotspot IP, hotspot SSID, hotspot password, port number and physical address of the interactive smart tablet to the server; the server saves the above network information of the interactive smart tablet, and according to the interaction The smart panel network information generates an information identification code, and associates the information identification code with the interactive smart panel, where the information identification code is bound to the physical address of the interactive smart panel, that is, by searching the information identification code or the physical address of the interactive smart panel on the server. The address can uniquely determine an interactive smart tablet.
其次,服务器将信息标识码返回给交互智能平板,交互智能平板接收并显示该信息标识码,可选的,若服务器未返回信息标识码,则可以应用本地存储的信息标识码尝试连接。Secondly, the server returns the information identification code to the interactive smart panel, and the interactive smart panel receives and displays the information identification code. Optionally, if the server does not return the information identification code, the locally stored information identification code can be used to try to connect.
最后,在终端设备上输入交互智能平板的信息识别码,向服务器请求与信息标识码对应的网络信息;服务器根据该信息标识码,返回对应的网络信息;终端设备根据热点SSID以及热点密码切换到交互智能平板的热点,再根据热点IP和端口号向交互智能平板发起连接请求;交互智能平板与终端设备建立连接后,开始进行数据传输。无需用户手动将终端设备和交互智能平板统一至相同的网络,即可实现设备间互连。Finally, input the information identification code of the interactive smart panel on the terminal device, and request the network information corresponding to the information identification code from the server; the server returns the corresponding network information according to the information identification code; the terminal device switches to The hotspot of the interactive smart tablet initiates a connection request to the interactive smart tablet according to the hotspot IP and port number; after the interactive smart tablet establishes a connection with the terminal device, data transmission begins. Device-to-device interconnection can be achieved without the need for users to manually unify the terminal device and the interactive smart tablet to the same network.
实施例四Embodiment Four
图4是本发明实施例四提供的一种设备互连装置的结构示意图,该装置适用于执行本发明实施例提供给的一种设备互连方法,并一般集成在终端设备中与交互智能平板配合使用。如图4所示,该装置具体可以包括:Fig. 4 is a schematic structural diagram of a device interconnection device provided in Embodiment 4 of the present invention. The device is suitable for implementing a device interconnection method provided in the embodiment of the present invention, and is generally integrated in a terminal device with an interactive smart tablet With the use of. As shown in Figure 4, the device may specifically include:
信息发送模块410,用于接收到来自交互智能平板的信息标识码后向服务器发送信息请求;The information sending module 410 is used to send an information request to the server after receiving the information identification code from the interactive smart panel;
网络信息获取模块420,用于从所述服务器对所述信息请求的反馈消息中获取与所述信息标识码对应的网络信息;A network information obtaining module 420, configured to obtain the network information corresponding to the information identification code from the server's feedback message to the information request;
请求发起模块430,根据所述网络信息向所述交互智能平板发起连接请求。The request initiating module 430 initiates a connection request to the interactive smart tablet according to the network information.
进一步的,所述网络信息包括交互智能平板当前连接的局域网的IP、当前连接热点的网络标识符、所述当前连接热点的接入密码、所述当前连接热点的IP和连接端口号。Further, the network information includes the IP of the local area network to which the interactive smart tablet is currently connected, the network identifier of the currently connected hotspot, the access password of the currently connected hotspot, the IP and the connection port number of the currently connected hotspot.
进一步的,还包括:Further, it also includes:
第一网络连接模块,用于在所述当前连接的局域网的IP为空时根据所述交互智能平板当前连接热点的网络标识符和所述当前连接热点的接入密码连接到所述交互智能平板的热点;The first network connection module is used to connect to the interactive smart panel according to the network identifier of the currently connected hotspot of the interactive smart panel and the access password of the currently connected hotspot when the IP of the currently connected local area network is empty hot spots;
第一设备连接模块,用于根据所述当前连接热点的IP和连接端口号与所述交互智能平板建立连接。The first device connection module is configured to establish a connection with the interactive smart tablet according to the IP and connection port number of the current connection hotspot.
进一步的,还包括:Further, it also includes:
第二设备连接模块,用于在所述当前连接的局域网的IP不为空时根据所述交互智能平板当前连接的局域网的IP和端口号与所述交互智能平板进行连接;The second device connection module is used to connect to the interactive smart panel according to the IP and port number of the local area network currently connected to the interactive smart panel when the IP of the currently connected local area network is not empty;
第二网络连接模块,用于在设定时间内未能成功连接时,根据所述交互智能平板当前连接热点的网络标识符和所述当前连接热点的接入密码连接到所述交互智能平板的热点;The second network connection module is used to connect to the interactive smart panel according to the network identifier of the currently connected hotspot of the interactive smart panel and the access password of the currently connected hotspot when the connection fails within the set time. hot spot;
第三设备连接模块,用于根据所述当前连接热点的IP和连接端口号与所述交互智能平板建立连接。A third device connection module, configured to establish a connection with the interactive smart tablet according to the IP and connection port number of the current connection hotspot.
本发明实施例提供的设备互连装置可执行本发明任意实施例提供的设备互连方法,具备执行方法相应的功能模块和有益效果。The device interconnection device provided in the embodiment of the present invention can execute the device interconnection method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
实施例五Embodiment five
图5是本发明实施例五提供的一种设备互连装置的结构示意图,该装置适用于执行本发明实施例提供给的一种设备互连方法,并一般集成在交互智能平板中与终端设备配合使用。如图5所示,该装置具体可以包括:Fig. 5 is a schematic structural diagram of a device interconnection device provided in Embodiment 5 of the present invention. The device is suitable for implementing a device interconnection method provided in the embodiment of the present invention, and is generally integrated in an interactive smart tablet with a terminal device With the use of. As shown in Figure 5, the device may specifically include:
信息接收模块510,用于将当前接入网络对应的网络信息发送至服务器,接收并显示所述服务器根据所述网络信息生成对应的信息标识码;The information receiving module 510 is configured to send the network information corresponding to the current access network to the server, receive and display the corresponding information identification code generated by the server according to the network information;
请求接收模块520,用于接收来自终端设备发起的连接请求,所述连接请求的网络信息由所述终端设备根据所述信息标识码访问所述服务器得到;The request receiving module 520 is configured to receive a connection request initiated by a terminal device, and the network information of the connection request is obtained by the terminal device accessing the server according to the information identification code;
连接模块530,用于根据所述连接请求与所述终端设备建立连接。A connection module 530, configured to establish a connection with the terminal device according to the connection request.
进一步的,还包括:Further, it also includes:
更新模块,用于在接收来自终端设备发起的连接请求,所述连接请求的网络信息由所述终端设备根据所述信息标识码访问所述服务器得到之前,当检测到所述网络信息发生变化时,向所述服务器发送信息标识码更新请求,接收所述服务器根据变化后的网络信息反馈的更新后的信息标识码;或,An update module, configured to detect that the network information has changed before receiving a connection request initiated by the terminal device, and before the network information of the connection request is obtained by the terminal device accessing the server according to the information identification code , sending an information identification code update request to the server, and receiving an updated information identification code fed back by the server according to the changed network information; or,
每隔预设时间向所述服务器发送信息标识码更新请求来获取更新后的信息标识码。Sending an information identification code update request to the server every preset time to obtain an updated information identification code.
本发明实施例提供的设备互连装置可执行本发明任意实施例提供的设备互连方法,具备执行方法相应的功能模块和有益效果。The device interconnection device provided in the embodiment of the present invention can execute the device interconnection method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
实施例六Embodiment six
图6为本发明实施例六提供的一种计算机设备的结构示意图。图6示出了适于用来实现本发明实施方式的示例性计算机设备12的框图。图6显示的计算机设备12仅仅是一个示例,不应对本发明实施例的功能和使用范围带来任何限制。FIG. 6 is a schematic structural diagram of a computer device provided by Embodiment 6 of the present invention. Figure 6 shows a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in FIG. 6 is only an example, and should not limit the functions and scope of use of this embodiment of the present invention.
如图6所示,计算机设备12以通用计算设备的形式表现。计算机设备12的组件可以包括但不限于:一个或者多个处理器或者处理单元16,系统存储器28,连接不同系统组件(包括系统存储器28和处理单元16)的总线18。As shown in FIG. 6, computer device 12 takes the form of a general-purpose computing device. Components of computer device 12 may include, but are not limited to: one or more processors or processing units 16 , system memory 28 , bus 18 connecting various system components including system memory 28 and processing unit 16 .
总线18表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口号,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port number, a processor, or a local bus using any of a variety of bus structures. These architectures include, by way of example, but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.
计算机设备12典型地包括多种计算机系统可读介质。这些介质可以是任何能够被计算机设备12访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer device 12 and include both volatile and nonvolatile media, removable and non-removable media.
系统存储器28可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)30和/或高速缓存存储器32。计算机设备12可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统34可以用于读写不可移动的、非易失性磁介质(图6未显示,通常称为“硬盘驱动器”)。尽管图6中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线18相连。系统存储器28可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本发明各实施例的功能。System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32 . Computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard drive"). Although not shown in FIG. 6, a disk drive for reading and writing to removable non-volatile disks (such as "floppy disks") may be provided, as well as for removable non-volatile optical disks (such as CD-ROM, DVD-ROM or other optical media) CD-ROM drive. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present invention.
具有一组(至少一个)程序模块42的程序/实用工具40,可以存储在例如系统存储器28中,这样的程序模块42包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块42通常执行本发明所描述的实施例中的功能和/或方法。A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including - but not limited to - an operating system, one or more application programs, other Program modules, as well as program data, each or some combination of these examples may include implementations of network environments. Program modules 42 generally perform the functions and/or methodologies of the described embodiments of the invention.
计算机设备12也可以与一个或多个外部设备14(例如键盘、指向设备、显示器24等)通信,还可与一个或者多个使得用户能与该计算机设备12交互的设备通信,和/或与使得该计算机设备12能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口22进行。并且,计算机设备12还可以通过网络适配器20与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器20通过总线18与计算机设备12的其它模块通信。应当明白,尽管图6中未示出,可以结合计算机设备12使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The computer device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, pointing device, display 24, etc.), and with one or more devices that enable a user to interact with the computer device 12, and/or with Any device (eg, network card, modem, etc.) that enables the computing device 12 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interface 22 . Also, the computer device 12 can also communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN) and/or a public network, such as the Internet) through the network adapter 20 . As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18 . It should be appreciated that although not shown in FIG. 6, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape Drives and data backup storage systems, etc.
处理单元16通过运行存储在系统存储器28中的程序,从而执行各种功能应用以及数据处理,例如实现本发明实施例所提供的应用于终端设备的设备互连方法:The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implements the device interconnection method applied to the terminal device provided by the embodiment of the present invention:
也即,所述处理单元执行所述程序时实现:接收到来自交互智能平板的信息标识码后向服务器发送信息请求;从所述服务器对所述信息请求的反馈消息中获取与所述信息标识码对应的网络信息;根据所述网络信息向所述交互智能平板发起连接请求。That is, when the processing unit executes the program, it realizes: sending an information request to the server after receiving the information identification code from the interactive smart panel; The network information corresponding to the code; initiate a connection request to the interactive smart tablet according to the network information.
还可以实现本发明实施例所提供的应用于交互智能平板的设备互连方法:The device interconnection method applied to the interactive smart tablet provided by the embodiment of the present invention can also be implemented:
也即,所述处理单元执行所述程序时实现:将当前接入网络对应的网络信息发送至服务器,接收并显示所述服务器根据所述网络信息生成对应的信息标识码;接收来自终端设备发起的连接请求,所述连接请求的网络信息由所述终端设备根据所述信息标识码访问所述服务器得到;根据所述连接请求与所述终端设备建立连接。That is, when the processing unit executes the program, it realizes: sending the network information corresponding to the current access network to the server, receiving and displaying the corresponding information identification code generated by the server according to the network information; A connection request, the network information of the connection request is obtained by the terminal device accessing the server according to the information identification code; and establishing a connection with the terminal device according to the connection request.
实施例七Embodiment seven
本发明实施例七提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明实施例所提供的应用于终端设备的设备互连方法:Embodiment 7 of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the device interconnection method applied to a terminal device provided by the embodiment of the present invention is implemented:
也即,所述处理单元执行所述程序时实现:接收到来自交互智能平板的信息标识码后向服务器发送信息请求;从所述服务器对所述信息请求的反馈消息中获取与所述信息标识码对应的网络信息;根据所述网络信息向所述交互智能平板发起连接请求。That is, when the processing unit executes the program, it realizes: sending an information request to the server after receiving the information identification code from the interactive smart panel; The network information corresponding to the code; initiate a connection request to the interactive smart tablet according to the network information.
还可以实现本发明实施例所提供的应用于交互智能平板的设备互连方法:The device interconnection method applied to the interactive smart tablet provided by the embodiment of the present invention can also be realized:
也即,所述处理单元执行所述程序时实现:将当前接入网络对应的网络信息发送至服务器,接收并显示所述服务器根据所述网络信息生成对应的信息标识码;接收来自终端设备发起的连接请求,所述连接请求的网络信息由所述终端设备根据所述信息标识码访问所述服务器得到;根据所述连接请求与所述终端设备建立连接。That is, when the processing unit executes the program, it realizes: sending the network information corresponding to the current access network to the server, receiving and displaying the corresponding information identification code generated by the server according to the network information; A connection request, the network information of the connection request is obtained by the terminal device accessing the server according to the information identification code; and establishing a connection with the terminal device according to the connection request.
可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more leads, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including - but not limited to - electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including - but not limited to - wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of the present invention may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as through an Internet service provider). Internet connection).
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810306336.9ACN108540552B (en) | 2018-04-08 | 2018-04-08 | Device interconnection method, apparatus, system, device and storage medium |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810306336.9ACN108540552B (en) | 2018-04-08 | 2018-04-08 | Device interconnection method, apparatus, system, device and storage medium |
| Publication Number | Publication Date |
|---|---|
| CN108540552Atrue CN108540552A (en) | 2018-09-14 |
| CN108540552B CN108540552B (en) | 2021-05-04 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810306336.9AActiveCN108540552B (en) | 2018-04-08 | 2018-04-08 | Device interconnection method, apparatus, system, device and storage medium |
| Country | Link |
|---|---|
| CN (1) | CN108540552B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109548060A (en)* | 2018-12-29 | 2019-03-29 | 广州敬信药草园信息科技有限公司 | Processing method for abnormal disconnection of recorded broadcast network |
| CN111629371A (en)* | 2020-05-06 | 2020-09-04 | 上海幻电信息科技有限公司 | Screen projection method and system |
| CN112383970A (en)* | 2020-11-02 | 2021-02-19 | 联想(北京)有限公司 | Processing method and device and electronic equipment |
| CN115022709A (en)* | 2022-06-10 | 2022-09-06 | 江苏银河数字技术有限公司 | Intelligent set top box wireless screen projection management and control system and method |
| CN116113068A (en)* | 2021-11-09 | 2023-05-12 | 广州视源电子科技股份有限公司 | Connection method, device, computer equipment and storage medium for wireless screen transmission |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005003987A1 (en)* | 2003-07-02 | 2005-01-13 | Nokia Corporation | System, apparatus, and method for a mobile information server |
| CN102868916A (en)* | 2012-08-27 | 2013-01-09 | 腾讯科技(深圳)有限公司 | Method for sharing information with digital television terminal, terminals and information sharing system |
| CN105975225A (en)* | 2016-04-26 | 2016-09-28 | 深圳Tcl数字技术有限公司 | Multi-screen interaction connection method, device and system |
| CN107018524A (en)* | 2017-04-27 | 2017-08-04 | 上海斐讯数据通信技术有限公司 | Network configuration information management method and system, Cloud Server based on Cloud Server |
| CN107708223A (en)* | 2017-09-28 | 2018-02-16 | 努比亚技术有限公司 | A kind of information interacting method, equipment and computer-readable recording medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2005003987A1 (en)* | 2003-07-02 | 2005-01-13 | Nokia Corporation | System, apparatus, and method for a mobile information server |
| CN102868916A (en)* | 2012-08-27 | 2013-01-09 | 腾讯科技(深圳)有限公司 | Method for sharing information with digital television terminal, terminals and information sharing system |
| CN105975225A (en)* | 2016-04-26 | 2016-09-28 | 深圳Tcl数字技术有限公司 | Multi-screen interaction connection method, device and system |
| CN107018524A (en)* | 2017-04-27 | 2017-08-04 | 上海斐讯数据通信技术有限公司 | Network configuration information management method and system, Cloud Server based on Cloud Server |
| CN107708223A (en)* | 2017-09-28 | 2018-02-16 | 努比亚技术有限公司 | A kind of information interacting method, equipment and computer-readable recording medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109548060A (en)* | 2018-12-29 | 2019-03-29 | 广州敬信药草园信息科技有限公司 | Processing method for abnormal disconnection of recorded broadcast network |
| CN111629371A (en)* | 2020-05-06 | 2020-09-04 | 上海幻电信息科技有限公司 | Screen projection method and system |
| CN111629371B (en)* | 2020-05-06 | 2021-09-03 | 上海幻电信息科技有限公司 | Screen projection method and system |
| US12041688B2 (en) | 2020-05-06 | 2024-07-16 | Shanghai Hode Information Technology Co., Ltd. | Screen projection method and system |
| CN112383970A (en)* | 2020-11-02 | 2021-02-19 | 联想(北京)有限公司 | Processing method and device and electronic equipment |
| CN116113068A (en)* | 2021-11-09 | 2023-05-12 | 广州视源电子科技股份有限公司 | Connection method, device, computer equipment and storage medium for wireless screen transmission |
| CN115022709A (en)* | 2022-06-10 | 2022-09-06 | 江苏银河数字技术有限公司 | Intelligent set top box wireless screen projection management and control system and method |
| CN115022709B (en)* | 2022-06-10 | 2023-08-29 | 江苏银河数字技术有限公司 | Intelligent set top box wireless screen-throwing management and control system and method |
| Publication number | Publication date |
|---|---|
| CN108540552B (en) | 2021-05-04 |
| Publication | Publication Date | Title |
|---|---|---|
| US10193971B2 (en) | Method, server and system for application synchronization | |
| CN108540552A (en) | Device interconnection method, apparatus, system, device and storage medium | |
| CN105122931B (en) | Electronic equipment and the method that personal cloud device is registered in its portal user server | |
| US10148852B2 (en) | Image processing system, control apparatus, image processing apparatus, and methods of controlling these | |
| CN109933442B (en) | Method, apparatus and computer storage medium for communication between small program platforms | |
| US20130346591A1 (en) | Clientless Cloud Computing | |
| WO2017024842A1 (en) | Internet access authentication method, client, computer storage medium | |
| EP3320423A1 (en) | Authentication method, apparatus, and system | |
| JP7475476B2 (en) | Information processing method, device and storage medium | |
| CN108280020B (en) | Monitoring method and device of computer equipment, terminal and computer storage medium | |
| CN104580376A (en) | Method, device and system for constructing connection between terminals in local area network | |
| CN116760567A (en) | Account association methods, devices, electronic devices and storage media | |
| EP3136248B1 (en) | Access management system, communication system, recording medium and access management method | |
| CN109976922A (en) | Discovery method, device and computer storage medium between applet platforms | |
| CN111866557B (en) | Configuration method and device of large-screen display equipment, storage medium and electronic equipment | |
| WO2016119623A1 (en) | Method and device for realizing network sharing | |
| US20040221151A1 (en) | Information processing system including communication-enabled information processing device equipped with no user interface and a method of control thereof | |
| CN110493646A (en) | Method, apparatus, TV and the system of TV upgrading are carried out by external equipment | |
| CN107708183B (en) | Decoding algorithm determination method, device, terminal and storage medium | |
| CN114422236B (en) | Intelligent device access method, device and electronic device | |
| CN114785914A (en) | Display device, control apparatus, and device configuration method | |
| CN115098052A (en) | Screen projection method, device, equipment and storage medium | |
| CN107220090A (en) | Method and device for starting built-in software in external equipment | |
| CN115834269B (en) | Device network access method, device, electronic device and storage medium | |
| CN111142820B (en) | Remote control method, device and system based on multiple screens |
| 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 |