Local area network equipment connection method, storage medium and electronic equipment

By implementing the automatic connection reconstruction mechanism in the conference equipment, the communication interruption caused by the IP address of the conference host device is solved, and the security and convenience of device reconnection are improved.

CN119996384AActive Publication Date: 2025-05-13GUANGZHOU SHIZHEN INFORMATION TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202311468879.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-06
Publication Date
2025-05-13
Estimated Expiration
2043-11-06

AI Technical Summary

Technical Problem

In the conference scenario, the IP address of the conference host device changes lead to interruption of communication control. The prior art requires the user to manually enter the pairing code, which has problems such as low security and inconvenient operation.

Method used

By implementing an automatic connection reconstruction mechanism in the conference device, when the IP address of the conference host device changes, the conference device automatically broadcasts the service service request information and verifies the access token to re-establish the connection with the conference host device.

Benefits of technology

It improves the security and convenience of device reconnection, avoids the step of manually entering pairing codes by users, and ensures automatic reconnection when the IP address changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996384A_ABST
    Figure CN119996384A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a local area network device connection method, a storage medium and an electronic device, and the method comprises the steps: a conference device connects a local area network where a conference host device is located when the IP address of the conference host device is changed, and broadcasts business service request information in the local area network; if the conference host equipment has the corresponding business service, the conference host equipment sends second equipment response information to the conference equipment; the conference equipment sends the stored first access token information to conference host equipment; and if the conference host equipment judges that the received first access token information is the same as pre-stored second access token information, the conference equipment establishes a second control communication channel with the conference host equipment, so as to perform control data interaction based on the second control communication channel. According to the embodiment of the invention, when the IP address of the conference host equipment is changed, the conference equipment automatically reestablishes the connection with the conference host equipment, so that the security and convenience of reconnection are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communication connection, and in particular, to a local area network device connection method, a storage medium, and an electronic device. Background Art

[0002] With the rapid development of Internet of Things technology, more and more network devices need to achieve network communication within the same local area network. In related technologies, in a conference scenario, a conference host device and several controlled devices are deployed in a conference room. Users usually need to connect an external display screen and mouse to the conference host device to control the conference host device, which is inconvenient to operate. When the external devices such as the display screen and mouse and the controlled devices communicate with the conference host device by accessing the local area network where the conference host device is located, the IP address (Internet Protocol Address) of the opposite conference host device is usually recorded as a communication bridge.

[0003] However, if the IP of the other end conference host device cannot be accessed due to changes in the network environment, the communication control is interrupted and re-pairing is required. The relevant pairing method requires a public pairing code, which the user memorizes and then enters manually. The public pairing code method is not very secure, and the manual pairing code entry method is very inconvenient. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present application provides a local area network device connection method, a storage medium and an electronic device. When the IP address of the conference host device changes, the conference device automatically re-establishes the connection with the conference host device, thereby improving the security and convenience of reconnection.

[0005] According to a first aspect of an embodiment of the present application, a method for connecting a local area network device is provided, comprising the following steps:

[0006] The conference device sends a connection check instruction to the conference host device based on the pre-established first control communication channel;

[0007] If the connection check response instruction is not received within the first preset time, the conference device connects to the local area network where the conference host device is located, and broadcasts the business service request information in the local area network;

[0008] If it is determined according to the business service request information that the conference host device has the corresponding business service, the conference host device sends a second device response information to the conference device via the local area network;

[0009] The conference device obtains the second device response information received within a second preset time, and sends the stored first access token information to the conference host device based on the second device response information;

[0010] If the conference host device determines that the received first access token information is the same as the pre-stored second access token information, the conference device establishes a second control communication channel with the conference host device;

[0011] The conference device and the conference host device exchange control data based on the second control communication channel.

[0012] According to a second aspect of an embodiment of the present application, a local area network device connection method is provided, including:

[0013] Sending a connection check instruction to the conference host device based on a pre-established first control communication channel;

[0014] If the connection check response instruction is not received within the first preset time, connecting to the local area network where the conference host device is located, and broadcasting the business service request information in the local area network;

[0015] If it is determined according to the business service request information that the conference host device has the corresponding business service, obtaining the second device response information sent by the conference host device within a second preset time, and sending the stored first access token information to the conference host device based on the second device response information;

[0016] If the first access token information is identical to the second access token information pre-stored by the conference host device, establishing a second control communication channel with the conference host device;

[0017] Control data interaction is performed with the conference host device based on the second control communication channel.

[0018] According to a third aspect of an embodiment of the present application, there is provided an electronic device, comprising a processor and a memory; the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the local area network device connection method as described above.

[0019] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the local area network device connection method as described above is implemented.

[0020] The conference device of the embodiment of the present application sends a connection check instruction to the conference host device based on a pre-established first control communication channel; if the connection check response instruction of the conference host device is not received within the first preset time, the conference device connects to the local area network where the conference host device is located, and broadcasts business service request information in the local area network; if it is determined according to the business service request information that the conference host device has the corresponding business service, the conference host device sends second device response information to the conference device through the local area network; based on the second device response information, the conference device sends the stored first access token information to the conference host device; if the conference host device determines that the received first access token information is the same as the pre-stored second access token information, the conference device establishes a second control communication channel with the conference host device; the conference device and the conference host device exchange control data based on the second control communication channel. In the embodiment of the present application, when the conference device is unable to exchange data with the conference host device through the pre-established first control communication channel because the IP address of the conference host device has changed, the conference device automatically broadcasts the business service request information and verifies the first access token information, and then automatically re-establishes the connection with the conference host device without disclosing the pairing code or the user remembering the pairing code for manual input, thereby improving the security and convenience of device reconnection.

[0021] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application.

[0022] For better understanding and implementation, the present invention is described in detail below with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0024] Figure 1 A schematic diagram of an application scenario of a local area network device connection method shown in an embodiment of the present application;

[0025] Figure 2 This is a flow chart of a method for connecting local area network devices according to the first embodiment of the present application;

[0026] Figure 3 A schematic diagram of a method for connecting local area network devices according to an embodiment of the present application;

[0027] Figure 4 A flowchart of a method for establishing a first control communication channel shown in one embodiment of the present application;

[0028] Figure 5 A schematic diagram of a method for establishing a first control communication channel shown in an embodiment of the present application;

[0029] Figure 6 A flowchart of a method for determining first access token information shown in one embodiment of the present application;

[0030] Figure 7 A flowchart of a method for determining first access token information shown as another embodiment of the present application;

[0031] Figure 8 A flowchart of a method for controlling data interaction between a conference touch device and a conference host device, shown in one embodiment of the present application;

[0032] Fig. 9 A flowchart of a method for controlling data interaction between a controlled device and a conference host device, shown in one embodiment of the present application;

[0033] Fig.10 This is a flow chart of a method for connecting local area network devices according to a second embodiment of the present application;

[0034] Fig.11 This is a schematic block diagram of a method and apparatus for connecting local area network devices according to a third embodiment of the present application;

[0035] Fig.12 This is a schematic diagram of the structure of an electronic device shown in the fourth embodiment of the present application. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solution and advantages of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. Wherein, when the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements.

[0037] It should be clear that the implementation methods described in the embodiments described below do not represent all implementation methods consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0038] The terms used in this application are only for the purpose of describing specific embodiments and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application are also intended to include plural forms, unless the context clearly indicates other meanings. In addition, in the description of this application, unless otherwise specified, "multiple" refers to two or more. It should also be understood that the term "and / or" used in this article refers to and includes any or all possible combinations of one or more associated listed items, for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone; the character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0039] It should be understood that, although the terms first, second, third, etc. may be used in the present application to describe various information, such information should not be limited to these terms, and these terms are only used to distinguish similar objects, and do not have to be used to describe a specific order or sequence, nor can they be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. Depending on the context, the words "if" / "if" used in the present application can be interpreted as "at the time of" or "when" or "in response to determination".

[0040] The LAN device connection method of the embodiment of the present application can be applied to education scenarios, conference scenarios, and other scenarios. The following is an exemplary description using the application in a conference scenario as an example.

[0041] See also Figure 1 , which is a schematic diagram of an application scenario of the LAN device connection method shown in an embodiment of the present application. The application scenario of the LAN device connection method of the embodiment of the present application includes a conference host device 10, a conference device 20 and a router 30. In the embodiment of the present application, the conference device 20 includes a conference touch device 21 and a plurality of controlled devices 22.

[0042] The conference host device 10 can also be called a central host or a projection box, etc. The conference host device 10 is used to realize the centralized management of the conference room network devices, and the conference host device 10 receives the control data of the conference touch device 21 to realize the centralized control of several controlled devices 22.

[0043] Specifically, the conference host device 10 sends the host operation interface data to the conference touch control device 21 through the local area network; the conference touch control device 21 displays the host operation interface according to the host operation interface data, and the conference touch control device 21 responds to the touch command of the host operation interface and sends the touch command to the conference host device 10. The conference host device 10 performs data processing or sends corresponding control commands to the corresponding controlled device based on the touch command to realize control of the controlled device.

[0044] Among them, the conference touch device 21 is used to control the conference host device 10. It can be understood that the conference touch device 21 includes at least one display screen. Specifically, the conference touch device 21 is configured with a display screen with a touch function. From the technical principle, the display screen can be a capacitive screen, a resistive screen, an electromagnetic screen, an infrared screen, and a surface acoustic wave screen. The user can implement touch operation by touching the display screen with a finger or a stylus. Correspondingly, the conference touch device 21 detects the touch position, and determines a response scheme according to the display content corresponding to the touch position, and then responds to implement the touch function. The conference touch device 21 can be a computer device such as a mobile phone or an interactive tablet. The conference touch device 21 can establish a connection with the conference host device 10 through a local area network connected to the conference host device 10.

[0045] The controlled device 22 is used to realize the intelligence of the conference room. The controlled device 22 may include a camera, a microphone, a light, and other devices. The controlled device 22 may establish a connection with the conference host device 10 through a connection interface plugged into the conference host device 10, or the controlled device 22 may establish a connection with the conference host device 10 through a local area network connected to the conference host device 10.

[0046] The router 30 is used to connect the conference host device 10 and the conference touch device 21 and the conference host device 10 and the controlled device 22 in the local area network, and serves as a data bridge between the conference host device 10 and the conference touch device 21 and the conference host device 10 and the controlled device 22.

[0047] The following will be combined with the attached Figures 2 to 9 , the LAN device connection method provided in the embodiment of the present application is introduced in detail.

[0048] See also Figure 2 and Figure 3 The local area network device connection method provided in the embodiment of the present application includes the following steps:

[0049] Step S101: the conference device sends a connection check instruction to the conference host device based on a pre-established first control communication channel.

[0050] Among them, the first control communication channel is the channel when the conference device and the conference host device can transmit control data normally before the current time. The channel can be a communication channel implemented based on protocols such as TCP, UDP or HTTP. The communication channel implemented based on protocols such as TCP, UDP or HTTP usually requires knowing the IP address and port number of the other party.

[0051] In a LAN environment, the IP address of a device is generally assigned dynamically and cannot be guaranteed to have the same IP address every time for the same device in the same LAN segment. Therefore, when the IP address of a conference host device in the LAN changes, the conference device can no longer control data transmission through the first control communication channel established previously.

[0052] Therefore, in order to achieve effective transmission of control data and avoid the situation where the conference host device fails to transmit control data through the first control communication channel due to a change in the IP address after the conference device sends the control data, causing the user to wait for a long time, before the conference device and the conference host device transmit control data, the conference device sends a connection check instruction to the conference host device based on the pre-established first control communication channel to determine whether control data can be transmitted with the conference host device through the first control communication channel.

[0053] The connection check instruction may be any instruction for detecting whether control data transmission can be performed with the conference host device through the first control communication channel, such as a ping instruction or a heartbeat check instruction, etc. The present application does not limit its specific form.

[0054] Step S102: If the connection check response instruction is not received within the first preset time, the conference device connects to the local area network where the conference host device is located, and broadcasts the business service request information in the local area network.

[0055] If the connection check response instruction of the conference host device is not received within the first preset time, it means that the conference device cannot control data transmission with the conference host device through the first control communication channel. Therefore, the conference device will automatically discover the conference host device and re-establish the connection with the conference host device.

[0056] The conference device is connected to a router of the local area network where the conference host device is located, and then joins the local area network, thereby broadcasting the business service request information through the router in the local area network.

[0057] The business service request information is used to indicate the required business service; the business service request information may be a service name, a service type or a host name. The business service may be a file transfer protocol service, a projection service or a printing service, etc.

[0058] In an optional embodiment, the conference device generates business service request information by scanning the business service information of the conference host device, and then broadcasts the business service request information in the local area network.

[0059] In another optional embodiment, the conference device displays a business service input interface, receives business service information input by a user, and then generates business service request information, thereby broadcasting the business service request information in the local area network.

[0060] In another optional embodiment, when the conference device normally transmits control data with the conference host device based on the first control communication channel, the conference device will obtain and store the business information of the conference host device, and then generate business service request information, thereby broadcasting the business service request information in the local area network.

[0061] It is understandable that after the conference host device joins the local area network, the conference host device is connected to the router of the local area network, the conference host device sends the business service information it can provide to the router, and the router stores the business service information in the service list so that other devices can connect to the conference host device.

[0062] In an optional embodiment, after the conference host device joins the local area network, the conference host device will automatically generate a host name as business service information to uniquely identify the services it can provide in the local area network; after the conference host device sends the host name to the router, the router queries the local service list to detect whether the host name is repeated with other host names. If this host name exists, it means that other service providing devices in the network have already used this host name, and then the router sends a conflict response message to the conference host device, prompting the conference host device to regenerate a new host name and re-detect. If the conference host device does not receive a conflict response message within the detection time, it means that the host name can uniquely identify the host conference device in the local area network, thereby ensuring the uniqueness of the services provided by the conference host device, so that other devices can uniquely connect to the conference host device.

[0063] Among them, if a connection check response instruction from the conference host device is received within the first preset time, it means that the conference device can transmit control data with the conference host device through the first control communication channel. Therefore, the conference device will transmit control data with the conference host device through the first control communication channel.

[0064] Step S103: if it is determined according to the business service request information that the conference host device has the corresponding business service, the conference host device sends the second device response information to the conference device via the local area network.

[0065] In an optional embodiment, after receiving the business service request information, the router in the local area network parses the business service information, matches the business service information with the locally stored service list, determines the conference host device corresponding to the business service request information, and then sends information indicating that the conference host device has the corresponding business service to the conference host device, so that the conference host device sends the second device response information of the conference host device to the conference device via the local area network.

[0066] In another optional embodiment, after receiving the business service request information, the router in the local area network will forward the business service request information to all host devices in the local area network. Each host device will parse the business service request information to obtain the business service information, and match its own business service information with it to determine whether it has the business service. The host device that has the business service, i.e., the conference host device, will send the second device response information of the conference host device to the conference device via the local area network.

[0067] The second device response information is used to indicate the connection communication information of the conference host device, and the device response information includes but is not limited to the IP address and the connection port.

[0068] Step S104: the conference device obtains the second device response information received within the second preset time, and sends the stored first access token information to the conference host device based on the second device response information.

[0069] The first access token information (token) is used to indicate the type of data interaction that can be performed between the conference device and the conference host device.

[0070] Specifically, the first access token information can be a data interaction type credential between the conference device and the conference host device determined by the conference host device. When the conference device normally transmits control data with the conference host device based on the first control communication channel, the conference device will obtain and store the first access token information of the conference host device.

[0071] Step S105: if the conference host device determines that the received first access token information is the same as the pre-stored second access token information, the conference device establishes a second control communication channel with the conference host device.

[0072] It can be understood that the second access token information is a data interaction type credential determined by the conference host device and stored locally.

[0073] After receiving the first access token information, the conference host device compares the first access token information with the second access token information; if the two are the same, it means that the data interaction types between the conference device and the conference host device match each other, and a new second control communication channel can be established to realize data interaction; if the two are not the same, it means that the data interaction types between the conference device and the conference host device match each other, and a new second control communication channel cannot be established, and re-detection and matching are required.

[0074] If the conference device does not receive the second device response information within the second preset time, it means that the conference host device may be turned off or not connected to the local area network, and the conference device displays a prompt message that the conference host device is lost.

[0075] It should be understood that different conference devices correspond to different second control communication channels. Specifically, when the conference device includes a conference touch device and several controlled devices, the conference touch device and the several controlled devices will correspond to different second control communication channels to interact with the conference host device for control data.

[0076] Step S106: the conference device and the conference host device exchange control data based on the second control communication channel.

[0077] The conference device sends touch data to the conference host device, and the conference host device receives the touch data for control processing.

[0078] The conference device of the embodiment of the present application sends a connection check instruction to the conference host device based on the pre-established first control communication channel; if the connection check response instruction of the conference host device is not received within the first preset time, the conference device connects to the local area network where the conference host device is located, and broadcasts the business service request information in the local area network; if it is determined according to the business service request information that the conference host device has the corresponding business service, the conference host device sends the second device response information to the conference device through the local area network; based on the second device response information, the conference device sends the stored first access token information to the conference host device; if the conference host device determines that the received first access token information is the same as the pre-stored second access token information, the conference device establishes a second control communication channel with the conference host device; the conference device and the conference host device control data interaction based on the second control communication channel. In the embodiment of the present application, when the conference device cannot interact with the conference host device through the pre-established first control communication channel because the IP address of the conference host device changes, the conference device automatically broadcasts the business service request information and verifies the first access token information, and then automatically re-establishes the connection with the conference host device, without the need to disclose the pairing code, and the user does not need to remember the pairing code for manual input, thereby improving the security and convenience of device reconnection.

[0079] See also Figure 4 and Figure 5 In an optional embodiment, before the step of sending a connection check instruction to the conference host device based on the pre-established first control communication channel in step S101, the following steps are included:

[0080] Step S1011: The conference device connects to the local area network where the conference host device is located, and broadcasts the business service request information in the local area network.

[0081] Step S1012: if it is determined according to the first business service request information that the conference host device has the corresponding business service, the conference host device sends the first device response information to the conference device via the local area network.

[0082] Step S1013: the conference device establishes a first control communication channel with the conference host device according to the first access token information determined by the conference host device.

[0083] Among them, the method of step S1011 to step S1012 is the same as that of step S102 to step S103. For details, please refer to the description of step S102 to step S103, and this application will not elaborate on it.

[0084] The step S1013 is described in detail below:

[0085] See also Figure 6 In one embodiment, the step of establishing a first control communication channel with the conference host device according to the first access token information determined by the conference host device in step S1013 includes:

[0086] Step S11311: the conference device sends an access token request to the conference host device.

[0087] The access token request may include a device identifier of the conference device to uniquely identify the conference device in the local area network.

[0088] Step S11312: the conference host device sends the first access token information to the conference device in response to the trigger operation of confirming access.

[0089] After receiving the access token request, the conference host device will parse the access token request to obtain the device identification of the conference device, inform the user of the device identification, and the user inputs the operation of confirming the access, and the conference host device sends the first access token information to the conference device. It can be understood that the conference host device can inform the user of the identification by voice, and correspondingly, the operation of the user inputting the confirmation of the access can be confirmed by the conference host device parsing the user's voice.

[0090] Step S11313: The conference device receives the first access token information and establishes a first control communication channel with the conference host device.

[0091] In the embodiment of the present application, after the conference host device sends the first access token information for confirmation, the first control communication channel is established, which can improve the security and reliability of control data interaction between the conference device and the conference host device based on the first control communication channel.

[0092] See also Figure 7 In another embodiment, in step S1013, the step of establishing a first control communication channel with the conference host device according to the first access token information determined by the conference host device includes:

[0093] Step S11321: the conference device receives the first access token information input by the user, and sends the first access token information to the conference host device.

[0094] The conference host device determines the second access token information and generates an access token QR code, and the conference device obtains the first access token information by scanning the access token QR code. Alternatively, the conference device displays an access token input interface, receives the access token information input by the user, and obtains the first access token information.

[0095] Step S11322: If the conference host device determines that the received first access token information is the same as the pre-stored second access token information, the conference device establishes a first control communication channel with the conference host device.

[0096] The conference device of the embodiment of the present application receives the first access token information input by the user and sends it to the conference host device. The conference host device matches the received first access token information with the pre-stored second access token information, which can reduce the conference host device's notification and confirmation operations. After the received first access token information matches the pre-stored second access token information, a first control communication channel is established, which can improve the security and reliability of control data interaction between the conference device and the conference host device based on the first control communication channel.

[0097] In an optional embodiment, the LAN device connection method further includes the following steps:

[0098] Step S107: The conference device sends a session message request to the conference host device through the web real-time communication technology based on the local area network.

[0099] Among them, the session message request implemented in the present application is a proposed session message based on SDP (Session Description Protocol), and the session message request includes the media stream that the conference device wants to use.

[0100] Step S108: the conference host device sends session message response information according to the session message request.

[0101] If the conference host device receives a proposed session request, it generates a session message response that it can receive based on the received session message request and the session that it can provide. It can be understood that the session message response information of the embodiment of the present application is a response session based on SDP, and the session message response information includes a matching stream for each media stream in the proposed session to indicate whether the media stream is accepted.

[0102] Step S109: the conference device sends the device information of the conference device and the host device information of the conference host device according to the session message response information.

[0103] It can be understood that the touch device information includes the IP address and port information of the conference device; the host device information includes the IP address and port information of the conference host device.

[0104] Step S110: Based on the touch device information and the host device information, the conference device and the conference host device establish a media data channel.

[0105] Step S111: the conference device and the conference host device interact with each other over the media data channel.

[0106] The embodiment of the present application establishes a media data channel based on session messages, which can achieve the accuracy of media data interaction.

[0107] See also Figure 8 In an optional embodiment, the conference device includes a conference touch device; the step of exchanging data between the conference device and the conference host device based on the second control communication channel in step S105 includes:

[0108] Step S10511: the conference host device sends the host operation interface data to the conference touch device based on the second control communication channel.

[0109] Step S10512: the conference touch control device displays the host operation interface according to the host operation interface data. The conference touch control device responds to the touch control instruction for the host operation interface and sends the touch control instruction to the conference host device to process the host operation interface.

[0110] The conference touch device of the embodiment of the present application is a small-screen mobile touch device to facilitate users to control the conference host device. The embodiment of the present application can control the conference host device without additionally connecting a display screen and a mouse, which greatly facilitates users to connect and control the conference host device.

[0111] See also Fig. 9 In an optional embodiment, the conference device includes a plurality of controlled devices; the step of the conference device and the conference host device performing control data interaction based on the second control communication channel in step S105 includes:

[0112] Step S10521: the conference host device sends the control data to the corresponding controlled device based on the second control communication channel.

[0113] Step S10522: The controlled device executes the corresponding function according to the control data.

[0114] The controlled device and the conference host device in the embodiment of the present application realize the interaction of control data through the second control communication channel established by the local area network. Compared with the wired connection between the controlled device and the conference host device, the connection method is convenient and the space occupied by the line is reduced.

[0115] In an optional embodiment, the conference host device includes a plurality of device connection ports; a plurality of controlled devices are respectively plugged into the corresponding device connection ports to perform data exchange with the conference host device.

[0116] In the embodiment of the present application, a plurality of device connection ports are set on the conference host device, so that a plurality of controlled devices can be plugged into the corresponding device connection ports, thereby ensuring accurate and fast data interaction between the controlled devices and the conference host device when the conference host device and the controlled devices cannot establish a connection through a local area network.

[0117] See also Fig.10 , which is a flow chart of a local area network device connection method shown in the second embodiment of the present application. The local area network device connection method of the embodiment of the present application includes the following steps:

[0118] Step S201: sending a connection check instruction to a conference host device based on a pre-established first control communication channel;

[0119] Step S202: If the connection check response instruction is not received within the first preset time, connect to the local area network where the conference host device is located, and broadcast the business service request information in the local area network;

[0120] Step S203: if it is determined according to the business service request information that the conference host device has the corresponding business service, obtain the second device response information sent by the conference host device and received within the second preset time, and send the stored first access token information to the conference host device based on the second device response information;

[0121] Step S204: if the first access token information is identical to the second access token information pre-stored by the conference host device, establish a second control communication channel with the conference host device;

[0122] Step S205: Control data interaction with the conference host device based on the second control communication channel.

[0123] The LAN device connection method provided in the second embodiment of the present application is a method implemented by the conference device as the execution subject. The specific implementation method can refer to the steps executed by the conference device in the first embodiment, and this application does not elaborate on it.

[0124] See also Fig.11 , which is a schematic diagram of the structure of a local area network device connection device shown in the third embodiment of the present application. The device 300 includes:

[0125] A check instruction sending module 301 is used to send a connection check instruction to a conference host device based on a pre-established first control communication channel;

[0126] The business service request broadcast module 302 is used to connect to the local area network where the conference host device is located and broadcast the business service request information in the local area network if no connection check response instruction is received within the first preset time;

[0127] The token information sending module 303 is used to obtain the second device response information sent by the conference host device and received within the second preset time if it is determined according to the business service request information that the conference host device has the corresponding business service, and send the stored first access token information to the conference host device based on the second device response information;

[0128] The communication channel establishing module 304 is used to establish a second control communication channel with the conference host device if the first access token information is the same as the second access token information pre-stored by the conference host device;

[0129] The control data interaction module 305 is used to interact with the conference host device through the second control communication channel.

[0130] It should be noted that the LAN device connection device provided in the third embodiment of the present application only uses the division of the above-mentioned functional modules as an example when executing the LAN device connection method. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the LAN device connection device provided in the third embodiment of the present application and the LAN device connection method in the first embodiment of the present application are of the same concept. The implementation process thereof is detailed in the method embodiment and will not be repeated here.

[0131] The embodiment of the LAN device connection device of the third embodiment of the present application can be applied to computer equipment, such as conference equipment, and the device embodiment can be implemented by software, or by hardware or a combination of software and hardware. Taking software implementation as an example, as a device in a logical sense, it is formed by the processor of the file processing in which it is located reading the corresponding computer program instructions in the memory and running. From the hardware level, the computer device in which it is located may include a processor and a memory, and the processor and the memory are connected through a data bus or other known methods.

[0132] See also Fig.12 , is a schematic diagram of the structure of a computer device provided in the fourth embodiment of the present application. Fig.12 As shown, the electronic device 400 can be specifically a computer, a mobile phone, a tablet computer, an interactive tablet, etc. In an exemplary embodiment of the present application, the electronic device 400 is a conference device, and the electronic device 400 may include: at least one processor 410, at least one memory 420, at least one network interface 430, a user interface 440 and at least one communication bus 450.

[0133] The communication bus 450 is used to realize the connection and communication between these components.

[0134] The user interface 440 may include a display screen and a camera; the user interface 440 may also include a standard wired interface and a wireless interface.

[0135] The network interface 430 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).

[0136] Among them, the processor 410 may include one or more processing cores. The processor 410 uses various interfaces and lines to connect various parts within the entire electronic device 400, and executes various functions and processes data of the electronic device 400 by running or executing instructions, programs, code sets or instruction sets stored in the memory 420, and calling data stored in the memory 420. Optionally, the processor 410 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 410 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed by the display layer; the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 410, and it can be implemented by a single chip.

[0137] Among them, the memory 420 may include a random access memory (Random Access Memory, RAM) and may also include a read-only memory (Read-Only Memory). Optionally, the memory 420 includes a non-transitory computer-readable storage medium. The memory 420 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 420 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 420 may also be optionally at least one storage device located away from the aforementioned processor 410. As Fig.12 As shown, the memory 420 as a computer storage medium may include an operating system, a network communication module, and a user.

[0138] exist Fig.12In the electronic device 400 shown, the user interface 440 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 410 can be used to call the operating application stored in the memory 420, such as the LAN device connection program; and execute the relevant operations of any LAN device connection method in the above-mentioned embodiments, with corresponding functions and beneficial effects.

[0139] The fifth embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and the instructions are suitable for being loaded by a processor and executing the steps of the local area network device connection method shown above. The specific execution process can refer to the specific description shown in the embodiment, and will not be repeated here. The device where the storage medium is located can be a personal computer, a laptop computer, a smart phone, a tablet computer and other electronic devices.

[0140] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are merely schematic, wherein the components described as separate parts may or may not be physically separated, and the parts displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application scheme. A person of ordinary skill in the art can understand and implement it without paying any creative work.

[0141] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0142] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing device to work in a specific way, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the function selected in the process. Figure 1 A process or multiple processes and / or boxes Figure 1 function selected in a box or multiple boxes.

[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 steps for the function selected in a box or multiple boxes.

[0144] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0145] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0146] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0147] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0148] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for connecting local area network devices, characterized in that: The steps include: The conference device sends a connection check instruction to the conference host device based on the pre-established first control communication channel; If the connection check response instruction is not received within the first preset time, the conference device connects to the local area network where the conference host device is located, and broadcasts the business service request information in the local area network; If it is determined according to the business service request information that the conference host device has the corresponding business service, the conference host device sends a second device response information to the conference device via the local area network; The conference device obtains the second device response information received within a second preset time, and sends the stored first access token information to the conference host device based on the second device response information; If the conference host device determines that the received first access token information is the same as the pre-stored second access token information, the conference device establishes a second control communication channel with the conference host device; The conference device and the conference host device exchange control data based on the second control communication channel.

2. The method for connecting local area network devices according to claim 1, characterized in that: Before the step of sending a connection check instruction to the conference host device based on the pre-established first control communication channel, the conference device includes the following steps: The conference device is connected to the local area network where the conference host device is located, and broadcasts business service request information in the local area network; If it is determined according to the first business service request information that the conference host device has the corresponding business service, the conference host device sends the first device response information to the conference device via the local area network; The conference device establishes a first control communication channel with the conference host device according to the first access token information determined by the conference host device.

3. The method for connecting local area network devices according to claim 2, characterized in that: The step of establishing, by the conference device, a first control communication channel with the conference host device according to the first access token information determined by the conference host device comprises: The conference device sends an access token request to the conference host device; The conference host device sends the first access token information to the conference device in response to a trigger operation of confirming access; The conference device receives the first access token information and establishes a first control communication channel with the conference host device.

4. The method for connecting local area network devices according to claim 2, characterized in that: The step of establishing, by the conference device, a first control communication channel with the conference host device according to the first access token information determined by the conference host device comprises: The conference device receives first access token information input by a user, and sends the first access token information to the conference host device; If the conference host device determines that the received first access token information is the same as the pre-stored second access token information, the conference device establishes a first control communication channel with the conference host device.

5. The method for connecting local area network devices according to any one of claims 1 to 4, characterized in that: The following steps are also included: The conference device sends a session message request to the conference host device based on the local area network through the web real-time communication technology; The conference host device sends session message response information according to the session message request; The conference device sends the device information of the conference device and the host device information of the conference host device according to the session message response information; Based on the touch device information and the host device information, the conference device establishes a media data channel with the conference host device. The conference device and the conference host device perform media data interaction based on the media data channel.

6. The method for connecting local area network devices according to any one of claims 1 to 4, characterized in that: The conference device includes a conference touch device; the step of the conference device and the conference host device performing control data interaction based on the second control communication channel includes: The conference host device sends the host operation interface data to the conference touch device based on the second control communication channel; The conference touch control device displays the host operation interface according to the host operation interface data. In response to a touch control instruction for the host operation interface, the conference touch control device sends the touch control instruction to the conference host device, which performs control processing.

7. The method for connecting local area network devices according to any one of claims 1 to 4, characterized in that: The conference device includes a plurality of controlled devices; the step of the conference device and the conference host device performing control data interaction based on the second control communication channel includes: The conference host device sends the control data to the corresponding controlled device based on the second control communication channel; The controlled device performs a corresponding function according to the control data.

8. The method for connecting LAN devices according to claim 7, characterized in that: Also includes: The conference host device comprises a plurality of device connection ports; a plurality of controlled devices are respectively plugged into the corresponding device connection ports to perform data exchange with the conference host device.

9. A method for connecting local area network devices, characterized in that: The steps include: Sending a connection check instruction to the conference host device based on a pre-established first control communication channel; If the connection check response instruction is not received within the first preset time, connecting to the local area network where the conference host device is located, and broadcasting the business service request information in the local area network; If it is determined according to the business service request information that the conference host device has the corresponding business service, obtaining the second device response information sent by the conference host device within a second preset time, and sending the stored first access token information to the conference host device based on the second device response information; If the first access token information is identical to the second access token information pre-stored by the conference host device, establishing a second control communication channel with the conference host device; Control data interaction is performed with the conference host device based on the second control communication channel.

10. An electronic device comprising a processor and a memory; characterized in that: The memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the local area network device connection method according to any one of claims 1 to 9.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for connecting local area network devices as claimed in any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • A method for control data transmission and a related device

    CN109005044A

  • Session holding method and device and storage medium

    CN113098935A

  • IOS multi-device real-time screen projection method and system, computer device and storage medium

    CN114793291A

  • Network connection method and device, storage medium and electronic equipment

    CN116828030A

  • Local area network bidirectional discovery method

    CN116980874A