Information prompting method, system, device, equipment and medium
By establishing a binding relationship between the screen projection transmitter and the receiving device, and using the device identifier for matching and heartbeat signal detection, the problem of the screen projection transmitter being easily occupied or lost in open office scenarios is solved, and the effective positioning of the equipment and efficient utilization of resources are achieved.
Patent Information
- Application Number
- CN202510009135.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-04-18
AI Technical Summary
In open office scenarios, such as conference rooms, screen projection transmitters are easily occupied by others or taken out of the conference room, making it difficult for users to find and use quickly, resulting in wasting resources.
By establishing a binding relationship between the screen projection transmitter and the receiving device, and using the device identifier (such as the MAC address) to match, a heartbeat signal is sent regularly to detect whether the interaction distance is abnormal and a timely alarm prompt is prompted.
Effectively prevent the loss of the screen projection transmitter, ensure that it is always in the same space as the designated device, avoid the use of equipment without binding relationships, and improve resource utilization.
Smart Images

Figure CN119854547A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of wireless screen projection technology, and in particular to an information prompting method, system, device, equipment, and medium. Background Art
[0002] Wireless screen projection technology can wirelessly transmit the content (such as video, images, audio, documents, etc.) on one device (source device) and display it on another device (receiving device). It uses wireless communication protocols to establish a connection between the source device and the receiving device, encode and transmit the screen image and audio signal of the source device, and the receiving device decodes and displays the data after receiving it.
[0003] In the related art, in order to solve the problem of incompatibility of the projection protocol / interface used between the receiving device and the source device, a common wireless projection method is to add a wireless projection transmitter to the source device and the receiving device. The receiving device establishes a first communication connection with the source device and a second communication connection with the receiving device by the wireless projection transmitter. The wireless projection transmitter obtains the content to be projected on the source device through the first communication connection, and sends the content to be projected to the receiving device through the second communication connection, which is displayed by the receiving device.
[0004] However, in open office scenarios such as conference rooms, wireless projection transmitters are often unsupervised and can easily be temporarily occupied or taken out of the conference room by others, causing users to spend time looking for the wireless projection transmitter when they need to use it, and configuring multiple transmitters will result in a waste of resources. Summary of the invention
[0005] The embodiments of the present application provide an information prompt method, system, device, equipment, and medium, which can provide an anti-lost warning for the projection transmitter based on the device identification, and avoid abnormal interaction distance between the projection transmitter and the device with which the binding relationship is established. The technical solution is as follows:
[0006] On the one hand, an information prompt method is provided, which is performed by a screen projection transmitter, and the method includes:
[0007] When connected to a first device, a binding relationship with the first device is established, and the screen projection transmitter is used to provide a screen projection function to the first device;
[0008] storing a first device identifier of the first device;
[0009] In response to determining within a first time period that the anti-loss warning requirements are met between the first device and the projection transmitter based on the first device identifier, a warning message is generated in a prominent form, and the warning message is used to prompt that there is an abnormality in the interaction distance between the first device and the projection transmitter.
[0010] On the other hand, an information prompt method is provided, which is executed by a first device, and the method includes:
[0011] When connected to a screen projection transmitter, establishing a binding relationship with the screen projection transmitter, wherein the screen projection transmitter is used to provide a screen projection function to the first device;
[0012] Sending a first device identifier to the screen projection transmitter, wherein the screen projection transmitter is used to store the first device identifier;
[0013] A heartbeat signal is periodically sent to the projection transmitter, wherein the heartbeat signal includes the first device identifier; wherein the heartbeat signal is used to instruct the projection transmitter to generate warning information in a prominent form when it is determined that the first device and the projection transmitter meet the anti-loss warning requirements based on the first device identifier.
[0014] On the other hand, an information prompt system is provided, the system comprising a screen projection transmitter and a first device, the screen projection transmitter is used to provide a screen projection function to the first device;
[0015] The screen projection transmitter is configured to establish a binding relationship with the first device when connected to the first device; and store a first device identifier of the first device;
[0016] The first device is configured to periodically send the first device identifier to the screen projection transmitter;
[0017] The screen projection transmitter is also configured to generate warning information in a prominent form in response to determining within a first time period that the first device and the screen projection transmitter meet the anti-loss warning requirements based on the first device identifier, and the warning information is used to prompt that there is an abnormality in the interaction distance between the first device and the screen projection transmitter.
[0018] On the other hand, an information prompting device is provided, the device comprising:
[0019] A relationship establishing module, used to establish a binding relationship with a first device when connected to the first device, wherein the first device is used to implement a screen projection function through a screen projection transmitter;
[0020] A storage module, used to store a first device identifier of the first device;
[0021] An early warning module is used to generate early warning information in a prominent form in response to determining within a first time period that the anti-loss early warning requirements are met between the first device and the projection transmitter based on the first device identifier, and the early warning information is used to prompt that there is an abnormality in the interaction distance between the first device and the projection transmitter.
[0022] On the other hand, an information prompting device is provided, the device comprising:
[0023] A relationship establishing module, used to establish a binding relationship with the screen projection transmitter when connected to the screen projection transmitter, wherein the screen projection transmitter is used to provide a screen projection function to the first device;
[0024] A sending module, used for sending a first device identifier to the screen projection transmitter, wherein the screen projection transmitter is used for storing the first device identifier;
[0025] The sending module is also used to periodically send a heartbeat signal to the projection transmitter, and the heartbeat signal includes the first device identifier; wherein the heartbeat signal is used to instruct the projection transmitter to generate a warning message in a prominent form when it is determined that the first device and the projection transmitter meet the anti-loss warning requirements based on the first device identifier.
[0026] On the other hand, a computer device is provided, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the information prompt method as described in any of the above-mentioned embodiments of the present application.
[0027] On the other hand, a computer-readable storage medium is provided, wherein at least one instruction, at least one program, a code set or an instruction set is stored in the storage medium, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the information prompt method as described in any of the above-mentioned embodiments of the present application.
[0028] On the other hand, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the information prompt method described in any of the above embodiments.
[0029] The beneficial effects brought by the technical solution provided by the embodiment of the present application include at least:
[0030] A binding relationship is established between the first device and the projection transmitter, and the first device identifier is stored. The projection transmitter uses the first device identifier as a judgment condition to regularly match the received device identifier, determine whether there is an abnormality in the interaction distance between the projection transmitter and the first device, and issue an alarm in time. Since the first device identifier is unique and will not change, using it as an early warning judgment condition can accurately and effectively ensure that the projection transmitter and the receiving device are always in the same space, and promptly discover the situation where the position of the projection transmitter has been moved, so as to prevent devices that have not established a binding relationship with the projection transmitter from occupying the projection transmitter. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0032] Figure 1 is a schematic diagram of an information prompt system provided by an exemplary embodiment of the present application;
[0033] Figure 2 is a flow chart of an information prompting method provided by an exemplary embodiment of the present application;
[0034] Figure 3 is a flow chart of an information prompting method provided by another exemplary embodiment of the present application;
[0035] Figure 4 is a flow chart of an information prompt method provided by another exemplary embodiment of the present application;
[0036] Figure 5 is a structural block diagram of an information prompting device provided by an exemplary embodiment of the present application;
[0037] Figure 6 is a structural block diagram of an information prompting device provided by another exemplary embodiment of the present application;
[0038] Figure 7 is a structural block diagram of an information prompting device provided by another exemplary embodiment of the present application;
[0039] Figure 8 is a structural block diagram of an information prompting device provided by another exemplary embodiment of the present application;
[0040] Fig. 9 It is a structural block diagram of a computer device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0041] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0042] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0043] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0044] It should be noted that the information and data involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0045] It should be understood that, although the terms first, second, etc. may be used in the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present application, the first parameter may also be referred to as the second parameter, and similarly, the second parameter may also be referred to as the first parameter. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0046] First, a brief introduction is given to the terms involved in the embodiments of this application:
[0047] Source device: In the field of screen projection technology, the source device is the source of the projection content, usually an electronic device with display content, such as a smartphone, tablet computer, laptop computer, etc. The various media information or application interfaces such as videos, audio, pictures, documents, etc. stored or running in these devices are the content that users want to project to the big screen.
[0048] Receiving device / receiving terminal: In the field of screen projection technology, the receiving device is a device used to receive and display the screen projection content, and common ones include smart TVs, monitors, projectors, etc. These devices have large screens and can present the content sent by the source device to the user in an appropriate way. They generally have corresponding interfaces and internal processing modules to receive and process external signals.
[0049] The first device involved in the embodiments of the present application includes a receiving device.
[0050] Screen projection transmitter: Screen projection transmitter is an intermediate device that connects the source device and the receiving device, and plays a bridge role in signal conversion and transmission. It can receive the signal sent by the source device, convert it into a format that the receiving device can understand, and send it to the receiving device.
[0051] The screen projection process based on the source device, the receiving device and the screen projection transmitter is as follows: When the source device (such as a mobile phone) turns on the screen projection function, it will encode the content to be projected (such as video images) through its own operating system and hardware, and send the signal according to a specific screen projection protocol. The screen projection transmitter receives the signal sent by the source device, converts and processes the received signal, including format conversion (such as converting the video format of the source device to a format supported by the receiving device) and protocol adaptation (converting the screen projection protocol of the source device to a protocol that the receiving device can understand). The screen projection transmitter sends the processed signal to the receiving device (such as a TV). After receiving the signal, the receiving device decodes and plays it through its own processing system, and displays the projected content on the screen.
[0052] MAC address (Media Access Control): also known as physical address or hardware address. It is a unique identifier used to identify network devices. Each network device has a unique MAC address, which can be regarded as the identity card number of the network device in the network world. It is used to identify and distinguish devices in network environments such as local area networks. For example, in an office local area network, when each computer, printer, mobile phone and other device is connected to the network, its MAC address allows the router to accurately find the target device to which the data should be sent.
[0053] CPU (Central Processing Unit): It is the core component of a computer system, used to execute instructions in computer programs, process data and control other components of the computer.
[0054] MCU (Micro Controller Unit): A chip that integrates multiple functional components such as a central processing unit, memory, and input / output interface. It is mainly used in embedded systems to control and monitor external devices or systems.
[0055] Screen projection technology is widely used in various fields. This technology can project the content on one device (source device) to the screen of another device (receiving device). The screen projection protocols between the source device and the receiving device may be different, and it is impossible to directly transfer the content on the source device to the receiving device for screen projection. Therefore, the screen projection transmitter is introduced to solve the incompatibility problem between the source device and the receiving device.
[0056] A screen projection transmitter is a device that assists in screen projection. It can be regarded as a transfer device between the source device and the receiving device. It is connected to the receiving device (such as a large screen in a conference room) via a data cable to establish a connection between the source device (such as a computer) and the receiving device, and can project the content on the source device to the receiving device.
[0057] Screen projection transmitters are widely used in office scenarios. For example, in a conference room, a screen projection transmitter is usually configured for a large screen. Users can use the screen projection transmitter to project the content on computers, tablets and other devices to the large screen for display, so that users can share reports in meetings.
[0058] However, the projection transmitter does not restrict the type of receiving device, and multiple receiving devices can be connected to the same projection transmitter to realize the projection function. In office scenarios, the projection transmitter is likely to be occupied by other people in the company and taken out of the meeting room. When users need to use the projection transmitter in a meeting in the meeting room, they need to spend time looking for the projection transmitter, and there is a problem of difficulty in quickly locating the projection transmitter. Configuring multiple projection transmitters for each device will result in a waste of resources.
[0059] Therefore, how to prevent the projection transmitter from being lost and keep its position in a specific scene for use by designated receiving devices instead of being occupied at will is an urgent problem to be solved.
[0060] The present application provides an information prompt method that can prevent the screen projection transmitter from being lost. When the receiving device and the screen projection transmitter are connected, the MAC address of the receiving device is stored locally, and the anti-loss mode of the receiving device is turned on to establish a binding relationship between the receiving device and the screen projection transmitter. The receiving device will periodically send its own MAC address to the screen projection transmitter, and the screen projection transmitter will periodically match the received MAC address with its own stored MAC address. If the match is successful, it means that the distance between the screen projection transmitter and the receiving device meets the preset distance requirement, and the screen projection transmitter is not lost. If the match fails or no signal is received, it means that the distance between the screen projection transmitter and the receiving device does not meet the preset distance requirement, the screen projection transmitter is lost, and the screen projection transmitter issues an alarm prompt until the screen projection transmitter receives the MAC address of the receiving device again, and stops the alarm when the match is successful. Since the MAC address of each device is unique and will not change, the MAC address is used as a matching condition to determine whether the screen projection transmitter is occupied or moved by other devices. If the match fails, an alarm is issued, which can effectively ensure that the screen projection transmitter and the receiving device are always in the same space, and promptly discover that the screen projection transmitter has been moved.
[0061] Next, the information prompt system involved in the embodiment of the present application is described. For illustration, please refer to Figure 1 The information prompt system 100 involves a screen projection transmitter 110 and a first device 120, and the screen projection transmitter 110 is used to provide a screen projection function to the first device 120.
[0062] The projection transmitter 110 is configured to establish a binding relationship with the first device 120 when connected to the first device 120; and store the first device 120 identifier of the first device 120. The first device 120 is configured to periodically send the first device 120 identifier to the projection transmitter 110; the projection transmitter 110 is also configured to generate an early warning message in a prominent form in response to determining that the anti-loss warning requirements are met between the first device 120 and the projection transmitter 110 based on the first device 120 identifier within a first time period, and the early warning message is used to prompt that there is an abnormality in the interaction distance between the first device 120 and the projection transmitter 110.
[0063] Exemplarily, the first device 120 is also configured to send a heartbeat signal to the screen projection transmitter 110 within a first time period, and the heartbeat signal includes an identifier of the first device 120 .
[0064] Optionally, the screen projection transmitter 110 is also configured to generate a warning message in a prominent form in response to not receiving a heartbeat signal sent by the first device 120 within a first time period, determining that the anti-loss warning requirements are met between the first device 120 and the screen projection transmitter 110.
[0065] Optionally, the screen projection transmitter 110 is also configured to, in response to receiving at least one heartbeat signal within a first time period, obtain a device identifier in at least one heartbeat signal; in the event that the device identifier in at least one heartbeat signal fails to match the identifier of the first device 120, determine that the first device 120 and the screen projection transmitter 110 meet the anti-loss warning requirements, and generate a warning message in a prominent form.
[0066] The screen projection transmitter 110 includes the following modules:
[0067] (1) Transmitter interface module 1101: used to receive video streams or other multimedia content transmitted from a source device;
[0068] (2) Transmitter CPU module 1102: compresses and encodes the received video stream and controls the entire projection transmitter 110;
[0069] (3) Transmitter Wi-Fi module 1103: transmits the video stream compressed by the transmitter CPU module 1102 to the first device 120;
[0070] (4) Transmitter MCU module 1104: When the projection transmitter 110 and the first device 120 are paired for the first time, the MAC address of the first device 120 is saved in the memory, and the saved data will not be lost when the memory is powered off. After the pairing is successful, the projection transmitter 110 will read the received MAC address at a fixed interval and check whether it is consistent with the saved one. If it is inconsistent, an alarm prompt will be issued (i.e., a warning message will be generated in a prominent form); if it is consistent, the cycle will continue;
[0071] (5) Transmitter buzzer module 1105: When the MAC address received by the transmitter MCU module 1104 is inconsistent with the stored MAC address information, it is confirmed that the projection transmitter 110 has left the first device 120, thereby issuing an alarm prompt;
[0072] (6) Transmitter communication module 1106: communicates with the first device 120 and transmits information transmitted by the first device 120 to the transmitter MCU module 1104 at fixed intervals;
[0073] (7) Transmitter battery module 1107: When the screen projection transmitter 110 is powered off, the transmitter battery module 1107 supplies power to the transmitter MCU module 1104 and the transmitter communication module 1106 to ensure that information sent by the first device 120 can still be received in the event of a power outage; when the screen projection transmitter 110 is connected to the first device 120 via an interface / data cable, the transmitter battery module 1107 can be charged through the transmitter interface module 1101.
[0074] The first device 120 includes the following modules:
[0075] (1) The first interface module 1201 is used for pairing with the screen projection transmitter 110. After the wireless screen projection software in the first device 120 detects that the screen projection transmitter 110 is inserted into the first device 120, it transmits the wireless hotspot information to the screen projection transmitter 110 and realizes the pairing of the screen projection transmitter 110 and the first device 120. At the same time, the communication modules of both parties are also paired (referring to the transmitter communication module 1106 and the first communication module 1205);
[0076] (2) The first CPU module 1202 is used to compress and decode the video stream transmitted by the screen projection transmitter 110 and control the entire first device 120;
[0077] (3) A first Wi-Fi module 1203: used to receive a video stream transmitted by the screen projection transmitter 110;
[0078] (4) First MCU module 1204: After the first device 120 is successfully paired with the projection transmitter 110, it will transmit its own MAC address to the projection transmitter 110 at a fixed interval;
[0079] (5) The first communication module 1205 sends the MAC address information of the first device 120 to the transmitter communication module 1106 of the screen projection transmitter 110;
[0080] (6) The first battery module 1206: When the first device 120 is powered off, the first MCU module 1204 and the first communication module 1205 of the first device 120 are powered to ensure that the MAC address information of the first device 120 can still be transmitted to the projection transmitter 110 in the event of a power outage; when the first device 120 is powered on, the first battery module 1206 can be charged through the first interface module 1201.
[0081] (7) Display module 1207: used to display the projection content and realize the projection function.
[0082] The first device 120 may be a mobile phone, a tablet computer, a desktop computer, a portable laptop computer, a smart TV, a vehicle-mounted terminal, a smart home device, or other terminal devices in various forms, which is not limited in the embodiments of the present application.
[0083] In combination with the above-mentioned noun introduction and application scenarios, the information prompt method provided by the present application is described. The method can be executed by the first device (receiving device), can be executed by the projection transmitter, or can be executed by the first device and the projection transmitter together. In the embodiment of the present application, the method is described as being executed by the projection transmitter. Figure 2 As shown, Figure 2FIG. 1 is a flow chart of an information prompting method provided by an exemplary embodiment of the present application. The method comprises the following steps.
[0084] Step 210: When connected to the first device, establish a binding relationship with the first device.
[0085] Among them, the screen projection transmitter is used to provide a screen projection function to the first device, and the first device includes a display screen.
[0086] The screen projection function refers to the function of projecting the content displayed on the source device interface to the display screen of the first device.
[0087] During the screen projection process, a screen projection transmitter is used for transition. The screen projection transmitter indirectly establishes a connection between the source device and the first device by establishing connections with the source device and the first device respectively. After the screen projection transmitter obtains the video stream sent by the source device, it converts the format of the video stream and sends it to the first device. The first device processes the received video stream and displays it, thus realizing the screen projection process.
[0088] Optionally, the screen projection transmitter is connected to the first device in a wired connection or a wireless connection.
[0089] Wired connection refers to connecting the projection transmitter and the first device (receiving device) through a physical cable to achieve signal transmission. For example, the projection transmitter is connected to the first device via an HDMI (High-Definition Multimedia Interface) cable, with one end of the cable connected to the projection transmitter and the other end inserted into the corresponding interface of the first device.
[0090] Wireless connection refers to signal transmission between the projection transmitter and the first device through wireless communication technology without the need for physical cable connection. For example, Wi-Fi (wireless communication) technology enables the projection transmitter and the first device to connect to the same Wi-Fi network to complete the connection.
[0091] Exemplarily, this embodiment is described by taking the example of a wired connection between the first device and the projection transmitter.
[0092] When connected to the first device, determine the working mode of the first device. After connecting to the first device, the first device sends a signal to the screen projection transmitter to indicate the working mode of the first device.
[0093] In response to the first device being in a first working mode, a binding relationship with the first device is established, wherein the first working mode is used to indicate the start of an anti-loss matching relationship between the screen projection transmitter and the first device.
[0094] The binding relationship between the first device and the screen projection transmitter is used to indicate that the first device has the authority to use the screen projection transmitter to implement the screen projection function.
[0095] Among them, when the screen projection transmitter has not established a binding relationship with the receiving device, all receiving devices connected to the screen projection transmitter have the authority to use the screen projection transmitter for screen projection; when a binding relationship is established between the receiving device and the screen projection transmitter, only the receiving device with the established binding relationship has the authority to use the screen projection transmitter for screen projection. In some embodiments, the screen projection transmitter can establish a binding relationship with at least one receiving device.
[0096] Step 220: Store the first device identifier of the first device.
[0097] Optionally, the method of storing the first device identifier includes but is not limited to: (1) the screen projection transmitter stores the first device identifier in advance. At this time, regardless of whether the screen projection transmitter is connected to the first device, the user can directly enter the first device identifier in the screen projection transmitter, and the screen projection transmitter stores the identifier information entered by the user; (2) after the screen projection transmitter is connected to the first device, the first device identifier is stored when the first device identifier sent by the first device is received for the first time.
[0098] Exemplarily, after the projection transmitter is connected to the first device, a first wireless communication connection is established between the first device and the projection transmitter, and the first wireless communication connection is used to realize information interaction between the first device and the projection transmitter. A first device identifier sent by the first device is received based on the first wireless communication connection, and the first device identifier is stored.
[0099] Optionally, the type of the first wireless communication connection includes, but is not limited to, a Bluetooth communication connection, a ZigBee communication connection, an NFC (Near Field Communication) connection, and a Wi-Fi communication connection.
[0100] This embodiment is described by taking the first wireless communication connection as a Bluetooth communication connection as an example. After the Bluetooth connection is established, a first device identifier sent by the first device is received based on the Bluetooth communication connection, and the first device identifier is stored.
[0101] In some embodiments, in order to realize the screen projection process, the first device will turn on its own Wi-Fi hotspot. The first device acts as a wireless access point (AP), builds a wireless network environment based on the Wi-Fi hotspot, communicates with the screen projection transmitter through the wireless network environment, and transmits the video stream that needs to be projected. The screen projection transmitter is a device in station mode. When the screen projection transmitter is inserted into the USB port of the first device, the first device will send its own Wi-Fi hotspot information (including hotspot name, password, etc.) to the screen projection transmitter to realize pairing of the first device and the screen projection transmitter. At the same time as pairing, a first wireless communication connection is established.
[0102] A first wireless communication connection is established, and different channels are used to transmit the video stream and the first device identifier, so that the first device can still transmit the first device identifier to the screen projection transmitter when it is not connected to the screen projection transmitter to use the screen projection function.
[0103] The first device identifier is used to uniquely indicate the identity of the first device, so that the first device can be distinguished from other devices.
[0104] Optionally, types of the first device identifier include but are not limited to the following.
[0105] (1) Device serial number: The serial number is a unique identifier assigned by the manufacturer to each device to distinguish different devices. It is usually a combination of letters and numbers.
[0106] (2) Universally Unique Identifier (UUID): UUID is a 128-bit identifier consisting of numbers and letters. Its purpose is to provide a globally unique identifier in software systems and network environments.
[0107] (3) MAC address: The MAC address is the physical address used to identify the network interface. It is embedded in the network interface card (NIC) of the network device. Both wired and wireless network cards have their own MAC addresses.
[0108] Step 230, in response to determining within the first time period that the first device and the projection transmitter meet the anti-loss warning requirements based on the first device identifier, generates warning information in a prominent form.
[0109] Among them, the early warning information is used to prompt that there is an abnormality in the interaction distance between the first device and the projection transmitter.
[0110] The warning information generated by the projection transmitter in a prominent form includes but is not limited to at least one of the following.
[0111] 1. Visual warning information: The projection transmitter is equipped with LED lights and other components that flash at a specific frequency;
[0112] 2. Auditory warning information: The projection transmitter is equipped with a buzzer or other components to sound an alarm; or, play a prompt audio;
[0113] 3. Tactile warning information: The screen projection transmitter vibrates at a preset frequency.
[0114] The first device periodically sends a heartbeat signal to the projection transmitter based on a preset interval, and the heartbeat signal includes the first device identifier. After the first wireless communication connection is established, at least one time period is obtained by dividing the preset interval, and the first time period is any one of the at least one time period.
[0115] For example, the preset interval is 5s, the moment of establishing the first wireless communication connection is the first moment, the time period is divided with the first moment as the starting point, and a time period is obtained every 5s. The first time period can be any one of these time periods.
[0116] Optionally, in response to not receiving a heartbeat signal sent by the first device within a first time period, it is determined that the anti-loss warning requirements are met between the first device and the projection transmitter, and a warning message is generated in a prominent form.
[0117] The frequency at which the first device sends heartbeat signals to the projection transmitter is the same as the frequency at which the projection transmitter detects whether it has received the heartbeat signal. After the first device establishes a binding relationship with the projection transmitter, the projection transmitter will match the device identifier in the heartbeat signal periodically sent by the first device with the first device identifier stored locally to obtain a matching result. The matching result is used to determine whether the anti-loss warning requirements are met.
[0118] Exemplarily, the anti-loss warning requirement refers to the first device not receiving the first device identification within a first time period.
[0119] When the first device and the screen projection transmitter meet the anti-loss warning requirements, it means that the position of the screen projection transmitter has been moved and the distance between the screen projection transmitter and the first device exceeds the preset communication distance.
[0120] When the first device does not receive a heartbeat signal within the first time period, it means that the interaction distance between the first device and the screen projection transmitter exceeds the communication distance of the first wireless communication connection, and the screen projection transmitter cannot receive the first device identifier sent by the first device, which meets the anti-loss warning requirements.
[0121] Optionally, in response to receiving at least one heartbeat signal within a first time period, a device identifier in the at least one heartbeat signal is obtained. In the event that the device identifier in the at least one heartbeat signal fails to match the first device identifier, it is determined that the first device and the projection transmitter meet the anti-loss warning requirements, and a warning message is generated in a prominent form.
[0122] Since wireless communication can be established between the projection transmitter and a variety of receiving devices, the receiving device connected to the projection transmitter can periodically send a heartbeat signal to the projection transmitter, and the heartbeat signal contains the device identification of the receiving device itself. The projection transmitter will match the device identification contained in the received heartbeat signal based on the stored first device identification to determine whether the first device and the projection transmitter meet the anti-lost warning requirements.
[0123] Exemplarily, there is a second device connected to the screen projection transmitter but no binding relationship is established with the screen projection transmitter. At this time, a second wireless communication connection is established between the second device and the screen projection transmitter. The second device periodically sends a heartbeat signal to the screen projection transmitter through the second wireless communication connection, and the heartbeat signal includes the second device identifier of the second device.
[0124] When the distance between the second device and the screen projection transmitter does not exceed the communication distance of the second wireless communication connection, the screen projection transmitter can receive the heartbeat signal sent by the second device and obtain the second device identifier in the heartbeat signal.
[0125] The screen projection transmitter matches based on the second device identifier and the first device identifier. Since the device identifier of each device is used to uniquely indicate the device identity, the first device identifier is different from the second device identifier, and the first device identifier fails to match the second device identifier. It is determined that the first device and the screen projection transmitter meet the anti-loss warning requirements.
[0126] In some embodiments, the binding relationship between the first device and the screen projection transmitter is used to indicate that the first device has exclusive rights to use the screen projection transmitter.
[0127] When the distance between the first device and the screen projection transmitter does not exceed the communication distance of the first wireless communication connection, if the distance between the second device and the screen projection transmitter also does not exceed the communication distance of the first wireless communication connection and the second device is connected to the screen projection transmitter, at this time, the screen projection transmitter can receive the second device identifier of the second device. The screen projection transmitter will still generate a warning message in a prominent form based on the failure of the match between the first device identifier and the second device identifier until the second device is disconnected from the screen projection transmitter.
[0128] In some embodiments, the binding relationship between the first device and the screen projection transmitter is used to limit the distance between the first device and the screen projection transmitter to not exceed a preset distance threshold.
[0129] When the distance between the first device and the screen projection transmitter does not exceed the preset distance threshold, and the distance between the second device and the screen projection transmitter also does not exceed the preset distance threshold and the second device is connected to the screen projection transmitter, at this time, the screen projection transmitter can simultaneously receive the heartbeat signals sent by the first device and the second device, that is, it can obtain the first device identifier and the second device identifier in the heartbeat signals sent by each device, and match them with the currently received first device identifier and the second device identifier based on the first device identifier stored in itself. Even if the second device identifier fails to match, it is still determined that the first device and the screen projection transmitter do not meet the anti-loss warning requirements because the first device identifier matches successfully.
[0130] This method can limit the distance between the first device and the screen projection transmitter to a preset range / in the same divided space through a binding relationship, thereby preventing the screen projection transmitter from being carried away from the first device at will, ensuring that the user can find the screen projection transmitter in time when using the first device for screen projection, preventing loss, and not restricting users from reusing the screen projection transmitter to project screens to other devices in a specific space, thereby improving resource utilization of the screen projection transmitter.
[0131] It is worth noting that the above two situations can be configured by the user on the first device or the projection transmitter, and this embodiment does not limit this.
[0132] In some embodiments, since the first device consumes power when periodically sending heartbeat signals to the projection transmitter, and in some cases the probability of using the projection transmitter is low and the probability of being moved or occupied is also reduced, the first device can adaptively adjust the frequency of sending heartbeat signals, improve resource utilization and extend the battery life of the first device.
[0133] Optionally, the period change information sent by the first device is received, and the period change information is used to indicate the change in the time period of the heartbeat detection. After the first device changes the frequency of sending the heartbeat information, it will be synchronized to the projection transmitter in time, so that the projection transmitter can check the modified frequency of detecting whether the heartbeat signal is received, thereby avoiding false positive warnings caused by period asynchrony.
[0134] The period change information is used to modify the duration of each period from a first duration to a second duration, and the first duration is different from the second duration. In response to determining that the first device and the projection screen transmitter meet the anti-loss warning requirements within the second time period based on the first device identifier, a warning message is generated in a prominent form, and the second time period is different from the first time period.
[0135] The second time period refers to any one of a plurality of time periods divided by taking the time when the period change information is received as the starting time point and taking the time length indicated by the period change information as the interval.
[0136] In some embodiments, in order to ensure that the screen projection transmitter always has power to maintain its own work process of receiving heartbeat signals and verifying them, a rechargeable battery module is present in the screen projection transmitter.
[0137] Optionally, when connected to a first device, power supply of the first device is received, and an energy storage process is performed based on the power supply of the first device.
[0138] When connected to the first device, since the first device is usually directly connected to a power source, the first device uses the power provided by the power source to power the battery module, and the battery module performs an energy storage process based on the power source to ensure that there is power in the battery module.
[0139] Optionally, in response to disconnection from the first device, the electric energy stored in the energy storage process during the first time period determines, based on the first device identification, that the anti-loss warning requirements are met between the first device and the projection transmitter, and a warning message is generated in a prominent form.
[0140] When not connected to the first device, the projection transmitter can maintain operation through the electric energy stored in the battery module, and execute the steps of receiving the heartbeat signal and verifying whether it meets the anti-loss warning requirements.
[0141] In summary, the information prompt method provided by the present application can establish a binding relationship between the first device and the projection transmitter, and store the first device identifier. The projection transmitter uses the first device identifier as a judgment condition to regularly match the received device identifier, judge whether there is an abnormality in the interaction distance between the projection transmitter and the first device, and issue an alarm prompt in time. Since the first device identifier is unique and will not change, using it as a warning judgment condition can accurately and effectively ensure that the projection transmitter and the receiving device are always in the same space, and promptly discover the situation where the position of the projection transmitter has been moved, so as to avoid devices that have not established a binding relationship with the projection transmitter occupying the projection transmitter.
[0142] Figure 3 It is a flowchart of an information prompt method provided by another exemplary embodiment of the present application. The method is executed by a first device and includes the following steps.
[0143] Step 310, when connected to the screen projection transmitter, establish a binding relationship with the screen projection transmitter.
[0144] Among them, the screen projection transmitter is used to provide a screen projection function to the first device, and the first device includes a display screen.
[0145] After the first device is connected to the screen projection transmitter, an operation interface will be displayed on the screen. The operation interface is used to provide an operation interface to the user to set the working mode of the first device.
[0146] Optionally, a working mode setting operation on the operation interface is received, and the working mode of the first device is set to the first working mode.
[0147] The operation of setting the working mode includes but is not limited to: (1) gesture setting operation: performing air gesture setting operation on the display screen of the first device; (2) touch setting operation: the display screen of the first device has a touch function, and controls corresponding to different working modes are displayed on the operation interface, triggering the controls corresponding to the first working mode; or, sliding on the display screen or performing touch operation in a specified area to set the working mode; (3) voice setting operation: the first device can collect voice commands input by the user, and set the working mode of the first device to the first working mode based on the voice commands.
[0148] When connected to the screen projection transmitter and in the first working mode, a binding relationship with the screen projection transmitter is established.
[0149] Among them, the first working mode is used to indicate the start of the anti-loss matching relationship between the screen projection transmitter and the first device.
[0150] The binding relationship between the first device and the screen projection transmitter is used to indicate that the first device has the authority to use the screen projection transmitter to implement the screen projection function.
[0151] Step 320, sending the first device identifier to the screen projection transmitter.
[0152] Exemplarily, after the first device is connected to the screen projection transmitter, a first wireless communication connection is established between the first device and the screen projection transmitter, and a first device identifier is sent to the screen projection transmitter based on the first wireless communication connection.
[0153] Among them, the first wireless communication connection is used to realize information interaction between the first device and the screen projection transmitter, and the first device identifier is sent to the screen projection transmitter through the first wireless communication connection.
[0154] The first device identifier is used to uniquely indicate the identity of the first device, so that the first device is distinguishable from other devices. Optionally, the types of the first device identifier include but are not limited to: (1) device serial number; (2) universal unique identifier (UUID); (3) MAC address.
[0155] The projection transmitter is used to store the first device identifier. If the projection transmitter has not received the first device identifier sent by the first device in the historical time period, it will store it locally when the first device identifier is received for the first time. If the projection transmitter has already stored the first device identifier locally, it will not be stored repeatedly, and the position of the first device identifier in the local memory will still be maintained.
[0156] The purpose of establishing the first wireless communication connection is to enable the first device to successfully send the first device identification to the screen projection transmitter. The position of the first device usually does not change. In order to ensure that the screen projection transmitter and the first device are always in the same space and prevent the screen projection transmitter from being taken away from the space at will, the effective communication distance of the first wireless communication connection should be based on the size of the space where the first device is located.
[0157] Optionally, scene information is collected, where the scene information is used to describe the scope of the spatial scene in which the first device is located.
[0158] Based on the scene information, the information transmission power between the first device and the projection transmitter is determined, and the magnitude of the information transmission power is positively correlated with the communication distance. Based on the information transmission power, a first wireless communication connection is established with the projection transmitter.
[0159] Exemplarily, the first device includes a camera component, which collects an environmental image of the spatial scene in which the first device is located through the camera component, and analyzes the range size of the spatial scene based on the environmental image. Obtain a preset information transmission power comparison table, which includes a correspondence between the range size of the spatial scene and the information transmission power. Index the target information transmission power that matches the range size of the current spatial scene from the comparison table.
[0160] A first wireless communication connection is established based on the target information transmission power, so that when the first device sends a heartbeat signal, the communication distance that can be transmitted covers every location point in the spatial scene, ensuring that the projection transmitter can receive the heartbeat signal sent by the first device at any location in the spatial scene.
[0161] Step 330: periodically send a heartbeat signal to the projection transmitter.
[0162] Among them, the screen projection transmitter is used to generate warning information in a prominent form when it is determined based on the first device identifier that the anti-loss warning requirements are met between the first device and the screen projection transmitter.
[0163] Optionally, the first device periodically sends a heartbeat signal to the projection transmitter based on a preset interval, and the heartbeat signal includes the first device identifier. The heartbeat signal is used to instruct the projection transmitter to generate a warning message in a prominent form when it determines that the first device and the projection transmitter meet the anti-loss warning requirements based on the first device identifier.
[0164] At least one time period is obtained by dividing the time period into preset intervals starting from the establishment of the first wireless communication connection. The screen projection transmitter is used to match the first device identifier and the device identifier included in the received heartbeat signal within at least one time period to determine whether the first device and the screen projection transmitter meet the anti-loss warning requirements.
[0165] For example, when the first device and the screen projection transmitter are in the same spatial scene, the first device successfully sends a heartbeat signal carrying the first device identifier to the screen projection transmitter. The screen projection transmitter matches the device identifier in the received heartbeat signal based on the locally stored first device identifier. If the device identifiers are the same and the match is successful, the anti-loss warning requirements are not met and the screen projection transmitter does not generate a warning message.
[0166] For example, when the screen projection transmitter is occupied by someone else and taken away from the spatial scene where the first device is located, the heartbeat signal sent by the first device to the screen projection transmitter is not received by the screen projection transmitter within the first time period because the distance between the first device and the screen projection transmitter exceeds the communication distance that can be covered by the first wireless communication connection. The matching fails, which meets the anti-loss warning requirements and generates a warning message in a prominent form.
[0167] In some embodiments, in order to improve the utilization rate of the power consumed by the first device when sending a heartbeat signal and extend the duration of the matching mechanism, the period when the first device sends a heartbeat signal can be adaptively adjusted by predicting the probability of use of the projection transmitter.
[0168] Optionally, time information and liveness perception information are obtained, where the time information is used to indicate the current time, and the liveness perception information is used to reflect liveness activity within a preset distance threshold range of the first device and / or the projection transmitter.
[0169] The first device is connected to a component that can sense living things, such as an infrared sensor, and collects living body sensing information through the infrared sensor. The living body sensing information can indicate whether there are living things in the space where the first device is located within a specified time period, the number of living things, and other information.
[0170] Based on at least one of the time information and the living body perception information, the usage probability of the projection transmitter within a first time period is determined, and the first time period refers to a future time period after the current time.
[0171] Exemplarily, the time information is matched with the preset peak usage time period information, and the peak usage time period information is used to indicate the time period in a day when the usage frequency of the projection transmitter reaches a preset threshold. If the time information indicates that the current time is in the peak usage time period, it means that the usage frequency of the projection transmitter is high, and the current frequency of sending heartbeat signals can be increased or maintained; if the time information indicates that the current time is not in the peak usage time period, it means that the usage frequency of the projection transmitter is low, and the current frequency of sending heartbeat signals can be reduced or maintained.
[0172] The preset first weight is obtained based on the number of living bodies detected in the historical time period indicated by the living body perception information. The historical time period refers to the time period of preset length from the current moment; the preset second weight is obtained based on the matching of the moment information and the peak usage time period information. The probability of using the projection transmitter in the first time period is obtained based on the sum of the first weight and the second weight.
[0173] Exemplarily, if the living body perception information indicates that the number of living bodies detected in the historical time period reaches a first quantity threshold, the first weight value is a, otherwise, the first weight value is b; if the moment information matches the peak usage time period information, the second weight value is c, otherwise, the second weight value is d; a, b, c, and d are preset values.
[0174] Based on the usage probability, period change information is sent to the projection transmitter, and the period change information is used to indicate the change of the time period of heartbeat detection.
[0175] Exemplarily, a preset cycle comparison table is obtained, wherein the cycle comparison table contains the corresponding relationship between the cycle configuration information for sending the heartbeat signal and different values of the usage probability, and the cycle configuration information is used to indicate the frequency / cycle duration of sending the heartbeat signal.
[0176] Based on the usage probability, the target cycle configuration information that matches is indexed from the cycle comparison table, and the cycle change information is generated based on the target cycle configuration information.
[0177] For example, the original cycle duration is 5 seconds, and the target cycle configuration information indicates a cycle duration of 8 seconds.
[0178] Then, the period change information is used to indicate that the period duration of sending the heartbeat signal is changed from 5s to 8s, that is, the first device changes from sending a heartbeat signal once every 5s to sending a heartbeat signal once every 8s.
[0179] In some embodiments, in order to ensure that the first device always has power to maintain its own working process of periodically sending heartbeat signals, a rechargeable battery module is present in the first device.
[0180] Optionally, the energy storage process is performed when a power source is connected, and the first device obtains power from the power source to charge the battery module.
[0181] When connected to a projection transmitter, the projection transmitter is powered by electrical energy stored based on a power supply or an energy storage process.
[0182] When the first device is connected to a power source and to the screen projection transmitter, power is supplied to a battery module in the screen projection transmitter based on the power source.
[0183] When the first device is not connected to a power source and is connected to a screen projection transmitter, the battery module in the screen projection transmitter is powered based on the electric energy stored in the energy storage process (the electric energy in its own battery module).
[0184] When no power source is connected, the first device identifier is periodically sent to the screen projection transmitter based on the electric energy stored in the energy storage process.
[0185] In summary, the information prompt method provided by the present application can establish a binding relationship between the first device and the projection transmitter, and store the first device identifier. The projection transmitter uses the first device identifier as a judgment condition to regularly match the received device identifier, judge whether there is an abnormality in the interaction distance between the projection transmitter and the first device, and issue an alarm prompt in time. Since the first device identifier is unique and will not change, using it as a warning judgment condition can accurately and effectively ensure that the projection transmitter and the receiving device are always in the same space, and promptly discover the situation where the position of the projection transmitter has been moved, so as to avoid devices that have not established a binding relationship with the projection transmitter occupying the projection transmitter.
[0186] Figure 4 It is a flowchart of an information prompt method provided by another exemplary embodiment of the present application. The method is executed by an information prompt system. The information prompt system includes a first device and a screen projection transmitter. The method includes the following steps.
[0187] S410, the first device performs an initialization operation after being powered on.
[0188] Powering on the first device means connecting the first device to a power source and turning it on, and initialization operation means the process of setting various components, variables, registers, etc. of the system or program to a known initial state when the device is started or the software starts running.
[0189] The first device includes wireless screen projection software for realizing the screen projection function. During the initialization process, the wireless screen projection software is set to a default running state.
[0190] S420, the first device turns on the wireless hotspot.
[0191] Enabling the wireless hotspot can provide a path for data transmission and communication between the first device and other devices.
[0192] S430, when the first device is connected to the screen projection transmitter, pairing with the screen projection transmitter is completed based on the wireless hotspot.
[0193] The first device is connected to the screen projection transmitter via a wired connection, with one end of the data cable connected to the screen projection transmitter and the other end inserted into the device interface of the first device. At this time, the first device can be paired with the screen projection transmitter.
[0194] The first device sends the hotspot name and password of its own wireless hotspot to the screen projection transmitter through a wired connection. The screen projection transmitter accesses the wireless hotspot provided by the first device based on the information sent by the first device to achieve pairing. The pairing process is used to achieve the screen projection function. During the screen projection process, the screen projection transmitter can send the video stream sent by the source device to the first device through the wireless hotspot, and the first device will display it, thereby indirectly achieving information interaction between the first device and the source device.
[0195] S440, determine whether the first device is in the first working mode, and establish a binding relationship with the screen projection transmitter when the first device is in the first working mode.
[0196] Among them, the first working mode is used to indicate the start of the anti-loss matching relationship between the screen projection transmitter and the first device.
[0197] The binding relationship between the first device and the screen projection transmitter is used to indicate that the first device has the authority to use the screen projection transmitter to implement the screen projection function.
[0198] After the first device establishes a binding relationship with the screen projection transmitter, the screen projection transmitter will alarm if the anti-loss warning requirements are met between the screen projection transmitter and the first device; when the screen projection transmitter has not established a binding relationship with the first device, or the binding relationship with the first device is released, the screen projection transmitter will not alarm even if the anti-loss warning requirements are met between the first device and the screen projection transmitter.
[0199] S450, the first device sends a first device identifier to the wireless screen projection transmitter.
[0200] The first device identifier is used to uniquely indicate the identity of the first device, so that the first device can be distinguished from other devices.
[0201] S460, the screen projection transmitter receives and stores the first device identifier.
[0202] When the first device identifier is received for the first time, the first device identifier is stored locally based on the binding relationship with the first device.
[0203] If no binding relationship is established between the first device and the projection transmitter, the projection transmitter will not store the first device identifier locally after receiving it.
[0204] S470, the first device periodically sends the first device identifier to the screen projection transmitter.
[0205] Optionally, the first device sends a heartbeat signal to the screen projection transmitter within a first time period, and the heartbeat signal includes the first device identifier.
[0206] The first time period is used to indicate any one of a plurality of time periods divided based on a preset frequency.
[0207] For example, if the sending frequency is 5s / time, the cycle length is 5s.
[0208] S480, the screen projection transmitter matches the received device identifier based on the stored first device identifier to determine whether the first device and the screen projection transmitter meet the anti-loss warning requirements.
[0209] Optionally, in response to not receiving a heartbeat signal sent by the first device within a first time period, it is determined that the anti-loss warning requirements are met between the first device and the screen projection transmitter.
[0210] Optionally, in response to receiving at least one heartbeat signal within a first time period, a device identifier in the at least one heartbeat signal is obtained; if the device identifier in the at least one heartbeat signal fails to match the first device identifier, it is determined that the anti-loss warning requirements are met between the first device and the projection transmitter.
[0211] S490, in response to the first device and the screen projection transmitter meeting the anti-loss warning requirements within the first time period, the screen projection transmitter generates a warning message in a prominent form.
[0212] Among them, the early warning information is used to prompt that there is an abnormality in the interaction distance between the first device and the projection transmitter.
[0213] When the first device and the projection transmitter always maintain a state that meets the anti-loss warning requirements, in order to improve the utilization rate of electric energy, the method of generating warning information can be determined according to the duration of the state that meets the anti-loss warning requirements.
[0214] For example, generating early warning information in a prominent form means sending an alarm tone through the buzzer module of the projection transmitter, prompting the user occupying the projection transmitter to put the projection transmitter back to the target position as soon as possible, wherein the target position is within the range where the projection transmitter can receive the heartbeat signal sent by the first device. After the duration of the buzzer module alarm reaches the first alarm duration, the buzzer module is controlled to alarm at a preset alarm frequency, for example, the preset alarm frequency means three alarms per minute, and each alarm duration is 10 seconds.
[0215] When the first working mode of the first device is turned off, the loop process from step 470 to step 490 is ended.
[0216] In summary, the information prompt method provided by the present application can establish a binding relationship between the first device and the projection transmitter, and store the first device identifier. The projection transmitter uses the first device identifier as a judgment condition to regularly match the received device identifier, judge whether there is an abnormality in the interaction distance between the projection transmitter and the first device, and issue an alarm prompt in time. Since the first device identifier is unique and will not change, using it as a warning judgment condition can accurately and effectively ensure that the projection transmitter and the receiving device are always in the same space, and promptly discover the situation where the position of the projection transmitter has been moved, so as to avoid devices that have not established a binding relationship with the projection transmitter occupying the projection transmitter.
[0217] Figure 5 is a structural block diagram of an information prompting device provided by an exemplary embodiment of the present application, such as Figure 5 As shown, the device includes the following parts.
[0218] A relationship establishing module 510, configured to establish a binding relationship with a first device when connected to the first device, wherein the first device is configured to implement a screen projection function through a screen projection transmitter;
[0219] A storage module 520, configured to store a first device identifier of the first device;
[0220] The warning module 530 is used to generate a warning message in a prominent form in response to determining within a first time period that the anti-loss warning requirements are met between the first device and the projection transmitter based on the first device identifier, and the warning message is used to prompt that there is an abnormality in the interaction distance between the first device and the projection transmitter.
[0221] In an optional embodiment, the early warning module 530 is also used to determine that the anti-loss early warning requirements are met between the first device and the projection transmitter in response to not receiving the heartbeat signal sent by the first device within the first time period, and generate the early warning information in the prominent form; the heartbeat signal includes the first device identifier.
[0222] In an optional embodiment, the early warning module 530 is also used to, in response to receiving at least one heartbeat signal within a first time period, obtain a device identifier in the at least one heartbeat signal; in a case where the device identifier in the at least one heartbeat signal fails to match the first device identifier, determine that the first device and the projection transmitter meet the anti-loss warning requirements, and generate the early warning information in the prominent form.
[0223] In an optional embodiment, the relationship establishing module 510 is also used to determine the working mode of the first device when connected to the first device; in response to the first device being in the first working mode, establish the binding relationship with the first device, wherein the first working mode is used to indicate the activation of the anti-loss matching relationship between the screen projection transmitter and the first device.
[0224] In an optional embodiment, the storage module 520 is further used to establish a first wireless communication connection with the first device; receive the first device identification sent by the first device based on the first wireless communication connection; and store the first device identification.
[0225] In an optional embodiment, the early warning module 530 is also used to receive period change information sent by the first device, and the period change information is used to indicate the change of the time period of heartbeat detection; in response to determining within a second time period that the first device and the projection transmitter meet the anti-loss early warning requirements based on the first device identifier, the early warning information is generated in the prominent form, and the second time period is different in length from the first time period.
[0226] In an optional embodiment, if Figure 6 As shown, the device also includes:
[0227] an energy storage module 540, configured to receive power from the first device when connected to the first device, and to perform an energy storage process based on the power from the first device;
[0228] The warning module 530 is also used to respond to the disconnection from the first device, determine that the anti-loss warning requirements are met between the first device and the projection transmitter based on the first device identification and the electric energy stored in the energy storage process during the first time period, and generate the warning information in the prominent form.
[0229] In summary, the information prompt device provided by the present application establishes a binding relationship between the first device and the projection transmitter, and stores the first device identifier. The projection transmitter uses the first device identifier as a judgment condition to regularly match the received device identifier, judge whether there is an abnormality in the interaction distance between the projection transmitter and the first device, and promptly alarm. Since the first device identifier is unique and will not change, using it as a warning judgment condition can accurately and effectively ensure that the projection transmitter and the receiving device are always in the same space, and promptly discover the situation where the position of the projection transmitter has been moved, so as to avoid devices that have not established a binding relationship with the projection transmitter occupying the projection transmitter.
[0230] Figure 7is a structural block diagram of an information prompting device provided by another exemplary embodiment of the present application, such as Figure 7 As shown, the device includes the following parts.
[0231] A relationship establishing module 710, configured to establish a binding relationship with the screen projection transmitter when connected to the screen projection transmitter, wherein the screen projection transmitter is configured to provide a screen projection function to the first device;
[0232] A sending module 720, configured to send a first device identifier to the screen projection transmitter, wherein the screen projection transmitter is configured to store the first device identifier;
[0233] The sending module 720 is also used to periodically send a heartbeat signal to the projection transmitter, and the heartbeat signal includes the first device identifier; wherein the heartbeat signal is used to instruct the projection transmitter to generate a warning message in a prominent form when it determines that the first device and the projection transmitter meet the anti-loss warning requirements based on the first device identifier.
[0234] In an optional embodiment, the relationship establishing module 710 is also used to establish the binding relationship with the screen projection transmitter when connected to the screen projection transmitter and in the first working mode, wherein the first working mode is used to indicate the activation of the anti-loss matching relationship between the screen projection transmitter and the first device.
[0235] In an optional embodiment, the sending module 720 is further used to establish a first wireless communication connection with the screen projection transmitter; and send the first device identifier to the screen projection transmitter based on the first wireless communication connection.
[0236] In an optional embodiment, the sending module 720 is also used to collect scene information, wherein the scene information is used to describe the range of the spatial scene in which the first device is located; based on the scene information, the information transmission power between the first device and the screen projection transmitter is determined, and the size of the information transmission power is positively correlated with the communication distance; based on the information transmission power, the first wireless communication connection with the screen projection transmitter is established.
[0237] In an optional embodiment, the sending module 720 is also used to obtain time information to indicate the current time, and the liveness perception information is used to reflect the living activity within a preset distance threshold range of the first device and / or the projection transmitter; based on the time information and at least one of the liveness perception information, determine the usage probability of the projection transmitter within a first time period, and the first time period refers to a future time period after the current time; based on the usage probability, send period change information to the projection transmitter, and the period change information is used to indicate a change in the time period of heartbeat detection.
[0238] In an optional embodiment, if Figure 8 As shown, the device also includes:
[0239] The energy storage module 730 is used to perform the energy storage process when connected to a power source; when connected to the projection transmitter, supply power to the projection transmitter based on the power source or the electric energy stored in the energy storage process;
[0240] The sending module is also used to periodically send the first device identifier to the screen projection transmitter based on the electric energy stored in the energy storage process when no power source is connected.
[0241] In summary, the information prompt device provided by the present application establishes a binding relationship between the first device and the projection transmitter, and stores the first device identifier. The projection transmitter uses the first device identifier as a judgment condition to regularly match the received device identifier, judge whether there is an abnormality in the interaction distance between the projection transmitter and the first device, and promptly alarm. Since the first device identifier is unique and will not change, using it as a warning judgment condition can accurately and effectively ensure that the projection transmitter and the receiving device are always in the same space, and promptly discover the situation where the position of the projection transmitter has been moved, so as to avoid devices that have not established a binding relationship with the projection transmitter occupying the projection transmitter.
[0242] It should be noted that the information prompt device provided in the above embodiment is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the information prompt device provided in the above embodiment and the information prompt method embodiment belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.
[0243] Fig. 9The block diagram of the structure of a computer device 900 provided by an exemplary embodiment of the present application is shown. The computer device 900 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3), an MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) player, a laptop computer or a desktop computer. The computer device 900 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0244] Typically, the computer device 900 includes a processor 901 and a memory 902 .
[0245] The processor 901 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 901 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 901 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 901 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 901 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0246] The memory 902 may include one or more computer-readable storage media, which may be non-transitory. The memory 902 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 902 is used to store at least one instruction, which is used to be executed by the processor 901 to implement the information prompt method provided in the method embodiment of the present application.
[0247] In some embodiments, the computer device 900 further includes some other components 903, and the type and quantity of the other components 903 can be selected based on the functional requirements of the computer device 900. Those skilled in the art will appreciate that Fig. 9 The structure shown in the figure does not constitute a limitation on the computer device 900, and the computer device 900 may include more or less components than those shown in the figure, or combine some components, or adopt a different arrangement of components.
[0248] Optionally, the computer readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a solid state drive (SSD), or an optical disk. Among them, the random access memory may include a resistance random access memory (ReRAM) and a dynamic random access memory (DRAM). The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments.
[0249] An embodiment of the present application also provides a computer device, which includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the information prompt method as described in any of the above embodiments of the present application.
[0250] An embodiment of the present application also provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set or an instruction set is stored. The at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the information prompt method as described in any of the above embodiments of the present application.
[0251] The embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the information prompt method described in any of the above embodiments.
[0252] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0253] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. An information prompting method, characterized in that: The method is performed by a screen projection transmitter and includes: When connected to a first device, a binding relationship with the first device is established, and the screen projection transmitter is used to provide a screen projection function to the first device; storing a first device identifier of the first device; In response to determining within a first time period that the anti-loss warning requirements are met between the first device and the projection transmitter based on the first device identifier, a warning message is generated in a prominent form, and the warning message is used to prompt that there is an abnormality in the interaction distance between the first device and the projection transmitter.
2. The method according to claim 1, characterized in that The response, in a first time period, determines based on the first device identifier that the first device and the projection transmitter meet the anti-loss warning requirement, and generates warning information in a prominent form, including: In response to not receiving the heartbeat signal sent by the first device within the first time period, it is determined that the anti-loss warning requirements are met between the first device and the projection transmitter, and the warning information is generated in the prominent form; the heartbeat signal includes the first device identifier.
3. The method according to claim 1, characterized in that The response, in a first time period, determines based on the first device identifier that the first device and the projection transmitter meet the anti-loss warning requirement, and generates warning information in a prominent form, including: In response to receiving at least one heartbeat signal within a first time period, obtaining a device identifier in the at least one heartbeat signal; In the event that the device identifier in the at least one heartbeat signal fails to match the first device identifier, it is determined that the first device and the projection transmitter meet the anti-loss warning requirements, and the warning information is generated in the prominent form.
4. The method according to any one of claims 1 to 3, characterized in that: The step of establishing a binding relationship with the first device when connected to the first device includes: When connected to the first device, determining an operating mode of the first device; In response to the first device being in a first working mode, the binding relationship with the first device is established, wherein the first working mode is used to indicate the activation of an anti-loss matching relationship between the screen projection transmitter and the first device.
5. The method according to any one of claims 1 to 3, characterized in that: The storing the first device identification of the first device includes: establishing a first wireless communication connection with the first device; receiving the first device identifier sent by the first device based on the first wireless communication connection; The first device identification is stored.
6. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Receiving period change information sent by the first device, where the period change information is used to indicate a change in a time period of heartbeat detection; In response to determining within a second time period that the first device and the projection transmitter meet the anti-loss warning requirements based on the first device identifier, the warning information is generated in the prominent form, and the second time period is different in length from the first time period.
7. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When connected to the first device, receiving power from the first device, and performing an energy storage process based on the power from the first device; The response, in a first time period, determines based on the first device identifier that the first device and the projection transmitter meet the anti-loss warning requirement, and generates warning information in a prominent form, including: In response to disconnection from the first device, the electric energy stored in the energy storage process during the first time period determines, based on the first device identification, that the anti-loss warning requirements are met between the first device and the projection transmitter, and the warning information is generated in the prominent form.
8. An information prompting method, characterized in that: Executed by a first device, the method includes: When connected to a screen projection transmitter, establishing a binding relationship with the screen projection transmitter, wherein the screen projection transmitter is used to provide a screen projection function to the first device; Sending a first device identifier to the screen projection transmitter, wherein the screen projection transmitter is used to store the first device identifier; A heartbeat signal is periodically sent to the projection transmitter, wherein the heartbeat signal includes the first device identifier; wherein the heartbeat signal is used to instruct the projection transmitter to generate warning information in a prominent form when it is determined that the first device and the projection transmitter meet the anti-loss warning requirements based on the first device identifier.
9. The method according to claim 8, characterized in that When connected to the screen projection transmitter, establishing a binding relationship with the screen projection transmitter includes: When connected to the screen projection transmitter and in the first working mode, the binding relationship with the screen projection transmitter is established, wherein the first working mode is used to indicate the start of the anti-loss matching relationship between the screen projection transmitter and the first device.
10. The method according to claim 8, characterized in that The sending the first device identifier to the screen projection transmitter includes: Establishing a first wireless communication connection with the screen projection transmitter; The first device identifier is sent to the screen projection transmitter based on the first wireless communication connection.
11. The method according to claim 10, characterized in that The establishing of a first wireless communication connection with the screen projection transmitter includes: Collecting scene information, where the scene information is used to describe the scope of the spatial scene where the first device is located; Determine, based on the scene information, an information transmission power between the first device and the screen projection transmitter, wherein the information transmission power is positively correlated with the communication distance; The first wireless communication connection is established with the screen projection transmitter based on the information transmission power.
12. The method according to any one of claims 8 to 11, characterized in that: The method further comprises: Acquire time information and liveness perception information, wherein the time information is used to indicate the current time, and the liveness perception information is used to reflect the liveness activity within a preset distance threshold range of the first device and / or the projection transmitter; Determine the use probability of the projection transmitter within a first time period based on at least one of the time information and the living body sensing information, where the first time period refers to a future time period after the current time; Based on the usage probability, period change information is sent to the projection transmitter, and the period change information is used to indicate a change in the time period of heartbeat detection.
13. The method according to any one of claims 8 to 11, characterized in that: The method further comprises: The energy storage process is performed when the power supply is connected; When connected to the screen projection transmitter, supplying power to the screen projection transmitter based on the power supply or the electric energy stored in the energy storage process; When no power source is connected, the first device identifier is periodically sent to the screen projection transmitter based on the electric energy stored in the energy storage process.
14. An information prompting system, characterized in that: The system includes a screen projection transmitter and a first device, wherein the screen projection transmitter is used to provide a screen projection function to the first device; The screen projection transmitter is configured to establish a binding relationship with the first device when connected to the first device; storing a first device identifier of the first device; The first device is configured to periodically send the first device identifier to the screen projection transmitter; The screen projection transmitter is also configured to generate warning information in a prominent form in response to determining within a first time period that the first device and the screen projection transmitter meet the anti-loss warning requirements based on the first device identifier, and the warning information is used to prompt that there is an abnormality in the interaction distance between the first device and the screen projection transmitter.
15. The system according to claim 14, characterized in that The first device is further configured to send a heartbeat signal to the screen projection transmitter within the first time period, wherein the heartbeat signal includes the first device identifier; The screen projection transmitter is also configured to generate the warning information in the prominent form in response to not receiving the heartbeat signal sent by the first device within the first time period, determining that the anti-loss warning requirements are met between the first device and the screen projection transmitter.
16. The system according to claim 14, characterized in that The screen projection transmitter is further configured to, in response to receiving at least one heartbeat signal within the first time period, obtain a device identification in the at least one heartbeat signal; In the event that the device identifier in the at least one heartbeat signal fails to match the first device identifier, it is determined that the first device and the projection transmitter meet the anti-loss warning requirements, and the warning information is generated in the prominent form.
17. An information prompting device, characterized in that: The device comprises: A relationship establishing module, used to establish a binding relationship with a first device when connected to the first device, wherein the first device is used to implement a screen projection function through a screen projection transmitter; A storage module, used to store a first device identifier of the first device; An early warning module is used to generate early warning information in a prominent form in response to determining within a first time period that the anti-loss early warning requirements are met between the first device and the projection transmitter based on the first device identifier, and the early warning information is used to prompt that there is an abnormality in the interaction distance between the first device and the projection transmitter.
18. An information prompting device, characterized in that: The device comprises: A relationship establishing module, used to establish a binding relationship with the screen projection transmitter when connected to the screen projection transmitter, wherein the screen projection transmitter is used to provide a screen projection function to the first device; A sending module, used for sending a first device identifier to the screen projection transmitter, wherein the screen projection transmitter is used for storing the first device identifier; The sending module is also used to periodically send the heartbeat signal to the projection transmitter, wherein the heartbeat signal includes a first device identifier; wherein the heartbeat signal is used to instruct the projection transmitter to generate warning information in a prominent form when it is determined that the first device and the projection transmitter meet the anti-loss warning requirements based on the first device identifier.
19. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program, and the at least one program is loaded and executed by the processor to implement the information prompt method according to any one of claims 1 to 13.
20. A computer-readable storage medium, characterized in that: The storage medium stores at least one program, and the at least one program is loaded and executed by the processor to implement the information prompt method according to any one of claims 1 to 13.