Target device identifier determination method and system, head-mounted device and medium
By using the image sensor in the head-mounted device to identify the icon logo of the target device, the problem of obtaining the logo between devices is solved and effective communication connection between devices is achieved.
Patent Information
- Application Number
- CN202410699151.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-20
AI Technical Summary
When communicating between devices, it is difficult for communication partners who do not know each other to obtain the unique identifier of the other party's communication device, making it impossible to communicate directly.
By using an image sensor in a head-mounted device to acquire an image containing multiple communication devices, determine the target icon and identify its identity, thereby obtaining the unique identity of the target device, and communicating with the target device based on the identity.
It is realized that communication objects who do not know each other can obtain the unique identification of the other party's communication device by identifying the icon, thereby establishing an effective communication connection and solving the problem of obtaining identification between devices.
Smart Images

Figure CN118673941A
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, system, head-mounted device and medium for determining an identification of a target device. Background Art
[0002] The first prerequisite for achieving communication between devices is that the devices involved in the communication must have a unique identity. Taking telephone communication as an example, the mobile phone number is the unique label of each telephone device, which ensures the accurate transmission and reception of information. However, the two parties who have the need to communicate may not know each other, so it is difficult to directly know the unique identification of the other party's device. Therefore, how to obtain the unique identification of the other party's communication device is a technical problem that has yet to be solved by those skilled in the art. Summary of the invention
[0003] The present application proposes a method, system, head-mounted device and medium for determining the identity of a target device, aiming to solve the technical problem of how to obtain a unique identity of a communication device.
[0004] To achieve the above-mentioned object, the present application proposes a method for determining the identification of a target device, the identification determination method being applied to a head-mounted device, the head-mounted device including an image sensor, and the identification determination method including:
[0005] Acquire a first image through the image sensor, wherein the first image includes each communication device and an icon corresponding to each of the communication devices;
[0006] Determine a target icon among the icons in the first image, and use a communication device corresponding to the target icon as a target device;
[0007] The target icon is identified to obtain an identifier of the target device.
[0008] In one embodiment, after the step of identifying the target icon to obtain the identifier of the target device, the method further includes:
[0009] Obtain the connection identifier corresponding to each device to be connected;
[0010] When a to-be-connected identifier that is identical to the identifier of the target device is detected, taking the to-be-connected device corresponding to the identifier of the target device as the actual target device;
[0011] Outputting request information to the actual target device, and receiving response information output by the actual target device based on the request information;
[0012] It is determined whether a connection with the actual target device has been established based on the response information.
[0013] In one embodiment, after the step of determining whether a connection has been established with the actual target device based on the response information, the method further includes:
[0014] If it is determined that a connection has been established with the actual target device, determining whether the first user default language in the request information and the second user default language in the response information are the same;
[0015] If it is detected that the first user's default language is different from the second user's default language, after acquiring the voice information output by the user, the voice information is converted into target voice information corresponding to the second user's default language, and the target voice information is output to the actual target device.
[0016] In one embodiment, after the step of determining that a connection has been established with the actual target device, the method further includes:
[0017] Upon receiving the disconnection instruction, calculating the communication time with the actual target device;
[0018] combining the communication duration, the identifier of the actual target device and the target icon to obtain a data set, and storing the data set;
[0019] In response to a selection instruction output by a user, a current identification to be communicated is determined in the stored data set, and based on the current identification to be communicated, communication is performed with a communication device corresponding to the current identification to be communicated.
[0020] In one embodiment, before the step of determining a target icon among the icons in the first image, the method further includes:
[0021] Outputting the first image, and when detecting the existence of a historical data set, comparing each of the icons in the first image with a target icon in the historical data set, wherein the historical data set is a data set corresponding to each of the communicating devices;
[0022] The icon identical to the target icon in the historical data set is used as a communicated icon, and the communication duration corresponding to the communicated icon and the identifier of the actual target device corresponding to the communicated icon are output in a preset area in the first image.
[0023] In one embodiment, after the step of obtaining the to-be-connected identifiers corresponding to the to-be-connected devices, the method further includes:
[0024] When it is detected that there is no identification to be connected that is identical to the identification of the target device, and when it is detected that an identification in the historical data set exists among the identifications to be connected, a prompt message is output, wherein the prompt message is used to prompt communication with the communication device corresponding to the identification in the historical data set.
[0025] In one embodiment, after the step of determining whether a connection has been established with the actual target device based on the response information, the method further includes:
[0026] If it is determined that no connection is established with the actual target device, a reselection prompt message is output, and the process returns to the step of determining the target icon from among the icons in the first image.
[0027] In addition, to achieve the above-mentioned purpose, the present application also proposes a target device identification determination system, the identification determination system is applied to a head-mounted device, the head-mounted device includes an image sensor, and the identification determination system includes:
[0028] An acquisition module, configured to acquire a first image through the image sensor, wherein the first image includes each communication device and an icon corresponding to each of the communication devices;
[0029] An icon determination module, configured to determine a target icon from among the icons in the first image, and use a communication device corresponding to the target icon as a target device;
[0030] The identification determination module is used to identify the target icon and obtain the identification of the target device.
[0031] In addition, to achieve the above-mentioned purpose, the present application also proposes a head-mounted device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program is configured to implement the steps of the target device identification determination method as described above.
[0032] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the target device identification determination method as described above are implemented.
[0033] The present application obtains a first image through an image sensor, wherein the first image includes various communication devices and icons corresponding to the communication devices; then a target icon is determined among the icons in the first image, and the communication device corresponding to the target icon is used as the target device; finally, the target icon is identified to obtain an identification of the target device, so that the icon of the device that needs to communicate can be determined from multiple icons, and then the unique identification of the device that needs to communicate can be obtained by identifying the icon, thereby communicating with the device that needs to communicate based on the unique identification of the device. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0035] 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0036] Figure 1 A flowchart of a method for determining the identity of a target device according to an embodiment of the present invention;
[0037] Figure 2 A schematic diagram of a head mounted device provided for an embodiment of a method for determining an identification of a target device of the present application;
[0038] Figure 3 A schematic diagram of the communication process of an embodiment of a method for determining the identity of a target device of the present application;
[0039] Figure 4 A schematic diagram of the module structure of a target device identification determination system according to an embodiment of the present application;
[0040] Figure 5 A schematic diagram of the device structure of the hardware operating environment involved in the target device identification determination method in the embodiment of the present application.
[0041] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0043] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0044] The main solution of the present application is: acquiring a first image through an image sensor, wherein the first image includes various communication devices and icons corresponding to each communication device; determining a target icon among the icons in the first image, and taking the communication device corresponding to the target icon as the target device; identifying the target icon to obtain an identifier of the target device.
[0045] Since it is usually difficult for strangers in the prior art to obtain the unique identifier of each other's communication device, the present application provides a solution so that strangers can obtain the unique identifier of each other's communication device based on the icon on the other party's communication device, thereby communicating with each other.
[0046] It should be noted that the execution subject of the target device identification determination method of the present application may be a head-mounted device with data processing, network communication and program running functions, such as VR (Virtual Reality) glasses, VR helmets, etc. The following takes VR glasses as an example to illustrate various embodiments of the target device identification determination method of the present application.
[0047] Based on this, the present application provides a method for determining the identity of a target device, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for determining the identity of a target device of the present application.
[0048] In this embodiment, the target device identification determination method is applied to a head mounted device, the head mounted device includes an image sensor, and the target device identification determination method includes steps S10 to S30:
[0049] Step S10, acquiring a first image through the image sensor, wherein the first image includes each communication device and an icon corresponding to each of the communication devices;
[0050] It is understandable that each communication device is worn by a user, and the wearer of the head mounted device can establish communication with the communication device through the head mounted device to achieve communication with the wearer of the communication device. Therefore, the first image also includes the portraits corresponding to each communication device.
[0051] In order to facilitate the acquisition of the corresponding identification of each communication device, the identification information of each communication device can be stored in an icon in advance, and the icon can be printed or pasted on the communication device. When the image is captured by the image sensor, the icon of the communication device should be in the field of view of the image sensor. Please refer to Figure 2 In a feasible implementation, the communication device may be a VR glasses, and the icon may be printed at the center of the VR glasses, that is, Figure 2In the middle X.
[0052] It should also be noted that the above-mentioned identifier can be a device name, an address (such as a Bluetooth address, a MAC address, etc.), or a label, and this application does not limit this. In addition, an icon refers to a graphic with information storage, transmission and identification functions. For example, an icon can be a one-dimensional code, a two-dimensional code, or a barcode, and this application does not limit this. In addition, the image sensor is a device for collecting images. In a feasible implementation, in order to improve the clarity of the first image, the image sensor can be an industrial camera.
[0053] Exemplarily, after receiving a photo-taking instruction output by a user, an industrial camera may be used to acquire an image of a field of view in a direction in which the wearer of the head mounted device is facing, thereby obtaining a first image.
[0054] Step S20, determining a target icon among the icons in the first image, and taking a communication device corresponding to the target icon as a target device;
[0055] It should be noted that the target icon refers to the icon selected by the user in the first image.
[0056] In this embodiment, after obtaining the first image, in order to confirm the object (user) with which the user needs to establish communication, the first image can be output, and then in response to the user's operation instructions on the first image, the target icon can be determined among the icons in the first image.
[0057] For example, after the first image is output, the gaze point of the wearer of the head mounted device in the first image can be determined based on the eye tracking technology, and then the icon corresponding to the gaze point position is used as the target icon. For example, if the gaze point position belongs to a certain icon, the icon is used as the target icon. If the gaze point position belongs to a certain communication device, the icon corresponding to the communication device is used as the target icon.
[0058] In another feasible implementation, the portrait in the first image, the portrait's communication device, and the icon of the communication device may be paired, and the portrait that the wearer of the head-mounted device wishes to communicate with may be determined through eye tracking technology, and then the icon of the communication device corresponding to the portrait may be used as the target icon.
[0059] In addition, in a feasible implementation, after pairing, the portrait in the first image can be cropped, and the cropped portrait can be output in a specific order after cropping. For example, the portraits are output in sequence from left to right in the first image. Then, based on the gesture confirmation instruction (gesture instruction representing confirmation) input by the user or the key confirmation instruction (key instruction representing confirmation) input by the user, the portrait selected by the user can be determined from the portraits, and then the icon of the communication device corresponding to the portrait selected by the user can be used as the target icon.
[0060] Step S30: Identify the target icon to obtain the identifier of the target device.
[0061] In this embodiment, after obtaining the target icon, the identifier stored in the target icon can be identified, thereby obtaining the identifier information required for establishing communication, which facilitates establishing communication.
[0062] Exemplarily, a two-dimensional code or a one-dimensional code may be identified to obtain the identification of the target device.
[0063] In this embodiment, the present application obtains a first image through an image sensor, wherein the first image includes various communication devices and icons corresponding to each communication device; then, a target icon is determined among the icons in the first image, and the communication device corresponding to the target icon is used as the target device; finally, the target icon is identified to obtain an identification of the target device, and the icon of the device that needs to communicate can be determined from multiple icons, and then the unique identification of the device that needs to communicate can be obtained by identifying the icon, thereby communicating with the device that needs to communicate based on the unique identification of the device.
[0064] Based on the first embodiment of the present application, the second embodiment of the present application is proposed. In the second embodiment of the present application, the same or similar contents as those of the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated later. On this basis, after step S30, the identification determination method further includes steps S40 to S70:
[0065] Step S40, obtaining the to-be-connected identifier corresponding to each to-be-connected device;
[0066] It should be noted that the device to be connected refers to a device in the environment where the head-mounted device is located and can establish communication with the head-mounted device, and the identifier to be connected refers to the identifier of the device to be connected.
[0067] Exemplarily, when the head mounted device establishes communication with other devices in the same environment via Bluetooth, the device to be connected is a device in the environment where the head mounted device is located that can communicate based on Bluetooth, and the identifier to be connected may be a Bluetooth address.
[0068] Step S50, when a to-be-connected identifier that is identical to the identifier of the target device is detected, the to-be-connected device corresponding to the identifier of the target device is used as the actual target device;
[0069] It can be understood that the target device refers to the device corresponding to the target identifier (the identifier obtained by identifying the target icon) in the first image, and the actual target device refers to the device corresponding to the target identifier in the environment where the head-mounted device is located.
[0070] Step S60, outputting request information to the actual target device, and receiving response information output by the actual target device based on the request information;
[0071] It is understandable that request information refers to an instruction or signal sent by one device or system to another device or system during the communication process to establish a connection or communication relationship. In a feasible implementation, the request connection information may include the device information initiating the connection (such as the ID and address of the head-mounted device), the information of the actual target device (corresponding to the target identifier identified above), the communication protocol and parameters (such as the relevant parameters of the HTTP and TCP / IP protocols), security authentication information, etc. Correspondingly, the response information refers to the feedback information of the request information.
[0072] Step S70: determining whether a connection with the actual target device has been established based on the response information.
[0073] It is understandable that after the head mounted device outputs the request information to the actual target device, the wearer of the actual target device can choose to accept the communication or reject the communication, and there are differences in the response information for accepting the communication and rejecting the communication. Therefore, it is possible to determine whether the head mounted device has established a connection with the actual target device by comparing the response information with the response information corresponding to the acceptance of the communication, or by comparing the response information with the response information corresponding to the rejection of the communication.
[0074] Exemplarily, if the response information detected is the same as the response information corresponding to the rejection of communication, it indicates that the connection with the actual target device is not successfully established; if the response information detected is the same as the response information corresponding to the acceptance of communication, it indicates that the connection with the actual target device is successfully established.
[0075] In this embodiment, after obtaining the identification of the communication device of the object desired to communicate based on the first image, the obtained identification can be compared with the identification of each communication device in the actual scene, so as to determine whether the device that the head-mounted device user desires to communicate with can communicate in the actual scene. If it is detected that communication with the actual target device is possible, a connection between the head-mounted device and the actual target device can be established, so as to facilitate communication between the user of the head-mounted device and the user of the target device.
[0076] In a feasible implementation manner, after the above step S70, the method further includes steps S80 to S90:
[0077] Step S80, if it is determined that a connection has been established with the actual target device, determining whether the first user default language in the request information and the second user default language in the response information are the same;
[0078] It should be noted that the first user default language refers to the language preset by the user of the head mounted device, and the second user default language refers to the language preset by the user of the actual target device.
[0079] In a feasible implementation, the request information output when establishing a connection with the actual target device may include the language pre-set by the user of the head-mounted device. If the actual target device accepts the communication request, the language set by the user corresponding to the actual target device is added to the response information so that voice translation can be performed when there is a difference in language between the communicating parties.
[0080] Step S90, if it is detected that the first user's default language is different from the second user's default language, after acquiring the voice information output by the user, convert the voice information into target voice information corresponding to the second user's default language, and output the target voice information to the actual target device.
[0081] In this embodiment, if it is detected that the default language of the first user is different from the default language of the second user, it indicates that the user of the head mounted device and the user of the actual target device do not communicate in the same language. Therefore, after the head mounted device collects the voice information output by the user, the voice information can be translated into the voice information corresponding to the default language of the second user, that is, the target voice information is obtained, so that the actual target device can output it after receiving the target voice information.
[0082] In a feasible implementation manner, after the above step S70, the method further includes step S100:
[0083] Step S100: If it is determined that no connection is established with the actual target device, a reselection prompt message is output, and the process returns to the step of determining a target icon from among the icons in the first image.
[0084] It can be understood that the reselection prompt information is used to prompt the user to reselect the target icon.
[0085] In this embodiment, if it is detected that a connection cannot be established with the actual target device, the user may be prompted to reselect to avoid a poor user experience caused by a long waiting time for the user.
[0086] Please refer to Figure 3 , Figure 3 This is a communication flow diagram of an embodiment of a method for determining the identity of a target device of the present application. Figure 3 In the figure, A is the head-mounted device and B is the target device. Figure 3 In the illustrated embodiment, both the head-mounted device and the target device are AR glasses. Figure 3 The communication process in is as follows:
[0087] At block 100, Person A first determines the communication intention, and displays the previewed image information (first image) on the screen in real time through the front camera of the AR glasses. If there is only one QR code (icon), the QR code is automatically identified; if there are multiple QR codes, the QR code of the desired communication object is selected through gaze point recognition technology or manual selection, and then the Bluetooth address of Person B is obtained using the QR code recognition technology.
[0088] At block 101, Person A initiates a Bluetooth search, obtains a list of surrounding Bluetooth devices, compares the Bluetooth addresses obtained at 100, and initiates a connection request with Person B. The request includes content and the language of the person, such as the content showing chat (the language of Person A), and the language defaults to the system language (such as Chinese).
[0089] At block 102, B receives A's request, first obtains B's system language (e.g., English), then translates A's request content into B's language in combination with A's language, and finally displays it on the device's UI. B responds according to the request:
[0090] If B refuses, B can choose whether to block the request. In order to prevent A's harassment, if the request is blocked, it can be determined based on A's Bluetooth address whether it is A's request. If so, it will be automatically rejected.
[0091] If B accepts, a response is sent to A, and at the same time, the language information of B is sent (the default is the system language, and B can also reselect it), and then go to 103.
[0092] At block 103, when Person A speaks, the sound is collected by a microphone, then converted into Person B's language through language translation technology, and then sent to Person B.
[0093] At block 104, after receiving the data via Bluetooth, person B plays the sound through the Speaker.
[0094] At block 105, when B speaks, the sound is collected by a microphone, then converted into A's language through language translation technology, and then sent to A.
[0095] At block 106, after receiving the data via Bluetooth, A plays the sound through the Speaker.
[0096] Repeat steps 103 to 106 to complete the interaction between A and B.
[0097] At block 107, either party A or B can disconnect after the call ends.
[0098] In this embodiment, the present application can determine whether there is a language communication barrier between the user of the head-mounted device and the user of the actual target device by comparing the default language of the first user and the default language of the second user, and then when there is a language communication barrier, the language communication barrier can be solved through voice translation technology.
[0099] In a feasible implementation manner, after the above step S80, the method further includes steps S110 to S130:
[0100] Step S110, when receiving the disconnection instruction, calculating the communication time with the actual target device;
[0101] It is understandable that the disconnection instruction refers to an instruction for disconnecting the communication connection. During the communication process with the actual target device, the user of the head mounted device and the actual target device can actively output the disconnection instruction to disconnect.
[0102] In this embodiment, after the connection is disconnected, the timestamp corresponding to the disconnection instruction and the timestamp of receiving the successful connection information can be subtracted to obtain the communication duration between the head mounted device and the actual target device.
[0103] Step S120, combining the communication duration, the identifier of the actual target device and the target icon to obtain a data set, and storing the data set;
[0104] It is understandable that the data set includes communication time, identification and icon. When there is a query requirement, the target icon can be used as an index to find the communication time and device identification corresponding to the target icon.
[0105] Step S130, in response to a selection instruction output by the user, determining a current identifier to be communicated in the stored data set, and communicating with a communication device corresponding to the current identifier to be communicated based on the current identifier to be communicated.
[0106] It should be noted that the selection instruction refers to an instruction output by a user through a certain interface or input method for selecting one or more options from multiple options. The current pending communication identifier refers to the identifier corresponding to the selection instruction.
[0107] In this embodiment, after communicating with multiple actual target devices, multiple data sets can be stored, and each data set can be output in a preset page. For example, each data set is output in a friend list. After the data sets are output, based on the selection instruction output by the user of the head-mounted device, the identifier corresponding to the selection instruction can be determined in each output data set, that is, the current identification to be communicated can be obtained. Then, based on the current identification to be communicated, a connection can be established with the communication device corresponding to the current identification to be communicated and communication can be carried out.
[0108] In this embodiment, the present application stores the icons of the devices that have communicated, the communication duration, and other information, and outputs the stored information on a preset page, so that when the user of the head-mounted device has a communication need, based on the known communication duration, icons, and other information, he can determine the identifier of the current desired communication among the known identifiers, and can communicate with the device corresponding to the identifier based on the identifier selected by the user. In this way, the head-mounted device can communicate with the communication device that the user desires to communicate with in a relatively short time without taking the first image.
[0109] In a feasible implementation manner, before the above step S20, the method further includes steps S140 to S150:
[0110] Step S140, outputting the first image, and when detecting the existence of a historical data set, comparing each of the icons in the first image with a target icon in the historical data set, wherein the historical data set is a data set corresponding to each of the communicating devices;
[0111] Step S150, taking the icon in each of the icons that is identical to the target icon in the historical data set as a communicated icon, and outputting the communication duration corresponding to the communicated icon and the identifier of the actual target device corresponding to the communicated icon in a preset area in the first image.
[0112] It should be noted that the preset area is a pre-set area for outputting communication information between connected devices, and the communication information may include communication duration, device identification, etc.
[0113] In this embodiment, after the first image is output, in order to facilitate the user to identify the communication device with which the user has communicated before, each icon in the first image can be compared with the icon of the communication device with which the user has communicated before, and when it is detected that the icon of the communication device with which the user has communicated before exists in the first image, the communication duration, device identification and other information corresponding to the communication device with which the user has communicated before will be output, so that the user can determine the device with which the user currently expects to communicate based on the output information such as the communication duration, thereby improving the user experience.
[0114] In a feasible implementation manner, after step S40, the identification determination method further includes step S160:
[0115] Step S160, when it is detected that there is no identification to be connected that is identical to the identification of the target device, and when it is detected that an identification in the historical data set exists among the identifications to be connected, output a prompt message, wherein the prompt message is used to prompt communication with the communication device corresponding to the identification in the historical data set.
[0116] For example, assume that the target device is identified as "AAA" and the identifications to be connected include "BBB", "CCC" and "DDD". Since the identification of the target device does not exist in the identification to be connected, the head-mounted device cannot establish communication with the device identified as "AAA". At this time, if it is detected that "DDD" has established communication with the head-mounted device, a prompt message "DDD seems to be your friend, do you want to communicate with him?" can be output to prompt the user to communicate with the user who has communicated with him before.
[0117] In this embodiment, the present application outputs a prompt message when it is detected that the identifier of the target device is not in the identifier to be connected, and when it is detected that the identifier of a device that has been communicated with exists in the identifier to be connected. This can prompt the user to communicate with the object that has been communicated with when the target device selected by the user does not have the conditions for communication. In this way, the identifier corresponding to the communication object can be automatically confirmed without taking a new photo or reconfirming the target icon, thereby improving the user experience.
[0118] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the device communication method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0119] The present application also provides an identification determination system, which is applied to a head-mounted device. The head-mounted device includes an image sensor. Figure 4 , the identification determination system comprises:
[0120] An acquisition module 10, configured to acquire a first image through the image sensor, wherein the first image includes each communication device and an icon corresponding to each of the communication devices;
[0121] An icon determination module 20, configured to determine a target icon from among the icons in the first image, and use a communication device corresponding to the target icon as a target device;
[0122] The identification determination module 30 is used to identify the target icon and obtain the identification of the target device.
[0123] In one embodiment, the identification determination system includes:
[0124] A to-be-connected identifier acquisition module is used to acquire the to-be-connected identifier corresponding to each to-be-connected device;
[0125] an actual device determining module, configured to, when detecting an identifier to be connected that is identical to the identifier of the target device, use the device to be connected corresponding to the identifier of the target device as the actual target device;
[0126] A request response module, used to output request information to the actual target device, and receive response information output by the actual target device based on the request information;
[0127] A judgment module is used to judge whether a connection has been established with the actual target device based on the response information.
[0128] In one embodiment, the identification determination system further includes:
[0129] a language comparison module, configured to determine whether the first user default language in the request information and the second user default language in the response information are the same if it is determined that a connection has been established with the actual target device;
[0130] The speech translation module is used to, if it is detected that the first user's default language is different from the second user's default language, convert the speech information into target speech information corresponding to the second user's default language after acquiring the speech information output by the user, and output the target speech information to the actual target device.
[0131] In one embodiment, the identification determination system further includes:
[0132] A duration calculation module, used to calculate the communication duration with the actual target device when receiving a disconnection instruction;
[0133] A data combination module, used for combining the communication duration, the identifier of the actual target device and the target icon to obtain a data set, and storing the data set;
[0134] The data set selection module is used to determine the current identification to be communicated in the stored data set in response to a selection instruction output by the user, and communicate with the communication device corresponding to the current identification to be communicated based on the current identification to be communicated.
[0135] In one embodiment, the identification determination system further includes:
[0136] An icon comparison module, configured to output the first image, and when detecting the existence of a historical data set, compare each of the icons in the first image with a target icon in the historical data set, wherein the historical data set is a data set corresponding to each of the communicating devices;
[0137] The first prompt module is used to use the icon that is the same as the target icon in the historical data set as the communicated icon, and output the communication time corresponding to the communicated icon and the identifier of the actual target device corresponding to the communicated icon in a preset area in the first image.
[0138] In one embodiment, the identification determination system further includes:
[0139] The second prompt module is used to output prompt information when it detects that there is no identifier to be connected that is identical to the identifier of the target device, and when it detects that an identifier in the historical data set exists among each of the identifiers to be connected, wherein the prompt information is used to prompt communication with the communication device corresponding to the identifier in the historical data set.
[0140] In one embodiment, the identification determination system further includes:
[0141] The reselection module is used to output a reselection prompt message if it is determined that no connection is established with the actual target device, and return to execute the step of determining the target icon from the icons in the first image.
[0142] The identification determination system provided in the embodiment of the present application adopts the identification determination method of the target device in the above embodiment, which can solve the technical problem of how to obtain the unique identification of the communication device. Compared with the prior art, the beneficial effects of the identification determination system provided by the present application are the same as the beneficial effects of the identification determination method of the target device provided in the above embodiment, and other technical features of the identification determination system are the same as the features disclosed in the above embodiment method, which will not be repeated here.
[0143] An embodiment of the present application provides a head-mounted device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the target device identification determination method in the above-mentioned embodiment one.
[0144] Reference below Figure 5 , which shows a schematic structural diagram of a head-mounted device suitable for implementing an embodiment of the present application. Figure 5 The head mounted device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0145] like Figure 5 As shown, the head mounted device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which may perform various appropriate actions and processes according to a program stored in a read only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the head mounted device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems may be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the head mounted device to communicate with other devices wirelessly or wired to exchange data. Although the head mounted device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided alternatively.
[0146] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0147] The head-mounted device provided in the embodiment of the present application adopts the target device identification determination method in the above embodiment, which can solve the technical problem of how to obtain the unique identification of the communication device. Compared with the prior art, the beneficial effects of the head-mounted device provided in the present application are the same as the beneficial effects of the target device identification determination method provided in the above embodiment, and the other technical features in the head-mounted device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0148] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0149] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0150] An embodiment of the present application provides a computer-readable storage medium having computer-readable program instructions (ie, a computer program) stored thereon, the computer-readable program instructions being used to execute the target device identification determination method in the above-mentioned embodiment.
[0151] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0152] The computer-readable storage medium may be included in the head-mounted device; or may exist independently without being assembled into the head-mounted device.
[0153] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the head-mounted device, the head-mounted device: obtains a first image through an image sensor, wherein the first image includes various communication devices and icons corresponding to each communication device; determines a target icon among the icons in the first image, and takes the communication device corresponding to the target icon as the target device; identifies the target icon to obtain an identifier of the target device.
[0154] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0155] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0156] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0157] The readable storage medium provided in the embodiment of the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned target device identification determination method, and can solve the technical problem of how to obtain the unique identification of the communication device. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the target device identification determination method provided in the above-mentioned embodiment, and will not be repeated here.
[0158] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A method for determining the identity of a target device, It is characterized in that The identification determination method is applied to a head mounted device, the head mounted device includes an image sensor, and the identification determination method includes: Acquire a first image through the image sensor, wherein the first image includes each communication device and an icon corresponding to each of the communication devices; Determine a target icon among the icons in the first image, and use a communication device corresponding to the target icon as a target device; The target icon is identified to obtain an identifier of the target device.
2. The identification determination method according to claim 1, It is characterized in that After the step of identifying the target icon to obtain the identifier of the target device, the method further includes: Obtain the connection identifier corresponding to each device to be connected; When a to-be-connected identifier that is identical to the identifier of the target device is detected, taking the to-be-connected device corresponding to the identifier of the target device as the actual target device; Outputting request information to the actual target device, and receiving response information output by the actual target device based on the request information; It is determined whether a connection with the actual target device has been established based on the response information.
3. The identification determination method according to claim 2, It is characterized in that After the step of determining whether a connection has been established with the actual target device based on the response information, the method further includes: If it is determined that a connection has been established with the actual target device, determining whether the first user default language in the request information and the second user default language in the response information are the same; If it is detected that the first user's default language is different from the second user's default language, after acquiring the voice information output by the user, the voice information is converted into target voice information corresponding to the second user's default language, and the target voice information is output to the actual target device.
4. The identification determination method according to claim 3, It is characterized in that After the step of determining that a connection has been established with the actual target device, the method further includes: Upon receiving the disconnection instruction, calculating the communication time with the actual target device; combining the communication duration, the identifier of the actual target device and the target icon to obtain a data set, and storing the data set; In response to a selection instruction output by a user, a current identification to be communicated is determined in the stored data set, and based on the current identification to be communicated, communication is performed with a communication device corresponding to the current identification to be communicated.
5. The identification determination method according to claim 4, It is characterized in that Before the step of determining a target icon among the icons in the first image, the method further includes: Outputting the first image, and when detecting the existence of a historical data set, comparing each of the icons in the first image with a target icon in the historical data set, wherein the historical data set is a data set corresponding to each of the communicating devices; The icon identical to the target icon in the historical data set is used as a communicated icon, and the communication duration corresponding to the communicated icon and the identifier of the actual target device corresponding to the communicated icon are output in a preset area in the first image.
6. The identification determination method according to claim 5, It is characterized in that After the step of obtaining the to-be-connected identifiers corresponding to the respective to-be-connected devices, the method further includes: When it is detected that there is no identification to be connected that is identical to the identification of the target device, and when it is detected that an identification in the historical data set exists among the identifications to be connected, prompt information is output, wherein the prompt information is used to prompt communication with the communication device corresponding to the identification in the historical data set.
7. The identification determination method according to claim 2, It is characterized in that After the step of determining whether a connection has been established with the actual target device based on the response information, the method further includes: If it is determined that no connection is established with the actual target device, a reselection prompt message is output, and the process returns to the step of determining the target icon from among the icons in the first image.
8. A target device identification determination system, It is characterized in that The identification determination system is applied to a head mounted device, the head mounted device includes an image sensor, and the identification determination system includes: An acquisition module, configured to acquire a first image through the image sensor, wherein the first image includes each communication device and an icon corresponding to each of the communication devices; An icon determination module, configured to determine a target icon from among the icons in the first image, and use a communication device corresponding to the target icon as a target device; The identification determination module is used to identify the target icon and obtain the identification of the target device.
9. A head mounted device, It is characterized in that The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the target device identification determination method according to any one of claims 1 to 7.
10. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the target device identification determination method according to any one of claims 1 to 7 are implemented.
