Short-distance communication method and electronic device

By using different colored areas on the display screen to hide information transmission, the problem of the display screen directly affecting the aesthetics is solved, a balance between information transmission and aesthetics is achieved, and the user experience is improved.

WO2026061057A1PCT designated stage Publication Date: 2026-03-26HUAWEI TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2025-06-28
Publication Date
2026-03-26

AI Technical Summary

Technical Problem

Displaying the message to be sent directly on the screen affects the aesthetics and leads to a decline in user experience.

Method used

By continuously displaying N frames of images on the screen, and using different colored areas to hide the information to be sent, the user is able to be unaware of the difference, thus achieving information transmission.

Benefits of technology

While maintaining visual appeal, it also enables information transmission and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025105120_26032026_PF_FP_ABST
    Figure CN2025105120_26032026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the field of communications, and provides a short-distance communication method and an electronic device. Information to be sent of a display screen can be concealed in a picture displayed by the display screen, thereby improving the aesthetics of pictures, and thus improving the user experience. In the method, a display screen displays a plurality of image frames. An i-th image frame among the plurality of image frames comprises M first regions and P second regions; a j-th image frame among the plurality of image frames comprises R third regions and P fourth regions; and the time interval between the j-th image frame and the i-th image frame is greater than or equal to 1 / f, and f is the frame rate of the plurality of image frames. In addition, in order to carry information to be sent, the P second regions have one-to-one correspondence to the P fourth regions, the colors of the second regions are different from the colors of the fourth regions corresponding to the second regions, and the P second regions and the P fourth regions are associated with said information. In order to improve the aesthetics of pictures, the colors of the first regions are different from the colors of the surrounding regions of the first regions, the colors of the third regions are different from the colors of the surrounding regions of the third regions, and the sizes of the fourth regions are less than or equal to a first value.
Need to check novelty before this filing date? Find Prior Art

Description

Short-distance communication method and electronic device

[0001] The present application claims priority to the Chinese patent application No. 202411333907.X, filed on September 23, 2024, and entitled "Short-distance communication method and electronic device", the entire contents of which are incorporated herein by reference. TECHNICAL FIELD

[0002] The present application relates to the field of communication, and in particular to a short-distance communication method and an electronic device. BACKGROUND

[0003] With the development of electronic technology and application technology, electronic devices have more and more functions. For example, an electronic device with a display function (referred to as a display screen) can "send" information to an electronic device with a camera function (referred to as a camera device). Specifically, the display screen can display a quick response code (QR code) or a personal identification number (PIN) as the information to be sent, and the camera device can capture the screen of the display screen and extract the information to be sent to achieve interaction with the display screen. However, the display screen directly displays the information to be sent, which affects the aesthetics of the screen displayed by the display screen, and further affects the user experience. SUMMARY

[0004] The present application provides a short-distance communication method and an electronic device, which can hide the information to be sent by the display screen in the screen displayed by the display screen, improve the aesthetics of the screen, and further improve the user experience.

[0005] To achieve the above-mentioned purpose, the present application adopts the following technical solutions:

[0006] In a first aspect, a short-distance communication method is provided, which can be applied to a first device, such as being executed by the first device. Here, the first device can refer to a first device, or a processor, circuit, module, logic node, chip, or chip system in the first device that implements the method. It can be understood that the above-mentioned first device has a display function. For example, the first device is a display screen, a mobile phone, a tablet, a notebook computer, or a desktop computer, etc.

[0007] The method comprises: obtaining to-be-sent information, and continuously displaying N frames of images. N is an integer greater than 1, the i th frame of image in the N frames of images comprises M first regions and P second regions, the j th frame of image in the N frames of images comprises R third regions and P fourth regions, i is an integer greater than or equal to 1 and less than N, j is an integer greater than i and less than N+1, M, P and R are all positive integers greater than 1. The first region is different in color from a surrounding region of the first region, the third region is different in color from a surrounding region of the third region, the P second regions correspond to the P fourth regions one by one, the second region is different in color from the fourth region corresponding to the second region, and the fourth region has a size less than or equal to a first value. A time interval between the j th frame of image and the i th frame of image is greater than or equal to 1 / f, and f is a frame rate of the N frames of images. The P second regions and the P fourth regions are associated with the to-be-sent information.

[0008] It can be understood that the first region is different in color from the surrounding region of the first region, so that the i th frame of image has relatively rich colors and the aesthetic sense of the i th frame of image is improved. The third region is different in color from the surrounding region of the third region, so that the j th frame of image has relatively rich colors and the aesthetic sense of the j th frame of image is improved.

[0009] It can be understood that the P second regions and the P fourth regions are associated with the to-be-sent information, so that a device for shooting the N frames of images, such as a second device, analyzes the P second regions and the P fourth regions to obtain the to-be-sent information, thereby realizing communication between a first device and the second device.

[0010] It can be understood that the time interval between the j th frame of image and the i th frame of image is greater than or equal to 1 / f, so that the j th frame of image is different from the i th frame of image, for example, the second region is different in color from the fourth region corresponding to the second region.

[0011] It can be understood that the size of the fourth region is less than or equal to the first value, so that the fourth region is not too large and the user is less likely to perceive the difference between the second region and the fourth region.

[0012] Therefore, based on the method provided in the first aspect, the first device can transmit the to-be-sent information to the second device while ensuring the aesthetic sense of the N frames of images, and the to-be-sent information can be hidden in the second region and the fourth region, thereby improving the user experience.

[0013] In a possible implementation manner, f is less than or equal to a first frequency, and the first frequency is a frequency at which the user cannot perceive the difference between the second region and the fourth region corresponding to the second region.

[0014] Based on the possible implementation manner above, since the size of the fourth region is less than or equal to the first value, the user can not easily perceive the difference between the second region and the fourth region when f is less than or equal to the first frequency. For example, the first value is a number greater than or equal to 1 and less than or equal to 10, and the unit of the first value is square centimeter.

[0015] In a possible implementation manner, the color difference includes one or more of the following: a difference in lightness, a difference in saturation, or a difference in hue.

[0016] Based on the possible implementation manner above, the first region and the surrounding region of the first region can be different in one or more of the following: lightness, saturation, or hue, thereby improving the aesthetic sense of the i-th frame image. Alternatively, the third region and the surrounding region of the third region can be different in one or more of the following: lightness, saturation, or hue, thereby improving the aesthetic sense of the j-th frame image. Alternatively, the P second regions and the P fourth regions can carry the information to be sent by modulating / altering at least one of the following: lightness, saturation, or hue of the second region.

[0017] In a possible implementation manner, the color difference between the first region and the surrounding region of the first region includes one or more of the following: an absolute value of a difference between the lightness of the first region and the lightness of the surrounding region of the first region is greater than or equal to a first lightness; or an absolute value of a difference between the saturation of the first region and the saturation of the surrounding region of the first region is greater than or equal to a first saturation; or an absolute value of a difference between the hue of the first region and the hue of the surrounding region of the first region is greater than or equal to a first hue; the color difference between the third region and the surrounding region of the third region includes one or more of the following: an absolute value of a difference between the lightness of the third region and the lightness of the surrounding region of the third region is greater than or equal to a second lightness; or an absolute value of a difference between the saturation of the third region and the saturation of the surrounding region of the third region is greater than or equal to a second saturation; or an absolute value of a difference between the hue of the third region and the hue of the surrounding region of the third region is greater than or equal to a second hue.

[0018] Based on the possible implementation manner above, the color contrast between the first region and the surrounding region of the first region can be high, and the color contrast between the third region and the surrounding region of the third region can be high. Therefore, the i-th frame image and the j-th frame image can be more colorful, the user can not easily perceive the difference between the second region and the fourth region, and the user experience can be improved.

[0019] In a possible implementation manner, part or all of the P fourth regions satisfy the following condition: the region within the first range from the fourth region includes at least one third region.

[0020] Based on the possible implementation manner above, part or all of the P fourth regions can be arranged near the third region, so that the user cannot easily perceive the difference between the second region and the fourth region.

[0021] In a possible implementation manner, P is greater than or equal to a third quantity.

[0022] Based on the possible implementation manner above, the information quantity carried by the P second regions and the P fourth regions can be guaranteed. The third quantity is an integer. For example, the third quantity is an integer greater than or equal to 10, such as 40.

[0023] In a possible implementation manner, the size of the first region is less than or equal to a second value, and M is greater than or equal to a first quantity.

[0024] Based on the possible implementation manner above, there are multiple regions with rich colors and small sizes in the i-th image to attract the attention of the user. On the one hand, the beauty of the i-th image can be improved, and on the other hand, the user cannot easily perceive the difference between the second region and the fourth region, thereby improving the user experience.

[0025] In a possible implementation manner, the size of the third region is less than or equal to a third value, and R is greater than or equal to a second quantity.

[0026] Based on the possible implementation manner above, there are multiple regions with rich colors and small sizes in the j-th image to attract the attention of the user. On the one hand, the beauty of the j-th image can be improved, and on the other hand, the user cannot easily perceive the difference between the second region and the fourth region, thereby improving the user experience.

[0027] In a possible implementation manner, the m-th first region in the M first regions and the r-th third region in the R third regions satisfy one or more of the following conditions: the size of the m-th first region is the same as the size of the r-th third region; or the position of the m-th first region in the i-th image is the same as the position of the r-th third region in the j-th image; or the brightness of the m-th first region is the same as the brightness of the r-th third region; or the saturation of the m-th first region is the same as the saturation of the r-th third region; or the hue of the m-th first region is the same as the hue of the r-th third region.

[0028] Based on the possible implementation manner above, the m-th first region in the M first regions and the r-th third region in the R third regions have an association relationship, or the m-th first region corresponds to the r-th third region, so that the transition from the i-th image to the j-th image is smoother and not conspicuous to the user.

[0029] In a possible implementation, the first value is related to a size of the third region.

[0030] Based on the possible implementation, the first value can be determined according to the size of the third region, so as to avoid the fourth region being too large than the third region, and thus the user is more likely to perceive the change between the second region and the fourth region.

[0031] In a possible implementation, the P second regions correspond to the P fourth regions in a one-to-one manner, and the second region and the fourth region corresponding to the second region satisfy one or more of the following conditions: the size of the second region is the same as the size of the fourth region corresponding to the second region; or, the position of the second region in the i-th frame of image is the same as the position of the fourth region corresponding to the second region in the j-th frame of image; or, the lightness of the second region is the same as the lightness of the fourth region corresponding to the second region; or, the saturation of the second region is the same as the saturation of the fourth region corresponding to the second region; or, the hue of the second region is the same as the hue of the fourth region corresponding to the second region.

[0032] Based on the possible implementation, the fourth region can be obtained by adjusting one or more of the size, position, lightness, saturation, or hue of the second region corresponding to the fourth region.

[0033] In a possible implementation, the second region is different in color from a surrounding region of the second region. Specifically, the second region is different in color from the surrounding region of the second region, including one or more of the following: the absolute value of the difference between the lightness of the second region and the lightness of the surrounding region of the second region is greater than or equal to a third lightness; or, the absolute value of the difference between the saturation of the second region and the saturation of the surrounding region of the second region is greater than or equal to a third saturation; or, the absolute value of the difference between the hue of the second region and the hue of the surrounding region of the second region is greater than or equal to a third hue.

[0034] Based on the possible implementation, the color contrast between the second region and the surrounding region of the second region can be high. Therefore, the color of the i-th frame of image can be more rich, and the user is less likely to perceive the difference between the second region and the fourth region, thereby improving the user experience.

[0035] In a possible implementation, the fourth region is different in color from a surrounding region of the fourth region. Specifically, the fourth region is different in color from the surrounding region of the fourth region, including one or more of the following: the absolute value of the difference between the lightness of the fourth region and the lightness of the surrounding region of the fourth region is greater than or equal to a fourth lightness; or, the absolute value of the difference between the saturation of the fourth region and the saturation of the surrounding region of the fourth region is greater than or equal to a fourth saturation; or, the absolute value of the difference between the hue of the fourth region and the hue of the surrounding region of the fourth region is greater than or equal to a fourth hue.

[0036] Based on the possible implementation manners above, the fourth region can have a high color contrast with its surrounding region. Thus, the jth frame image can have more colors, and the user can not easily perceive the difference between the second region and the fourth region, thereby improving the user experience.

[0037] In a second aspect, a kind of electronic equipment is provided for implementing the method provided in the first aspect above. The electronic equipment can be the first device in the first aspect above. The electronic equipment includes the module, unit or means corresponding to the above method, which can be implemented by hardware, software or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.

[0038] In a possible implementation manner, the electronic equipment can include a processing module. The processing module can be used to implement the processing functions in the first aspect above and any possible implementation manner thereof. The processing module can be, for example, a processor.

[0039] In a possible implementation manner, the electronic equipment can further include an interface module. The interface module can also be referred to as an interface unit, and is used to implement the sending and / or receiving functions in the first aspect above and any possible implementation manner thereof. The interface module can include an interface circuit, a transceiver, a transceiver or a communication interface.

[0040] In a possible implementation manner, the processing module is configured to obtain to-be-sent information. The processing module is further configured to display N frames of images successively. N is an integer greater than 1. The ith frame of image in the N frames includes M first regions and P second regions. The jth frame of image in the N frames includes R third regions and P fourth regions. i is an integer greater than 1 and less than N. j is an integer greater than i and less than N+1. M, P and R are all integers greater than 1. The first region has a color different from that of the surrounding region of the first region. The third region has a color different from that of the surrounding region of the third region. The P second regions correspond to the P fourth regions one by one. The second region has a color different from that of the corresponding fourth region. The fourth region has a size less than or equal to a first value. The time interval between the jth frame of image and the ith frame of image is greater than or equal to 1 / f. f is the frame rate of the N frames of images. The P second regions and the P fourth regions are associated with the to-be-sent information.

[0041] In a possible implementation manner, f is less than or equal to a first frequency, which is a frequency at which the user cannot perceive the difference between the second region and the corresponding fourth region of the second region.

[0042] In a possible implementation, the color difference between the first region and the surrounding region of the first region includes one or more of the following: an absolute value of a difference between the lightness of the first region and the lightness of the surrounding region of the first region is greater than or equal to a first lightness; or an absolute value of a difference between the saturation of the first region and the saturation of the surrounding region of the first region is greater than or equal to a first saturation; or an absolute value of a difference between the hue of the first region and the hue of the surrounding region of the first region is greater than or equal to a first hue; the color difference between the third region and the surrounding region of the third region includes one or more of the following: an absolute value of a difference between the lightness of the third region and the lightness of the surrounding region of the third region is greater than or equal to a second lightness; or an absolute value of a difference between the saturation of the third region and the saturation of the surrounding region of the third region is greater than or equal to a second saturation; or an absolute value of a difference between the hue of the third region and the hue of the surrounding region of the third region is greater than or equal to a second hue.

[0043] In a possible implementation, the color difference between the first region and the surrounding region of the first region includes one or more of the following: an absolute value of a difference between the lightness of the first region and the lightness of the surrounding region of the first region is greater than or equal to a first lightness; or an absolute value of a difference between the saturation of the first region and the saturation of the surrounding region of the first region is greater than or equal to a first saturation; or an absolute value of a difference between the hue of the first region and the hue of the surrounding region of the first region is greater than or equal to a first hue; the color difference between the third region and the surrounding region of the third region includes one or more of the following: an absolute value of a difference between the lightness of the third region and the lightness of the surrounding region of the third region is greater than or equal to a second lightness; or an absolute value of a difference between the saturation of the third region and the saturation of the surrounding region of the third region is greater than or equal to a second saturation; or an absolute value of a difference between the hue of the third region and the hue of the surrounding region of the third region is greater than or equal to a second hue.

[0044] In a possible implementation, part or all of the P fourth regions satisfy the following condition: the regions within the first range from the fourth region include at least one third region.

[0045] In a possible implementation, the P is greater than or equal to a third number.

[0046] In a possible implementation, the size of the first region is less than or equal to a second value, and the M is greater than or equal to a first number.

[0047] In a possible implementation, the size of the third region is less than or equal to a third value, and the R is greater than or equal to a second number.

[0048] In a possible implementation, the mth first region in the M first regions and the rth third region in the R third regions satisfy one or more of the following conditions: the size of the mth first region is the same as the size of the rth third region; or the position of the mth first region in the ith frame image is the same as the position of the rth third region in the jth frame image; or the lightness of the mth first region is the same as the lightness of the rth third region; or the saturation of the mth first region is the same as the saturation of the rth third region; or the hue of the mth first region is the same as the hue of the rth third region.

[0049] In a possible implementation, the first value is related to the size of the third region.

[0050] In a possible implementation, the P second regions correspond to the P fourth regions one by one, and the second region and the fourth region corresponding to the second region satisfy one or more of the following conditions: the size of the second region is the same as the size of the fourth region corresponding to the second region; or, the position of the second region in the i-th frame of image is the same as the position of the fourth region corresponding to the second region in the j-th frame of image; or, the lightness of the second region is the same as the lightness of the fourth region corresponding to the second region; or, the saturation of the second region is the same as the saturation of the fourth region corresponding to the second region; or, the hue of the second region is the same as the hue of the fourth region corresponding to the second region.

[0051] In a possible implementation, the second region is different in color from the surrounding region of the second region.

[0052] In a possible implementation, the second region is different in color from the surrounding region of the second region, and includes one or more of the following: the absolute value of the difference between the lightness of the second region and the lightness of the surrounding region of the second region is greater than or equal to a third lightness; or, the absolute value of the difference between the saturation of the second region and the saturation of the surrounding region of the second region is greater than or equal to a third saturation; or, the absolute value of the difference between the hue of the second region and the hue of the surrounding region of the second region is greater than or equal to a third hue.

[0053] In a possible implementation, the fourth region is different in color from the surrounding region of the fourth region.

[0054] In a possible implementation, the fourth region is different in color from the surrounding region of the fourth region, and includes one or more of the following: the absolute value of the difference between the lightness of the fourth region and the lightness of the surrounding region of the fourth region is greater than or equal to a fourth lightness; or, the absolute value of the difference between the saturation of the fourth region and the saturation of the surrounding region of the fourth region is greater than or equal to a fourth saturation; or, the absolute value of the difference between the hue of the fourth region and the hue of the surrounding region of the fourth region is greater than or equal to a fourth hue.

[0055] In a third aspect, an electronic device is provided, including a processor; the processor is configured to cause the electronic device to perform the method according to any one of the above aspects by executing a computer program (or computer executable instructions) stored in a memory and / or through a logic circuit. The electronic device can be the first device in the first aspect. Optionally, the number of processors can be one or more.

[0056] In a possible implementation, the electronic device further includes a memory.

[0057] In a possible implementation, the processor and the memory are integrated together; or the memory is independent of the processor.

[0058] In a possible implementation, the electronic device further includes a communication interface for the electronic device to communicate with other devices, such as transmitting or receiving data and / or signals. For example, the communication interface can be a transceiver, a circuit, a bus, a module, or other types of communication interfaces.

[0059] In a possible implementation, the electronic device is a chip or a chip system. Optionally, when the electronic device is a chip system, the electronic device can be composed of a chip or can include a chip and other discrete devices.

[0060] In a fourth aspect, an electronic device is provided, including a processor and an interface circuit; the interface circuit is configured to receive a computer program or instructions and transmit the computer program or instructions to the processor; the processor is configured to execute the computer program or instructions, so that the electronic device performs the method according to any one of the above aspects. The electronic device can be the first device in the first aspect. Optionally, the number of processors can be one or more.

[0061] In a possible implementation, the electronic device is a chip or a chip system. Optionally, when the electronic device is a chip system, the electronic device can be composed of a chip or can include a chip and other discrete devices.

[0062] In a fifth aspect, a computer readable storage medium is provided, which stores instructions, when the instructions are executed on a computer, the computer can execute the method according to any one of the above aspects.

[0063] In a sixth aspect, a computer program product is provided, which includes instructions, when the instructions are executed on a computer, the computer can execute the method according to any one of the above aspects.

[0064] In a seventh aspect, a communication system is provided, which includes a first device for executing the method according to the first aspect, and a second device for capturing N frames of images displayed by the first device and demodulating to obtain information to be transmitted by the first device, such as the information to be transmitted in the first aspect.

[0065] The technical effects brought by any possible implementation of the second aspect to the seventh aspect can refer to the technical effects brought by any aspect of the first aspect or any possible implementation of any aspect, which will not be repeated here.

[0066] It can be understood that the schemes in the above aspects can be combined as long as the schemes are not contradictory. BRIEF DESCRIPTION OF DRAWINGS

[0067] FIG. 1 is a schematic diagram of a communication system architecture provided by the present application;

[0068] FIG. 2 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;

[0069] FIG. 3 is a flowchart of a short-range communication method according to an embodiment of the present application;

[0070] FIG. 4 is a schematic diagram of a first region and a surrounding region of the first region according to an embodiment of the present application;

[0071] FIG. 5 is a schematic diagram of an i-th frame image and a j-th frame image according to an embodiment of the present application;

[0072] FIG. 6 is a flowchart of a short-range communication method according to an embodiment of the present application;

[0073] FIG. 7 is a flowchart of a short-range communication method according to an embodiment of the present application;

[0074] FIG. 8 is a flowchart of a short-range communication method according to an embodiment of the present application;

[0075] FIG. 9 is a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0076] Before introducing the technical solutions of the present application, the related technical terms involved in the present application are explained and described. It can be understood that these explanations and descriptions are to make the present application easier to be understood, and should not be regarded as limiting the scope of protection required by the present application.

[0077] 1. Particle animation

[0078] Particle animation is a visual design technique that creates dynamic visual effects by simulating a large number of tiny particles. These particles can be points, lines, or more complex graphics, etc., which move or interact on the screen in a specific way to simulate natural phenomena or create abstract visual effects. Particle animation usually consists of thousands of particles, each with its own attributes such as position, velocity, color and other attributes.

[0079] 2. Hue, saturation, lightness model (HSL model for short)

[0080] HSL model is a color representation method that is closer to the way users perceive colors. HSL model decomposes colors into three independent attributes (such as hue, saturation and lightness), making color selection and adjustment more intuitive.

[0081] Among them, hue is a basic property of color, which can describe the color tone or the type of color, such as red, green or blue, etc. In the HSL model, hue is usually represented as an angle value in degrees (°), ranging from 0° to 360°. The value of a hue corresponds to a position on the color wheel. For example, 0° or 360° represents red, 120° represents green, 240° represents blue, and so on.

[0082] Saturation can describe the purity or intensity of a color. The higher the saturation, the brighter the color; the lower the saturation, the closer the color to gray. In the HSL model, the value of saturation is usually represented by a percentage, ranging from 0% (representing complete gray) to 100% (representing the brightest color).

[0083] Brightness can describe the lightness or darkness of a color. The higher the brightness value, the brighter the color; the lower the brightness value, the darker the color. In the HSL model, the value of brightness is also usually represented by a percentage, ranging from 0% (representing black) to 100% (representing white).

[0084] It can be understood that each particle in the above particle motion effect can represent its own color by at least one of hue, saturation or brightness.

[0085] 3. Color contrast

[0086] Color contrast is an important concept in visual design, which can describe the difference between two colors. This difference can be at least one of the difference in brightness (or lightness), saturation (or purity) or hue (or tone) between the two colors.

[0087] 4. Screen camera communication

[0088] Screen camera communication refers to the communication between a display screen (such as a television, computer monitor or smartphone screen, etc.) and a camera device. Specifically, the display screen is used as a data transmitter, such as by changing at least one of the brightness, saturation or hue of the pixels in the displayed image to encode data, so that the camera device captures multiple frames of images displayed by the display screen and then parses the data.

[0089] Optionally, the above data can be encoded into multiple frames of images in a way that is not visible (or perceptible) to the user, that is, the user cannot perceive the changes in brightness, saturation or hue of the pixels used to encode the data. For example, when the refresh rate of the display screen is greater than or equal to a certain frequency (such as 60Hz), the user cannot perceive the above changes. However, the camera device can detect the above changes, so the camera device can obtain the data that the display screen wants to "send".

[0090] 5. Mobile phone cloning

[0091] Mobile phone cloning allows a user to migrate data (such as contacts, photos, applications, etc.) of one device to another device. The migration process usually does not require a computer or a data cable, but is completed through a corresponding application. For example, a cloning application such as "Mobile Clone" or "CLONE it" can be installed on two devices, and through user operation, data of one device can be migrated to another device.

[0092] The embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0093] The method provided by the present application can be used in a system in which various devices with display function and various devices with camera function communicate. The method provided by the present application is described below by taking the communication system 10 shown in FIG. 1 as an example. FIG. 1 is merely a schematic diagram and does not constitute a limitation on the applicable scenarios of the technical solutions provided by the present application.

[0094] As shown in FIG. 1, it is a schematic diagram of the architecture of the communication system 10 provided by the present application. In FIG. 1, the communication system 10 can include a device 101 and a device 102. The device 101 has display function and can display N frames of images. The N frames of images can carry to-be-sent information such as PIN code, two-dimensional code or bar code and various machine-readable codes, or information such as a business card. The device 102 has camera function and can capture the N frames of images displayed on the device 101 and extract the to-be-sent information, thereby realizing interaction with the device 101.

[0095] In the present application, the camera function can be replaced by a function of acquiring images based on the principle of reflection of light from an object, such as a shooting function, a photographing function or a scanning function.

[0096] Optionally, the device 101 and the device 102 can communicate through wired or wireless mode. The wireless mode includes but is not limited to cellular communication, Bluetooth communication, star flash communication or wireless fidelity (WiFi) communication, etc. The cellular communication is, for example, fourth generation (4G) communication, fifth generation (5G) communication or future evolved communication, etc.

[0097] It can be understood that the present application does not limit the product form of the device 101 and the device 102. The device 101 or the device 102 can be a handheld device, a vehicle-mounted device, a wearable device or a computing device, etc.

[0098] For example, the device 101 can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a mobile internet device (MID), a satellite terminal, a desktop computer, a smart screen, a display screen, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a smart robot, an industrial robot, a terminal in industrial control, a terminal in unmanned driving, a terminal in remote medical treatment, a terminal in a smart grid, a terminal in transportation safety, a terminal in a smart city, a terminal in a smart home, a vehicle-mounted terminal, a smart watch, or various instruments with display functions, etc. The device 102 can be a mobile phone, a tablet computer, a notebook computer, a palm computer, a MID, a satellite terminal, a camera device, a photographing device, a VR terminal device, an AR terminal device, a smart robot, an industrial robot, a remote controller of a drone, a terminal in industrial control, a terminal in unmanned driving, a terminal in remote medical treatment, a terminal in a smart grid, a terminal in transportation safety, a terminal in a smart city, a terminal in a smart home, a vehicle-mounted terminal, a smart watch, or various instruments or meters with camera functions, etc.

[0099] The communication system 10 shown in FIG. 1 is only for example, and is not intended to limit the technical solutions of the present application. Those skilled in the art should understand that, in the specific implementation process, the communication system 10 can also include other devices, for example, devices including a screen in addition to the device 101, and / or camera devices in addition to the device 102.

[0100] Optionally, each device (for example, the device 101) in FIG. 1 of the present application can also be referred to as an electronic device, which can be a general-purpose device or a special-purpose device, and the present application does not make specific limitations thereto.

[0101] Optionally, the functions of each device (for example, the device 101) in FIG. 1 of the present application can be implemented by one device, or can be implemented by multiple devices together, or can be implemented by one or more functional modules in one device, and the present application does not make specific limitations thereto. It can be understood that the above functions can be network elements in a hardware device, or software functions running on a special-purpose hardware, or a combination of hardware and software, or virtualized functions instantiated on a platform (for example, a cloud platform).

[0102] In a specific implementation, each device (e.g., device 101) in FIG. 1 of the present application can adopt the constituent structure shown in FIG. 2 or include the components shown in FIG. 2. FIG. 2 shows a schematic diagram of a hardware structure of an electronic device applicable to the present application. The electronic device 200 can include a processor 210 and a display screen 290.

[0103] Optionally, the electronic device 200 further includes one or more of the following: a camera 291, a sensor module 280, a memory 221, an audio module 270, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an indicator 292, a subscriber identification module (SIM) card interface 293, an external memory interface 220, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, or a battery 242, etc.

[0104] The processor 210 can include one or more processing units. For example, the processor 210 can include one or more of the following: an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, or a neural-network processing unit (NPU), etc. Different processing units can be independent devices or integrated into one or more processors. The controller can generate operation control signals according to instruction operation codes and timing signals to complete the control of fetching and executing instructions.

[0105] The digital signal processor is used to process digital signals. In addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 200 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.

[0106] Optionally, a memory can be disposed in the processor 210 to store instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory can save instructions or data that have just been used or are repeatedly used by the processor 210. If the processor 210 needs to use the instructions or data again, it can directly call from the memory. This avoids repeated access and reduces the waiting time of the processor 210, thereby improving the efficiency of the system.

[0107] In some embodiments, the processor 210 can include one or more interfaces. The interfaces can include one or more of the following: an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a SIM interface, or a USB interface, etc.

[0108] The display screen 290 is configured to display images, videos, etc. The display screen 290 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flex light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light emitting diodes (QLED), etc. In some embodiments, the electronic device 200 can include one or n display screens 290, where n is a positive integer greater than 1.

[0109] In some embodiments, the electronic device 200 implements the display function through a GPU, the display screen 290, and an application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 290 and the application processor. The GPU is configured to perform mathematical and geometric calculations for graphics rendering. The processor 210 can include one or more GPUs that execute program instructions to generate or change display information.

[0110] The camera 291 is configured to capture still images or videos. An object projects an optical image through a lens to a photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into a standard RGB, YUV, or the like format image signal. In some embodiments, the electronic device 200 can include one or n cameras 291, where n is a positive integer greater than 1.

[0111] In some embodiments, the electronic device 200 can implement the photographing function through the ISP, the camera 291, the video codec, the GPU, the display 290, and the application processor, and the like.

[0112] The ISP is configured to process the data fed back by the camera 291. For example, when taking a photo, the shutter is opened, the light is transmitted through the lens to the photosensitive element of the camera, the optical signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing to convert into a visible image. The ISP can also optimize the algorithm for noise, brightness, and the like of the image. The ISP can also optimize the exposure, color temperature, and the like of the shooting scene. In some embodiments, the ISP can be disposed in the camera 291.

[0113] The sensor module 280 can include one or more sensors configured to implement corresponding functions. For example, the sensor module 280 includes one or more of the following sensors: a multispectral sensor, a color temperature sensor, an ambient light sensor (ALS), a distance sensor, a pressure sensor, a gyroscope sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, or a bone conduction sensor, and the like.

[0114] The memory 221 can be used to store computer-executable program codes including instructions. The memory 221 can include a program storage area and a data storage area. The program storage area can store an operating system, application programs (such as a sound play function, an image play function, etc.) required by at least one function, etc. The data storage area can store data (such as audio data, a phone book, etc.) created during use of the electronic device 200, etc. In addition, the memory 221 can include a high-speed random access memory, and can further include a non-volatile memory such as at least one of a magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 210 executes various function applications and data processing of the electronic device 200 by running the instructions stored in the memory 221 and / or the instructions stored in the memory disposed in the processor.

[0115] The electronic device 200 can implement an audio function through the audio module 270 and an application processor, etc. The audio module 270 can include one or more of a speaker, a receiver, a microphone, or a headphone interface, etc.

[0116] The wireless communication function of the electronic device 200 can be implemented through the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, a modem processor, and a baseband processor, etc. The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device 200 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. The mobile communication module 250 can provide a solution including 2G / 3G / 4G / 5G, etc. wireless communication applied to the electronic device 200. The wireless communication module 260 can provide a solution including wireless local area networks (WLAN) (such as a Wi-Fi network), Bluetooth, a global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR), star flash, etc. wireless communication applied to the electronic device 200.

[0117] The charging management module 240 is used to receive a charging input from a charger. The charger can be a wireless charger or a wired charger.

[0118] The power management module 241 is configured to connect the battery 242 and the charging management module 240 to the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240 to supply power to the processor 210, the memory 221, the display screen 290, the camera 291, and the wireless communication module 260.

[0119] The external memory interface 220 can be configured to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 via the external memory interface 220 to perform data storage functions. For example, files such as music and videos can be saved in the external memory card.

[0120] The indicator 292 can be a light-emitting diode (LED) that can be configured to indicate a charging status, a change in power level, and / or can be configured to indicate messages, missed calls, and / or notifications.

[0121] The SIM card interface 293 is configured to connect a SIM card. The SIM card can be inserted into and removed from the SIM card interface 293 to enable and disable contact with the electronic device 200. The electronic device 200 can support one or n SIM card interfaces, where n is a positive integer greater than one. The SIM card interface 293 can support Nano SIM cards, Micro SIM cards, SIM cards, and / or the like. Optionally, in some electronic devices that are configured with eSIM functionality, the SIM card interface 293 can be omitted.

[0122] The USB interface 230 is an interface that conforms to a USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and / or the like. The USB interface 230 can be configured to connect to a charger to charge the electronic device 200, to transfer data between the electronic device 200 and a peripheral device, and / or to connect to earphones to play audio via the earphones.

[0123] It can be understood that the structures illustrated in the present application do not constitute a specific limitation on the electronic device 200. In some embodiments of the present application, the electronic device 200 can include more or fewer components than those illustrated, or can combine certain components, or can split certain components, or can have a different arrangement of components. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.

[0124] The method provided by the present application will be described below with reference to the accompanying drawings. Each device in the following embodiments can have the components shown in FIG. 2, which will not be described again.

[0125] It can be understood that the device 101 can perform some or all of the steps in the present application, which are only examples, and the present application can also perform other steps or variations of various steps. In addition, various steps can be performed in different orders as presented in the present application, and it is possible that not all steps in the present application are performed.

[0126] It can be understood that the device 101 is taken as an example to illustrate the method provided in the present application, but the present application does not limit the subject performing the method. For example, the device 101 in the method provided in the following embodiments of the present application can also be a chip, a chip system, or a processor supporting the device 101 to implement the method, and can also be a logical node, a logical module, or software capable of implementing all or part of the functions of the device 101.

[0127] As shown in FIG. 3, a short-distance communication method provided in the present application can include the following steps:

[0128] S301: The device 101 continuously displays N frames of images.

[0129] In one possible implementation, the device 101 continuously displays N frames of images through a display screen (such as the display screen 290 in FIG. 2). N is an integer greater than 1.

[0130] In the present application, the i-th frame of image in the N frames includes M first regions and P second regions. The j-th frame of image in the N frames includes R third regions and P fourth regions. i is an integer greater than or equal to 1 and less than N, j is an integer greater than i and less than N+1, and M, P, and R are all positive integers greater than 1.

[0131] For example, if N is equal to 2, i can be equal to 1 and j can be equal to 2. If N is equal to 3, i can be equal to 1 and j can be equal to 2, 3, or 4, or i can be equal to 2 and j can be equal to 3 or 4, or i can be equal to 3 and j can be equal to 4.

[0132] Any region (such as the first region, the second region, the third region, the fourth region, or various surrounding regions described below) in the present application can be circular, elliptical, square, rectangular, polygonal, or irregularly shaped, etc., without limitation.

[0133] It can be understood that the shapes of different regions can be the same or different. For example, the first region is circular and the second region is rectangular, or both the first region and the second region are circular. For another example, in the M first regions, the first first region is circular, the second first region is elliptical, or all the M first regions are square.

[0134] The size of any one region (such as the first region, the second region, the third region, the fourth region, or the various surrounding regions described below) in this application can be set as needed. The size of a region is used to represent the size of the region. For example, the size of a region is the area of the region. For another example, the size of a region is related to the shape of the region. For example, if the region is circular, the size of the region is the radius of the region; if the region is elliptical, the size of the region is the major axis and the minor axis of the ellipse; if the region is square, the size of the region is the side length of the square; and if the region is rectangular, the size of the region is the length and the width of the rectangle.

[0135] It can be understood that the sizes of different regions can be the same or different. For example, the first region can be larger than the second region, smaller than the second region, or the same size as the second region. For another example, the sizes of any two first regions of the M first regions can be the same or different.

[0136] For ease of description, in the following embodiments, circular regions are used as examples to introduce various regions, and the area is used as an example to introduce the size of the regions, and a unified description is made here, and the following will not be repeated.

[0137] In this application, the device 101 can obtain the to-be-sent information and carry the to-be-sent information in N frames of images, so that after the device 102 captures the N frames of images displayed by the device 101, the device 102 performs demodulation to obtain the to-be-sent information, thereby realizing communication between the device 101 and the device 102. The to-be-sent information includes various machine-readable codes such as PIN codes, two-dimensional codes, or bar codes, or includes user card information such as the user's name and phone number.

[0138] It can be understood that the communication between the device 101 and the device 102 is also referred to as screen-camera communication. The screen-camera communication can be described with reference to the description of the technical terms related to this application in the foregoing.

[0139] In one possible design, the P second regions and the P fourth regions are associated with the to-be-sent information. The P second regions and the P fourth regions correspond one-to-one, and the second region and the second region corresponding fourth region are different in color.

[0140] Here, the color difference can be understood as a color contrast difference, for example, the color difference includes one or more of the following: a lightness difference, a saturation difference, or a hue difference. That is, after the device 101 obtains the to-be-sent information, the device 101 can modulate / change at least one of the lightness, the saturation, or the hue of the second region, so that the P second regions and the P fourth regions carry the to-be-sent information. The color contrast, the lightness, the saturation, and the hue can be described with reference to the description of the technical terms related to this application in the foregoing.

[0141] It can be understood that in the above design, the fourth region changes in one or more of the dimensions of lightness, saturation or hue relative to its corresponding second region. Therefore, if the size of the fourth region is too large, and / or the frame rate of the N-frame image (or the screen refresh rate of the device 101) is low, the user can perceive the change.

[0142] Therefore, by adjusting the size of the fourth region, and / or the frame rate of the N-frame image (or the screen refresh rate of the device 101), the degree of user perception of the change can be adjusted. For example, when the frame rate of the N-frame image (or the screen refresh rate of the device 101) is unchanged, the smaller the size of the fourth region, the less likely the user is to perceive the change, and the larger the size of the fourth region, the more likely the user is to perceive the change. When the size of the fourth region is unchanged, the higher the frame rate of the N-frame image (or the screen refresh rate of the device 101), the less likely the user is to perceive the change, and the lower the frame rate of the N-frame image (or the screen refresh rate of the device 101), the more likely the user is to perceive the change. Therefore, when the configuration of the device 101 is low, such as a low supported frame rate or screen refresh rate, the size of the fourth region can be reduced to make the user less likely to perceive the change, thereby improving the user experience. When the configuration of the device 101 is high, such as a high supported frame rate or screen refresh rate, the size of the fourth region can be set as needed, with high flexibility.

[0143] In one possible design, the size of the fourth region is less than or equal to a first value. The first value can be set as needed.

[0144] For example, the size of the fourth region is the area of the fourth region, the first value is a number greater than or equal to 1 and less than or equal to 10, and the unit of the first value is square centimeters. It should be understood that the first value can also be greater than 10 square centimeters or less than 1 square centimeter.

[0145] Optionally, the first value is related to the size of the third region, so as to avoid the fourth region being too large than the third region, thereby making the user more likely to perceive the change.

[0146] For example, the first value is w times the size of the third region, and w is a positive number. For example, w is a number greater than or equal to 25 and less than or equal to 100. Here, the third region can be the largest third region in the R third regions, or the smallest third region, etc.

[0147] In this application, the time interval between the jth frame image and the ith frame image is greater than or equal to 1 / f, and f is the frame rate of the N-frame image or the screen refresh rate of the device 101, so as to realize that the jth frame image is different from the ith frame image, such as presenting the change.

[0148] In the present application, f can be less than, equal to, or greater than the first frequency. The first frequency is a frequency at which a user cannot perceive the difference between the second region and a fourth region corresponding to the second region (i.e., the above-mentioned transformation). For example, the first frequency can be equal to 60 Hz.

[0149] It can be understood that in specific applications, different users have different sensitivities to colors, and thus the first frequency corresponding to different users is also different. Therefore, the first frequency can also be greater than 60 Hz or less than 60 Hz, for example, the first frequency is equal to 50 Hz or 65 Hz.

[0150] For example, f can be greater than or equal to 10 Hz and less than or equal to 30 Hz, or f can be greater than or equal to 15 Hz and less than or equal to 30 Hz. It should be understood that f can also be greater than 30 Hz, for example, f is equal to 60 Hz, 90 Hz, or 100 Hz, etc.

[0151] It can be understood that when f is greater than the first frequency, the user cannot easily perceive the above-mentioned change. When f is less than or equal to the first frequency, if the size of the fourth region is small, the user can also not easily perceive the above-mentioned change.

[0152] In the present application, the user easily perceiving the above-mentioned change means that the user can easily perceive or discover the above-mentioned change with the naked eye. The user cannot perceive the above-mentioned change means that the user cannot perceive or discover the above-mentioned change with the naked eye.

[0153] Optionally, the number P of the second region / fourth region is greater than or equal to a third number to ensure the amount of information carried by the P second regions and the P fourth regions. The third number is an integer. For example, the third number is an integer greater than or equal to 10, such as the third number being equal to 40.

[0154] Optionally, in order to improve the visual effect of the N frames of images, one or more frames of images in the N frames of images include a particle dynamic effect region.

[0155] In the present application, the particle dynamic effect region includes a plurality of particles for realizing one or more visual effects. The description of the particle dynamic effect can refer to the description of the technical terms involved in the present application.

[0156] For example, for the i-th frame of image, the first region is a particle dynamic effect region, and / or the second region is a particle dynamic effect region. For the j-th frame of image, the third region is a particle dynamic effect region, and / or the fourth region is a particle dynamic effect region.

[0157] S302: The device 102 photographs the N frames of images displayed by the device 101 and demodulates to obtain the to-be-sent information of the device 101.

[0158] In one possible implementation, the device 102 captures N frames of images displayed by the device 101 through a camera function (e.g., a camera), and demodulates the captured images to obtain the to-be-sent information of the device 101.

[0159] It can be understood that, after obtaining the information, the device 102 can further process the information. In addition, the method provided in the present application can be applied to various scenarios, such as a device pairing scenario, a payment scenario, or a data transmission scenario, etc. For different scenarios, the device 102 processes the information in different ways.

[0160] For example, in the device pairing scenario, the to-be-sent information includes a machine-readable code, and the device 102 can establish a connection (e.g., a Bluetooth connection, a star flash connection, or a WiFi connection, etc.) with the device 101 based on the machine-readable code. Alternatively, the device 102 can establish a connection with the device 101 based on the machine-readable code, and enter an operation interface of a phone cloning application to clone an application or data in the device 101.

[0161] For example, in the payment scenario, the to-be-sent information includes a machine-readable code, and the device 102 can enter a payment interface based on the machine-readable code to perform a payment operation.

[0162] For example, in the data transmission scenario, the to-be-sent information can include a machine-readable code, or directly include data to be sent by the device 101. If the to-be-sent information includes a machine-readable code, the device 102 can enter a data transmission interface based on the machine-readable code to transmit various data to the device 101, or receive various data sent by the device 101. In this scenario, the device 101 and the device 102 can transmit photos, videos, various formats of documents, or application data, etc. If the to-be-sent information includes data to be sent by the device 101 (e.g., a business card), after demodulating the N frames of images, the device 102 can directly obtain the data and save it.

[0163] Based on the method shown in FIG. 3, the device 101 can display N frames of images, and carry the to-be-sent information in the N frames of images. Therefore, after the device 102 captures the N frames of images displayed by the device 101, demodulates the captured images, the to-be-sent information can be obtained, thereby realizing communication with the device 101. In addition, when the size of the fourth region, and the frame rate of the N frames of images (or the screen refresh rate of the device 101) meet certain conditions, the user cannot perceive that the N frames of images carry the to-be-sent information, so the user experience can be improved.

[0164] Optionally, in a possible implementation of the method shown in FIG. 3, the first region is different in color from the surrounding region of the first region. Here, the color difference can be understood as a color contrast difference, for example, the color difference includes one or more of the following: a lightness difference, a saturation difference, or a hue difference. In other words, the first region is different from the surrounding region of the first region in one or more of the lightness, saturation, or hue, so that the i-th frame image can have more abundant colors, and the aesthetic sense of the i-th frame image can be improved.

[0165] In this application, the surrounding region of the first region can be understood as a region near the first region, or a region connected with the boundary of the first region, or a background region of the first region. The shape of the first region can be the same as or different from the shape of the surrounding region of the first region.

[0166] For example, when the first region and the surrounding region of the first region are both circular, the two regions can be as shown in FIG. 4, the first region is a region with O as the center and r1 as the radius. The surrounding region of the first region is a region with O as the center and r2 as the radius, except the first region.

[0167] It can be understood that FIG. 4 is drawn by taking the first region as an example located at the center of the surrounding region of the first region. In specific applications, the first region can also not be located at the center of the surrounding region of the first region, which is not limited.

[0168] In a possible design, the first region is different in color from the surrounding region of the first region, including one or more of the following: the absolute value of the difference between the lightness of the first region and the lightness of the surrounding region of the first region is greater than or equal to a first lightness; or, the absolute value of the difference between the saturation of the first region and the saturation of the surrounding region of the first region is greater than or equal to a first saturation; or, the absolute value of the difference between the hue of the first region and the hue of the surrounding region of the first region is greater than or equal to a first hue. In other words, the color contrast between the first region and the surrounding region of the first region is high. Therefore, the i-th frame image can have more abundant colors, and the user can not easily perceive the difference between the second region and the fourth region, thereby improving the user experience.

[0169] For example, if the lightness of the first region is L1, the saturation of the first region is S1, the hue of the first region is H1, the lightness of the surrounding region of the first region is L2, the saturation of the surrounding region of the first region is S2, the hue of the surrounding region of the first region is H2, the first lightness is Lth1, the first saturation is Sth1, and the first hue is Hth1, then the color of the first region and the color of the surrounding region of the first region can satisfy one or more of the following relationships:

[0170] |L1-L2|≥Lth1; or,

[0171] |S1-S2|≥Sth1; or, |H1-H2|≥Hth1

[0172] It can be understood that the above relationship can be deformed accordingly in specific applications. For example, the color of the first region and the color of the surrounding region of the first region can satisfy the following relationship: |L1-L2|+|S1-S2|+|H1-H2|≥Lth1+Sth1+Hth1

[0173] Wherein, (Lth1+Sth1+Hth1) is greater than or equal to 5 and less than or equal to 20, for example, (Lth1+Sth1+Hth1)=10.

[0174] Optionally, the number of the first regions M is greater than or equal to a first number. The size of the first region is less than or equal to a second number. In other words, there are multiple color-rich regions with small size in the ith frame of image to attract the attention of the user. On the one hand, the aesthetic of the ith frame of image can be improved, and on the other hand, the user can not easily perceive the difference between the second region and the fourth region, thereby improving the user experience.

[0175] For example, the first number is an integer. For example, the first number is greater than or equal to 10 and less than or equal to 40.

[0176] For example, taking the size of the first region as the area of the first region, the second number is a number greater than or equal to 1 and less than or equal to 5, and the unit of the second number is square centimeter. It should be understood that the second number can also be greater than 5 square centimeters or less than 1 square centimeter. The second number and the first number can be the same or different.

[0177] Optionally, the second number is related to the size of the display screen of the device 101. For example, taking the size of the first region as the area of the first region, the second number is equal to y times the area of the display screen, and y is a number greater than 0 and less than 1. For example, y is greater than or equal to 2.5% and less than or equal to 5%.

[0178] Optionally, in one possible implementation of the method shown in FIG. 3, the color of the third region is different from the color of the surrounding region of the third region. Here, the color difference can be understood as the color contrast, for example, the color difference includes one or more of the following: different lightness, different saturation, or different hue. In other words, the third region and the surrounding region of the third region are different in one or more of the lightness, saturation, or hue, so that the jth frame of image has relatively rich color, and the aesthetic of the jth frame of image is improved.

[0179] In this application, the surrounding region of the third region can be understood as the region near the third region, or the region connected with the boundary of the third region, or the background region of the third region. The shape of the third region and the shape of the surrounding region of the third region can be the same or different.

[0180] A possible design, the third region is different from the surrounding region of the third region in color, including one or more of the following: the absolute value of the difference between the lightness of the third region and the lightness of the surrounding region of the third region is greater than or equal to the second lightness; or, the absolute value of the difference between the saturation of the third region and the saturation of the surrounding region of the third region is greater than or equal to the second saturation; or, the absolute value of the difference between the hue of the third region and the hue of the surrounding region of the third region is greater than or equal to the second hue. In other words, the color contrast between the third region and its surrounding region is high. Therefore, the color of the jth frame image can be made more rich, so that the user is not easy to perceive the difference between the second region and the fourth region, thereby improving the user experience.

[0181] For example, if the lightness of the third region is L3, the saturation is S3, and the hue is H3, the lightness of the surrounding region of the third region is L4, the saturation is S4, and the hue is H4, the second lightness is Lth2, the second saturation is Sth2, and the second hue is Hth2, then the color of the third region and the color of the surrounding region of the third region can satisfy one or more of the following relationships:

[0182] |L3-L4|≥Lth2; or,

[0183] |S3-S4|≥Sth2; or, |H3-H4|≥Hth2

[0184] It can be understood that in specific applications, the above relationships can also be deformed accordingly. For example, the color of the third region and the color of the surrounding region of the third region can satisfy the following relationship: |L3-L4|+|S3-S4|+|H3-H4|≥Lth2+Sth2+Hth2

[0185] Wherein, (Lth2+Sth2+Hth2) is greater than or equal to 5 and less than or equal to 20, for example, (Lth2+Sth2+Hth2)=10. It should be understood that (Lth1+Sth1+Hth1) and (Lth2+Sth2+Hth2) can be the same or different, without limitation.

[0186] It can be understood that the relationship between the third region and its surrounding region is similar to the relationship between the first region and its surrounding region, and can refer to the above description of the first region and the surrounding region of the first region.

[0187] Optionally, the number of the third regions R is greater than or equal to the second number. The size of the third region is less than or equal to a third value. In other words, there are multiple regions with rich colors and small sizes in the jth frame of image to attract the attention of the user. On the one hand, the beauty of the jth frame of image can be improved, and on the other hand, the user can not easily perceive the difference between the second region and the fourth region, thereby improving the user experience. It should be understood that the second number and the first number can be the same or different. The third value and the second value can be the same or different.

[0188] For example, the second number is an integer. For example, the second number is greater than or equal to 10 and less than or equal to 40.

[0189] For example, taking the size of the third region as the area of the third region, the third value is a number greater than or equal to 1 and less than or equal to 5, and the unit of the third value is square centimeter. It should be understood that the third value can also be greater than 5 square centimeters or less than 1 square centimeter.

[0190] Optionally, the third value is related to the size of the display screen of the device 101. For example, taking the size of the third region as the area of the third region, the third value is equal to u times the area of the display screen, and u is a number greater than 0 and less than 1. For example, u is greater than or equal to 2.5% and less than or equal to 5%.

[0191] Optionally, the color of the second region is different from the color of the surrounding region of the second region. Here, the color difference can be understood as the color contrast, for example, the color difference includes one or more of the following: different brightness, different saturation, or different hue.

[0192] Optionally, the color of the second region is different from the color of the surrounding region of the second region. Here, the color difference can be understood as the color contrast, for example, the color difference includes one or more of the following: different brightness, different saturation, or different hue.

[0193] Optionally, the color of the fourth region is different from the color of the surrounding region of the fourth region. Here, the color difference can be understood as the color contrast, for example, the color difference includes one or more of the following: different brightness, different saturation, or different hue.

[0194] In a possible design, the fourth region is different from the surrounding region of the fourth region in color, including one or more of the following: an absolute value of a difference between the lightness of the fourth region and the lightness of the surrounding region of the fourth region is greater than or equal to a fourth lightness; or, an absolute value of a difference between the saturation of the fourth region and the saturation of the surrounding region of the fourth region is greater than or equal to a fourth saturation; or, an absolute value of a difference between the hue of the fourth region and the hue of the surrounding region of the fourth region is greater than or equal to a fourth hue.

[0195] It can be understood that the introduction of the second region being different from the surrounding region of the second region in color, and the introduction of the fourth region being different from the surrounding region of the fourth region in color, can refer to the foregoing description of the first region being different from the surrounding region of the first region in color, and details are not repeated.

[0196] Optionally, in a possible implementation of the method shown in FIG. 3, the mth first region in the M first regions is associated with the rth third region in the R third regions, or the mth first region corresponds to the rth third region, so that the transition from the i-th frame image to the j-th frame image is more smooth, and is not conspicuous to the user. If the first region and the third region are both particle motion effect regions, the particle motion effect can be made more smooth and natural, and the visual effect of the N frame images can be improved. Wherein, m is an integer greater than 0 and less than or equal to M, and r is an integer greater than 0 and less than or equal to R.

[0197] In a possible design, the mth first region and the rth third region satisfy one or more of the following conditions: the size of the mth first region is the same as the size of the rth third region; or, the position of the mth first region in the i-th frame image is the same as the position of the rth third region in the j-th frame image; or, the lightness of the mth first region is the same as the lightness of the rth third region; or, the saturation of the mth first region is the same as the saturation of the rth third region; or, the hue of the mth first region is the same as the hue of the rth third region. In other words, the rth third region is obtained by adjusting one or more of the size, position, lightness, saturation, or hue of the mth first region.

[0198] It can be understood that the present application does not limit the change rule between the mth first region and the rth third region. In other words, the size of the rth third region, and / or the position of the rth third region in the j-th frame image, and / or the lightness of the rth third region, and / or the saturation of the rth third region, and / or the hue of the rth third region, has a certain randomness, so that the particle motion effect is more natural and smooth. Therefore, the i-th frame image and the j-th frame image can be made more beautiful, attract the attention of the user, and make the user not easily aware of the difference between the second region and the fourth region.

[0199] It can be understood that part of the first regions can also not have corresponding third regions in the jth frame image, and / or part of the third regions can also not have corresponding first regions in the ith frame image.

[0200] For example, as shown in FIG. 5, a schematic diagram of the ith frame image and the jth frame image provided by the present application is shown. In FIG. 5, the first region 5011 to the first region 5016 correspond to the third region 5021 to the third region 5026 respectively. The first region 5017 does not have a corresponding third region in the jth frame image, and the third region 5020 does not have a corresponding first region in the ith frame image.

[0201] Optionally, in a possible implementation of the method shown in FIG. 3, part or all of the P fourth regions satisfy the following condition: the regions within the first range of the fourth region include at least one third region. In other words, part or all of the fourth regions are located in the vicinity of the third regions. Therefore, the user can not easily perceive the difference between the second regions and the fourth regions.

[0202] It can be understood that the first range can be set as needed. The present application does not limit the shape of the first range, for example, the first range can be a circular region, an annular region, an elliptical region, a square region, a rectangular region, a polygonal region or an irregular shape, etc.

[0203] For example, the first range includes the regions with a first length from the boundary of the fourth region, or the first range includes the regions with a first length from the center of the fourth region. Or, taking the circular region as an example, the first range can be as shown in FIG. 5, the radius of the first range is r, and the distance between the center of the first range and the center of the fourth region 5028 is L.

[0204] Optionally, the first range is related to the size of the device 101. For example, the first length, r or L is related to the length of the display screen of the device 101. The length of the display screen can be the length of the longer side, the length of the shorter side or the length of the diagonal of the display screen, etc. For example, taking the length of the display screen as d centimeters, the first length, r or L can be equal to cxd. Wherein, c is greater than 0 and less than 1, for example, c is equal to 5%.

[0205] Optionally, S fourth regions of the P fourth regions satisfy the above condition. Wherein, S is an integer greater than or equal to P / 2.

[0206] Optionally, in a possible implementation of the method shown in FIG. 3, the P second regions correspond to the P fourth regions one by one, including: the second region and the fourth region corresponding to the second region satisfy one or more of the following conditions: the size of the second region is the same as the size of the fourth region corresponding to the second region; or, the position of the second region in the i-th frame image is the same as the position of the fourth region corresponding to the second region in the j-th frame image; or, the brightness of the second region is the same as the brightness of the fourth region corresponding to the second region; or, the saturation of the second region is the same as the saturation of the fourth region corresponding to the second region; or, the hue of the second region is the same as the hue of the fourth region corresponding to the second region. In other words, the fourth region is obtained by adjusting one or more of the size, position, brightness, saturation or hue of the corresponding second region.

[0207] It can be understood that, since the P second regions and the P fourth regions carry the information to be sent, the second region and the fourth region corresponding to the second region are different in at least one of the brightness, saturation or hue.

[0208] For example, as shown in FIG. 5, the second region 5018 corresponds to the fourth region 5028, and the second region 5019 corresponds to the fourth region 5029. In FIG. 5, the size of the second region 5018 is the same as that of the fourth region 5028, but the position of the second region 5018 in the i-th frame image is different from that of the fourth region 5028 in the j-th frame image. In addition, the second region 5018 and the fourth region 5028 are different in at least one of the brightness, saturation or hue. Similarly, the size of the second region 5019 is the same as that of the fourth region 5029, the position of the second region 5019 in the i-th frame image is different from that of the fourth region 5029 in the j-th frame image, and the second region 5019 and the fourth region 5029 are different in at least one of the brightness, saturation or hue.

[0209] Optionally, in a possible implementation of the method shown in FIG. 3, the P second regions and the P fourth regions carry part of the information to be sent, and the N frame images further include at least one frame image other than the i-th frame and the j-th frame to carry the remaining information to be sent. For example, the N frame images further include a k-th frame image. k is an integer greater than j and less than N+1.

[0210] In a possible design, the k-th frame image includes F fifth regions and P sixth regions. The P fourth regions correspond to the P sixth regions one by one, and the fourth region and the sixth region corresponding to the fourth region are different in color. The P fourth regions and the P sixth regions are associated with the remaining information to be sent. In other words, the device 101 can modulate / change at least one of the brightness, saturation or hue of the fourth region, so that the P fourth regions and the P sixth regions carry the remaining information to be sent.

[0211] In a possible design, the sixth region has a size less than or equal to the first value.

[0212] In a possible design, a time interval between the kth image and the jth image is greater than or equal to 1 / f. Optionally, the time interval is equal to a time interval between the jth image and the ith image.

[0213] In a possible design, the fifth region has a color different from that of a surrounding region of the fifth region, and the sixth region has a color different from that of a surrounding region of the sixth region.

[0214] It can be understood that the relationship between the fifth region and the third region is similar to the relationship between the third region and the first region, and the relationship between the sixth region and the fourth region is similar to the relationship between the fourth region and the second region, which can be referred to the corresponding description above and will not be repeated here.

[0215] To facilitate understanding of the method provided in this application, the short-range communication method provided in this application is introduced below in combination with a specific application scenario.

[0216] As shown in FIG. 6, in a device pairing scenario, a user opens an application A (such as a mobile phone cloning application) in a device 101, the device 101 starts proximity detection, and when the device 102 is detected, the device 101 continuously displays N frames of images. Correspondingly, the interface of the device 102 displays a dialog box / card to ask the user whether to open the "scan-to-transfer" function. After the user confirms to open the "scan-to-transfer" function, the device 102 wakes up the camera function, takes a picture of the N frames of images displayed by the device 101, and demodulates to obtain the to-be-sent information of the device 101, such as a machine-readable code. Subsequently, the device 102 establishes a connection, such as a Bluetooth connection, a star flash connection, or a WiFi connection, with the device 101 according to the to-be-sent information, and transmits application data through the established connection.

[0217] As shown in FIG. 7, in a data transmission scenario, a user opens an application B (such as a contact list or a business card application) in a device 101, triggers the "scan-to-transfer" function, and the device 101 continuously displays N frames of images. Correspondingly, the user of the device 102 triggers the "scan-to-transfer" function of the device 102, the device 102 wakes up the camera function, takes a picture of the N frames of images displayed by the device 101, and demodulates to obtain the to-be-sent information of the device 101, such as user card information.

[0218] As shown in FIG. 8, in a data transmission scenario, a user opens an application C (such as a gallery, a video, or a document) in the device 101, triggers the "scan-to-transfer" function, and the device 101 continuously displays N frames of images. Correspondingly, the user of the device 102 triggers the "scan-to-transfer" function of the device 102, the device 102 wakes up the camera function, takes pictures of the N frames of images displayed by the device 101, and demodulates to obtain the information to be sent by the device 101, such as a machine-readable code. Subsequently, the device 102 establishes a connection, such as a Bluetooth connection, a star flash connection, or a WiFi connection, with the device 101 according to the information to be sent, and transmits images, videos, or documents through the established connection.

[0219] Optionally, if the application C is a video application, the user can also select whether to transmit the current page or the entire video. If the application C is a document application, the user can also select whether to transmit the current page or the entire document.

[0220] The various embodiments mentioned in the foregoing of the present application can be combined without contradiction in the scheme, and are not limited.

[0221] The above mainly introduces the scheme provided by the present application from the perspective of interaction between various network elements. Correspondingly, the present application also provides an electronic device, which can be the device 101 in the above method embodiment, or an apparatus containing the device 101, or a component that can be used for the device 101. It can be understood that the device 101 described above contains a corresponding hardware structure and / or software module for implementing each function. Those skilled in the art should easily realize that, in combination with the unit and algorithm operation of each example described in the embodiments disclosed in the present application, the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is driven by hardware or computer software, it depends on the specific application and design constraints of the technical scheme. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.

[0222] The present application can divide the function modules of the device 101 according to the above method examples, for example, each function module can be divided according to each function, or two or more functions can be integrated in one processing module. The above integrated module can be realized in the form of hardware or software function module. It can be understood that the division of modules in the present application is illustrative, and is only a logical function division. Actual implementation can have another division method.

[0223] For example, in the case of dividing the functional modules in an integrated manner, FIG. 9 shows a structural schematic diagram of an electronic device 90. The electronic device 90 includes a processing module 901. Optionally, the electronic device 90 further includes an interface module 902. The processing module 901, which can also be referred to as a processing unit, is configured to perform operations other than the transceiving operations, for example, can be a processing circuit or a processor, etc. The interface module 902, which can also be referred to as an interface unit, is configured to perform the transceiving operations, for example, can be an interface circuit, a transceiver, a transceiver, or a communication interface, etc.

[0224] In some embodiments, the electronic device 90 can further include a storage module (not shown in FIG. 9) configured to store program instructions and data.

[0225] For example, the electronic device 90 is configured to implement the functions of the device 101. The electronic device 90 is, for example, the device 101 described in the embodiment shown in FIG. 3, the embodiment shown in FIG. 6, the embodiment shown in FIG. 7, or the embodiment shown in FIG. 8.

[0226] The processing module 901 is configured to display N frames of images in succession. For example, the processing module 901 can be configured to perform S301. The N frames of images can be referred to the corresponding description in the above method embodiments.

[0227] When used to implement the functions of the device 101, the electronic device 90 can implement other functions, which can be referred to the related descriptions of the embodiment shown in FIG. 3, the embodiment shown in FIG. 6, the embodiment shown in FIG. 7, or the embodiment shown in FIG. 8.

[0228] In a simple embodiment, those skilled in the art can think that the electronic device 90 can take the form shown in FIG. 2. For example, the processor 210 in FIG. 2 can invoke the computer execution instructions stored in the memory 221 to enable the electronic device 90 to perform the methods described in the above method embodiments.

[0229] For example, the functions / implementation processes of the processing module 901 and the interface module 902 in FIG. 9 can be implemented by the processor 210 in FIG. 2 invoking the computer execution instructions stored in the memory 221. Alternatively, the functions / implementation processes of the processing module 901 in FIG. 9 can be implemented by the processor 210 in FIG. 2 invoking the computer execution instructions stored in the memory 221, and the functions / implementation processes of the interface module 902 in FIG. 9 can be implemented by the mobile communication module 250 or the wireless communication module 260 in FIG. 2.

[0230] It can be understood that one or more of the above modules or units can be implemented in software, hardware or a combination of both. When any of the above modules or units is implemented in software, the software exists in the form of computer program instructions and is stored in the memory, and the processor can be used to execute the program instructions and implement the above method flow. The processor can be built in a system-on-a-chip (SoC) or an application-specific integrated circuit (ASIC), or be a separate semiconductor chip. In addition to the core for executing software instructions to perform operations or processing, the processor can further include necessary hardware accelerators, such as a field programmable gate array (FPGA), a programmable logic device (PLD), or a logic circuit for implementing special logic operations.

[0231] When any of the above modules or units is implemented in hardware, the hardware can be any one or any combination of a CPU, a microprocessor, a digital signal processing (DSP) chip, a microcontroller unit (MCU), an artificial intelligence processor, an ASIC, a SoC, an FPGA, a PLD, a dedicated digital circuit, a hardware accelerator, or a non-integrated discrete device, which can run necessary software or be independent of software to execute the above method flow.

[0232] Optionally, the present application also provides a chip system, comprising: at least one processor and an interface, the at least one processor is coupled with a memory through the interface, when the at least one processor executes a computer program or instructions in the memory, the method in any of the above method embodiments is executed. In a possible implementation manner, the chip system further comprises the memory. Optionally, the chip system can be composed of a chip, or can contain a chip and other discrete devices, and the present application does not make a specific limitation thereon.

[0233] Optionally, the present application also provides a computer readable storage medium. All or part of the processes in the above method embodiments can be instructed by a computer program to relevant hardware to complete, and the program can be stored in the computer readable storage medium. When the program is executed, the program can include the processes of the above method embodiments. The computer readable storage medium can be an internal storage unit of the electronic device, such as a hard disk or a memory of the electronic device. The computer readable storage medium can also be an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, and the like. Further, the computer readable storage medium can include both the internal storage unit and the external storage device of the electronic device. The computer readable storage medium is used to store the computer program and other programs and data required by the electronic device. The computer readable storage medium can also be used to temporarily store data that has been output or will be output.

[0234] Optionally, the present application also provides a computer program product. All or part of the processes in the above method embodiments can be instructed by a computer program to relevant hardware to complete, and the program can be stored in the computer program product. When the program is executed, the program can include the processes of the above method embodiments.

[0235] Optionally, the present application also provides a computer instruction. All or part of the processes in the above method embodiments can be instructed by a computer instruction to relevant hardware (such as a computer, a processor, or the device 101, and the like) to complete. The program can be stored in the computer readable storage medium or the computer program product.

[0236] Optionally, the present application also provides a communication system, including the device 101 and the device 102 in the above embodiments.

[0237] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional modules is taken as an example for illustration. In actual application, the above functions can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the above described functions.

[0238] It can be understood that, in the present application, "connection" can be direct connection or indirect connection; in addition, it can refer to electrical connection or communication connection. For example, two electrical elements A and B are connected, which can mean that A and B are directly connected, or it can mean that A and B are indirectly connected through other electrical elements or connection media, so that A and B can transmit electrical signals; for another example, two devices A and B are connected, which can mean that A and B are directly connected, or it can mean that A and B are indirectly connected through other communication devices or communication media, so that A and B can communicate.

[0239] It can be understood that, in the present application, " / " can represent that the objects before and after the " / " are in an "or" relationship, for example, A / B can represent A or B; "and / or" can be used to describe the relationship of the associated objects, for example, A and / or B, which can represent: A exists alone, A and B exist simultaneously, and B exists alone, wherein A and B can be singular or plural. In addition, similar to the expressions "at least one of A, B, and C" or "at least one of A, B, or C", the expression is generally used to represent any one of the following: A exists alone; B exists alone; C exists alone; A and B exist simultaneously; A and C exist simultaneously; B and C exist simultaneously; A, B, and C exist simultaneously. The above is an example of A, B, and C with three elements to illustrate the alternative items of the project, and when there are more elements in the expression, the meaning of the expression can be obtained according to the foregoing rules.

[0240] In order to facilitate the description of the technical solutions of the present application, in the present application, "first", "second" and the like can be used to distinguish functionally identical or similar technical features. The "first", "second" and the like do not limit the quantity and execution order, and the "first", "second" and the like do not necessarily mean different. In the present application, the words "exemplary" or "for example" are used to represent examples, illustrations or descriptions, and any embodiment or design scheme described as "exemplary" or "for example" should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. The use of "exemplary" or "for example" is intended to present the relevant concept in a specific manner and facilitate understanding.

[0241] It can be understood that the "embodiments" mentioned throughout the specification mean that the specific features, structures or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, the various embodiments throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It can be understood that in various embodiments of the present application, the size of the sequence of each process does not mean the execution order, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the present application.

[0242] It can be understood that, in the present application, "when", "in the case of", "if" and "whether" all refer to the corresponding processing under certain objective circumstances, not limited to time, and also do not require the implementation to have a judgment action, nor does it mean that there are other limitations.

[0243] In the present application, "at the same time" can be understood as at the same time point, also can be understood as in a period of time, and also can be understood as in the same cycle.

[0244] In the present application, "greater than or equal to" can be replaced by "greater than", or replaced by "equal to"; "less than or equal to" can be replaced by "less than", or replaced by "equal to". For example, A is greater than or equal to B, which can be replaced by A is greater than B, or replaced by A is equal to B; A is less than or equal to B, which can be replaced by A is less than B, or replaced by A is equal to B.

[0245] It can be understood that some optional features in the present application can be implemented independently in some scenarios, without relying on other features, such as the current scheme based on, to solve the corresponding technical problems and achieve the corresponding effects, or can be combined with other features according to demand in some scenarios. Correspondingly, the devices given in the present application can also realize these features or functions, which will not be described here.

[0246] It can be understood that the same step or step or technical feature with the same function in the present application can be mutually referenced between different embodiments.

[0247] In several embodiments provided by the present application, it should be understood that the disclosed devices and methods can be implemented by other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules or units is only a logical function division, and there can be another division way in actual implementation, for example, a plurality of units or components can be combined or integrated into another device, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces, devices or units, and can be electrical, mechanical or other forms.

[0248] The units described as separate components can or can not be physically separate, and the components shown as units can be one physical unit or multiple physical units, that is, can be located in one place, or can be distributed to multiple different places. According to actual needs, part or all of the units can be selected to achieve the purpose of the embodiment scheme.

[0249] In addition, each of the function units in each embodiment of the present application can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software function unit.

[0250] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto, any change or replacement within the technical scope disclosed in the present application should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A short distance communication method characterized by, The method comprises: obtaining information to be sent; displaying N frames of images in succession, wherein N is an integer greater than 1, an i-th frame of image in the N frames comprises M first regions and P second regions, a j-th frame of image in the N frames comprises R third regions and P fourth regions, i is an integer greater than or equal to 1 and less than N, j is an integer greater than i and less than N+1, M, P and R are all positive integers greater than 1; the first region is different in color from a surrounding region of the first region, the third region is different in color from a surrounding region of the third region, the P second regions correspond to the P fourth regions one by one, the second region is different in color from a fourth region corresponding to the second region, and a size of the fourth region is less than or equal to a first value; a time interval between the j-th frame of image and the i-th frame of image is greater than or equal to 1 / f, f is a frame rate of the N frames of images, and the P second regions and the P fourth regions are associated with the information to be sent.

2. The method of claim 1, wherein, The f is less than or equal to a first frequency, and the first frequency is a frequency at which a user cannot perceive a difference between the second region and the fourth region corresponding to the second region.

3. The method according to claim 1 or 2, characterized in that, The color difference includes one or more of the following: a difference in lightness, a difference in saturation, or a difference in hue.

4. The method of claim 3, wherein the first region is different in color from a surrounding region of the first region includes one or more of the following: an absolute value of a difference in lightness between the first region and the surrounding region of the first region is greater than or equal to a first lightness; or an absolute value of a difference in saturation between the first region and the surrounding region of the first region is greater than or equal to a first saturation; or an absolute value of a difference in hue between the first region and the surrounding region of the first region is greater than or equal to a first hue; the third region is different in color from a surrounding region of the third region includes one or more of the following: an absolute value of a difference in lightness between the third region and the surrounding region of the third region is greater than or equal to a second lightness; or an absolute value of a difference in saturation between the third region and the surrounding region of the third region is greater than or equal to a second saturation; or an absolute value of a difference in hue between the third region and the surrounding region of the third region is greater than or equal to a second hue.

5. The method according to any one of claims 1-4, characterized in that, part or all of the P fourth regions satisfy the following condition: a region within a first range from the fourth region comprises at least one third region.

6. The method according to any one of claims 1-5, characterized in that, The P is greater than or equal to a third number.

7. The method according to any one of claims 1 to 6, characterized in that, A size of the first region is less than or equal to a second value, and the M is greater than or equal to a first number.

8. The method according to any one of claims 1 to 7, characterized in that, A size of the third region is less than or equal to a third value, and the R is greater than or equal to a second number.

9. The method according to any one of claims 1-8, characterized in that, one or more of the following conditions are met between an m-th first region in the M first regions and an r-th third region in the R third regions: a size of the m-th first region is the same as a size of the r-th third region; or a position of the m-th first region in the i-th frame of image is the same as a position of the r-th third region in the j-th frame of image; or The lightness of the mth first region is the same as that of the rth third region; or The saturation of the mth first region is the same as that of the rth third region; or The hue of the mth first region is the same as that of the rth third region.

10. The method according to any one of claims 1-9, characterized in that, The first value is related to the size of the third region.

11. The method according to any one of claims 1-10, characterized in that, The P second regions correspond to the P fourth regions one by one, including: The second region and the fourth region corresponding to the second region satisfy one or more of the following conditions: The size of the second region is the same as that of the fourth region corresponding to the second region; or The position of the second region in the ith frame of image is the same as that of the fourth region corresponding to the second region in the jth frame of image; or The lightness of the second region is the same as that of the fourth region corresponding to the second region; or The saturation of the second region is the same as that of the fourth region corresponding to the second region; or The hue of the second region is the same as that of the fourth region corresponding to the second region.

12. An electronic device, comprising: The method comprises the following steps:

13. An electronic device, comprising: The method comprises the following steps:

14. A computer-readable storage medium, characterized in that, The method comprises the following steps:

15. A computer program product, characterised in that, The method comprises the following steps:

16. A communication system, characterized by The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps: The method comprises the following steps

Citation Information

Patent Citations

  • Implicit information transmission method, device and system

    CN107786828A

  • Content acquisition method, readable storage medium, program product and electronic equipment

    CN118092745A

  • Steganographic camera communication

    US10212306B1

  • Apparatus, method, and system for a privacy mask for video streams

    US20240064266A1