Method and apparatus for controlling public equipment, electronic device, and storage medium
By establishing a session connection between public and private devices, the problem of poor user experience caused by the small screen size of portable mobile terminals is solved, and the user experience is improved by leveraging the large screen of public devices.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD
- Filing Date
- 2022-12-08
- Publication Date
- 2026-04-17
AI Technical Summary
Portable mobile devices have small screens, resulting in a poor user experience when working, entertaining, or studying.
By establishing a session connection between public devices and target private devices, mutual access to resources is achieved. The target private device is identified using methods such as image acquisition, Bluetooth scanning, or QR code scanning, and mutual access is performed after authentication.
It improves the user experience when using public large-screen devices for work, entertainment, or study while using private devices.
Smart Images

Figure CN116193408B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic equipment technology, and in particular to a control method, apparatus, electronic device and storage medium for a public utility. Background Technology
[0002] Currently, with the rapid development of portable mobile terminal technology, portable mobile terminals (such as smartphones and tablets) are widely used. Taking smartphones as an example, users can use them to participate in video conferences, view documents (such as .word, .ppt, .excle, etc.), and pictures.
[0003] However, the screens of portable mobile devices are relatively small, which results in a poor user experience when using them for work, entertainment, or study. Summary of the Invention
[0004] Therefore, in order to address the technical problem of the relatively small screen size of portable mobile terminals, which leads to a poor user experience when using them for work, entertainment, or study,
[0005] This invention provides a control method, apparatus, electronic device, and storage medium for a public utility. In a first aspect, this invention provides a control method for a public utility, the method being applied to the public utility, the method comprising:
[0006] Identify the target private device;
[0007] Send an authentication request to the target private device so that the target private device can authenticate the public device in response to the authentication request;
[0008] If it is determined that the target private device has successfully authenticated the public device, and the
[0009] A session connection is established between the target private devices so that the target private devices and the public devices can access each other through the session connection.
[0010] In one possible implementation, determining the target private device includes:
[0011] The image acquisition module is invoked to acquire facial images of users within a preset area;
[0012] The face image is retrieved from a preset user information database, which includes face images of multiple registered users and user information of the registered users, including device information bound to the registered users.
[0013] If a target face image matching the face image is found in the user information database, the private device indicated by the device information in the user information corresponding to the target face image is identified as the target private device.
[0014] In one possible implementation, determining the target private device includes:
[0015] Output QR codes through a visual interface;
[0016] Receive a login request sent by at least one of the private devices by scanning the QR code;
[0017] Device information is parsed from at least one of the login requests, and the private device indicated by the device information is identified as the target private device.
[0018] In one possible implementation, determining the target private device includes:
[0019] The Bluetooth module is invoked to scan for at least one preset Bluetooth channel;
[0020] If at least one Bluetooth signal is detected, device information is parsed from the detected Bluetooth signal, and the private device indicated by the device information is identified as the target private device.
[0021] In one possible implementation, when the identified target private devices include at least two, the method further includes:
[0022] The device information of at least two of the target private devices is output through a visual interface;
[0023] In response to the user's selection operation in the visual interface, determine the target device information selected by the user;
[0024] The target private device indicated by the target device information is determined as the final target private device.
[0025] In one possible implementation, after establishing a session connection with the target private device, the method further includes:
[0026] Private resources on the target private device are obtained through the session connection;
[0027] The private resources are presented through a visual interface.
[0028] In one possible implementation, after presenting the private resource through a visual interface, the method further includes:
[0029] In response to the user's operation in the visual interface, the private resource is edited.
[0030] The edited private resources will be synchronized to the target private device.
[0031] In one possible implementation, after establishing a session connection with the target private device, the method further includes:
[0032] Receive resource acquisition requests from the target private device through the session connection;
[0033] In response to the resource acquisition request, the public resources on the public device are sent to the target private device through the session connection.
[0034] In one possible implementation, after establishing a session connection with the target private device, the method further includes:
[0035] After a preset time interval, determine whether the preset session connection disconnection condition is met.
[0036] If it is determined that the session connection disconnection condition is met, the session connection between the public device and the target private device is disconnected.
[0037] Secondly, embodiments of the present invention provide a control method for a public utility, the method being applied to a private utility, the method comprising:
[0038] Receive authentication requests from public utilities;
[0039] The public utility is authenticated in response to the authentication request.
[0040] If the authentication of the public device is successful, a session connection is established with the public device so that the private device and the public device can access each other through the session connection.
[0041] Thirdly, embodiments of the present invention provide a control device for a public utility, the device being applied to the public utility, the device comprising:
[0042] The determination module is used to determine the target private device;
[0043] The authentication module is used to send an authentication request to the target private device, so that the target private device can authenticate the public device in response to the authentication request.
[0044] The first establishment module is used to establish a session connection with the target private device when it is determined that the target private device has successfully authenticated the public device, so that the target private device and the public device can access each other through the session connection.
[0045] In one possible implementation, the determining module is specifically used for:
[0046] The image acquisition module is invoked to acquire facial images of users within a preset area;
[0047] The face image is retrieved from a preset user information database, which includes face images of multiple registered users and user information of the registered users, including device information bound to the registered users.
[0048] If a target face image matching the face image is found in the user information database, the private device indicated by the device information in the user information corresponding to the target face image is identified as the target private device.
[0049] In one possible implementation, the determining module is specifically used for:
[0050] Output QR codes through a visual interface;
[0051] Receive a login request sent by at least one of the private devices by scanning the QR code;
[0052] Device information is parsed from at least one of the login requests, and the private device indicated by the device information is identified as the target private device.
[0053] In one possible implementation, the determining module is specifically used for:
[0054] The Bluetooth module is invoked to scan for at least one preset Bluetooth channel;
[0055] If at least one Bluetooth signal is detected, device information is parsed from the detected Bluetooth signal, and the private device indicated by the device information is identified as the target private device.
[0056] In one possible implementation, the device further includes:
[0057] The output module is used to output device information of at least two of the identified target private devices through a visual interface when at least two target private devices are identified.
[0058] The target information determination module is used to determine the target device information selected by the user in response to the user's selection operation in the visualization interface;
[0059] The target device determination module is used to determine the target private device indicated by the target device information as the final target private device.
[0060] In one possible implementation, the device further includes:
[0061] The acquisition module is used to acquire private resources on the target private device through the session connection after establishing a session connection with the target private device.
[0062] The presentation module is used to present the private resources through a visual interface.
[0063] In one possible implementation, the device further includes:
[0064] An execution module is configured to perform editing operations on the private resource in response to user operations in the visual interface after the private resource is presented through the visual interface;
[0065] The synchronization module is used to synchronize the edited private resources to the target private device.
[0066] In one possible implementation, the device further includes:
[0067] The request receiving module is configured to receive a resource acquisition request from the target private device through the session connection after the session connection is established with the target private device.
[0068] The sending module is used to respond to the resource acquisition request by sending the public resources on the public device to the target private device through the session connection.
[0069] In one possible implementation, the device further includes:
[0070] The condition determination module is used to determine whether the preset session connection disconnection condition is met after a preset time interval following the establishment of a session connection with the target private device.
[0071] The disconnect module is used to disconnect the session connection between the public device and the target private device when it is determined that the session connection disconnection condition is met.
[0072] Fourthly, embodiments of the present invention provide a control device for a public facility, the device being applied to a private facility, the device comprising:
[0073] The receiving module is used to receive authentication requests from public utilities;
[0074] A response module is used to authenticate the public device in response to the authentication request;
[0075] The second establishment module is used to establish a session connection with the public device when it is determined that the authentication of the public device is successful, so that the private device and the public device can access each other through the session connection.
[0076] Fifthly, embodiments of the present invention provide an electronic device, including: a processor and a memory, wherein the processor is configured to execute a control program for a common device stored in the memory to implement the control method for the common device described in the first or second aspect.
[0077] In a sixth aspect, embodiments of the present invention provide a storage medium storing one or more programs, which can be executed by one or more processors to implement the control method for the public device described in any one of the first or second aspects.
[0078] The technical solution provided in this invention identifies a target private device through a public device, sends an authentication request to the target private device, and enables the target private device to authenticate the public device in response to the authentication request. If the authentication of the public device by the target private device is successful, a session connection is established between the two devices, allowing them to access each other through this session connection. This technical solution, by identifying the target private device and establishing a session connection with it upon successful authentication, enables the public device to become an extension device of the target private device. This allows users to utilize the larger screen of the public device while using their private device for work, entertainment, or study, thereby improving the user experience. Attached Figure Description
[0079] Figure 1 This is a schematic diagram illustrating an application scenario according to an embodiment of the present invention;
[0080] Figure 2 A flowchart illustrating an embodiment of a control method for a public utility provided by the present invention;
[0081] Figure 3 A flowchart illustrating an embodiment of determining a target private device provided by this invention;
[0082] Figure 4 A flowchart illustrating another embodiment of determining a target private device provided by this invention;
[0083] Figure 5 A flowchart illustrating another embodiment of determining a target private device provided by this invention;
[0084] Figure 6 A flowchart illustrating an embodiment of a control method for a public utility provided by the present invention;
[0085] Figure 7 A flowchart illustrating an embodiment of a control method for a public utility provided by the present invention;
[0086] Figure 8 A block diagram illustrating an embodiment of a control device for a public utility facility provided by an embodiment of the present invention;
[0087] Figure 9 A block diagram illustrating an embodiment of a control device for a public facility applied to a private facility, provided by an embodiment of the present invention;
[0088] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0089] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0090] See Figure 1 This is a schematic diagram illustrating an application scenario according to an embodiment of the present invention. Figure 1 The application scenarios shown include: public device 11, user 12, and private device 13.
[0091] Among them, public equipment 11 can be a smart TV, or a large-screen device such as a smart conference machine. Figure 1 This example uses smart TVs as an illustration. Furthermore, in practical applications, such large-screen devices typically have a shared function, meaning they are not usually limited to a specific owner. For instance, a smart TV in a home can be used by each family member as needed; similarly, a smart conferencing system in a company can be used by each department as needed.
[0092] Private device 13 can be a device with personal privacy attributes, such as a smartphone or tablet, for example... Figure 1 In the application scenario shown, private device 13 is the private device of user 12, meaning that under normal circumstances, private device 13 is limited to use by a specific user. Furthermore, Figure 1 The following explanation uses a private device, 13, as an example of a smartphone.
[0093] exist Figure 1 In the application scenario shown, by applying the technical solution provided by the embodiments of the present invention, the public device 11 can become an extension device of the private device 13, so that when the user 12 uses the private device 13 for office work, entertainment or study, he / she can use the large screen of the public device 11 to achieve the same, thereby improving the user experience.
[0094] For example, as a demonstrative application scenario, a user returns home from get off work and needs to attend a video conference where the other party needs to present a PowerPoint presentation. The user can then join the video conference via their smartphone and turn on their smart TV. The smart TV then establishes a session connection with the user's smartphone using the method provided in this embodiment of the invention. The smartphone can then project the PowerPoint presentation needed for the video conference onto the smart TV through this session connection. This allows the user to view the PowerPoint presentation on their smart TV. It is understandable that viewing files on a large-screen device like a smart TV provides a better user experience compared to viewing files on a smartphone.
[0095] As another exemplary application scenario, a user prepares to hold a meeting in the office to discuss a plan, and needs to make real-time modifications to the plan during the meeting. The user can then open the plan to be discussed on their smart tablet and turn on the office's smart TV. The smart TV can then establish a session connection with the user's smart tablet using the method provided in this embodiment of the invention, and the smart tablet can then project the plan to be discussed onto the smart TV through this meeting connection. Furthermore, the user can also modify the plan to be discussed through the smart TV, and the smart TV can synchronize the modified plan to the user's smart tablet. Thus, it is possible to browse and edit private resources of a private device through a smart TV.
[0096] The control method for public equipment provided by the present invention will be further explained below with reference to the accompanying drawings and specific embodiments. The embodiments do not constitute a limitation on the embodiments of the present invention.
[0097] See Figure 2 This is a flowchart illustrating an embodiment of a control method for a public utility provided by the present invention. As one embodiment, Figure 2 The process shown can be applied to public utilities, such as... Figure 1 The public utility 11 shown. For example... Figure 2 As shown, the process may include the following steps:
[0098] Step 201: Identify the target private equipment for public facilities.
[0099] The aforementioned target private device refers to the private device that the public device 11 wants to establish a session connection with, and there may be one or more of them.
[0100] In one embodiment, the public device 11 can identify the private device of a user within a preset area as the target private device.
[0101] As an optional implementation, the aforementioned preset area refers to the area that the image acquisition module corresponding to the public device 11 can monitor. This image acquisition module can be an image acquisition device independent of the public device 11, such as a camera; in this case, the image acquisition module is communicatively connected to the public device 11. Alternatively, the image acquisition module can be built into the public device 11, that is, it is a hardware module belonging to the public device 11 itself. No specific limitations are made regarding the image acquisition module here.
[0102] In this optional implementation, the public device 11 can use the image acquisition module to discover users within a preset area, and then identify the private devices of users within the preset area as target private devices.
[0103] In another embodiment, public device 11 may identify one or more private devices that send login requests to it as target private devices.
[0104] In another embodiment, public device 11 may identify one or more private devices that it can discover via wireless communication technology as target private devices.
[0105] Regarding how the target private device is specifically determined in the above three embodiments, it can be explained in detail below. Figure 3 , Figure 4 ,as well as Figure 5 The process shown will be explained in detail, but will not be elaborated here.
[0106] Furthermore, in any of the above three embodiments, when the identified target private devices include at least two, the public device 11 can determine the final target private device by the following method:
[0107] First, the public device 11 can output device information for at least two of the aforementioned target private devices, such as device name and device serial number, through a visual interface. Based on this, the user can select from at least two pieces of device information output on the visual interface of the public device 11.
[0108] Then, the utility device 11 can determine the target device information selected by the user in response to the user's selection operation on the visual interface.
[0109] Finally, the public utility 11 can identify the target private device indicated by the aforementioned target device information as the final target private device.
[0110] For example, suppose the identified target private devices include target private device A and target private device B, and the device information corresponding to target private device A is "123" and the device information corresponding to target private device B is "abc". Based on this, public device 11 can output the two device information "123" and "abc" through a visual interface.
[0111] Continuing to assume that the user selects device information "123" via touch screen or remote control, then the public device 11 can respond to the user's selection operation, determine device information "123" as target device information, and determine the target private device A indicated by device information "123" as the final target private device.
[0112] Step 202: The public device sends an authentication request to the target private device, so that the target private device responds to the authentication request and authenticates the public device.
[0113] The authentication request mentioned above is used to request the establishment of a session connection with the target private device.
[0114] In the case where multiple target private devices are identified in step 201, the public device 11 may send an authentication request to each target private device separately. If only one target private device is identified in step 201, the public device 11 will only send an authentication request to that single target private device.
[0115] As to how the target private device responds to the authentication request to authenticate the public device 11, it can be seen from the following... Figure 6 The process shown will be explained in detail here.
[0116] Step 203: If the public device determines that the target private device has successfully authenticated the public device, it establishes a session connection with the target private device so that the target private device and the public device can access each other through the session connection.
[0117] In the case where multiple target private devices are identified in step 201, one or more target private devices may authenticate the public device 11. That is to say, in this embodiment of the invention, the number of target private devices that establish session connections with the public device 11 at the same time is not limited.
[0118] The aforementioned mutual access may include access from the public device 11 to the target private device, or access from the target private device to the public device 11.
[0119] Specifically, in one embodiment, the public device 11 can obtain private resources on the target private device through the aforementioned session connection and present these private resources through a visual interface. For example, the public device 11 can obtain personal information such as contacts and emails on the target private device.
[0120] Optionally, after the public device 11 presents the aforementioned private resources through a visual interface, the user can edit the private resources through the visual interface. Subsequently, in response to the user's operation in the visual interface, the public device 11 can perform the editing operation on the private resource and synchronize the edited private resource to the target private device.
[0121] For example, public device 11 can access a document on the target private device and display it in a visual interface. The user can then edit the document using external devices such as a mouse and keyboard, and public device 11 can synchronize the edited document to the target private device.
[0122] In another embodiment, the target private device can obtain public resources of the public device 11 through the session connection. Specifically, the target private device can send a resource acquisition request to the public device 11. After receiving the resource acquisition request from the target private device through the session connection, the public device 11 can respond to the resource acquisition request by sending public resources on the public device 11 to the target private device through the aforementioned session connection. Examples include a user's viewing history, movie collections, or personal photos on the public device.
[0123] Furthermore, in one embodiment, after establishing a session connection between the public device 11 and the target private device, it can be determined whether a preset session connection disconnection condition is met after a preset time interval. If the session connection disconnection condition is met, the session connection between the public device 11 and the target private device is disconnected. Optionally, after the session connection is disconnected, the public device 11 can lock the current visual interface, or adjust the visual interface using preset adjustment information to prevent the leakage of personal information of the target private device. For example, the visual interface of the public device 11 can be restored to the default interface.
[0124] Among them, the above-mentioned session connection disconnection conditions include, but are not limited to: there is no user belonging to the current target private device (referring to the target private device with an established session connection) within the preset area of the public device 11, and the public device 11 is unable to discover the current target private device through wireless communication technology.
[0125] The technical solution provided by this invention identifies a target private device, sends an authentication request to the target private device, and enables the target private device to authenticate the public device in response to the authentication request. If the authentication of the public device by the target private device is successful, a session connection is established between the two devices, allowing them to access each other through this session connection. This technical solution, by identifying the target private device and establishing a session connection with it upon successful authentication, enables the public device to become an extension device of the target private device. This allows users to utilize the larger screen of the public device while using their private device for work, entertainment, or study, thereby improving the user experience.
[0126] See Figure 3 This is a flowchart illustrating an embodiment of determining a target private device according to an embodiment of the present invention. As one embodiment, Figure 3 The process shown can be applied to public utilities, such as... Figure 1 The public utility 11 shown. For example... Figure 3 As shown, the process may include the following steps:
[0127] Step 301: The public device calls the image acquisition module to acquire the facial images of users within the preset area.
[0128] The aforementioned preset area refers to the area that the image acquisition module corresponding to the public device 11 can monitor. This image acquisition module can be an image acquisition device independent of the public device 11, such as a camera; in this case, the image acquisition module is communicatively connected to the public device 11. Alternatively, the image acquisition module can be built into the public device 11, that is, it is a hardware module belonging to the public device 11 itself. No specific limitations are made regarding the image acquisition module here.
[0129] In one embodiment, the public device 11 can call the image acquisition module to discover users within a preset area and then acquire the user's facial image through the image acquisition module.
[0130] Step 302: The public device searches for the aforementioned face image in the preset user information database.
[0131] Step 303: When a public device finds a target face image that matches the face image in the aforementioned user information database, it identifies the private device indicated by the device information in the user information corresponding to the target face image as the target private device.
[0132] The following provides a unified explanation of steps 302 and 303:
[0133] The aforementioned user information database may include facial images of multiple registered users and user information of registered users. The aforementioned user information may include, but is not limited to: device information bound to registered users (such as the device name or device serial number of a registered user's private device), personal information of registered users (such as the user's name, age, etc.), and authentication information (such as account passwords, etc.).
[0134] In one embodiment, a user can register by entering their facial image, device information, personal information, and authentication information through the registration interface of the public device 11. The authentication information may include the user's account password and other information. Afterwards, the public device 11 can save the user's entered registration information to the aforementioned user information database.
[0135] Based on this, after the public device 11 collects the user's facial image, it can search for the facial image in the user information database.
[0136] Optionally, if a target face image matching the face image is found in the user information database, it indicates that the user is a registered user. Accordingly, the user's private device can be identified as the target private device. That is, the private device indicated by the device information in the user information corresponding to the target face image is identified as the target private device.
[0137] Conversely, if no matching face image is found in the user information database, it indicates that the user has not registered. Therefore, a prompt message can be displayed through a visual interface to prompt the user to register.
[0138] To facilitate understanding, the following application scenarios are shown:
[0139] When a user returns home from get off work and turns on the TV, the smart TV captures their face image as they enter the detection range of its image acquisition module. This image is then matched against facial images in the user's database.
[0140] If a match is found, meaning a target face image matching the face image exists in the user information database, then the user's smartphone is identified as the target private device.
[0141] The technical solution provided in this embodiment of the invention acquires images by calling an image acquisition module through a public device.
[0142] The system retrieves facial images of users within a preset area from a preset user information database. If a matching target facial image is found in the database, the target image is then...
[0143] The private device indicated by the device information in the user's information, corresponding to the user's facial image, is identified as the target private device. This technical solution, by collecting the user's facial image and confirming that the user is a registered user, identifies the registered user's private device as the target private device, thus achieving the identification of the target private device through facial recognition of the user.
[0144] 0 See Figure 4 This is another embodiment of the present invention for determining a target private device.
[0145] Flowchart. As an example, Figure 4 The process shown can be applied to public utilities, such as... Figure 1 The public utility 11 shown. For example... Figure 4 As shown, the process may include the following steps:
[0146] Step 401: Public equipment outputs a QR code through a visual interface.
[0147] Step 402: The public device receives a login request sent by at least one private device via scanning a QR code.
[0148] Step 403: The public device parses the device information from at least one login request and identifies the private device indicated by the device information as the target private device.
[0149] The following provides a unified explanation of steps 401 to 403:
[0150] The QR code can link to the login interface of public device 11. Thus, after scanning the QR code, private devices can access the login interface of public device 11.
[0151] In one embodiment, the public device 11 responds to a power-on operation by outputting a QR code through a visual interface. That is, the public device 11 can output a QR code on the visual interface each time it is powered on. Furthermore, if no other device is detected scanning the QR code within a preset time period, such as 15 seconds, the device then enters the normal display interface.
[0152] 5. In another embodiment, the public utility 11 can be configured with two modes: private mode and public mode.
[0153] Mode. Normally, public device 11 enters public mode by default after powering on. In public mode, public device 11 can access the regular display interface. While public device 11 is running in public mode, the user can also control public device 11 to enter private mode.
[0154] Specifically, if a user controls public device 11 to enter private mode, the corresponding private device (such as a mobile phone) will simultaneously receive a verification pop-up confirmation button. After the user passes the verification, the smart TV enters private mode, allowing it to access private information on the mobile phone. This enables the smart TV to act as a mirror of the mobile phone, securely using the private devices and resources that the mobile phone could originally control. The smart TV seamlessly becomes an extension and expansion of the smartphone.
[0155] In one embodiment, a user can scan the QR code using a private device to access the login interface of the public device 11. The login interface may include a login button. When the private device detects that the login button has been triggered, it sends a login request to the public device 11. Furthermore, sending the login request to the public device 11 only after detecting that the login button has been triggered, rather than sending it directly after scanning the QR code, effectively avoids the private device from mistakenly scanning the QR code.
[0156] The login request may carry device information of a private device. Based on this, after receiving a login request sent by at least one private device by scanning the QR code, the public device 11 can parse the device information from at least one of the login requests and identify the private device indicated by the device information as the target private device.
[0157] The technical solution provided by this invention involves a public device outputting a QR code through a visual interface, receiving login requests from at least one private device by scanning the QR code, parsing device information from the login requests, and identifying the private device indicated by the device information as the target private device. This technical solution, by outputting a QR code and receiving login requests from at least one private device by scanning the QR code, and then identifying the target private device from the login requests, achieves the identification of the target private device via a QR code.
[0158] See Figure 5 This is a flowchart illustrating another embodiment of determining a target private device provided by an embodiment of the present invention. As one embodiment, Figure 5 The process shown can be applied to public utilities, such as... Figure 1 The public utility 11 shown. For example... Figure 5 As shown, the process may include the following steps:
[0159] Step 501: The public device calls the Bluetooth module to scan for at least one preset Bluetooth channel.
[0160] Step 502: When a public device detects at least one Bluetooth signal, it parses the device information from the detected Bluetooth signal and identifies the private device indicated by the device information as the target private device.
[0161] The following provides a unified explanation of steps 501 and 502:
[0162] In one embodiment, the public device 11 can invoke a Bluetooth module to scan for at least one preset Bluetooth channel.
[0163] Furthermore, when a private device is configured to enable Bluetooth, it can broadcast its Bluetooth signal via at least one Bluetooth channel. Optionally, the Bluetooth signal may carry device information.
[0164] Thus, when a private device enters the Bluetooth scanning range of a public device 11, the public device 11 can scan for the Bluetooth signal of the private device in at least one Bluetooth channel, and the public device 11 can parse the device information from the scanned at least one Bluetooth signal and identify the private device indicated by the device information as the target private device.
[0165] The technical solution provided by this invention involves a public device calling a Bluetooth module to scan at least one preset Bluetooth channel. If at least one Bluetooth signal is detected, device information is parsed from the detected Bluetooth signal, and the private device indicated by this device information is identified as the target private device. This technical solution, by calling a Bluetooth module to scan preset Bluetooth channels and parsing device information from the detected Bluetooth signals to identify the target private device, achieves the discovery of target private devices via Bluetooth technology.
[0166] See Figure 6 This is a flowchart illustrating another embodiment of a control method for a public utility provided by the present invention. As one embodiment, Figure 6 The process shown can be applied to private devices, such as... Figure 1 Private device 13 is shown. (As shown) Figure 6 As shown, the process may include the following steps:
[0167] Step 601: The private device receives an authentication request from the public device.
[0168] Step 602: The private device responds to the authentication request and authenticates the public device.
[0169] Step 603: If the private device confirms that the public device has been authenticated, it establishes a session connection with the public device so that the private device and the public device can access each other through the session connection.
[0170] The following provides a unified explanation of steps 601 to 603:
[0171] The above authentication request is used by public device 11 to request the establishment of a session connection with the target private device.
[0172] Based on this, when private device 13 receives the above authentication request, it indicates that private device 13 has been identified as the target private device by public device 11, and a session connection is to be established with it.
[0173] In one embodiment, when the private device 13 receives the authentication request, it can output a pop-up window through a visual interface. The pop-up window may include two buttons: "OK" and "Reject". Optionally, upon receiving a user's click on the "OK" button, it can be determined that the authentication of the public device has been successful.
[0174] Conversely, upon receiving a user's click on the "Deny" button, it can be determined that authentication for the public device has failed. Furthermore, if no user action is received within a preset time period, it can also be determined that authentication for the public device has failed.
[0175] Once authentication of the public device is successful, a session connection can be established between the private device and the public device. The private device 13 can then access the public device through this session connection. This mutual access can include access from the public device to the target private device, or access from the target private device to the public device. For details, please refer to the description in step 203, which will not be repeated here.
[0176] The technical solution provided by this invention receives an authentication request from a public device, authenticates the public device in response to the request, and establishes a session connection with the public device upon successful authentication, enabling the private device and the public device to access each other through this session connection. This technical solution, by having the private device authenticate the public device to establish a session connection, effectively turns the public device into an extension device for the target private device. This allows users to utilize the larger screen of the public device while using their private device for work, entertainment, or study, thereby improving the user experience.
[0177] See Figure 7 This is a flowchart illustrating another embodiment of a control method for a public utility provided by the present invention. Figure 7 As shown, the process may include the following steps:
[0178] Step 701: Identify the target private equipment for public facilities.
[0179] Step 702: The public device sends an authentication request to the target private device.
[0180] Step 703: The target private device receives an authentication request from the public device.
[0181] Step 704: The target private device responds to the authentication request and authenticates the public device.
[0182] Step 705: If the target private device confirms that the public device has been authenticated, it establishes a session connection with the public device so that the private device and the public device can access each other through the session connection.
[0183] Step 706: If the public device determines that the target private device has successfully authenticated the public device, it establishes a session connection with the target private device so that the target private device and the public device can access each other through the session connection.
[0184] For detailed descriptions of steps 701 to 706, please refer to steps 201 to 203 and steps 601 to 603, which will not be repeated here.
[0185] The technical solution provided in this invention identifies a target private device through a public device. The public device sends an authentication request to the target private device. The target private device receives the authentication request from the public device and authenticates the public device in response. If the authentication of the public device is successful, the target private device establishes a session connection with the public device. If the public device also establishes a session connection with the target private device, the two devices can access each other through this session connection. This technical solution, by identifying a target private device and establishing a session connection with it upon successful authentication, enables the public device to become an extension device of the target private device. This allows users to utilize the larger screen of the public device while using their private devices for work, entertainment, or study, thereby improving the user experience.
[0186] join Figure 8 This is a block diagram illustrating an embodiment of a control device for a public utility facility, as provided in this invention. Figure 8 As shown, the device may include:
[0187] Module 81 is used to determine the target private device;
[0188] Authentication module 82 is used to send an authentication request to the target private device, so that the target private device can authenticate the public device in response to the authentication request;
[0189] The first establishment module 83 is used to determine the authentication of the public device by the target private device.
[0190] If successful, a session connection is established with the target private device so that the target private device and the public device can access each other through the session connection.
[0191] In one possible implementation, the determining module 81 is specifically used for:
[0192] The image acquisition module is invoked to acquire facial images of users within a preset area;
[0193] The facial image is retrieved from a preset user information database, which includes multiple...
[0194] A facial image of a registered user and the user information of the registered user, wherein the user information includes the device information bound to the registered user;
[0195] If a target face image matching the face image is found in the user information database, the private device indicated by the device information in the user information corresponding to the target face image is identified as the target private device.
[0196] In one possible implementation, the determining module 81 is specifically used for: 5. Outputting a QR code through a visual interface;
[0197] Receive a login request sent by at least one of the private devices by scanning the QR code;
[0198] Device information is parsed from at least one of the login requests, and the private device indicated by the device information is identified as the target private device.
[0199] In one possible implementation, the determining module 81 is specifically used to: 0 invoke the Bluetooth module to scan for at least one preset Bluetooth channel;
[0200] If at least one Bluetooth signal is detected, device information is parsed from the detected Bluetooth signal, and the private device indicated by the device information is identified as the target private device.
[0201] In one possible implementation, the device further includes (not shown): a 5-output module for, when the identified target private devices include at least two, [connecting / transmitting data].
[0202] Output device information for at least two of the target private devices through a visual interface;
[0203] The target information determination module is used to determine the target device information selected by the user in response to the user's selection operation in the visualization interface;
[0204] The target device determination module is used to determine the target private device indicated by the target device information as the final target private device.
[0205] In one possible implementation, the device further includes (not shown in the figure):
[0206] The acquisition module is used to acquire private resources on the target private device through the session connection after establishing a session connection with the target private device.
[0207] The presentation module is used to present the private resources through a visual interface.
[0208] In one possible implementation, the device further includes (not shown in the figure):
[0209] An execution module is configured to perform editing operations on the private resource in response to user operations in the visual interface after the private resource is presented through the visual interface;
[0210] The synchronization module is used to synchronize the edited private resources to the target private device.
[0211] In one possible implementation, the device further includes (not shown in the figure):
[0212] The request receiving module is configured to receive a resource acquisition request from the target private device through the session connection after the session connection is established with the target private device.
[0213] The sending module is used to respond to the resource acquisition request by sending the public resources on the public device to the target private device through the session connection.
[0214] In one possible implementation, the device further includes (not shown in the figure):
[0215] The condition determination module is used to determine whether the preset session connection disconnection condition is met after a preset time interval following the establishment of a session connection with the target private device.
[0216] The disconnect module is used to disconnect the session connection between the public device and the target private device when it is determined that the session connection disconnection condition is met.
[0217] See Figure 9 This is a block diagram illustrating an embodiment of a control device for a public facility applied to a private facility, as provided in this invention. Figure 9 As shown, the device may include:
[0218] Receiver module 91 is used to receive authentication requests from public utilities;
[0219] Response module 92 is used to authenticate the public device in response to the authentication request;
[0220] The second establishment module 93 is used to establish a session connection with the public device when it is determined that the authentication of the public device is successful, so that the private device and the public device can access each other through the session connection.
[0221] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Figure 10 The illustrated electronic device 1000 includes at least one processor 1001, a memory 1002, at least one network interface 1004, and a user interface 1003. The various components in the electronic device 1000 are coupled together via a bus system 1005. It is understood that the bus system 1005 is used to implement communication between these components. In addition to a data bus, the bus system 1005 also includes a power bus, a control bus, and a status signal bus. However, for clarity, ... Figure 10 The general labeled all buses as Bus System 1005.
[0222] The user interface 1003 may include a display, keyboard, or clicking device (e.g., mouse, trackball, touchpad, or touchscreen).
[0223] It is understood that the memory 1002 in the embodiments of the present invention can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous DRAM (SDRAM), Double Data Rate Synchronous DRAM (DDRSDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The memory 1002 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0224] In some implementations, memory 1002 stores elements, executable units or data structures, or subsets thereof, or extended sets thereof: operating system 10021 and application programs 10022.
[0225] The operating system 10021 includes various system programs, such as the framework layer, core library layer, and driver layer, used to implement various basic business functions and handle hardware-based tasks. The application program 10022 includes various applications, such as a media player and a browser, used to implement various application functions. The program implementing the method of this embodiment can be included in the application program 10022.
[0226] In this embodiment of the invention, by calling the program or instructions stored in the memory 1002, specifically the program or instructions stored in the application program 10022, the processor 1001 executes the method steps provided in each method embodiment, including, for example:
[0227] Identify the target private device;
[0228] Send an authentication request to the target private device so that the target private device can authenticate the public device in response to the authentication request;
[0229] If it is determined that the target private device has successfully authenticated the public device, a session connection is established between the target private device and the public device so that the target private device and the public device can access each other through the session connection.
[0230] Alternatively, the steps of the control method for public equipment executed on the private equipment side:
[0231] Receive authentication requests from public utilities;
[0232] The public utility is authenticated in response to the authentication request.
[0233] If the authentication of the public device is successful, a session connection is established with the public device so that the private device and the public device can access each other through the session connection.
[0234] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by processor 1001. Processor 1001 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 1001 or by instructions in the form of software. The processor 1001 may be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present invention can be directly embodied in the execution of a hardware decoding processor, or executed by a combination of hardware and software units in the decoding processor. The software units may be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. The storage medium is located in memory 1002. Processor 1001 reads the information in memory 1002 and, in conjunction with its hardware, completes the steps of the above method.
[0235] It is understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described herein, or combinations thereof.
[0236] For software implementation, the techniques described herein can be implemented by units that perform the functions described herein. The software code can be stored in memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
[0237] The electronic device provided in this embodiment may be as follows: Figure 10 The electronic device shown can perform the following: Figure 2-7 All steps of the control method for public utilities in China, thereby achieving Figure 2-7 For details on the technical effects of the control method for the public equipment shown, please refer to [link / reference needed]. Figure 2-7 The relevant descriptions are presented concisely and will not be elaborated upon here.
[0238] This invention also provides a storage medium (computer-readable storage medium). This storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; the memory may also include combinations of the above types of memory.
[0239] When one or more programs in the storage medium can be executed by one or more processors to implement the above-described control method for common devices executed on the electronic device side.
[0240] The processor is used to execute a control program for a public device stored in memory to implement the following steps of a control method for a public device executed on the public device side:
[0241] Identify the target private device;
[0242] Send an authentication request to the target private device so that the target private device can authenticate the public device in response to the authentication request;
[0243] If it is determined that the target private device has successfully authenticated the public device, a session connection is established between the target private device and the public device so that the target private device and the public device can access each other through the session connection.
[0244] Alternatively, the steps of the control method for public equipment executed on the private equipment side:
[0245] Receive authentication requests from public utilities;
[0246] The public utility is authenticated in response to the authentication request.
[0247] If the authentication of the public device is successful, a session connection is established with the public device so that the private device and the public device can access each other through the session connection.
[0248] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0249] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented in hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0250] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A control method of a public equipment, characterized by, The method is applied to public utilities, and the method includes: Identify the target private device; Send an authentication request to the target private device so that the target private device can authenticate the public device in response to the authentication request, the authentication request being used to request the establishment of a session connection with the target private device; If it is determined that the target private device has successfully authenticated the public device, a session connection is established between the target private device and the public device so that the target private device and the public device can access each other through the session connection; After establishing a session connection with the target private device, the method further includes: obtaining private resources on the target private device through the session connection; and presenting the private resources through a visual interface. After presenting the private resource through the visual interface, the method further includes: responding to the user's operation in the visual interface, performing an editing operation on the private resource; and synchronizing the edited private resource to the target private device. After establishing a session connection with the target private device, the method further includes: receiving a resource acquisition request from the target private device through the session connection; and in response to the resource acquisition request, sending the public resources on the public device to the target private device through the session connection.
2. The method of claim 1, wherein, The determination of the target private device includes: The image acquisition module is invoked to acquire facial images of users within a preset area; The face image is retrieved from a preset user information database, which includes face images of multiple registered users and user information of the registered users, including device information bound to the registered users. If a target face image matching the face image is found in the user information database, the private device indicated by the device information in the user information corresponding to the target face image is identified as the target private device.
3. The method according to claim 1, characterized in that, The determination of the target private device includes: Output QR codes through a visual interface; Receive a login request sent by at least one of the private devices by scanning the QR code; Device information is parsed from at least one of the login requests, and the private device indicated by the device information is identified as the target private device.
4. The method according to claim 1, characterized in that, The determination of the target private device includes: The Bluetooth module is invoked to scan for at least one preset Bluetooth channel; If at least one Bluetooth signal is detected, device information is parsed from the detected Bluetooth signal, and the private device indicated by the device information is identified as the target private device.
5. The method according to any one of claims 2 to 4, characterized in that, When the identified target private devices include at least two, the method further includes: The device information of at least two of the target private devices is output through a visual interface; In response to the user's selection operation in the visual interface, determine the target device information selected by the user; The target private device indicated by the target device information is determined as the final target private device.
6. The method according to claim 1, characterized in that, After establishing a session connection with the target private device, the method further includes: After a preset time interval, determine whether the preset session connection disconnection condition is met. If it is determined that the session connection disconnection condition is met, the session connection between the public device and the target private device is disconnected.
7. A control method for a public utility, characterized in that, The method is applied to a private device, and the method includes: Receive an authentication request from a public device, the authentication request being used to request the establishment of a session connection with the private device; The public utility is authenticated in response to the authentication request. If the authentication of the public device is successful, a session connection is established with the public device so that the private device and the public device can access each other through the session connection; After establishing a session connection with the public device, the method further includes: sending private resources on the private device through the session connection so that the public device can present the private resources through a visual interface; After presenting the private resource through the visual interface, the method further includes: responding to the user's operation in the visual interface, performing an editing operation on the private resource; and synchronizing the edited private resource to the private device. After establishing a session connection with the public device, the method further includes: sending a resource acquisition request for the private device through the session connection; causing the public device to respond to the resource acquisition request and send the public resources on the public device to the private device through the session connection.
8. A control device for a public utility, characterized in that, The device is used in a public utility facility, and the device includes: The determination module is used to determine the target private device; An authentication module is used to send an authentication request to the target private device so that the target private device responds to the authentication request to authenticate the public device. The authentication request is used to request the establishment of a session connection with the target private device. The first establishment module is used to establish a session connection with the target private device when it is determined that the target private device has successfully authenticated the public device, so that the target private device and the public device can access each other through the session connection; After establishing a session connection with the target private device, the method further includes: obtaining private resources on the target private device through the session connection; and presenting the private resources through a visual interface. After presenting the private resource through the visual interface, the method further includes: responding to the user's operation in the visual interface, performing an editing operation on the private resource; and synchronizing the edited private resource to the target private device. After establishing a session connection with the target private device, the method further includes: receiving a resource acquisition request from the target private device through the session connection; and in response to the resource acquisition request, sending the public resources on the public device to the target private device through the session connection.
9. A control device for a public utility, characterized in that, The device is used in a private device, and the device includes: A receiving module is configured to receive an authentication request from a public device, the authentication request being used to request the establishment of a session connection with the private device; A response module is used to authenticate the public device in response to the authentication request; The second establishment module is used to establish a session connection with the public device when it is determined that the authentication of the public device is successful, so that the private device and the public device can access each other through the session connection; After establishing a session connection with the public device, the method further includes: sending private resources on the private device through the session connection so that the public device can present the private resources through a visual interface; After presenting the private resource through the visual interface, the method further includes: responding to the user's operation in the visual interface, performing an editing operation on the private resource; and synchronizing the edited private resource to the private device. After establishing a session connection with the public device, the method further includes: sending a resource acquisition request for the private device through the session connection; causing the public device to respond to the resource acquisition request and send the public resources on the public device to the private device through the session connection.
10. An electronic device, characterized in that, include: A processor and a memory, the processor being configured to execute a control program for a public device stored in the memory to implement the control method for the public device according to any one of claims 1 to 6 or 7.
11. A storage medium, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the control method of the public equipment according to any one of claims 1 to 6 or 7.
Citation Information
Patent Citations
Display device screen projection method and display device
CN111752518A