Information transmission method and device, storage medium and program product
By integrating the display screen and front-facing image acquisition components on the device, and using image recognition technology to establish a channel, the security risks existing in NFC technology in close-range communication are solved, and higher security and anti-theft ability are achieved.
Patent Information
- Application Number
- CN202510180668.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-04
- Publication Date
- 2025-06-13
AI Technical Summary
The existing NFC technology has security risks in close-range communication, especially when the device is blocked by a backpack or pocket, it is prone to malicious stolen.
By integrating the display screen and front-facing image acquisition elements on the device, the channel is established using image recognition technology. The specific steps include displaying an image of the device ID, acquiring an image of the opposite device using the front image acquisition element, and parsing it to determine the device ID.
It realizes that the communication channel cannot be established when the device is blocked, reduces the risk of being stolen and improves the security of close-range communication.
Smart Images

Figure CN120151808A_ABST
Abstract
Description
[0001] This application is a divisional application. The application date of the original application is March 4, 2022, the application number of the original application is 202210212145.2, and the name of the invention of the original application is: channel establishment and information transmission method, device, storage medium and program product. Technical Field
[0002] The embodiments of the present application relate to the field of communication technology, and in particular, to an information transmission method, device, storage medium, and program product. Background Art
[0003] With the development of communication technology, mobile phones are increasingly used for short-range communication, such as through NFC chips. However, the application of NFC technology also has certain security risks. There is a risk of malicious theft through a backpack or pocket. Therefore, how to improve the security of short-range communication is an urgent problem to be solved. Summary of the invention
[0004] The embodiments of the present application provide a channel establishment and information transmission method, device, storage medium and program product, which are intended to establish a short-range communication channel more securely.
[0005] In a first aspect, an embodiment of the present application provides a method for establishing a communication channel, which is applied to a first device, wherein the first device has a display screen and a front image acquisition element, and the method includes:
[0006] displaying an image including the device ID of the first device;
[0007] Using its own front image acquisition element to acquire the image displayed by the second device;
[0008] Parsing the captured image, and when the device ID of the second device is parsed, displaying an image at least including the device ID of the second device, and continuing to use its own front image acquisition element to capture the image displayed by the second device;
[0009] The captured image is parsed, and when the device ID of the first device is parsed, it is determined that the communication channel between the first device and the second device is successfully established.
[0010] Optionally, before parsing the collected image, the method further includes:
[0011] Using its own front image acquisition element to sense the screen-on time period of the single-frame image repeatedly displayed by the second device;
[0012] According to the sensing result, the exposure time period of the front image acquisition element of the device is adjusted to overlap with the screen light time period;
[0013] Analyze the acquired image, including:
[0014] Analyze the image acquired by the front image acquisition component of itself after adjusting the exposure time period.
[0015] Optionally, before displaying the first device ID image, it further includes:
[0016] When it is detected that the trigger button on the first device is pressed, trigger the communication channel establishment mode; or,
[0017] When both the first device and the second device have sensing components, when the sensing component of the first device senses the sensing signal sent by the second device, trigger the communication channel establishment mode, and the sensing component is: a touch control component arranged on the display screen, and / or, other sensing components arranged in the first device.
[0018] Optionally, the single-frame image displayed by the second device is a synchronous image among multiple consecutive synchronous images in the first image sequence or an image containing the device ID of the second device, and the display time period of the single-frame image includes a screen-on time period and a screen-off time period;
[0019] Sense the screen-on time period of the single-frame image repeatedly displayed by the second device by using the front image acquisition component of itself, including:
[0020] Collect and analyze each single-frame image in the first image sequence repeatedly displayed by the second device by using the front image acquisition component of itself;
[0021] According to the sensing result, adjust the exposure time period of the front image acquisition component of itself to have an overlapping time period with the screen-on time period, including:
[0022] When it is analyzed that the single-frame image displayed by the second device is a synchronous image, estimate the screen-on time period of the next synchronous image;
[0023] Adjust the exposure time period of the front image acquisition component of itself to have an overlapping time period with the screen-on time period of the next synchronous image.
[0024] Optionally, displaying the image containing the device ID of the first device includes:
[0025] Repeatedly display the image containing the device ID of the first device, or
[0026] Repeatedly display a second image sequence, where the second image sequence includes a continuous plurality of synchronized images and an image containing the device ID of the first device, and the display time period of a single-frame image in the second image sequence includes a screen-on time period and a screen-off time period;
[0027] Display an image containing at least the device ID of the second device, including:
[0028] Repeatedly display an image containing at least the device ID of the second device, or
[0029] Repeatedly display a third image sequence, where the third image sequence includes a continuous plurality of synchronized images and an image containing at least the device ID of the second device, and the display time period of a single-frame image in the third image sequence includes a screen-on time period and a screen-off time period.
[0030] Optionally, it further includes:
[0031] Display the same image in multiple display areas of its own display screen, and the image displayed on each display area carries the number of the display area where it is located;
[0032] Receive the display area indication information sent by the second device, where the display area indication information includes the target number carried by the image collected by the second device;
[0033] According to the number, determine that the display area of the image that needs to be displayed subsequently by itself is the display area with the target number.
[0034] Optionally, the front image acquisition component is a fingerprint module arranged under the display screen.
[0035] Optionally, at least one of the image containing the device ID of the first device and the image containing at least the device ID of the second device displayed by the first device is a pattern of a target coding type;
[0036] The synchronized image displayed by the first device is a full-white image or a high-brightness image, and the brightness of the high-brightness image is higher than the display brightness in the normal display mode.
[0037] In a second aspect, an information transmission method provided by an embodiment of the present application is applied to a first device, and the first device has at least a display screen, including:
[0038] Display a first information image;
[0039] When receiving a prompt message sent by the second device for requesting the next information, display a second information image, where the prompt message indicates that: after the second device collects and analyzes an image through its own front image acquisition component, the information contained in the first information image is obtained.
[0040] Optionally, the first device further has a front image acquisition component, and the method further includes:
[0041] Acquiring the image displayed by the second device by using its own front image acquisition component;
[0042] Analyzing the acquired image to obtain the information transmitted by the second device;
[0043] When the information transmitted by the second device obtained by parsing is repeated, sending a prompt message for requesting the next information to the second device.
[0044] Optionally, before displaying the first information image, it further includes:
[0045] Establishing a communication channel between the first device and the second device according to the communication channel establishment method described in the first aspect of the embodiment.
[0046] Optionally, in the case that both the first device and the second device have communication components supporting the target communication protocol, displaying the first information image includes:
[0047] Displaying a first information image for describing connection assistance information, where the connection assistance information is for the second device to connect to the first device based on the target communication protocol.
[0048] Optionally, in the case that both the first device and the second device support the offline payment protocol, displaying the first information image includes:
[0049] Displaying an offline payment image for describing the offline payment permission file of the first device, where the offline payment permission file is for the second device to transfer virtual currency.
[0050] Optionally, displaying the first information image includes:
[0051] Repeatedly displaying the first information image, or
[0052] Repeatedly displaying a fourth image sequence, where the fourth image sequence includes a plurality of consecutive synchronous images and the first information image, and the display time period of a single frame image in the fourth image sequence includes a screen-on time period and a screen-off time period;
[0053] Displaying the second information image includes:
[0054] Repeatedly displaying the second information image, or
[0055] The fifth image sequence is repeatedly displayed, where the fifth image sequence includes a continuous plurality of synchronized images and the second information image, and the display time period of a single-frame image in the fifth image sequence includes a screen-on time period and a screen-off time period.
[0056] Optionally,
[0057] At least one of the first information image and the second information image is a pattern of a target encoding type.
[0058] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory. The processor executes the computer program to implement the communication channel establishment method described in the first aspect of the embodiment, or the information transmission method described in the second aspect of the embodiment.
[0059] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program / instructions are stored. When the computer program / instructions are executed by a processor, the communication channel establishment method described in the first aspect of the embodiment, or the information transmission method described in the second aspect of the embodiment is implemented.
[0060] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program / instructions. When the computer program / instructions are executed by a processor, the communication channel establishment method described in the first aspect of the embodiment, or the information transmission method described in the second aspect of the embodiment is implemented.
[0061] Advantageous effects:
[0062] During the process of establishing a channel by the channel establishment method of the present application, the first device displays an image containing the device ID of the first device itself, uses its own front image acquisition component to collect and analyze the image displayed by the second device, and when the device ID of the second device is parsed, displays an image containing at least the device ID of the second device, indicating that the first device has recognized the second device. Then, it continues to use its own front image acquisition component to collect and analyze the image displayed by the second device. When the device ID of the first device is obtained by parsing the image collected from the second device, it indicates that the second device has also recognized the first device, and it is determined that the communication channel between the first device and the second device is successfully established.
[0063] Because when two devices establish communication, the display screens of the two devices need to face each other to display patterns to the opposite side and use their own front image acquisition components to collect the patterns displayed by the opposite side. Therefore, a short-range communication channel can be established more securely. When the mobile phone is placed in a backpack or pocket, the mobile phone screen is blocked and cannot establish a communication channel with other devices, reducing the possibility of the mobile phone being stolen and swiped.
[0064] During the process of transmitting information by the information transmission method of the present application, the first device uses its own display screen to display the first information image for the second device to collect and analyze. When the first device receives a prompt message sent by the second device for requesting the next information, the second information image is displayed. The prompt message indicates that after the second device collects and analyzes an image through its own front image collection component, the information contained in the first information image is obtained.
[0065] During the process of information transmission, in order to facilitate the opposite end to collect the first information image displayed on its own display screen to achieve information transmission, the display screens of the two devices still need to face each other. Therefore, if the devices are installed in a backpack or pocket, information transmission cannot be carried out, which can improve the security of information transmission and prevent information from being stolen by others. At the same time, on the premise that the second device has received the information represented by the first information image, the first device replaces the second information image, which can enhance the accuracy of the opposite end receiving information and avoid missing information. Brief Description of the Drawings
[0066] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0067] Figure 1 It is a flowchart of the steps of a communication channel establishment method proposed by an embodiment of the present application;
[0068] Figure 2 It is a flowchart of the steps of an information transmission method proposed by an embodiment of the present application;
[0069] Figure 3 It is a flowchart of establishing a communication channel between a first device and a second device proposed by an embodiment of the present application;
[0070] Figure 4 It is a flowchart of information transmission between a first device and a second device proposed by an embodiment of the present application;
[0071] Figure 5 It is a functional module diagram of a communication channel establishment device proposed by an embodiment of the present application;
[0072] Figure 6 It is a functional module diagram of an information transmission device proposed by an embodiment of the present application. Detailed Embodiments
[0073] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present application without creative efforts shall fall within the protection scope of the present application.
[0074] To reduce the insecurity existing in short-distance communication, the present application establishes a communication channel more securely based on visible light communication technology. Visible light communication is a new type of optical wireless communication technology based on visible light (400 THz - 790 THz). Due to its LoS (Line of Sight) characteristics, visible light communication can provide a short-distance, secure, and interference-free wireless link. Compared with traditional radio frequency communication, visible light wireless communication does not require spectrum application and can also avoid electromagnetic interference.
[0075] Referring to Figure 1 , a flowchart of steps of a method for establishing a communication channel in an embodiment of the present invention is shown, which is applied to a first device. The first device has a display screen and a front image acquisition component. The method may specifically include the following steps:
[0076] S101: Display an image containing the device ID of the first device.
[0077] During the process of establishing a communication channel, an image of its own device ID is displayed on the display screen of the first device for the front image acquisition component of the second device to acquire. Among them, the image containing the device ID of the first device may be an image containing the device ID itself, and the device ID of the first device can be obtained by performing text recognition on the acquired image; the image containing the device ID of the first device may also be a pattern obtained by encoding the device ID of the first device, and the device ID of the first device can be obtained by decoding the acquired pattern.
[0078] S102: Use its own front image acquisition component to acquire the image displayed by the second device.
[0079] The first device and the second device include a mobile phone or a tablet computer. The second device also has a display screen and a front image acquisition component. During the process of establishing a communication channel, an image containing the device ID of the first device is displayed on the display screen of the first device for the front image acquisition component of the second device to acquire. Since the two devices need to display patterns on the display screen and use their own front image acquisition components to acquire the patterns displayed by the opposite end, the two devices need to keep the display screens facing each other.
[0080] The forms of the images displayed by the first device and the second device are not limited, including combinations of different types of patterns and different display durations, combinations of different types of patterns and different display brightnesses, and combinations of different types of patterns, display durations, and brightnesses. Multiple combination forms can convey more information, where the pattern is a pattern of the target encoding type, and the patterns of the target encoding type include types such as two-dimensional codes, barcodes, and Hanxin codes.
[0081] The image containing the device ID of the first device displayed by the first device can be custom-set by the first device. In one implementation, the form of the image used to display the device ID of the first device can be randomly displayed within the range of custom settings. For example: The form of the image used to display the device ID of the first device during the establishment of the current communication channel can be different from the image displayed during the next establishment of the communication channel. For example, in this image, the device ID of the first device is displayed in the form of a two-dimensional code encoding type pattern, and in the next time, the device ID of the first device can be displayed through a barcode encoding type pattern.
[0082] The front image acquisition component of the first device includes its own front camera or the fingerprint module under the screen of the display screen (including a touch display screen with touch function). When the fingerprint module under the screen is used for image acquisition, the display screen of the first device can be attached to the display screen of the second device, or the distance between the display screen of the first device and the display screen of the second device is less than the redundant distance threshold, where the redundant distance threshold is determined according to the acquisition range of the fingerprint module under the screen of the display screen.
[0083] S103: Analyze the acquired image. When the device ID of the second device is parsed, display an image at least containing the device ID of the second device, and continue to use its own front image acquisition component to acquire the image displayed by the second device.
[0084] In the actual implementation process, step S101 can be executed when the device ID of the second device is parsed, that is, after the first device parses the device ID of the second device, display a pattern containing its own device ID.
[0085] In the embodiments of the present application, the display timing of the first device displaying an image containing its own device ID is not limited. The display timing can be before or after the execution of step S102, or the display timing is: the moment when the device ID of the second device is parsed.
[0086] In specific implementation, the display form of the image used to represent the device ID of the second device on the second device is also not restricted. Moreover, during the process of establishing a communication channel once, the formats of the images used to represent their own device IDs displayed by the first device and the second device can be different. For example, during the process of establishing this communication channel, the first device uses an image of a two-dimensional code encoding type pattern to display the device ID of the first device. The second device can be the same as the first device or use an image of a bar code encoding type pattern to display the device ID of the second device, as long as the first device can parse the device ID of the second device based on the captured image.
[0087] During the process of establishing a communication channel, the first device and the second device first display images containing their own device IDs. The front image acquisition element of the first device acquires and parses the image containing the device ID of the second device displayed on the second device. When the first device obtains the device ID of the second device after parsing the captured image, it indicates that the first device has recognized the second device. At this time, the image containing the device ID of the first device displayed by itself is replaced with an image containing the device ID of the second device. Among them, the image containing the device ID of the second device displayed by the first device can be an image only containing the device ID of the second device, or an image containing both the device ID of the first device and the device ID of the second device. The form of the image containing the device ID of the second device displayed by the first device is similar to the form of the image containing the device ID of the first device described above. During the process of establishing a communication channel once, the encoding types of the patterns in the two images can be the same or different.
[0088] When the first device displays the image containing the device ID of the second device, it indicates that the first device has recognized the second device. However, in the specific implementation process, the processes of processing information by the two devices may not be synchronized. Therefore, the first device needs to continue to capture the pattern displayed by the second device and wait for the second device to recognize the first device.
[0089] S104: Parse the captured image. When the device ID of the first device is parsed, it is determined that the communication channel between the first device and the second device is successfully established.
[0090] The process of acquisition and parsing by the second device is the same as that of the first device. However, the process of the first device acquiring and parsing the pattern displayed on the second device can be asynchronous with the process of the second device acquiring and parsing the pattern displayed on the first device.
[0091] After the second device uses its own front image acquisition component to collect and analyze the pattern containing the device ID of the first device and obtains the device ID of the first device, the second device will also display an image containing the device ID of the first device, indicating that the second device has recognized the first device; when the first device continuously collects and analyzes and parses the content represented by the pattern displayed on the display screen of the second device as the device ID of the first device itself, it means that both devices have recognized each other, so the communication channel is successfully established, and the process of collecting and analyzing can be stopped.
[0092] The communication channel established by this method can be a full-duplex communication, and continuous information transmission can be carried out through the established communication channel.
[0093] In the method for establishing the communication channel of this application, because the two devices need to face each other's display screens during the communication establishment process to display patterns to the opposite end and use their own front image acquisition components to collect the patterns displayed by the opposite end, a short-distance communication channel can be established more securely. When the mobile phone is placed in a backpack or pocket, the mobile phone screen is blocked and cannot establish a communication channel with other devices, reducing the possibility of the mobile phone being stolen and swiped.
[0094] In a feasible implementation manner, the method for establishing this communication channel may further include the following steps:
[0095] S201: Trigger the communication channel establishment mode.
[0096] In one implementation manner, the method for the first device or the second device to trigger the communication channel establishment mode may be to trigger the communication channel establishment mode when it is detected that the trigger button on the first device is pressed; the trigger button includes a physical button, a virtual button or a virtual gesture. For example, the user can trigger the communication channel mode by simultaneously pressing the power button and the volume button through custom settings, or can also trigger the communication channel mode by opening the virtual button for establishing the communication channel displayed on the display screen, or can also trigger the communication channel mode through a custom virtual gesture, such as three fingers simultaneously touching the display screen and moving in one direction, or drawing a corresponding pattern on the display screen, etc. When using the trigger button method to start the communication channel establishment mode, the trigger methods of the first device and the second device can be different.
[0097] In another implementation manner, when both the first device and the second device have sensing components, when the sensing component of the first device senses the sensing signal sent by the second device, the communication channel establishment mode is triggered; the sensing component is: a touch component provided on the display screen, and / or other sensing components provided in the first device.
[0098] Exemplarily, when the first device or the second device is configured with a touch element such as a touch display screen, when a touch signal in the area of its own touch display screen is detected, a communication channel establishment mode is triggered. The area touch signal refers to a touch signal generated in a local touch area or a full-screen touch area of the touch display screen.
[0099] For a touch display screen, another method to trigger the communication channel establishment mode can also be that if the suppliers of the touch display screens of two devices are the same manufacturer, or if the suppliers of the two touch display screens are not the same manufacturer but are configured with a communication protocol of a touch chip, when the touch display screens of the two devices are attached to each other or the distance between the two touch display screens is less than a threshold value, the touch display screens of both devices can sense the communication signal of the touch display screen of the opposite device, thereby triggering the communication channel establishment mode for both devices.
[0100] Exemplarily, when the first device or the second device is configured with other sensing elements, such as an inertial measurement unit (IMU: Inertial Measurement Unit), a mobile phone vibrator or other sensor devices, such as the flashlight and camera of a mobile phone, the communication channel establishment mode can also be triggered. For example, in specific implementation, two devices configured with an IMU approach or attach to each other, and the communication channel establishment mode is triggered by synchronously shaking the two devices. Or the screens of two mobile phones display a prompt light for indicating the establishment of a communication channel, and when the camera of the opposite device senses the prompt light, the communication channel establishment is triggered.
[0101] Triggering the communication channel establishment includes waking up the screen when the device is in the screen-off state, or entering the preparation stage of the communication channel establishment when the screen is on.
[0102] S202: Display an image containing the device ID of the first device, and use its own front image acquisition element to acquire the image displayed by the second device.
[0103] The display timing of the image containing the device ID of the first device in step S202 is not limited either. For specific descriptions, please refer to the previous text.
[0104] In one implementation, to avoid the opposite device not acquiring the image, the image containing its own device ID displayed on the first device or the second device is repeatedly displayed; the image containing its own device ID displayed on the first device or the second device can be a single-frame image, and each single-frame image consists of a screen-on and a screen-off. Exemplarily, the duration of a single-frame image is denoted as T1, the screen-on duration is T2, and the screen-off duration is T3, then T1 = T2 + T3, and a pattern containing valid information is displayed when the screen is on.
[0105] Taking the acquisition process of the front camera unit adjusted by the first device as an example, in order to enable the front camera component of the first device to capture effective information, it is necessary to adjust the exposure time of the front camera component of the first device. For example, adjust the exposure time of the in-screen fingerprint module or the front camera, so that at least one single-frame image is displayed on the opposite display screen during the exposure period of the front camera component of the first device.
[0106] When the device acquires the image displayed on the opposite side, in the initial stage, the exposure time of the front camera unit of the first device may have no intersection with the screen-on time of the image displayed by the second device. Therefore, there may be a situation where no image can be acquired. To avoid this situation, when acquiring the image on the opposite side, first use its own front camera component to sense the screen-on period of a single-frame image displayed by the second device; according to the sensing result, adjust the exposure period of its own front camera component to overlap with the screen-on period. For example, make most of the exposure time of its own front camera component fall within the screen-on period of the single-frame image displayed by the second device. After successfully adjusting the exposure period of the front camera component, then analyze the acquired image to obtain the information expressed by the image displayed on the opposite display screen.
[0107] The above is the process of adjusting the exposure time taking the front camera component of the first device as an example. The process of adjusting the exposure time of the front camera component of the second device is the same as that of the first device.
[0108] In another embodiment, the first device or the second device may also display an image sequence. Similarly, to avoid no image being acquired on the opposite side, the image sequence displayed on the first device or the second device can also be repeatedly displayed; the exposure time of the front camera component of the device can also be adjusted through the image sequence.
[0109] Taking the process of adjusting the front camera component of the first device as an example:
[0110] The single-frame image displayed by the second device is one of the consecutive multiple synchronous images in the first image sequence or an image containing the device ID of the second device. The display period of the single-frame image includes a screen-on period and a screen-off period. That is, the first image sequence may include N frame synchronous images and N frame second device ID images arranged in sequence. The role of the synchronous image is to allow the first device to adjust the exposure time of its own front acquisition component. The screen-on period of the synchronous image can display a full-white image with a calibrated brightness or a high-brightness image. The brightness of the high-brightness image is higher than the display brightness in the normal display mode. The synchronous image may not contain valid information and is only used for exposure synchronization. In other embodiments, the synchronous image may also contain other valid information.
[0111] When the first device captures the image displayed by the second device, it uses its own front image capture component to capture and analyze each single-frame image in the image sequence displayed by the second device. The first device first captures N synchronous images. When the synchronous image currently displayed by the second device is parsed, the bright screen time period of the next synchronous image is estimated; the exposure time period of its own front image capture component is adjusted to overlap with the bright screen time period of the next synchronous image.
[0112] Furthermore, through the N synchronous images, the first device can adjust the exposure time period of its own front image capture component, so that when the first device starts to capture N images of the second device ID, the exposure time period can achieve exposure synchronization with the bright screen time period of the image displayed by the second device.
[0113] S203: Analyze the captured image. When the device ID of the second device is parsed, display an image that at least includes the device ID of the second device, and continue to use its own front image capture component to capture the image displayed by the second device.
[0114] For this step, refer to step S103. And the image including the device ID of the second device displayed by the first device, or the image including the device ID of the first device displayed by the second device can be a repeatedly displayed single-frame image or a repeatedly displayed image sequence.
[0115] Taking the first device displaying an image that at least includes the device ID of the second device as an example: It can be to repeatedly display an image that at least includes the device ID of the second device, or to repeatedly display a third image sequence. The third image sequence includes a continuous plurality of synchronous images and an image that at least includes the device ID of the second device. The display time period of a single-frame image in the third image sequence includes a bright screen time period and a blank screen time period.
[0116] S204: Analyze the captured image. When the device ID of the first device is parsed, it is determined that the communication channel between the first device and the second device is successfully established.
[0117] For this step, refer to the foregoing step S104, which will not be elaborated here.
[0118] During the process of establishing the communication channel, the first device and the second device execute the same steps. When both devices sense the other end, the communication channel is successfully established, and information can be transmitted through the established communication channel.
[0119] In a feasible implementation manner, during the process of establishing a communication channel using this method, the display screens of the two devices can be relatively close to each other or in contact with each other in full screen, or on the premise that the front image acquisition element of itself can capture the image displayed on the opposite side, a part of the screen is relatively close to each other or in contact with each other. For example, when using the fingerprint module below the screen for acquisition, the screen area provided with the fingerprint module is relatively close to each other or in contact with each other.
[0120] In order to save display costs and improve privacy, full-screen display can be performed on the two devices at the initial stage of displaying the image. After determining the area that can be captured by the front image acquisition element of the opposite side, the position of the subsequent pattern display can be adjusted. Specifically, it includes the following steps:
[0121] A1: Display the same image in multiple display areas of its own display screen, and the image displayed in each display area carries the number of the display area where it is located;
[0122] A2: Receive the display area indication information sent by the second device, where the display area indication information includes the target number carried by the image captured by the second device;
[0123] A3: According to the number, determine that the display area of the image to be displayed subsequently by itself is the display area with the target number.
[0124] For example, multiple identical images or image sequences are displayed in multiple areas on the screen of the first device, and each image or image sequence carries the number of the display area. For example, 6 identical images or image sequences with display numbers 1-6 are displayed. After the second device collects and analyzes them, it determines that the number of the display area carried in the image is 4, and then sends the indication information with the display area number 4 to the first device; the display area indication information of the second device can be encoded in the image displayed by the second device. For example, the second device can encode the display area number 4 in all subsequent images it displays, or encode the display area number in a group of images for display. After the first device collects or analyzes the image displayed by the second device that contains the display area number, it displays the subsequent pattern in its own 4th display area. The subsequent displayed patterns include images that repeatedly display the device ID of the first device, images that repeatedly display the device ID of the second device, images that contain transmission information content after the channel is successfully established, and other images that contain prompt information (such as requesting the next information content); the processing on the second device side is the same as that of the first device and will not be elaborated here.
[0125] This application also provides an information transmission method. Refer to Figure 2, showing a step flowchart of an information transmission method provided by an embodiment of the present application. This information transmission method is applied to a first device, and the first device has at least a display screen. The method specifically includes the following steps:
[0126] S301: Display a first information image.
[0127] On the premise that a communication channel is established between the first device and the second device, the first device and the second device can perform information transmission. The method for the first device and the second device to establish a communication channel can be the communication channel establishment method proposed in the present application. In other embodiments, a channel established by other methods can also be used.
[0128] Taking the first device transmitting to the second device as an example, the display screen of the first device displays a first information image, and the second device uses its own front image acquisition component to collect the image on the display screen of the first device. Therefore, the first device and the second device need to face each other. If the front image acquisition components of both the first device and the second device are front cameras, the distance between the two screens of the first device and the second device is less than or equal to the calibrated distance. If at least one of the front image acquisitions of the first device and the second device is a fingerprint module below the screen, the distance between the display screen of the first device and the display screen of the second device is less than the redundancy distance threshold, where the redundancy distance threshold is determined according to the acquisition range of the fingerprint module below the screen of the display screen.
[0129] The first information image displayed by the first device can be a single-frame image of the repeatedly displayed first information image, or a fourth image sequence of repeated display. The fourth image sequence includes a continuous plurality of synchronous images and the first information image. The display time period of the single-frame image includes a bright screen time period and a screen-off time period; among them, the bright screen time period of the single-frame displayed first information image and the multiple frames of synchronous images in the image sequence are used to assist the peer to adjust the exposure time of its own front image acquisition unit. For specific details, refer to the process in step S202.
[0130] The bright screen time period of the first information image is used to represent valid transmission information. Different valid information can be displayed through the combination of the display duration, the patterns of different coding types displayed, and the display brightness of the bright screen time period of the first information image. The patterns of different coding types can be types such as two-dimensional codes, barcodes, and Han Xin codes.
[0131] In this method, the process or form of the second device displaying the information image is the same as that of the first device, and the information content represented by the information images of the first device and the second device is not limited. Exemplarily, the information content represented by the information image can be text, music, or even video.
[0132] In one embodiment, when both the first device and the second device have communication components supporting the target communication protocol, the first information image displayed may be a first information image for describing connection assistance information, and the connection assistance information is for the second device to connect to the first device based on the target communication protocol.
[0133] For example, the first device collects and analyzes the image displayed by the second device, determines the password of the peer's wifi, Bluetooth or personal hotspot, and can perform handshake and key transmission through the channel established by this method to quickly establish a high-level channel such as wifi or Bluetooth.
[0134] In another embodiment, when both the first device and the second device support the offline payment protocol, the first information image displayed may also be an offline payment image for describing the offline payment permission file of the first device. The offline payment permission file is for the second device to transfer virtual currency, and thus the communication channel established by this method can also realize the transfer of virtual currency between devices.
[0135] S302: When receiving a prompt message sent by the second device for requesting the next information, display a second information image. The prompt message indicates that after the second device collects and analyzes an image through its own front image acquisition component, the information contained in the first information image is obtained.
[0136] When the second device collects, analyzes and processes the first information image displayed by the first device, the first information image that is still repeatedly displayed is shown on the display screen of the first device at this time. In order for the second device to receive the next valid information, it can send a prompt message for requesting the next information to the first device.
[0137] In one embodiment, the prompt message for the next information may be a prompt image displayed on the display screen of the second device. During the process of the first device displaying the information image, it can also start its own configured front image acquisition component to collect the image on the second device. When the first device collects, analyzes and processes the prompt image of the second device, it displays the second information image on its own display screen.
[0138] The display form of the second information image is similar to that of the first information image. It may be to repeatedly display the second information image, or to repeatedly display a fifth image sequence. The fifth image sequence includes a continuous plurality of synchronous images and the second information image. The display time period of a single frame image in the fifth image sequence includes a screen-on time period and a screen-off time period. If both the first information image and the second information image are displayed in an image sequence composed of continuous synchronous images and information images, exposure synchronization is performed each time information is transmitted, thereby improving the acquisition efficiency.
[0139] In a feasible implementation manner, in this information transmission method, in addition to displaying an information image for the second device to receive information, the first device can also use its own front image acquisition component to acquire the information image displayed by the second device, parse the acquired image to obtain the information transmitted by the second device, and process the information; when the information transmitted by the second device obtained through parsing is repeated, a prompt message for requesting the next information is sent to the second device.
[0140] Consistent with the process of the second device prompting the first device to replace the image, the first device can display an image containing a prompt message for requesting the next information on the display screen. After the second device performs parsing and processing, the second device can replace it with the next image containing new information. When the first device parses that the second device has replaced the image, it continues to display the information image displayed last time for the second device to continue collecting, parsing, and processing until the first device parses and processes the image displayed by the second device containing the prompt message for requesting the next information. Then the first device replaces it with the next image containing new information. By repeating this process, data transmission between the first device and the second device can be achieved.
[0141] When the first device or the second device has completed the transmission, an image indicating that the information transmission is completed can be displayed. After the counterpart acquires, parses, and processes the image indicating that the information transmission is completed, it stops continuing to acquire; in this implementation manner, during the information transmission process, if the first device and the second device are moved away from each other, for example, the first device and the second device perform acquisition through an in-screen fingerprint module, but when the distance between the two devices exceeds the redundant distance threshold, the communication channel established between the first device and the second device can be disconnected, and the information transmission is terminated.
[0142] This application has at least the following beneficial effects:
[0143] 1. During the process of establishing the communication channel, based on the existing display screen and front image acquisition component of the device, in this application, because the two devices need to face each other with the display screen during the communication establishment process to display patterns to the counterpart and acquire the patterns displayed by the counterpart, a short-range communication channel can be established more securely. When the mobile phone is placed in a backpack or pocket, the mobile phone screen is blocked and cannot establish a communication channel with other devices, reducing the possibility of the mobile phone being stolen and swiped.
[0144] 2. During the information transmission process, in order to facilitate the transmission of the first information image displayed on its own display screen by the peer device, the display screens of the two devices still need to face each other. Therefore, if the devices are installed in a backpack or pocket, information transmission cannot be carried out, which can improve the security of information transmission and prevent information from being stolen by others. At the same time, on the premise that the second device has received the information expressed by the first information image, the first device can replace the second information image, which can enhance the accuracy of the peer device receiving information and avoid information omission.
[0145] 3. The display form of the image can be various combinations, so that more information can be transmitted.
[0146] 4. The position of the subsequent pattern display can be determined according to the range that can be collected by the front image acquisition component of the peer device, which has the effects of reducing the display cost and improving privacy.
[0147] 5. The established communication channel can be applied in different scenarios, including assisting in establishing an advanced channel and digital currency payment.
[0148] The following uses a specific example to illustrate the technical solution of the embodiment of the present application.
[0149] In one implementation, this method is applied to Mobile Phone 1 and Mobile Phone 2. Both Mobile Phone 1 and Mobile Phone 2 are mobile phones equipped with touch display screens, and both mobile phones are equipped with under-screen fingerprint modules. The process of establishing a communication channel and information transmission between Mobile Phone 1 and Mobile Phone 2 is as follows:
[0150] Refer to Figure 3 , which shows a flowchart of establishing a communication channel between Mobile Phone 1 and Mobile Phone 2. Figure 3 The process of Mobile Phone 1 in establishing a communication channel is mainly reflected, and the process of Mobile Phone 2 is the same as that of Mobile Phone 1.
[0151] As Figure 3, first, press the screens of mobile phone one and mobile phone two closely together. After mobile phone one triggers the establishment of a communication channel mode, light up the display screen. Then, display the first device ID image and start the under-screen fingerprint module to collect N frames of synchronous images for exposure synchronization. In the case where the exposure is not synchronized and the exposure synchronization times out, if it times out, prompt the image information of the establishment failure and end. If the exposure is not synchronized but does not time out, continue to execute the exposure synchronization process until the exposure time is adjusted to exposure synchronization. After successful exposure synchronization, read the image of the second device. If the image of the second device is parsed as the device ID of the second device, display an image containing the device ID of the first device and the device ID of the second device on its own screen, and continue with exposure synchronization and collection. If the image of the second device parsed does not represent the device ID of the second device, but represents the device ID of the first device and the device ID of the second device, it indicates that the first device has recognized the second device, and the under-screen fingerprint module stops collecting and waits for mobile phone two to recognize mobile phone one and establish a communication channel. If the image of the second device parsed does not represent the device ID of the second device, nor does it represent the device ID of the first device and the device ID of the second device, continue with exposure synchronization and collection. At this time, it means that there is a problem with the image displayed on mobile phone two, and mobile phone one can display a prompt image to make mobile phone two display the second device ID image.
[0152] Refer to Figure 4 , which shows a flowchart of information transmission between mobile phone one and mobile phone two, Figure 4 which highlights the process of mobile phone one during data transmission. The process of mobile phone two is the same as that of mobile phone one.
[0153] For example Figure 4 , assume that now mobile phone two transmits information to mobile phone one. Mobile phone one is the receiving end and mobile phone two is the sending end. First, keep the touch display screens of the two mobile phones still in contact. Mobile phone one collects the image displayed by mobile phone two. The image displayed by mobile phone two includes N frames of synchronous images and N frames of information images. Mobile phone one performs exposure synchronization for the N frames of synchronous images, then reads the N frames of information images and decodes them. After decoding, determine whether it is a repeatedly parsed image. If not, it indicates that this image is an image containing new information. According to the information obtained after parsing, process the information, and then continue with exposure synchronization and collection. If it is determined to be a repeatedly parsed image after decoding, it means that the information represented by this image has been processed, and continue with exposure synchronization and collection. Mobile phone one can also change from the receiving end to the sending end after repeatedly parsing an image or after processing the information, and display an image containing a prompt message requesting the next piece of information, so that mobile phone two displays an image containing the next new piece of information to transmit new information data, and then change from the sending end to the receiving end, and continue to expose and parse the image of mobile phone two until the transmission process ends.
[0154] Refer toFigure 5 , showing a functional module diagram of a communication channel establishment device provided by an embodiment of the present application. The communication channel establishment device includes:
[0155] A first display module 101, configured to display an image containing the device ID of the first device;
[0156] An acquisition module 102, configured to acquire the image displayed by the second device by using its own front image acquisition element;
[0157] An analysis module 103, configured to analyze the acquired image. When the device ID of the second device is analyzed, it displays an image containing at least the device ID of the second device, and continues to acquire the image displayed by the second device by using its own front image acquisition element;
[0158] A channel establishment module 104, configured to analyze the acquired image. When the device ID of the first device is analyzed, it determines that the communication channel between the first device and the second device is successfully established.
[0159] Optionally, the device further includes:
[0160] A screen-on time period sensing module, configured to sense the screen-on time period of a single-frame image repeatedly displayed by the second device by using its own front image acquisition element;
[0161] An adjustment module, configured to adjust the exposure time period of its own front image acquisition element to have an overlapping time period with the screen-on time period according to the sensing result;
[0162] The analysis module includes:
[0163] A first analysis unit, configured to analyze the image acquired by its own front image acquisition element after adjusting the exposure time period.
[0164] Optionally, the device further includes:
[0165] A first trigger module, configured to trigger the communication channel establishment mode when it detects that the trigger button on the first device is pressed;
[0166] A second trigger module, configured to trigger the communication channel establishment mode when the sensing element of the first device senses the sensing signal sent by the second device in the case that both the first device and the second device have sensing elements. The sensing element is: a touch control element provided on the display screen, and / or, other sensing elements provided in the first device.
[0167] Optionally, the single-frame image displayed by the second device is one of the consecutive multiple synchronous images in the first image sequence or an image containing the device ID of the second device, and the display time period of the single-frame image includes a screen-on time period and a screen-off time period;
[0168] The screen-on time period sensing module includes:
[0169] A first sensing unit, configured to collect and analyze each single-frame image in the first image sequence repeatedly displayed by the second device by using its own front image acquisition component;
[0170] The adjustment module includes:
[0171] A first adjustment unit, configured to estimate the screen-on time period of the next synchronous image when it is parsed that the single-frame image displayed by the second device is a synchronous image;
[0172] A second adjustment unit, configured to adjust the exposure time period of its own front image acquisition component to have an overlapping time period with the screen-on time period of the next synchronous image.
[0173] Optionally, the first display module includes:
[0174] A first repeating unit, configured to repeatedly display an image containing the device ID of the first device, or repeatedly display a second image sequence, where the second image sequence includes consecutive multiple synchronous images and an image containing the device ID of the first device, and the display time period of a single-frame image in the second image sequence includes a screen-on time period and a screen-off time period;
[0175] The parsing module further includes:
[0176] A second repeating unit, configured to repeatedly display an image containing at least the device ID of the second device, or repeatedly display a third image sequence, where the third image sequence includes consecutive multiple synchronous images and an image containing at least the device ID of the second device, and the display time period of a single-frame image in the third image sequence includes a screen-on time period and a screen-off time period.
[0177] Optionally, the first display module includes:
[0178] A first display unit, configured to display the same image in multiple display areas of its own display screen, and the image displayed on each display area carries the number of the display area where it is located;
[0179] A first processing unit, configured to receive the display area indication information sent by the second device, where the display area indication information includes the target number carried by the image collected by the second device;
[0180] A second display unit, configured to determine, according to the number, that a display area of an image to be displayed subsequently by itself is a display area of the target number.
[0181] Referring to Figure 6 , a functional module diagram of an information transmission device provided by an embodiment of the present application is shown. The information transmission device includes:
[0182] A second display module 201, configured to display a first information image;
[0183] A third display module 202, configured to display a second information image when receiving a prompt message sent by the second device for requesting the next information, where the prompt message indicates that: after the second device collects and analyzes an image through its own front image acquisition component, the information included in the first information image is obtained.
[0184] Optionally, the first device further has a front image acquisition component, and the device further includes:
[0185] A second acquisition module, configured to collect an image displayed by the second device by using its own front image acquisition component;
[0186] A second analysis module, configured to analyze the collected image to obtain the information transmitted by the second device;
[0187] A prompt module, configured to send a prompt message for requesting the next information to the second device when the information transmitted by the second device obtained through analysis is repeated.
[0188] Optionally, the device further includes:
[0189] A communication channel establishment module, configured to establish a communication channel between the first device and the second device by using the communication channel establishment method in the present application.
[0190] Optionally, when both the first device and the second device have communication components supporting a target communication protocol, the second display module includes:
[0191] A connection auxiliary information display unit, configured to display a first information image for describing connection auxiliary information, where the connection auxiliary information is used for the second device to connect to the first device based on the target communication protocol.
[0192] Optionally, when both the first device and the second device support an offline payment protocol, the second display module includes:
[0193] An offline payment image display unit for displaying an offline payment image for describing an offline payment permission file of the first device, where the offline payment permission file is used for the second device to transfer virtual currency.
[0194] Optionally, the second display module includes:
[0195] A third repeating unit for repeatedly displaying the first information image, or repeatedly displaying a fourth image sequence, where the fourth image sequence includes a plurality of consecutive synchronous images and the first information image, and the display time period of a single-frame image in the fourth image sequence includes a screen-on time period and a screen-off time period.
[0196] The third display module includes:
[0197] A fourth repeating unit for repeatedly displaying the second information image, or repeatedly displaying a fifth image sequence, where the fifth image sequence includes a plurality of consecutive synchronous images and the second information image, and the display time period of a single-frame image in the fifth image sequence includes a screen-on time period and a screen-off time period.
[0198] An embodiment of the present application further provides an electronic device, including a memory, a processor, and a computer program stored on the memory, where the processor executes the computer program to implement the communication channel establishment method described in the embodiment, or the information transmission method described in the embodiment.
[0199] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program / instructions are stored, and when the computer program / instructions are executed by a processor, the communication channel establishment method described in the embodiment, or the information transmission method described in the embodiment is implemented.
[0200] An embodiment of the present application further provides a computer program product, including a computer program / instructions, and when the computer program / instructions are executed by a processor, the communication channel establishment method described in the embodiment, or the information transmission method described in the embodiment is implemented.
[0201] Each embodiment in this specification is described in a progressive manner. The key point of each embodiment is to illustrate the differences from other embodiments. The same or similar parts among the embodiments can be referred to each other.
[0202] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a device, or a computer program product. Therefore, the embodiments of the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the embodiments of the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program codes.
[0203] Embodiments of the present application are described with reference to the flowcharts and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, and the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal devices generate a device for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.
[0204] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including an instruction device, and the instruction device implements the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.
[0205] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable terminal device provide steps for implementing the functions specified in one process Figure 1 one process or multiple processes and / or blocks Figure 1 or multiple blocks.
[0206] Although the preferred embodiments of the embodiments of the present application have been described, those skilled in the art can make additional changes and modifications to these embodiments once they know the basic creative concepts. Therefore, the appended claims are intended to be construed to include the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0207] Finally, it should also be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or terminal device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or terminal device. Without further limitation, an element defined by the statement "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising the element.
[0208] In this article, specific examples are used to elaborate on the principles and implementation manners of the present application. The descriptions of the above embodiments are only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manners and application scopes. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. An information transmission method, characterized in that, applied to a first device, the first device having at least a display screen, comprising: displaying a first information image; when receiving a prompt message sent by the second device for requesting the next information, displaying a second information image, where the prompt message indicates that: after the second device collects and analyzes an image through its own front image acquisition component, the information contained in the first information image is obtained.
2. The method according to claim 1, characterized in that, the first device further has a front image acquisition component, and the method further comprises: using its own front image acquisition component to collect the image displayed by the second device; analyzing the collected image to obtain the information transmitted by the second device; when the information transmitted by the second device obtained through analysis is repeated, sending a prompt message for requesting the next information to the second device.
3. The method according to claim 1 or 2, characterized in that, before displaying the first information image, further comprising: establishing a communication channel between the first device and the second device.
4. The method according to any one of claims 1-3, characterized in that, when both the first device and the second device have communication components supporting a target communication protocol, displaying the first information image includes: displaying a first information image for describing connection assistance information, where the connection assistance information is for the second device to connect to the first device based on the target communication protocol.
5. The method according to any one of claims 1-3, characterized in that, when both the first device and the second device support an offline payment protocol, displaying the first information image includes: displaying an offline payment image for describing the offline payment permission file of the first device, where the offline payment permission file is for the second device to conduct virtual currency transfer.
6. The method according to any one of claims 1-5, characterized in that, displaying the first information image includes: repeatedly displaying the first information image, or repeatedly displaying a fourth image sequence, the fourth image sequence including a plurality of consecutive synchronous images and the first information image, and the display time period of a single-frame image in the fourth image sequence includes a screen-on time period and a screen-off time period; displaying the second information image includes: repeatedly displaying the second information image, or repeatedly displaying a fifth image sequence, the fifth image sequence including a plurality of consecutive synchronous images and the second information image, and the display time period of a single-frame image in the fifth image sequence includes a screen-on time period and a screen-off time period.
7. The method according to any one of claims 1-6, characterized in that, at least one of the first information image and the second information image is a pattern of a target coding type.
8. The method according to claim 3, characterized in that, the first device further has a front image acquisition component, and establishing a communication channel between the first device and the second device includes: displaying an image containing the device ID of the first device; using its own front image acquisition component to collect the image displayed by the second device; Parse the captured image. When the device ID of the second device is parsed, display an image that at least includes the device ID of the second device, and continue to use the front image capture component of itself to capture the image displayed by the second device; Parse the captured image. When the device ID of the first device is parsed, determine that the communication channel between the first device and the second device is successfully established.
9. The method according to claim 8, wherein, before parsing the captured image, further include: Use the front image capture component of itself to sense the lit screen time period of the single-frame image repeatedly displayed by the second device; According to the sensing result, adjust the exposure time period of the front image capture component of itself to have an overlapping time period with the lit screen time period; Parsing the captured image includes: Parse the image captured by the front image capture component of itself after adjusting the exposure time period.
10. The method according to claim 8, wherein, before displaying the first device ID image, further include: When it is detected that the trigger button on the first device is pressed, trigger the communication channel establishment mode; or, When both the first device and the second device have sensing components, when the sensing component of the first device senses the sensing signal sent by the second device, trigger the communication channel establishment mode, and the sensing component is: a touch control component provided on the display screen, and / or, other sensing components provided in the first device.
11. The method according to claim 8, wherein, Displaying an image that includes the device ID of the first device includes: Repeatedly display an image that includes the device ID of the first device, or Repeatedly display a second image sequence, the second image sequence includes a continuous plurality of synchronous images and an image that includes the device ID of the first device, and the display time period of a single-frame image in the second image sequence includes a lit screen time period and a screen-off time period; Displaying an image that at least includes the device ID of the second device includes: Repeatedly display an image that at least includes the device ID of the second device, or Repeatedly display a third image sequence, the third image sequence includes a continuous plurality of synchronous images and an image that at least includes the device ID of the second device, and the display time period of a single-frame image in the third image sequence includes a lit screen time period and a screen-off time period.
12. The method according to any one of claims 8-11, wherein, The front image capture component is a fingerprint module provided under the display screen.
13. An electronic device, including a memory, a processor, and a computer program stored on the memory, wherein, The processor executes the computer program to implement the information transmission method according to any one of claims 1-12.
14. A computer-readable storage medium, on which a computer program / instruction is stored, wherein, When the computer program / instruction is executed by the processor, it implements the information transmission method according to any one of claims 1-12.
15. A computer program product comprising computer programs / instructions, characterized in that, when the computer programs / instructions are executed by a processor, the information transmission method according to any one of claims 1-12 is implemented.