Control device connection method, device, electronic device and medium

By introducing virtual reality VR devices into the connection between the control device and the terminal device, using the VR device to send target information and response information, automatically broadcasting the physical address of the control device, solving the problem of cumbersome connection in the existing technology, and achieving efficient and automated connection process.

CN115413058BActive Publication Date: 2025-02-11BEIJING CO WHEELS TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210226643.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-09
Publication Date
2025-02-11
Estimated Expiration
2042-03-09

AI Technical Summary

Technical Problem

In the prior art, the connection between the control device and the terminal device requires manual operation, resulting in a cumbersome connection process.

Method used

Through the communication connection between the virtual reality VR device and the terminal device, in response to the opening of the control device, the target information is sent to the terminal device through the VR device, including the identity identification and physical address of the control device, and the response information of the terminal device is received, and the response information of the terminal device is determined based on the response information. The authentication result is broadcast and the physical address of the control device is broadcast based on the connection status of the VR device, so that the terminal device automatically connects to the control device.

Benefits of technology

It reduces the cumbersome connection between control equipment and terminal equipment, improves connection efficiency, reduces manual participation, and realizes automated connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115413058B_ABST
    Figure CN115413058B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a connection method, device, electronic device and medium for a control device; wherein the control device is connected to a virtual reality VR device in communication, and the VR device is connected to a terminal device in communication, and the method comprises: in response to the control device being turned on, sending target information to the terminal device through the VR device, the target information comprising the identity identification and physical address of the control device; receiving response information sent by the terminal device through the VR device, the response information being used to indicate the verification result of the identity identification of the control device by the terminal device; based on the response information, determining that the verification result of the identity identification of the control device is passed, broadcasting the physical address of the control device according to the connection status with the VR device, so that the terminal device connects to the control device according to the connection status. The embodiments of the present disclosure can reduce the cumbersomeness of connecting the control device and the terminal device, and effectively improve the connection efficiency of the control device and the terminal device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a connection method, device, electronic device and medium for controlling a device. Background Art

[0002] The control device (such as an electronic device in the form of a ring) and the virtual reality (VR) device (such as VR glasses) are connected through communication. On the basis of establishing a communication connection between the control device and the terminal device, the terminal device can be effectively controlled by the control device, such as interactively controlling the display screen of the terminal device after the control device establishes a communication connection with the terminal device. Therefore, the connection between the control device and the terminal device is extremely important.

[0003] In the related art, the connection between the control device and the terminal device is mainly achieved through the Bluetooth function, that is, the user needs to manually turn on the Bluetooth function in the terminal device, and an effective connection between the terminal device and the control device can be established through triggering operations such as clicking.

[0004] The above connection method needs to be manually implemented during connection, and the connection process is cumbersome. Summary of the invention

[0005] In order to solve the above technical problems, the present disclosure provides a connection method, an apparatus, an electronic device and a medium for controlling a device.

[0006] In a first aspect, the present disclosure provides a control device connection method, which is applied to a control device, wherein the control device is communicatively connected to a virtual reality VR device, and the VR device is communicatively connected to a terminal device, including:

[0007] In response to the control device being turned on, sending target information to the terminal device through the VR device, the target information including the identity and physical address of the control device;

[0008] Receiving response information sent by the terminal device through the VR device, where the response information is used to indicate a verification result of the terminal device on the identity identifier of the control device;

[0009] Based on the response information, it is determined that the verification result of the identity identification of the control device is passed, and the physical address of the control device is broadcast according to the connection status with the VR device, so that the terminal device connects to the control device according to the connection status.

[0010] Optionally, the VR device includes a first connection contact and a second connection contact;

[0011] The sending the target information to the terminal device through the VR device includes:

[0012] Based on the first connection contact point and the second connection contact point, target information is sent to the terminal device.

[0013] Optionally, broadcasting the physical address of the control device according to the connection status with the VR device includes:

[0014] Determining that the connection state with the VR device is connected, and shielding the control request received by the control device;

[0015] Determine that the connection state with the VR device is not connected, and broadcast the physical address.

[0016] Optionally, also include:

[0017] In response to the control request, the terminal device is controlled based on the control request.

[0018] In a second aspect, the present disclosure provides a control device connection method, which is applied to a terminal device, comprising:

[0019] Receiving target information sent by the VR device, the target information including the identity and physical address of the control device, and verifying the identity of the control device;

[0020] Sending a response message to the VR device, where the response message is generated according to the verification result of the identity identifier of the control device;

[0021] Receive a target broadcast message according to the connection status between the control device and the VR device, wherein the target broadcast message includes a target physical address;

[0022] The control device is connected according to the target physical address and the physical address of the control device.

[0023] Optionally, the receiving a target broadcast message according to a connection state between the control device and the VR device includes:

[0024] After receiving the disconnection message between the control device and the VR device sent by the VR device, a target broadcast message is received.

[0025] Optionally, connecting the control device according to the target physical address and the physical address of the control device includes:

[0026] It is determined that the target physical address included in the broadcast message matches the physical address of the control device, and the control device is connected.

[0027] Optionally, the verifying the identity of the control device includes:

[0028] It is determined that the identity of the control device matches a preset identity, and it is determined that the identity verification of the control device passes, wherein the preset identity is used to describe the identity corresponding to the connectable device of the terminal device.

[0029] In a third aspect, the present disclosure provides a connection device for a control device, which is applied to a control device, wherein the control device is communicatively connected to a virtual reality VR device, and the VR device is communicatively connected to a terminal device, and the device includes:

[0030] A sending module, configured to send target information to the terminal device through the VR device in response to the control device being turned on, wherein the target information includes an identity identifier and a physical address of the control device;

[0031] A receiving module, used to receive response information sent by the terminal device through the VR device, where the response information is used to indicate a verification result of the terminal device on the identity identifier of the control device;

[0032] The broadcast module is used to determine that the verification result of the identity identification of the control device is passed based on the response information, and broadcast the physical address of the control device according to the connection status with the VR device, so that the terminal device connects to the control device according to the connection status.

[0033] Optionally, the VR device includes a first connection contact and a second connection contact;

[0034] The sending module is specifically used for:

[0035] Based on the first connection contact point and the second connection contact point, target information is sent to the terminal device.

[0036] Optional, broadcast module, specifically used for:

[0037] Determining that the connection state with the VR device is connected, and shielding the control request received by the control device;

[0038] Determine that the connection state with the VR device is not connected, and broadcast the physical address.

[0039] Optionally, it also includes: a control module;

[0040] In response to the control request, the terminal device is controlled based on the control request.

[0041] In a fourth aspect, the present disclosure provides a connection device for a control device, comprising:

[0042] A receiving module, used to receive target information sent by a VR device, the target information including an identity and a physical address of a control device, and verify the identity of the control device;

[0043] A sending module, used to send a response message to the VR device, wherein the response message is generated according to the verification result of the identity identifier of the control device;

[0044] The receiving module is further used to receive a target broadcast message according to the connection status between the control device and the VR device, wherein the target broadcast message includes a target physical address;

[0045] A connection module is used to connect the control device according to the target physical address and the physical address of the control device.

[0046] Optional, receiving module, specifically used for:

[0047] After receiving the disconnection message between the control device and the VR device sent by the VR device, a target broadcast message is received.

[0048] Optional, connection module, specifically for:

[0049] It is determined that the target physical address included in the broadcast message matches the physical address of the control device, and the control device is connected.

[0050] Optional, receiving module, specifically used for:

[0051] It is determined that the identity of the control device matches a preset identity, and it is determined that the identity verification of the control device passes, wherein the preset identity is used to describe the identity corresponding to the connectable device of the terminal device.

[0052] In a fifth aspect, the present disclosure further provides an electronic device, including:

[0053] one or more processors;

[0054] a storage device for storing one or more programs,

[0055] When the one or more programs are executed by the one or more processors, the one or more processors implement any one of the control device connection methods described in the embodiments of the present invention.

[0056] In a sixth aspect, the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any one of the control device connection methods described in the embodiments of the present invention.

[0057] Compared with the prior art, the technical solution provided by the disclosed embodiment has the following advantages: the control device is connected by communication with a virtual reality VR device, and the VR device is connected by communication with a terminal device. In response to the start-up of the control device, target information is sent to the terminal device through the VR device, wherein the target information may include the identity and physical address of the control device, and the response information sent by the terminal device through the VR device is received. The response information can be used to indicate the verification result of the identity of the control device by the terminal device. After determining that the verification result of the identity of the control device is passed based on the response information, the physical address of the control device is broadcast according to the connection status with the VR device, so that the terminal device connects to the control device according to the connection status, and the connection process does not require too much manual participation, thereby reducing the cumbersomeness of the connection between the control device and the terminal device, and effectively improving the connection efficiency between the control device and the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0059] In order to more clearly illustrate the embodiments of the present invention 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0060] Figure 1 is a flow chart of a method for connecting a control device provided by an embodiment of the present disclosure;

[0061] Figure 2 is a schematic diagram of connection between a control device and a VR device provided by an embodiment of the present disclosure;

[0062] Figure 3 is a flow chart of another method for connecting a control device provided by an embodiment of the present disclosure;

[0063] Figure 4 is a schematic diagram of a link in a connection process provided by an embodiment of the present disclosure;

[0064] Figure 5 is a structural schematic diagram of a connection device for a control device provided in an embodiment of the present disclosure;

[0065] Figure 6 is a structural schematic diagram of another connecting device of a control device provided in an embodiment of the present disclosure;

[0066] Figure 7 It is a structural schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0067] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0068] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0069] Currently, when a control device is connected to a terminal device, a user is required to manually turn on the Bluetooth function of the terminal device and perform Bluetooth pairing with the control device.

[0070] Taking the example of a control device being a ring-shaped electronic device, a VR device being VR glasses, and a terminal device being a vehicle controller, the user needs to embed the ring into a preset position in the VR glasses to achieve communication connection between the ring and the VR glasses, and then turn on Bluetooth scanning on the display screen of the vehicle controller to match the Bluetooth with the ring. After the two are matched, the connection between the ring and the vehicle controller can be achieved, facilitating interaction between the two.

[0071] However, the above connection method requires manual operation by the user, which makes the connection process cumbersome.

[0072] Exemplarily, the present disclosure provides a connection method, apparatus, electronic device and medium for a control device, wherein the control device is connected by communication with a virtual reality VR device, and the VR device is connected by communication with a terminal device. In response to the start-up of the control device, target information is sent to the terminal device through the VR device, wherein the target information may include an identity and a physical address of the control device. Response information sent by the terminal device through the VR device is received, and the response information can be used to indicate a verification result of the identity of the control device by the terminal device. After determining that the verification result of the identity of the control device is passed based on the response information, the physical address of the control device is broadcast according to the connection status with the VR device, so that the terminal device connects to the control device according to the connection status. The connection process does not require excessive manual participation, thereby reducing the cumbersomeness of connecting the control device and the terminal device, and effectively improving the connection efficiency of the control device and the terminal device.

[0073] See Figure 1 As shown in the example.

[0074] Figure 11 is a flow chart of a method for connecting a control device provided in an embodiment of the present disclosure. The method of this embodiment can be executed by a connecting device of a control device, which can be implemented in hardware or software and can be configured in an electronic device. The method for connecting a control device described in any embodiment of the present application can be implemented. Figure 1 As shown, the method specifically includes the following:

[0075] S110. In response to the control device being turned on, target information is sent to the terminal device through the VR device, where the target information includes an identity identifier and a physical address of the control device.

[0076] Among them, the control device and the VR device are communicated with each other, and the VR device and the terminal device are communicated with each other. The VR device can be used as an information transmission carrier between the control device and the terminal device, and sends the target information that the control device needs to transmit to the terminal device.

[0077] Among them, when the control device and the VR device are communicated and connected, they can be connected by magnetic attraction, that is, the control device and the VR device are attached together by magnetic attraction. A magnetic groove for the control device can also be reserved in the VR device to facilitate the control device to be fully embedded in the VR device.

[0078] For example, the control device may be a "ring" and the VR device may be a VR pair of glasses. The connection diagram between the "ring" and the VR pair of glasses can be found in Figure 2 As shown in the example.

[0079] Specifically, the VR glasses may include a third connection contact and a fourth connection contact, wherein the third connection contact may represent an external positive electrode interface of the VR device, and the third and fourth connection contacts may represent an external negative electrode interface of the VR device. After the "ring" comes into contact with the VR glasses through magnetic attraction, the external positive electrode interface and the external negative electrode interface will be connected to the "ring", generating current, thereby turning on the "ring".

[0080] The identity identifier of the control device may be the manufacturer information of the control device, such as the factory name, factory number, etc.

[0081] In this embodiment, optionally, the VR device includes a first connection contact and a second connection contact;

[0082] Send target information to the terminal device through the VR device, including:

[0083] Based on the first connection contact and the second connection contact, target information is sent to the terminal device.

[0084] Among them, the first connection contact can be connected to the data line (SDA), and the second connection contact can be connected to the data line (SCL), so that after the control device is connected to the VR device, the control device and the VR device can realize communication transmission, thereby facilitating the control device to effectively send target information to the VR device through the first connection contact and the second connection contact.

[0085] S120. Receive response information sent by the terminal device through the VR device, where the response information is used to indicate a verification result of the terminal device on the identity identification of the control device.

[0086] Among them, before the control device and the terminal device are connected, the VR device can be used as an information transmission carrier between the control device and the terminal device to transmit valid information between the control device and the terminal device, that is, the information of the control device is transmitted to the terminal device through the VR device, or the information of the terminal device is transmitted to the control device through the VR device.

[0087] Among them, the terminal device can verify the validity of the identity of the control device, thereby avoiding the problem of dangerous devices maliciously connecting to the terminal device and causing the loss of terminal device resources.

[0088] The response information may include the verification result of the terminal device on the identity of the control device, such as pass or fail.

[0089] S130: Based on the response information, determine that the verification result of the identity identification of the control device is passed, and broadcast the physical address of the control device according to the connection status with the VR device.

[0090] Among them, the physical address of the control device is broadcasted according to the connection status with the VR device, so that the terminal device can connect to the control device according to the connection status. Specifically, the terminal device receives the target broadcast message according to the connection status between the control device and the VR device, and connects to the control device according to the target physical address included in the target broadcast message and the physical address of the control device.

[0091] Among them, the control device can determine the verification result of the identity of the control device according to the information included in the response information. If it is determined that the verification result of the identity of the control device is passed, the physical address of the control device can be broadcast according to the connection status with the VR device to facilitate the effective connection between the terminal device and the control device.

[0092] Among them, the control device determines the verification result of the identity of the control device according to the information included in the response information, and determines that the verification result of the identity of the control device is failed, then it can be considered that the identity of the control device is incorrect. The control device can send the target information to the terminal device through the VR device again for identity verification, thereby preventing the problem of terminal device verification errors.

[0093] Alternatively, the control device may generate an early warning message, which may be used to remind the administrator of the control device that the identity of the control device is wrong, so that the administrator can promptly check the identity of the control device and correct the problem in a timely manner.

[0094] The connection method of the control device provided in this embodiment is that the control device is connected by communication with a virtual reality VR device, and the VR device is connected by communication with a terminal device. In response to the start-up of the control device, target information is sent to the terminal device through the VR device, wherein the target information may include the identity and physical address of the control device, and the response information sent by the terminal device through the VR device is received. The response information can be used to indicate the verification result of the identity of the control device by the terminal device. After determining that the verification result of the identity of the control device is passed based on the response information, the physical address of the control device is broadcast according to the connection status with the VR device, so that the terminal device connects to the control device according to the connection status. The connection process does not require excessive manual participation, thereby reducing the cumbersomeness of the connection between the control device and the terminal device and effectively improving the connection efficiency between the control device and the terminal device.

[0095] In this embodiment, optionally, broadcasting the physical address of the control device according to the connection status with the VR device includes:

[0096] Determine that the connection state with the VR device is connected, and shield the control request received by the control device;

[0097] Determine that the connection status with the VR device is not connected, and broadcast the physical address.

[0098] Among them, when the control device is connected to the VR device, the control request received by the control device can be shielded, thereby preventing the user from touching the control device and causing errors in the control program.

[0099] For example, when the control device is connected to the VR device, the user presses / clicks the specified direction key on the control device to trigger the operation. The control device may not respond to the trigger operation and does not provide any feedback until it determines that the connection status between the control device and the VR device is not connected, and broadcasts the physical address of the control device.

[0100] In addition, after the control device determines that the connection status between it and the VR device is disconnected, it can directly broadcast the physical address.

[0101] Among them, the control device can be removed from the VR device, and then it can be determined that the connection status between the control device and the VR device is disconnected. At this time, the physical address of the control device can be broadcast. Specifically, the physical address of the control device can be integrated into the connection broadcast transmitted in real time by Bluetooth and the physical address can be broadcast.

[0102] Among them, after determining that the connection status with the VR device is disconnected, the VR device can send a disconnection message between the control device and the VR device to the terminal device, so that the terminal device starts to listen to the broadcast message. Thus, when there are multiple broadcast messages near the terminal device, the problem of continuous monitoring resource consumption by the terminal device is avoided.

[0103] It should be noted that, in this embodiment, the physical address can be continuously broadcasted, and after determining that the connection status with the VR device is disconnected, the physical address can continue to be broadcasted; or, the physical address can be broadcasted after determining that the connection status with the VR device is disconnected, so that the VR device sends the disconnection message between the control device and the VR device to the terminal device.

[0104] In this embodiment, optionally, after the control device is connected to the terminal device, the method of this embodiment may further include:

[0105] In response to the control request, the terminal device is controlled based on the control request.

[0106] Among them, the control device may include a touch screen. After the control device is connected to the terminal device, the user can control the terminal device by sliding in any direction on the touch screen or clicking the touch screen, thereby effectively and conveniently realizing the control of the terminal device by the control device and improving user stickiness.

[0107] Figure 3 1 is a flow chart of another method for connecting a control device provided by an embodiment of the present disclosure. The method of this embodiment can be executed by a connecting device of a control device, which can be implemented in hardware or software and can be configured in an electronic device. The method for connecting a control device described in any embodiment of the present application can be implemented. Figure 3 As shown, the method specifically includes the following:

[0108] S310: Receive target information sent by the VR device, where the target information includes an identity and a physical address of the control device, and verify the identity of the control device.

[0109] Among them, the target information is sent by the control device to the VR device, and the control device can establish a contact connection with the VR device to realize the transmission of information.

[0110] Among them, the VR device can communicate with the terminal device through wireless / wired and other means, and send the target information to the terminal device, so that the terminal device can effectively receive the target information sent by the VR device.

[0111] It should be noted that after receiving the identity of the control device sent by the VR device, the terminal device can store the identity of the control device for subsequent use.

[0112] In this embodiment, optionally, verifying the identity of the control device includes:

[0113] It is determined that the identity of the control device matches the preset identity, and it is determined that the identity verification of the control device is passed. The preset identity is used to describe the identity corresponding to the connectable device of the terminal device.

[0114] Among them, the terminal device can pre-establish a whitelist, and the whitelist can store multiple identities of devices that the terminal device can connect to, such as storing multiple manufacturer information, and the manufacturer information can be the manufacturer name, manufacturer number, etc.

[0115] Among them, the identity of the control device can be matched with each identity included in the preset identity. When the identity of the control device is matched with one of the preset identity, it can be determined that the identity verification of the control device has passed. Therefore, by verifying the identity of the control device, maliciously connected control devices can be checked to ensure the secure connection of the terminal device.

[0116] S320: Send a response message to the VR device, where the response message is generated according to the verification result of the identity identifier of the control device.

[0117] Among them, the terminal device sends the response message to the VR device, which enables the VR device to send the response message to the control device.

[0118] The response message can effectively represent the verification result of the terminal device on the identity of the control device.

[0119] For example, if the terminal device verifies the identity of the control device as passed, the response message may be verification passed; if the terminal device verifies the identity of the control device as failed, the response message may be verification failed / failed.

[0120] S330. Receive a target broadcast message according to the connection status between the control device and the VR device, where the target broadcast message includes a target physical address.

[0121] Among them, the terminal device may not continuously receive broadcast messages, and may choose whether to receive broadcast messages based on the connection status between the control device and the VR device, thereby reducing the resource loss of the terminal device.

[0122] In this embodiment, optionally, receiving a target broadcast message according to a connection state between the control device and the VR device includes:

[0123] After receiving the disconnection message between the control device and the VR device sent by the VR device, a target broadcast message is received.

[0124] Among them, after receiving the disconnection message between the control device and the VR device sent by the VR device, the terminal device can turn on the broadcast message receiving function and receive external target broadcast messages, thereby avoiding multiple broadcast messages from affecting the receiving performance of the terminal device and enhancing the accuracy of receiving broadcast information.

[0125] Among them, the VR device can detect the connection status between it and the control device in real time. After detecting that the control device is disconnected, it can send a disconnection message to the terminal device.

[0126] Specifically, the terminal device can receive broadcast messages based on the Bluetooth module. For a specific link diagram, see Figure 4 As shown in the example, the control device is connected to the VR device, the VR device is connected to the terminal device, and the Bluetooth module in the terminal device can receive the physical address in the broadcast message.

[0127] S340, connecting the control device according to the target physical address and the physical address of the control device.

[0128] Among them, the terminal device can connect to the control device based on the target physical address and the physical address of the control device, thereby realizing a convenient connection between the terminal device and the control device and reducing the complexity of the connection.

[0129] In this embodiment, optionally, controlling the device according to the target physical address and the physical address of the control device includes:

[0130] It is determined that the target physical address included in the broadcast message matches the physical address of the control device, and the control device is connected.

[0131] Among them, the target physical address is the one currently received by the terminal device through the broadcast message, and the physical address of the control device is the physical address of the pre-connected control device recorded by the terminal device. When it is determined that the two are consistent, it can be indicated that the control device can be connected, thereby realizing the accurate connection between the terminal device and the control device.

[0132] Figure 5 1 is a schematic diagram of a control device connection device provided in an embodiment of the present disclosure; the device is configured in an electronic device and can implement the control device connection method described in any embodiment of the present application. The connection of the control device can be applied to the control device, the control device is connected to a virtual reality VR device for communication, and the VR device is connected to a terminal device for communication. The device specifically includes the following:

[0133] A sending module 510, configured to send target information to the terminal device through the VR device in response to the control device being turned on, wherein the target information includes an identity identifier and a physical address of the control device;

[0134] The receiving module 520 is used to receive the response information sent by the terminal device through the VR device, where the response information is used to indicate the verification result of the terminal device on the identity of the control device;

[0135] The broadcast module 530 is used to determine that the verification result of the identity identification of the control device is passed based on the response information, and broadcast the physical address of the control device according to the connection status with the VR device, so that the terminal device connects to the control device according to the connection status.

[0136] In this embodiment, optionally, the VR device includes a first connection contact and a second connection contact;

[0137] The sending module 510 is specifically configured to:

[0138] Based on the first connection contact point and the second connection contact point, target information is sent to the terminal device.

[0139] In this embodiment, optionally, the broadcast module 530 is specifically used to:

[0140] Determining that the connection state with the VR device is connected, and shielding the control request received by the control device;

[0141] Determine that the connection state with the VR device is not connected, and broadcast the physical address.

[0142] In this embodiment, optionally, the device of this embodiment further includes: a control module;

[0143] In response to the control request, the terminal device is controlled based on the control request.

[0144] Through the connection device of the control device of the embodiment of the present invention, the control device is connected by communication with the virtual reality VR device, and the VR device is connected by communication with the terminal device. In response to the start-up of the control device, target information is sent to the terminal device through the VR device, wherein the target information may include the identity and physical address of the control device, and the response information sent by the terminal device through the VR device is received. The response information can be used to indicate the verification result of the identity of the control device by the terminal device. After determining that the verification result of the identity of the control device is passed based on the response information, the physical address of the control device is broadcast according to the connection status with the VR device, so that the terminal device connects to the control device according to the connection status, and the connection process does not require too much manual participation, thereby reducing the cumbersomeness of the connection between the control device and the terminal device, and effectively improving the connection efficiency between the control device and the terminal device.

[0145] The connecting device of the control device provided in the embodiment of the present invention can execute the connecting method of the control device provided in any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method.

[0146] Figure 6 : is a schematic diagram of the structure of another control device connection device provided in an embodiment of the present disclosure; the device is configured in an electronic device and can implement the control device connection method described in any embodiment of the present application. The device specifically includes the following:

[0147] The receiving module 610 is used to receive target information sent by the VR device, the target information including the identity and physical address of the control device, and verify the identity of the control device;

[0148] A sending module 620 is used to send a response message to the VR device, where the response message is generated according to the verification result of the identity identifier of the control device;

[0149] The receiving module 610 is further configured to receive a target broadcast message according to the connection status between the control device and the VR device, wherein the target broadcast message includes a target physical address;

[0150] The connection module 630 is used to connect the control device according to the target physical address and the physical address of the control device.

[0151] In this embodiment, optionally, the receiving module 610 is specifically configured to:

[0152] After receiving the disconnection message between the control device and the VR device sent by the VR device, a target broadcast message is received.

[0153] In this embodiment, optionally, the connection module 630 is specifically used to:

[0154] It is determined that the target physical address included in the broadcast message matches the physical address of the control device, and the control device is connected.

[0155] In this embodiment, optionally, the receiving module 610 is specifically configured to:

[0156] It is determined that the identity of the control device matches a preset identity, and it is determined that the identity verification of the control device passes, wherein the preset identity is used to describe the identity corresponding to the connectable device of the terminal device.

[0157] Through the connection device of the control device of the embodiment of the present invention, a convenient connection between the terminal device and the control device can be achieved, reducing the complexity of the connection.

[0158] The connecting device of the control device provided in the embodiment of the present invention can execute the connecting method of the control device provided in any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method.

[0159] Figure 7 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure, wherein the electronic device may be a control device or a terminal device. Figure 7 As shown, the electronic device includes a processor 710, a memory 720, an input device 730, and an output device 740; the number of the processor 710 in the electronic device can be one or more. Figure 7 A processor 710 is taken as an example; the processor 710, the memory 720, the input device 730 and the output device 740 in the electronic device can be connected via a bus or other means. Figure 7 The example of connecting through bus is taken in the following.

[0160] The memory 720, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to the connection method of the control device in the embodiment of the present invention. The processor 710 executes various functional applications and data processing of the electronic device by running the software programs, instructions and modules stored in the memory 720, that is, implements the connection method of the control device provided in the embodiment of the present invention.

[0161] The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some instances, the memory 720 may further include a memory remotely arranged relative to the processor 710, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0162] The input device 730 may be used to receive input digital or character information and generate key signal input related to user settings and function control of the electronic device, and may include a keyboard, a mouse, etc. The output device 740 may include a display device such as a display screen.

[0163] The embodiment of the present disclosure also provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to implement the connection method of the control device provided in the embodiment of the present disclosure.

[0164] Of course, the computer executable instructions of a storage medium containing computer executable instructions provided in an embodiment of the present invention are not limited to the method operations described above, and can also execute related operations in the connection method of the control device provided in any embodiment of the present invention.

[0165] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0166] It is worth noting that in the embodiment of the above-mentioned search device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.

[0167] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0168] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for connecting a control device, characterized in that: Applied to a control device, the control device is connected to a virtual reality VR device for communication, and the VR device is connected to a terminal device for communication, the method includes: In response to the control device being turned on, sending target information to the terminal device through the VR device, the target information including the identity and physical address of the control device; Receiving response information sent by the terminal device through the VR device, where the response information is used to indicate a verification result of the terminal device on the identity identifier of the control device; Based on the response information, determine that the verification result of the identity identifier of the control device is passed, broadcast the physical address of the control device according to the connection status with the VR device, so that the terminal device connects to the control device according to the connection status; The broadcasting of the physical address of the control device according to the connection status with the VR device includes: Determining that the connection state with the VR device is connected, and shielding the control request received by the control device; Determine that the connection state with the VR device is not connected, and broadcast the physical address.

2. The method according to claim 1, characterized in that The VR device includes a first connection contact and a second connection contact; The sending the target information to the terminal device through the VR device includes: Based on the first connection contact point and the second connection contact point, target information is sent to the terminal device.

3. The method according to claim 1, characterized in that Also includes: In response to the control request, the terminal device is controlled based on the control request.

4. A method for connecting a control device, characterized in that: Applied to terminal equipment, including: Receiving target information sent by the VR device, the target information including the identity and physical address of the control device, and verifying the identity of the control device; Sending a response message to the VR device, where the response message is generated according to the verification result of the identity identifier of the control device; Receive a target broadcast message according to the connection status between the control device and the VR device, wherein the target broadcast message includes a target physical address; connecting the control device according to the target physical address and the physical address of the control device; The control device is used to determine that the connection state with the VR device is connected, and shield the control request received by the control device; determine that the connection state with the VR device is not connected, and broadcast the physical address.

5. The method according to claim 4, characterized in that The receiving a target broadcast message according to the connection state between the control device and the VR device includes: After receiving the disconnection message between the control device and the VR device sent by the VR device, a target broadcast message is received.

6. The method according to claim 4, characterized in that The connecting the control device according to the target physical address and the physical address of the control device comprises: It is determined that the target physical address included in the broadcast message matches the physical address of the control device, and the control device is connected.

7. The method according to claim 4, characterized in that The verifying the identity of the control device includes: It is determined that the identity of the control device matches a preset identity, and it is determined that the identity verification of the control device passes, wherein the preset identity is used to describe the identity corresponding to the connectable device of the terminal device.

8. A connection device for a control device, characterized in that: Applied to a control device, the control device is connected to a virtual reality VR device for communication, the VR device is connected to a terminal device for communication, and the device includes: A sending module, configured to send target information to the terminal device through the VR device in response to the control device being turned on, wherein the target information includes an identity identifier and a physical address of the control device; A receiving module, used to receive response information sent by the terminal device through the VR device, where the response information is used to indicate a verification result of the terminal device on the identity identifier of the control device; A broadcast module, configured to determine, based on the response information, that the verification result of the identity identifier of the control device is passed, broadcast the physical address of the control device according to the connection status with the VR device, so that the terminal device connects to the control device according to the connection status; When the broadcast module broadcasts the physical address of the control device according to the connection status with the VR device, it is specifically used to: Determining that the connection state with the VR device is connected, and shielding the control request received by the control device; Determine that the connection state with the VR device is not connected, and broadcast the physical address.

9. A connection device for a control device, characterized in that: Applied to terminal equipment, including: A receiving module, used to receive target information sent by a VR device, the target information including an identity and a physical address of a control device, and verify the identity of the control device; A sending module, used to send a response message to the VR device, wherein the response message is generated according to the verification result of the identity identifier of the control device; The receiving module is further used to receive a target broadcast message according to the connection status between the control device and the VR device, wherein the target broadcast message includes a target physical address; A connection module, used for connecting the control device according to the target physical address and the physical address of the control device; The control device is used to determine that the connection state with the VR device is connected, and shield the control request received by the control device; determine that the connection state with the VR device is not connected, and broadcast the physical address.

10. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the connection method of the control device as described in any one of claims 1 to 3, or implement the connection method of the control device as described in any one of claims 4 to 7.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the connection method of the control device as described in any one of claims 1 to 3 is implemented, or the connection method of the control device as described in any one of claims 4 to 7 is implemented.

Citation Information

Patent Citations

  • Bluetooth connection method, Bluetooth remote controller, terminal device and storage medium

    CN112233404A

  • Virtual reality (VR) scene-based authentication method, VR device, and storage medium

    US20190098005A1