Method, System, and Medium for Device Matching and Connection by Recognizing User Behavior
By generating and broadcasting behavioral signature codes within the LAN, the problem of manual selection of terminal devices interconnection is solved, automatic connection and workgroup creation is realized, and user experience and efficiency are improved.
Patent Information
- Application Number
- CN202310316156.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-16
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2043-03-16
AI Technical Summary
In the prior art, the interconnection of computer terminal devices in the local area network requires manual selection, which is not convenient enough to use, especially when there are many devices.
By creating a behavior recognition area on the terminal interface, capturing user operations to generate behavioral signatures, and broadcasting them to the local area network, a connection option interface is created for the user to determine whether to connect according to the received behavioral signatures.
It simplifies the connection process of terminal devices, improves user experience and efficiency, and especially automatically creates work groups in multiple device scenarios, making operation more convenient.
Smart Images

Figure CN116668508B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of local area network device interconnection, and particularly to a method, a system and a medium for device matching connection by identifying user behavior. Background Art
[0002] With the development of communication technology, the interconnection between computer terminals in a local area network has become increasingly widespread. A typical working scenario is to transfer information such as files and photos of one terminal device to another terminal device. The interconnection of two terminal devices can be achieved through wired or wireless means.
[0003] Traditional methods mainly include: interconnecting two terminal devices through Bluetooth, infrared or wireless network, etc. However, this method requires manual corresponding setting operations to be realized. For example, scanning the QR code on the computer by the mobile phone, etc., which is not convenient to use.
[0004] Chinese Patent CN 104619039 A discloses a method, a system and a terminal device for interconnection of terminal devices in a wireless local area network. The first terminal device broadcasts a device query data packet to all IP addresses in the wireless local area network where the first terminal device is located, so that all second terminal devices that receive the device query data packet return terminal device information to the first terminal device; the first terminal device receives the terminal device information, and generates and displays a terminal device list according to the terminal device information; the first terminal device obtains the name of the second terminal device to be pre-connected selected from the terminal device list, and sends an interconnection request to the pre-connected second terminal device, so that the pre-connected second terminal device receives and determines whether to interconnect with the first terminal device according to the interconnection request. This solution requires the user to manually select the terminal device to be connected from the terminal device list, which is not convenient to use. Especially when there are many terminal devices in the workplace, it is particularly inconvenient.
[0005] In view of this, it is necessary to improve the existing method for interconnection of terminal devices in a local area network to simplify the connection process and improve the user experience. Summary of the Invention
[0006] Aiming at the above defects, the technical problem to be solved by the present invention is to provide a method, a system and a medium for device matching connection by identifying user behavior, so as to solve the problem that the existing technology requires the user to manually select the terminal device to be connected from the terminal device list, which is not convenient to use.
[0007] To this end, the method for device matching connection by identifying user behavior provided by the present invention includes the following steps:
[0008] Create an interconnected application interface on the terminal interface that needs to be interconnected. There is at least one behavior recognition area in the interconnected application interface, which is respectively marked with different behavior area codes;
[0009] Capture the operations of the terminal on any behavior recognition area, and identify them as corresponding user behaviors, which are respectively marked with different user behavior codes;
[0010] Combine the behavior area code, user behavior code, and behavior occurrence time to generate a behavior feature code;
[0011] Each terminal respectively obtains the IP addresses of other terminals within the local area network, and broadcasts the behavior feature code of this terminal to the IP addresses of other terminals;
[0012] Create a connection option interface according to the comparison result between the received behavior feature code and the behavior feature code of the local machine for the user to determine whether to connect.
[0013] In the above technical method, preferably, when the behavior feature code received by the terminal is the same as the behavior feature code of the local machine, return the terminal name of the local machine to the terminal that sent the behavior feature code. The connection option interface displays the terminal names available for connection, as well as join and reject buttons for the user to select.
[0014] In the above technical method, preferably, when the behavior feature codes of multiple terminals in the local area network are the same, automatically create a workgroup for these terminals, and display the workgroup name, as well as join and reject buttons on each of the connection option interfaces of these terminals for the user to select.
[0015] In the above technical method, preferably, convert the behavior occurrence time to a Unix timestamp, and combine the behavior area code, user behavior code, and Unix timestamp of the behavior occurrence time in sequence to generate the behavior feature code.
[0016] In the above technical method, preferably, the behavior recognition area is a button, a picture, or a blank area.
[0017] In the above technical method, preferably, the operations of the user on the behavior recognition area include:
[0018] Perform a single click, double click, or long press operation within the behavior recognition area; the long press refers to an operation where the hold time exceeds 2 seconds;
[0019] Perform a horizontal or vertical drag operation within the behavior recognition area;
[0020] Draw a graph within the behavior recognition area, and the graph includes a circle, a triangle, or a pentagram.
[0021] In the above technical method, preferably, the interconnected application interface is a frame of any shape, and is provided with minimize, maximize, and close control buttons.
[0022] In the above technical method, preferably, the interconnected application interface is a rectangular frame.
[0023] The present invention also provides a system for device matching and connection by identifying user behavior, including:
[0024] An interconnected application interface creation module, configured to create an interconnected application interface on the terminal interface that needs to be interconnected. At least one behavior recognition area is provided in the interconnected application interface, and different behavior area codes are respectively marked;
[0025] A user behavior recognition module, configured to capture the operations of the terminal on any behavior recognition area and identify them as corresponding user behaviors, which are respectively marked with different user behavior codes;
[0026] A behavior feature code generation module, configured to combine the behavior area code, user behavior code, and behavior occurrence time to generate a behavior feature code;
[0027] A behavior feature code broadcast module, configured to each terminal respectively obtain the IP addresses of other terminals within the local area network, and broadcast the behavior feature code of this terminal to the IP addresses of other terminals;
[0028] An interconnection module, configured to create a connection option interface according to the comparison result between the received behavior feature code and the behavior feature code of this machine, for the user to determine whether to connect.
[0029] The present invention also provides a computer-readable medium, on which a computer program is stored. When the computer program is executed by a processor, the method for device matching and connection by identifying user behavior described above is implemented.
[0030] As can be seen from the above technical solutions, the method, system, and medium for device matching and connection by identifying user behavior provided by the present invention solve the problem that the interconnection between computer terminals within the local area network in the prior art needs to be manually selected, which is inconvenient to use. Compared with the prior art, the present invention has the following beneficial effects:
[0031] By combining the behavior area code, user behavior code, and behavior occurrence time to generate a behavior feature code, and creating a connection option interface according to the comparison result between the received behavior feature code and the behavior feature code of this machine, for the user to determine whether to connect. The user no longer needs to manually select the terminal device to be connected, simplifies the connection process, and improves the efficiency and user experience. Description of the Drawings
[0032] To more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce and explain the drawings required for the description of the embodiments of the present invention or the prior art. Obviously, the drawings in the following description are only partial embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0033] Figure 1 Flowchart of the method for device matching and connection by recognizing user behavior provided by the present invention;
[0034] Figure 2 Schematic diagram of an embodiment of an application scenario of the present invention. Detailed implementation manners
[0035] The following will clearly and completely describe the technical solutions of the embodiments of the present invention in conjunction with the drawings of the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.
[0036] To make a clearer explanation and illustration of the technical solutions and implementation manners of the present invention, the following introduces several preferred specific embodiments for implementing the technical solutions of the present invention.
[0037] It should be noted that the orientation words such as "inside, outside", "front, back", and "left, right" in this article are expressed based on the benchmark object of the product's usage state. Obviously, the use of the corresponding orientation words does not limit the protection scope of the present solution.
[0038] Please refer to Figure 1 , Figure 1 Flowchart of a method for device matching and connection by recognizing user behavior provided by the present invention.
[0039] As Figure 1 shown, a method for device matching and connection by recognizing user behavior provided by the present invention includes the following steps:
[0040] Step 110, create an interconnection application interface on the terminal interface that needs to be interconnected. At least one behavior recognition area is provided in the interconnection application interface and is respectively marked with different behavior area codes. For example:
[0041] Behavior recognition area 1 is marked as R1;
[0042] Behavior recognition area 2 is marked as R2;
[0043] ......
[0044] The behavior recognition area n is marked as Rn.
[0045] That is to say, after the solution of the present invention is started, an interconnected application interface will be created on the terminal interface. The interconnected application interface can be of any shape, and usually a rectangular frame is adopted.
[0046] Similar to software applications, the interconnected application interface can be provided with control buttons such as minimize, maximize, and close. Clicking the minimize button can hide the interconnected application interface in the task bar, so as not to affect the normal use of the terminal device by the user. The interconnected application interface can be restored by clicking in the task bar. Clicking the maximize button can display the interconnected application interface full screen to facilitate the user to perform behavior operations. Clicking the close button will exit the interconnected application interface. When using it again, it is necessary to restart the interconnected application and create the interconnected application interface.
[0047] The behavior recognition area can be a button, a picture or a blank area, and the specific shape is not limited, usually rectangular or circular. Operations performed by the user within the behavior recognition area can be captured and recognized, and operations performed by the user outside the behavior recognition area are not captured and recognized.
[0048] Step 120, capture the operations of the user for any behavior recognition area, and recognize them as corresponding user behaviors, which are respectively marked with different user behavior codes. For example:
[0049] A single click operation is marked as A1;
[0050] A double click operation is marked as A2;
[0051] A long press operation is marked as A3, etc.
[0052] Other operations are respectively marked with different identifiers, such as B1, B2, C1, C2, etc., which will not be elaborated here.
[0053] Among them, the operations of the user for the behavior recognition area can include:
[0054] Performing operations such as single click, double click, and long press within the behavior recognition area.
[0055] Performing an overall horizontal or vertical drag operation within the behavior recognition area.
[0056] Drawing graphics within the behavior recognition area, including circles, triangles, pentagrams, etc.
[0057] Step 130, combine the three parameters of the behavior area code, the user behavior code, and the behavior occurrence time to generate a behavior feature code. Among them, the behavior occurrence time needs to be converted into a Unix timestamp.
[0058] Specifically, the behavior area code, user behavior code, and the order of behavior occurrence time can be combined to generate a behavior feature code.
[0059] For example, user A performs a long - press operation for 2 seconds on behavior recognition area 1 on terminal A, and the behavior occurrence time is 2023 - 01 - 13 17:22:08. Then the behavior feature code of user A is: R1A3_1673601728000.
[0060] Among them, R1 represents the behavior area code of behavior recognition area 1, A3 represents the user behavior code of the long - press operation, and 1673601728000 is the Unix timestamp of the behavior occurrence time 2023 - 01 - 13 17:22:08.
[0061] The behavior occurrence time is in seconds. Therefore, the terminals that need to be interconnected should complete the corresponding operations within 1 second. That is to say, only the terminals that perform the same behavior operation in the same behavior recognition area within 1 second can be interconnected.
[0062] Step 140, each terminal respectively obtains the IP addresses of other terminals in the local area network and broadcasts the behavior feature code of this terminal to the IP addresses of other terminals.
[0063] For example, broadcast the generated behavior feature code R1A3_1673601728000 to all other terminals in the local area network except this machine.
[0064] Step 150, each terminal in the local area network receives the behavior feature codes sent by other terminals in the local area network in real - time.
[0065] Step 160, the terminal compares the received behavior feature code with the behavior feature code of this machine, and creates a connection option interface according to the comparison result for the user to determine whether to connect.
[0066] Specifically, if the received behavior feature code is the same as the behavior feature code of this machine, then return the terminal name of this machine to the terminal that sent the behavior feature code, display the terminal name, IP address, etc. that can be connected on the connection option interface, and at the same time display the join and reject buttons for the user to choose. Otherwise, if the received behavior feature code is different from the behavior feature code of this machine, then go to step 120 and wait for the next capture.
[0067] When the user selects to confirm the connection, the two terminals automatically establish a connection, and after the connection, operations such as file transfer and screen mirroring can be performed.
[0068] For more convenient use, the terminal name returned to this machine can be modified to the user name, and this user name is the login user name of the computer system.
[0069] Based on the above embodiments, if the behavior signature codes of multiple terminals (more than 2) in the local area network are the same, a workgroup is automatically created for these terminals, and the workgroup name, as well as join and reject buttons, are displayed on each of the connection option interfaces of these terminals for the user to select. If all of these terminals choose to join the workgroup, these terminals will work in a workgroup to implement operation functions such as file transfer.
[0070] Based on the above method, the present invention also provides a system for device matching and connection by identifying user behavior, including:
[0071] An interconnection application interface creation module, configured to create an interconnection application interface on the terminal interface that needs to be interconnected. The interconnection application interface is provided with at least one behavior recognition area, which are respectively marked with different behavior area codes;
[0072] A user behavior recognition module, configured to capture the operations of the terminal for any behavior recognition area and identify them as corresponding user behaviors, which are respectively marked with different user behavior codes;
[0073] A behavior signature code generation module, configured to combine the behavior area code, user behavior code, and behavior occurrence time to generate a behavior signature code;
[0074] A behavior signature code broadcasting module, configured to each terminal respectively obtain the IP addresses of other terminals in the local area network and broadcast the behavior signature code of this terminal to the IP addresses of other terminals;
[0075] An interconnection module, configured to create a connection option interface for the user to determine whether to connect according to the comparison result of the received behavior signature code and the behavior signature code of the local machine.
[0076] The method for device matching and connection by identifying user behavior in the present invention can be implemented as a computer software program. For example, the present invention also provides a computer-readable medium, on which a computer program is stored. When the computer program is executed by a processor, the above method for device matching and connection by identifying user behavior is implemented.
[0077] The following combines Figure 2 The specific embodiments shown are used to describe the implementation of the solution of the present invention in detail.
[0078] In Figure 2 the shown embodiment, there are three terminals in the local area network, namely terminal A, terminal B, and terminal C, which are respectively used by user A, user B, and user C. All three terminals start the interconnection application interface, and there are 3 behavior recognition areas on the interconnection application interface, which are respectively marked as R1, R2, and R3.
[0079] When performing an interconnection operation, User A performs a long press for 2 seconds on Area A on Terminal A, User B performs a long press for 2 seconds on Area A on Terminal B, and User C performs a click operation on Area C on Terminal C. The actions of User A, User B, and User C occur at the same time, which is 2023-01-13 17:22:08.
[0080] The behavior signature code of User A is: R1A3_1673601728000.
[0081] The behavior signature code of User B is: R1A3_1673601728000.
[0082] The behavior signature code of User C is: R3A1_1673601728000.
[0083] Each terminal respectively receives the behavior signature codes broadcast by other terminals.
[0084] By comparison, it can be seen that the behavior signature code of Terminal B received by Terminal A is the same as that of the local machine, and the behavior signature code of Terminal C received is different from that of the local machine; the behavior signature code of Terminal A received by Terminal B is the same as that of the local machine, and the behavior signature code of Terminal C received is different from that of the local machine; the behavior signature codes of Terminal A and B received by Terminal C are both different from that of the local machine. Therefore, Terminal A returns the user name and IP address of Terminal A to Terminal B, and Terminal B returns the user name and IP address of Terminal B to Terminal A. Then, connection option interfaces and confirmation and cancellation buttons will be generated on the display interfaces of Terminal A and Terminal B respectively for the user to select. For example, "Connect to User B?" is displayed on Terminal A, and "Connect to User A?" is displayed on Terminal B. When both User A and B select confirmation, a connection is established between Terminal A and Terminal B, and then operations such as file transfer or screen mirroring can be performed.
[0085] Based on the description of the above specific embodiments, the method, system, and medium for device matching and connection by identifying user behavior provided by the present invention have the following advantages compared with the prior art:
[0086] First, by combining the behavior area code, user behavior code, and behavior occurrence time to generate a behavior signature code, and creating a connection option interface according to the comparison result between the received behavior signature code and the local behavior signature code for the user to determine whether to connect. The user no longer needs to manually select the terminal device to be connected, which simplifies the connection process and improves the efficiency and user experience.
[0087] Second, when the behavior feature codes of multiple terminals in the local area network are the same, workgroups are automatically created for these terminals, and the workgroup name, as well as join and reject buttons, are displayed on each of the connection option interfaces of these terminals for users to select. If all terminals confirm the selection, they will be automatically joined to the workgroup. The traditional method is to first establish connections with each terminal separately, then create a workgroup, and finally each terminal joins the workgroup separately. Compared with the traditional method, the present invention greatly improves the efficiency and is more convenient to operate.
[0088] Third, there can be various forms of operations for the operations within the behavior recognition area, and different connection methods can be selected for different connections, which is convenient for establishing their respective connections in different ways in the local area network without mutual interference. At the same time, it is convenient to create multiple different workgroups for work.
[0089] Finally, it should also be noted that the term "comprising", "including" or any other variant thereof used in this text is intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements not only includes those elements, but also includes other elements not explicitly listed, or further includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the existence of additional identical elements in the process, method, article or device comprising the said element.
[0090] The present invention is not limited to the above best implementation manner. Anyone should know that structural changes made under the inspiration of the present invention, as long as they have the same or similar technical solutions as the present invention, fall within the protection scope of the present invention.
Claims
1. A method for device matching and connection by recognizing user behavior, characterized in that The steps include: Create an interconnected application interface on the terminal interface that needs to be interconnected. At least one behavior recognition area is provided in the interconnected application interface and is respectively marked with different behavior area codes; Capture the operations of the terminal on any behavior recognition area and identify them as corresponding user behaviors, which are respectively marked with different user behavior codes; Combine the behavior area code, user behavior code, and behavior occurrence time to generate a behavior feature code; Each terminal respectively obtains the IP addresses of other terminals in the local area network and broadcasts the behavior feature code of this terminal to the IP addresses of other terminals; Create a connection option interface according to the comparison result between the received behavior feature code and the behavior feature code of this machine for the user to determine whether to connect.
2. The method according to claim 1, characterized in that, When the behavior feature code received by the terminal is the same as the behavior feature code of this machine, return the terminal name of this machine to the terminal that sent the behavior feature code. The terminal names available for connection, as well as join and reject buttons, are displayed on the connection option interface for the user to select.
3. The method according to claim 1, characterized in that, When the behavior feature codes of multiple terminals in the local area network are the same, automatically create a workgroup for these terminals, and display the workgroup name, as well as join and reject buttons, on each of the connection option interfaces of these terminals for the user to select.
4. The method according to claim 1, wherein Convert the behavior occurrence time into a Unix timestamp, and combine the behavior area code, user behavior code, and Unix timestamp of the behavior occurrence time in sequence to generate the behavior feature code.
5. The method according to claim 1, wherein The behavior recognition area is a button, a picture, or a blank area.
6. The method according to claim 1, characterized in that The operations of the user on the behavior recognition area include: Perform a single click, double click, or long press operation within the behavior recognition area; the long press refers to an operation where the hold time exceeds 2 seconds; Perform a horizontal or vertical drag operation within the behavior recognition area; Draw a graph within the behavior recognition area, and the graph includes a circle, a triangle, or a pentagram.
7. The method according to claim 1, characterized in that The interconnected application interface is a frame of any shape and is provided with minimize, maximize, and close control buttons.
8. The method according to claim 7, wherein The interconnected application interface is a rectangular box.
9. A system for device matching and connection by recognizing user behavior, characterized in that, It includes: An interconnected application interface creation module for creating an interconnected application interface on the terminal interface that needs to be interconnected. At least one behavior recognition area is provided in the interconnected application interface and is respectively marked with different behavior area codes; A user behavior recognition module for capturing the operations of the terminal on any behavior recognition area and identifying them as corresponding user behaviors, which are respectively marked with different user behavior codes; A behavior feature code generation module for combining the behavior area code, user behavior code, and behavior occurrence time to generate a behavior feature code; A behavior feature code broadcast module for each terminal to respectively obtain the IP addresses of other terminals in the local area network and broadcast the behavior feature code of this terminal to the IP addresses of other terminals; An interconnection module for creating a connection option interface according to the comparison result between the received behavior feature code and the behavior feature code of this machine for the user to determine whether to connect.
10. A computer-readable medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method for device matching connection by identifying user behaviors as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Terminal equipment interconnection method and system in wireless local area network (WLAN) and terminal equipment
CN104619039A
Synchronous screen projection method and device for teaching scene, equipment and storage medium
CN112181345A
Wireless connection method, electronic equipment and graphical interface
CN115038042A