Display control method, device, equipment and storage medium of passive ink screen device
The user operates the application to trigger the restart of the NFC module and scan the NFC tag of the passive ink screen device to generate a display message, which solves the problem of screen casting restrictions of passive ink screen devices under the Android system, enables multiple screen castings and convenient operations, and improves improve the experience of using the device.
Patent Information
- Application Number
- CN202410687551.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-05-30
AI Technical Summary
The screencasting restrictions of passive ink screen devices under the Android system prevent users from mirroring the passive ink screen device multiple times, and they need to manually restart the electronic device to achieve screencasting.
The user operates the ink screen control application to trigger the control operation, restart the NFC module, scan the NFC tag of the passive ink screen device and generate a display message, allowing the target application to control the display content of the passive ink screen device based on the display message and user control operation.
It is possible to cast the screen to a passive ink screen device multiple times without manually restarting the electronic device under the Android system, getting rid of the Android system's screencasting restrictions on passive ink screen devices, and improving the device's ease of use and promotion value.
Smart Images

Figure CN118276807B
Abstract
Description
Technical Field
[0001] The present application relates to the field of display control technology, and in particular to a display control method, device, electronic device and computer-readable storage medium for a passive ink screen device. Background Art
[0002] When the Android system uses NFC to project the ink screen, the NFC module in the Android system actually imports the display message into a queue, and the NFC controller sends messages to the APP in turn, allowing the user to operate the APP to project the screen on the ink screen. That is, the APP does not have the authority to actively enable the NFC function.
[0003] However, once the NFC module is started, it only sends a message to the APP once. Therefore, if the APP fails to respond to the message sent by the NFC module in time, it will not be able to project the screen to the ink screen later. Summary of the invention
[0004] The embodiments of the present application provide a display control method, device, electronic device and computer-readable storage medium for a passive ink screen device, aiming to avoid the restrictions on ink screen projection under the Android system and realize any multiple projections of the ink screen.
[0005] In a first aspect, an embodiment of the present application provides a display control method for a passive ink screen device, wherein the display control method for a passive ink screen device is applied to an electronic device equipped with an Android system, wherein the electronic device includes an NFC module, and the method includes:
[0006] In response to a control operation on a target application, the Android system is controlled to trigger a restart event of the NFC module; the target application instructs the electronic device to perform near field communication with the passive ink screen device;
[0007] Control the started NFC module to scan the passive ink screen device, obtain the NFC tag of the passive ink screen device, and control the NFC module to trigger a display message corresponding to the NFC tag;
[0008] According to the control operation and the display message, the display content of the passive ink screen device is controlled through the target application.
[0009] In a second aspect, an embodiment of the present application provides a display control device for a passive ink screen device, wherein the display control device for the passive ink screen device is disposed in an electronic device equipped with an Android system, wherein the electronic device includes an NFC module, including:
[0010] A first control module, configured to respond to a control operation on a target application and control the Android system to trigger a restart event of the NFC module; the target application instructs the electronic device to perform near field communication with the passive ink screen device;
[0011] A scanning module, used to control the activated NFC module to scan the passive ink screen device, obtain the NFC tag of the passive ink screen device, and control the NFC module to trigger a display message corresponding to the NFC tag;
[0012] The second control module is used to control the display content of the passive ink screen device through the target application according to the control operation and the display message.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores a plurality of instructions; the processor loads instructions from the memory to execute the steps of the display control method of the above-mentioned passive ink screen device.
[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including a processor and a memory, wherein the memory stores multiple instructions; the processor loads instructions from the memory to execute the steps of the display control method of the above-mentioned passive ink screen device.
[0015] Beneficial effects of the embodiments of the present application:
[0016] Compared with the screen projection restrictions of passive ink screen devices under Android system in the prior art, in the embodiment of the present application, the user first operates the ink screen control application to trigger the corresponding control operation, so that the electronic device can control the Android system to restart the NFC module, and the restarted NFC module can scan the NFC tag of the passive ink screen device and generate a corresponding display message. In this way, the target application can control the display content of the passive ink screen device according to the display message and the control operation triggered by the user. It can be seen that in the present application, since the screen projection operation is actually actively triggered by the application, the NFC module can scan the NFC tag again after restarting and generate a corresponding display message. Since the application has triggered the control operation at this time, once the application receives the display message, it can project the passive ink screen device and control the display content of the passive ink screen device. Even if the APP can only passively respond to the NFC module, it can also realize the screen swiping projection, that is, it is ensured that the user under the Android system can operate the application to swipe the passive ink screen device, without the user manually restarting the electronic device, and without operating the electronic device to turn on the screen after the screen is off, getting rid of the screen projection restrictions on passive ink screens under the Android system, which is of great significance to the promotion and use of passive ink screen devices under the Android system. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 It is a schematic diagram of the display control flow of the passive ink screen device provided in an embodiment of the present application;
[0019] Figure 2 It is a schematic diagram of screen projection display of a mobile phone case provided in an embodiment of the present application;
[0020] Figure 3 This is a schematic diagram of a passive ink screen device control application interface provided in an embodiment of the present application;
[0021] Figure 4 It is a schematic diagram of the structure of a display control device of a passive ink screen device provided in an embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application. In addition, it should be understood that the specific implementation methods described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In the present application, unless otherwise specified, the directional words such as "upper" and "lower" used generally refer to the upper and lower parts of the device in actual use or working state, specifically the drawing direction in the drawings; while "inside" and "outside" refer to the outline of the device. At the same time, in the description of the embodiments of the present application, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more features. In the description of the embodiments of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0024] The smart projection phone cases currently on the market combine the ink screen with the phone case. By editing and uploading the background image through the product's supporting APP, the ink screen image can be replaced, allowing users to express their personality.
[0025] The phone case is based on NFC (short-range wireless communication technology) to transmit data and power. It only absorbs a small amount of power from the phone when transmitting pictures. After the transmission is completed, the ink screen does not need to rely on power to maintain the pattern, so there is no need to charge the phone case separately. The working principle of the ink screen is that the ink capsule molecules are pushed to different positions under the control of positive and negative charges, thereby displaying the corresponding pattern. The ink screen can be used for a long time if it is not damaged by external forces.
[0026] The operating systems currently installed on the devices can basically be divided into IOS and Android. Taking the mobile phone as an example, it can be understood that under the IOS system, the ink screen control application (hereinafter referred to as APP) has active control rights, that is, when the user operates the APP to cast the screen on the passive ink screen device of the mobile phone case, the APP can actively control the NFC controller (NFCController) to scan the NFC tag of the passive ink screen device in real time (hereinafter referred to as Tag), so that after scanning the Tag of the passive ink screen device, the NFC controller can establish on-site communication between the NFC controller and the passive ink screen device. In this way, the user can use the APP to cast the screen on the passive ink screen device of the mobile phone case. The above-mentioned entire screen projection process is actually actively completed by the APP.
[0027] However, under the Android system, when the user unlocks the phone or turns on NFC for the first time, NFC will control the active scanning for the existence of a tag. Once the tag is scanned, it will trigger the generation of an event (i.e., a screen projection event or screen projection message) and save it in a queue. In this way, the NFC controller can send a corresponding message to each APP in the queue in turn, so that the APP has the screen projection control authority, that is, the APP is a passive response and cannot actively control the NFC controller to scan the tag. In this way, if the APP receives the event sent by the NFC controller, but the user does not want to project the screen to the passive ink screen device at this time, then the APP will miss the NFC control right this time. If the user wants to project the screen again, the electronic device needs to be manually operated to turn off the screen and then turn it on again (or restart the electronic device), and it must be ensured that when the message sent by the NFC controller is received, the APP also receives the screen projection operation triggered by the user.
[0028] Due to the above technical difficulties, passive ink screen devices cannot be used in electronic devices equipped with Android systems.
[0029] In order to solve the above problems and enable the APP to realize screen swiping display of the passive ink screen device under the Android system, the present application proposes a display control method, device, equipment, computer-readable storage medium and computer program product of a passive ink screen device.
[0030] The display control method of the passive ink screen device in the present application can be applied to an electronic device equipped with an Android system. The electronic device can include an NFC module (specifically, an NFC controller). The electronic device can be a mobile phone, a tablet, a notebook, or other device with an NFC module. The following electronic device is a mobile phone, and the passive ink screen device is an ink display screen on a mobile phone case as an example to illustrate each embodiment.
[0031] Specifically, the display control method of the passive ink screen device in the present application is as follows: Figure 1 As shown, the following steps may be included:
[0032] S10, in response to a control operation on a target application, controlling the Android system to trigger a restart event of the NFC module; the target application instructs the electronic device to perform near field communication with the passive ink screen device;
[0033] It should be noted that, in this embodiment, according to the above description, the mobile phone case of the passive ink screen device transmits data and power based on NFC, and will only absorb a small amount of power from the mobile phone when transmitting the projection information. After the transmission is completed, the ink screen display pattern does not need to be maintained by electricity. The passive ink screen device includes an ink screen and a passive driving circuit. The passive driving circuit includes an NFC chip and an MCU. The electronic device can communicate with the NFC chip and the MCU.
[0034] Furthermore, in this embodiment, the passive ink screen device can be configured with a corresponding ink screen control application when leaving the factory, and the user can download the ink screen control application from the application center or the cloud and install it locally.
[0035] On this basis, the user can operate the passive ink screen device control application (hereinafter referred to as APP), select the projection information to be displayed on the passive ink screen device, and trigger the corresponding control operation. Among them, the passive ink screen device in this embodiment can specifically refer to the passive ink screen device in the current mobile phone case.
[0036] In this way, the electronic device can respond to the above control operation and control the Android system to trigger the NFC module restart event. The NFC module restart event here can be understood as controlling the NFC module to change from the on state to the off state and then from the off state to the on state, so that the restarted NFC module scans the NFC Tag.
[0037] It is worth noting that in this embodiment, the execution process of the NFC module restart event is completely imperceptible to the user. The user does not need to manually restart the phone, nor does the user need to turn off the screen and then turn on the screen to unlock the phone.
[0038] S20, controlling the started NFC module to scan the passive ink screen device, obtaining the NFC tag of the passive ink screen device, and controlling the NFC module to trigger a display message corresponding to the NFC tag;
[0039] In this embodiment, after controlling the Android system to execute the NFC module restart event, the electronic device can control the activated NFC module to rescan to scan the peripherals with NFC Tags within the near field communication distance.
[0040] It is understandable that in the scenario of passive ink screen device swiping (i.e. multiple screen projection), the communication distance between the NFC module and the NFC Tag is generally at the centimeter level. The NFC Tag scanned after the NFC module is restarted can be directly determined as the NFC Tag in the phone case.
[0041] Furthermore, the electronic device can control the NFC module to rescan and obtain the NFC tag of the passive ink screen device, and then generate a corresponding display message (specifically, a screen projection message or a screen projection event) to send the display message to the APP to notify the APP that the APP now has NFC control authority. The user can now operate the APP, select the corresponding screen projection information, and project the screen on the passive ink screen device area of the mobile phone case. This embodiment does not specifically limit the type of screen projection information. For example, the screen projection information can be local pictures, texts, or cloud information.
[0042] Optionally, the passive ink screen device includes a passive ink screen device on a protective shell of the electronic device, and the passive ink screen device has the NFC tag built in.
[0043] In this embodiment, the electronic device is taken as a mobile phone as an example. Figure 2 The protective case of the electronic device shown may be a mobile phone case, and the passive ink screen device may be an ink display screen on the mobile phone case. This embodiment does not specifically limit the proportion of the ink display screen on the mobile phone case.
[0044] S30: Control the passive ink screen device through the target application according to the control operation and the display message.
[0045] In this embodiment, after the electronic device scans the NFC tag of the passive ink screen device and generates a corresponding display message, the target application can control the display content of the passive ink screen device according to the user's trigger operation on the APP and the display message.
[0046] For example, the NFC module can send the above-mentioned display message to the APP, so that the APP can project the screen to the passive ink screen device. It can be understood that, according to the above-mentioned embodiment, since the user first operates the APP to trigger the corresponding control operation, and then the NFC module sends the display message to the APP, when the NFC module sends the display message to the APP, the APP can just respond to the display message to project the screen to the passive ink screen device, thereby realizing that even if the APP is actually responding passively under the Android system, it can also realize screen swiping projection, that is, the user can project the screen to the passive ink screen device multiple times at any time, instead of the prior art that if the APP does not receive the display message sent by the NFC module (or does not project the screen in time when receiving the display message), it will no longer have the screen projection permission, even if the user operates the APP to project the screen, the APP will no longer be able to respond.
[0047] Compared with the screen projection restrictions of passive ink screen devices under Android system in the prior art, in the embodiment of the present application, the user first operates the ink screen control application to trigger the corresponding control operation, so that the electronic device can control the Android system to restart the NFC module, and the restarted NFC module can scan the NFC tag of the passive ink screen device and generate a corresponding display message. In this way, the target application can control the display content of the passive ink screen device according to the display message and the control operation triggered by the user. It can be seen that in the present application, since the screen projection operation is actually actively triggered by the application, the NFC module can scan the NFC tag again after restarting and generate a corresponding display message. Since the application has triggered the control operation at this time, once the application receives the display message, it can project the passive ink screen device and control the display content of the passive ink screen device. Even if the APP can only passively respond to the NFC module, it can also realize the screen swiping projection, that is, it is ensured that the user under the Android system can operate the application to swipe the passive ink screen device, without the user manually restarting the electronic device, and without operating the electronic device to turn on the screen after the screen is off, getting rid of the screen projection restrictions on passive ink screens under the Android system, which is of great significance to the promotion and use of passive ink screen devices under the Android system.
[0048] Further, in one embodiment, in the above S10, “responding to the control operation on the target application, controlling the Android system to trigger the NFC module restart event” may include:
[0049] S101, calling a target Android open interface preset by the Android system, starting a target function module accessed by the target Android open interface to trigger a near field communication shutdown signal, wherein the target function module shares at least one data stream with the NFC module;
[0050] S102, controlling the Android system to turn off the NFC module according to the near field communication turn-off signal;
[0051] S103, after the NFC module is turned off, controlling the target functional module to be turned off to trigger a near field communication start signal;
[0052] S104, controlling the Android system to start a disabled NFC module according to the near field communication start signal.
[0053] In this embodiment, according to the above description, under the Android system, when the user unlocks the phone or turns on NFC for the first time, NFC will control the active scanning for the existence of a tag. Once the tag is scanned, it will trigger the generation of a display message and save it in a queue. In this way, the NFC controller can send a corresponding message to each APP in the queue in turn, so that the APP has the control authority to cast the screen. Once the APP fails to respond to the message in time to cast the screen, it will not be able to cast the screen later. Therefore, in this embodiment, without changing the Android native environment, the NFC module can be controlled to restart, and the restarted NFC module will rescan the NFC Tag.
[0054] Specifically, for example, the electronic device can call the target Android open interface preset by the Android system, start the target function module of the target Android open interface, and by starting the application, it can call to trigger the near-field communication shutdown signal. Once the near-field communication shutdown signal is detected, the Android system can shut down the NFC module.
[0055] It is worth noting that in the present embodiment, the target Android open interface is actually also the interface of the accessed NFC module, and the above-mentioned target functional module is another target functional module different from the NFC module, that is, the target functional module shares at least one data stream with the NFC module. In this way, once the target functional module is started, it occupies the data stream, causing the NFC module to shut down. It can be understood that the interface functions of the Android system are all public. Therefore, the present embodiment can directly call the target functional module that shares an interface with the NFC module, and control the seamless restart of the NFC module by controlling the running state of the target functional module.
[0056] In this way, after the electronic device starts the target functional module and controls the NFC module to be turned off, it can turn off the target functional module again, so that the turned-off NFC module can be restarted.
[0057] In a specific embodiment, the target functional module may be a camera module of an electronic device. It is understandable that, under the Android system, once the electronic device calls the camera module, the NFC module will be turned off, and then, once the camera module is turned off again, the NFC module will be started again. In this way, in this embodiment, the electronic device can control the restart of the NFC module without sensing by controlling the operating state of the camera module.
[0058] This embodiment is only illustrated by taking the camera module as an example. In fact, other modules of the electronic device may also share a data stream with the NFC module. There is no specific limitation on this, and it is not necessarily limited to the above-mentioned camera module. Moreover, this embodiment does not specifically limit the interface name of the target Android open interface, and reference may be made to the existing Android underlying algorithm.
[0059] Furthermore, the display control method of the passive ink screen device in the present application may also include:
[0060] S40, if no control operation on the target application is detected within a preset time period, triggering a sleep instruction;
[0061] S50, according to the sleep instruction, through the target application, controlling the passive ink screen device to sleep, so that the sleeping passive ink screen device hides the NFC tag, so that the NFC module stops sending the near field communication carrier signal to the passive ink screen device when detecting that the passive ink screen device is sleeping; and
[0062] S60, responding to a sleep wake-up event, waking up the passive ink screen device, so that the passive ink screen device is adjusted from a sleep state to a waiting state for screen projection, wherein the sleep wake-up event is triggered by a user operating the electronic device.
[0063] It should be noted that, in this embodiment, under the Android system, after the user manually turns on the NFC function of the electronic device, the NFC module will always be in a communication state (that is, the NFC module continues to transmit NFC carrier signals, even if NFC is not communicating with the NFCTag). This will inevitably cause the electronic device to heat up, especially the area where the NFC module is located, where the heat is particularly serious, affecting the performance of the device.
[0064] In order to solve the device heating problem caused by the above-mentioned NFC module, in this embodiment, it is possible to monitor in real time whether the user operates the APP to swipe the screen of the passive ink screen device, that is, to monitor whether a control operation based on the target application is received within a preset time period. If no control operation is detected, the APP can trigger a sleep command and send the sleep command to the ink display screen to control the ink display screen to sleep.
[0065] In this embodiment, the ink display screen is in sleep mode, which can be understood as hiding its tag, so that the NFC module cannot scan the tag, misleading the NFC module to determine that the ink display screen has left, so that the NFC module can stop sending the NFC carrier signal, avoiding excessive heating of the NFC module and affecting the performance of the device.
[0066] In addition, the ink display can also actively go into sleep mode. For example, when the ink display detects display content sent by the APP within a preset time, it can directly start its built-in sleep program and enter the sleep state (i.e. hide the tag).
[0067] At this time, a prompt message can be sent to remind the user that they need to wake up the device before projecting the screen. For example, if the user operates the electronic device to turn off the screen and then turn on the screen, a sleep wake-up event can be triggered, and the electronic device can respond to the above sleep wake-up event to wake up the passive ink screen device, so that the passive ink screen device no longer hides its tag, and at the same time controls the NFC module to rescan the tag and send a near-field communication carrier signal to the passive ink screen device.
[0068] It is understandable that the ink display screen actually needs power to maintain its sleep state, and this power is obtained from the electronic device through the NFC module. Once the power of the ink display screen is consumed (for example, the ink display screen is exhausted after being in sleep state for 3 minutes), the ink display screen can also actively display its tag. However, at this time, the NFC module will not directly start carrier communication and still requires the user to actively wake it up.
[0069] It can be seen that in this embodiment, in order to avoid the device heating caused by continuous tag scanning and NFC communication by the NFC module under the Android system, the ink display screen can be actively or passively put into sleep, so that the NFC module stops carrier communication. If the user needs to project the screen, the NFC module and the ink display screen can be woken up. In this way, the user's screen projection needs can be met, and performance degradation caused by device heating can be avoided.
[0070] Furthermore, the display control method of the passive ink screen device in the present application may also include:
[0071] S70, collecting the operating temperature of the NFC module;
[0072] S80, if the operating temperature exceeds a preset temperature threshold, starting the target function module accessed by the target Android open interface to trigger a corresponding near field communication shutdown signal, and according to the near field communication shutdown signal, controlling the Android system to shut down the NFC module, and generating a screen projection interruption reminder;
[0073] S90, until the operating temperature is lower than the preset temperature threshold, control the target functional module to be turned off to trigger a corresponding near field communication start signal, and control the Android system to start the turned-off NFC module according to the near field communication start signal.
[0074] In this embodiment, the electronic device can monitor the operating temperature of the NFC module in real time. Once it is detected that the operating temperature exceeds the preset temperature threshold, it means that the device temperature is too high. At this time, the target function module accessed by the target Android open interface can be started to trigger the corresponding near-field communication shutdown signal. Once the near-field communication shutdown signal is detected, the Android system can be controlled to shut down the NFC module, thereby avoiding device heating caused by long-term operation of NFC. At the same time, a screen swiping interruption reminder can be generated to remind the user that the NFC module is heated due to frequent screen swiping (i.e., multiple consecutive screen projections to update the display content of the passive ink screen device). In order to ensure device performance, the screen projection will be interrupted.
[0075] Among them, according to the above description, the target function module shares at least one data stream with the NFC module. In this way, once the target function module is started, it occupies the data stream, causing the NFC module to shut down. It can be understood that the interface functions of the Android system are all public. Therefore, this embodiment can directly call the target function module that shares an interface with the NFC module, and control the seamless restart of the NFC module by controlling the running state of the target function module. It will not be repeated here.
[0076] Furthermore, if the electronic device detects that the operating temperature of the NFC module is lower than the preset temperature threshold, it can control the target functional module to exit to trigger the corresponding near-field communication start signal, and then control the Android system to start the NFC module again based on the near-field communication start signal, so that the user can project the screen to the passive ink screen device again.
[0077] Therefore, in this embodiment, an NFC temperature monitoring backup strategy can be set, which is applicable to the situation where the NFC module overheats due to frequent screen swiping by users, and can effectively maintain the hardware equipment and ensure the performance of the equipment. It is understandable that in order to avoid frequent interruptions of the screen projection experience by the device, the preset temperature threshold can be initially configured to a higher temperature, and the initial preset temperature threshold can be updated according to the user's screen projection data, and no specific limitation is made to this.
[0078] Furthermore, in the above S30, “controlling the display content of the passive ink screen device through the target application according to the control operation and the display message” may include:
[0079] S301, in response to the control operation, obtaining display content edited by the user through the target application;
[0080] S302, according to the display content, sending the display content to the passive ink screen device through the target application, so that the passive ink screen device displays the display content;
[0081] In this embodiment, according to the above description, the passive ink screen device can be configured with a corresponding ink screen control application when it leaves the factory. The user can download the ink screen control application from the application center or the cloud and install it locally. On this basis, the user can use the APP to select the content that needs to be projected on the passive ink screen device, and the APP provides a display content editing function. After selecting the display content, the user can edit the display content in the APP and send the edited display content to the passive ink screen device for display.
[0082] On this basis, after the above S302, the following may also be included:
[0083] S303, in response to a display content switching event triggered by the passive ink screen device, new display content is called from a display content list associated with the target application according to a preset random rule, and sent to the passive ink screen device.
[0084] It should be noted that, in this embodiment, the display content list can be imported in advance in the APP, and the display content in the display content list can be created and edited by the user and saved, or downloaded from the cloud, and there is no specific limitation on this.
[0085] In addition to the above embodiment in which the user can actively select display content, the APP can also randomly display the display content in the above display content list.
[0086] Specifically, for example, the user can slide the display content of the passive ink screen device (or Figure 3 As shown, the user can also operate the switching options displayed on the APP application to randomly switch the displayed content), triggering a displayed content switching event.
[0087] The electronic device can respond to the above-mentioned display content switching event, call new display content from the above-mentioned display content list according to preset random rules, and send it to the passive ink screen device, which will refresh and display the new display content.
[0088] Therefore, in this embodiment, the user can flexibly switch the display content of the ink display screen. In addition to using the APP to switch, the user can also directly slide the ink display screen to update the display content of the ink display screen, which effectively expands the screen projection interaction method, improves the convenience of screen projection, and thus improves the user experience.
[0089] Furthermore, in the above S20, “controlling the started NFC module to scan the passive ink screen device to obtain the NFC tag of the passive ink screen device” may include:
[0090] S201, controlling the activated NFC module to scan at least one NFC external device within a preset communication range, and obtaining an NFC tag corresponding to the NFC external device;
[0091] S202, reading device description information in the NFC tag, and verifying whether the NFC external device has been bound to the target application according to the device description information;
[0092] S203, if the NFC external device has been bound to the target application, the NFC external device is used as a passive ink screen device, and the following steps are performed: controlling the NFC module to trigger a display message corresponding to the NFC tag; controlling the passive ink screen device according to the control operation and the display message; and,
[0093] S204: If the NFC external device is not bound to the target application, a device binding reminder is generated to establish a communication connection between the target application and the NFC external device.
[0094] In this embodiment, the APP can generally record the device information of at least one ink display screen. Therefore, after the NFC module is restarted, the electronic device can control the started NFC module to scan at least one NFC external device within a preset communication range and obtain the NFC tag corresponding to the NFC external device.
[0095] It is understandable that in the scenario of passive ink screen device swiping (i.e. multiple screen projection), the communication distance between the NFC module and the NFCTag is generally at the centimeter level. The NFC Tag scanned after the NFC module is restarted can be directly understood as the NFC Tag in the phone case.
[0096] Furthermore, the APP can extract the device description information in the NFC tag and verify whether the NFC external device has been bound to the target application based on the device description information.
[0097] If the NFC external device has not been bound to the target application, the passive ink screen device can be projected through the target application. The specific projection process can refer to the above embodiment and will not be repeated here.
[0098] If the NFC external device has not been bound to the target application, a device binding reminder can be used to remind the user to enter the device information of the ink display in the APP and establish an initial communication connection between the target application and the ink display. The user will then need to operate manually afterwards.
[0099] Therefore, in this embodiment, the electronic device can guide the user to enter the device information when initially using the ink display screen, thereby improving the user's screen projection experience and facilitating the promotion and use of the ink display screen under the Android system.
[0100] This embodiment also provides a display control device for a passive ink screen device. The display control device for the passive ink screen device can be integrated into a terminal medical device, for example, Figure 4 As shown, the display control device of the passive ink screen device may include:
[0101] The first control module 1001 is used to respond to the control operation of the target application and control the Android system to trigger the NFC module restart event; the target application instructs the electronic device to perform near field communication with the passive ink screen device;
[0102] The scanning module 1002 is used to control the activated NFC module to scan the passive ink screen device, obtain the NFC tag of the passive ink screen device, and control the NFC module to trigger the display message corresponding to the NFC tag;
[0103] The second control module 1003 is used to control the display content of the passive ink screen device through the target application according to the control operation and the display message.
[0104] Optionally, the first control module 1001 includes:
[0105] A first starting unit, configured to call a target Android open interface preset by the Android system, and start a target function module accessed by the target Android open interface to trigger a near field communication shutdown signal, wherein the target function module shares at least one data stream with the NFC module;
[0106] A first closing unit, configured to control the Android system to close the NFC module according to the near field communication closing signal;
[0107] A second closing unit, configured to control the target functional module to close after the NFC module is closed, so as to trigger a near field communication opening signal;
[0108] The third closing unit is used to control the Android system to start the closed NFC module according to the near field communication start signal.
[0109] Optionally, the display control device of the passive ink screen device in this embodiment further includes:
[0110] A detection module, configured to trigger a sleep instruction if no control operation based on the target application is detected within a preset time period;
[0111] a third control module, configured to control the passive ink screen device to sleep through the target application according to the sleep instruction, so that the passive ink screen device in sleep mode hides the NFC tag, so that the NFC module stops sending a near field communication carrier signal to the passive ink screen device when detecting that the passive ink screen device is in sleep mode; and
[0112] The wake-up module is used to respond to a sleep wake-up event, wake up the passive ink screen device, and control the NFC module to resend the near field communication carrier signal to the passive ink screen device, wherein the sleep wake-up event is triggered by a user operating the electronic device.
[0113] Optionally, the display control device of the passive ink screen device in this embodiment further includes:
[0114] A temperature acquisition module, used to acquire the operating temperature of the NFC module;
[0115] A reminder module, configured to start the target function module accessed by the target Android open interface if the operating temperature exceeds a preset temperature threshold, so as to trigger a corresponding near field communication shutdown signal, and control the Android system to shut down the NFC module according to the near field communication shutdown signal, and generate a screen refresh interrupt reminder;
[0116] The fourth control module is used to control the target function module to be turned off until the operating temperature is lower than the preset temperature threshold to trigger the corresponding near field communication start signal, and control the Android system to start the closed NFC module according to the near field communication start signal.
[0117] Optionally, the second control module 1003 includes:
[0118] An acquisition module, configured to respond to the control operation and acquire display content edited by the user through the target application;
[0119] A sending module, configured to send the display content to the passive ink screen device through the target application according to the display content, so that the passive ink screen device displays the display content;
[0120] A switching module is used to respond to a display content switching event triggered by the passive ink screen device, call new display content from the display content list associated with the target application according to a preset random rule, and send it to the passive ink screen device.
[0121] Optionally, the scanning module 1002 includes:
[0122] an acquisition unit, configured to control the activated NFC module to scan at least one NFC external device within a preset communication range, and acquire an NFC tag corresponding to the NFC external device;
[0123] A verification unit, configured to read the device description information in the NFC tag and verify whether the NFC external device has been bound to the target application according to the device description information;
[0124] A setting unit is used to use the NFC external device as a passive ink screen device if the NFC external device has been bound to the target application, and execute: controlling the NFC module to trigger a display message corresponding to the NFC tag; controlling the display content of the passive ink screen device through the target application according to the control operation and the display message; and,
[0125] The reminder unit is used to generate a device binding reminder if the NFC external device is not bound to the target application, so as to remind the user to establish an initial communication connection between the target application and the NFC external device.
[0126] Optionally, the passive ink screen device includes an ink display screen on a protective shell of the electronic device, and the passive ink screen device has the NFC tag built in.
[0127] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0128] Accordingly, the present application also provides an electronic device, such as Figure 5 As shown, Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 1100 includes a processor 1101 having one or more processing cores, a memory 1102 having one or more computer-readable storage media, and a computer program stored in the memory 1102 and executable on the processor. The processor 1101 is electrically connected to the memory 1102. It will be understood by those skilled in the art that the electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0129] The processor 1101 is the control center of the electronic device 1100, and uses various interfaces and lines to connect various parts of the entire electronic device 1100. By running or loading software programs and / or units stored in the memory 1102, and calling data stored in the memory 1102, the processor 1101 executes various functions of the electronic device 1100 and processes data, thereby monitoring the electronic device 1100 as a whole. The processor 1101 can be a processor CPU, a graphics processor GPU, a network processor (Network Processor, NP), etc., and can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application.
[0130] In the embodiment of the present application, the processor 1101 in the electronic device 1100 will load instructions corresponding to the processes of one or more application programs into the memory 1102 according to the following steps, and the processor 1101 will run the application programs stored in the memory 1102 to implement various functions, such as:
[0131] In response to a control operation on a target application, the Android system is controlled to trigger a restart event of the NFC module; the target application instructs the electronic device to perform near field communication with the passive ink screen device;
[0132] Control the started NFC module to scan the passive ink screen device, obtain the NFC tag of the passive ink screen device, and control the NFC module to trigger a display message corresponding to the NFC tag;
[0133] According to the control operation and the display message, the display content of the passive ink screen device is controlled through the target application.
[0134] Optionally, in response to the control operation on the target application, controlling the Android system to trigger the NFC module restart event includes:
[0135] Calling a target Android open interface preset by the Android system, and starting a target function module accessed by the target Android open interface to trigger a near field communication shutdown signal, wherein the target function module shares at least one data stream with the NFC module;
[0136] According to the near field communication shutdown signal, controlling the Android system to shut down the NFC module;
[0137] After the NFC module is turned off, controlling the target functional module to turn off to trigger a near field communication start signal;
[0138] According to the near field communication start signal, the Android system is controlled to start a closed NFC module.
[0139] Optionally, the method further includes:
[0140] If no control operation based on the target application is detected within a preset time period, a sleep instruction is triggered;
[0141] According to the sleep instruction, the passive ink screen device is controlled to sleep through the target application, so that the sleeping passive ink screen device hides the NFC tag, so that the NFC module stops sending the near field communication carrier signal to the passive ink screen device when detecting that the passive ink screen device is sleeping; and
[0142] In response to a sleep-wake-up event, the passive ink screen device is woken up, and the NFC module is controlled to resend a near field communication carrier signal to the passive ink screen device, wherein the sleep-wake-up event is triggered by a user operating the electronic device.
[0143] Optionally, the method further includes:
[0144] Collecting the operating temperature of the NFC module;
[0145] If the operating temperature exceeds the preset temperature threshold, the target function module accessed by the target Android open interface is started to trigger the corresponding near field communication shutdown signal, and according to the near field communication shutdown signal, the Android system is controlled to shut down the NFC module and generate a screen refresh interrupt reminder;
[0146] Until the operating temperature is lower than the preset temperature threshold, the target functional module is controlled to be turned off to trigger a corresponding near field communication start signal, and according to the near field communication start signal, the Android system is controlled to start the turned-off NFC module.
[0147] Optionally, controlling the display content of the passive ink screen device through the target application according to the control operation and the display message includes:
[0148] In response to the control operation, obtaining display content edited by the user through the target application;
[0149] According to the display content, the display content is sent to the passive ink screen device through the target application, so that the passive ink screen device displays the display content;
[0150] After the display content is sent to the passive ink screen device through the target application according to the display content so that the passive ink screen device displays the display content, the method includes:
[0151] In response to a display content switching event triggered by the passive ink screen device, new display content is called from a display content list associated with the target application according to a preset random rule, and sent to the passive ink screen device.
[0152] Optionally, the controlling and starting the NFC module to scan the passive ink screen device to obtain the NFC tag of the passive ink screen device includes:
[0153] Controlling the activated NFC module to scan at least one NFC external device within a preset communication range, and obtaining an NFC tag corresponding to the NFC external device;
[0154] Reading device description information in the NFC tag, and verifying whether the NFC external device has been bound to the target application according to the device description information;
[0155] If the NFC external device has been bound to the target application, the NFC external device is used as a passive ink screen device, and the following operations are performed: controlling the NFC module to trigger a display message corresponding to the NFC tag; controlling the display content of the passive ink screen device through the target application according to the control operation and the display message; and,
[0156] If the NFC external device is not bound to the target application, a device binding reminder is generated to remind the user to establish an initial communication connection between the target application and the NFC external device.
[0157] Optionally, the passive ink screen device includes an ink display screen on a protective shell of the electronic device, and the passive ink screen device has the NFC tag built in.
[0158] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0159] Optional, such as Figure 5 As shown, the electronic device 1100 further includes: a radio frequency circuit 1103, an audio circuit 1104, an input unit 1105, and a power supply 1106. The processor 1101 is electrically connected to the radio frequency circuit 1103, the audio circuit 1104, the input unit 1105, and the power supply 1106, respectively. Those skilled in the art can understand that Figure 5 The electronic device structure shown in the figure does not constitute a limitation of the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0160] The radio frequency circuit 1103 can be used to send and receive radio frequency signals to establish wireless communication with network medical devices or other electronic devices through wireless communication, and to send and receive signals between network medical devices or other electronic devices.
[0161] The audio circuit 1104 can be used to provide an audio interface between the user and the electronic device through a speaker and a microphone. The audio circuit 1104 can transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 1104 and converted into audio data, and then the audio data is output to the processor 1101 for processing, and then sent to another electronic device through the radio frequency circuit 1103, or the audio data is output to the memory 1102 for further processing. The audio circuit 1104 may also include an earplug jack to provide communication between an external headset and an electronic device.
[0162] The input unit 1105 may be used to receive input numbers, character information or user feature information (such as fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0163] The power supply 1106 is used to supply power to various components of the electronic device 1100. Optionally, the power supply 1106 can be logically connected to the processor 1101 through a power management device, so that the power management device can manage charging, discharging, power consumption and other functions. The power supply 1106 can also include one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
[0164] although Figure 5 Not shown, the electronic device 1100 may also include a camera, a sensor, a wireless fidelity module, a Bluetooth module, etc., which will not be described in detail here.
[0165] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0166] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0167] To this end, an embodiment of the present application provides a computer-readable storage medium, in which a plurality of computer programs are stored. The computer program can be loaded by a processor to execute any display control method of a passive ink screen device provided in the embodiment of the present application. The computer program can execute the following steps of the display control method of a passive ink screen device:
[0168] In response to a control operation on a target application, the Android system is controlled to trigger a restart event of the NFC module; the target application instructs the electronic device to perform near field communication with the passive ink screen device;
[0169] Control the started NFC module to scan the passive ink screen device, obtain the NFC tag of the passive ink screen device, and control the NFC module to trigger a display message corresponding to the NFC tag;
[0170] According to the control operation and the display message, the display content of the passive ink screen device is controlled through the target application.
[0171] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0172] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0173] Since the computer program stored in the computer-readable storage medium can execute the display control method of any passive ink screen device provided in the embodiments of the present application, the beneficial effects that can be achieved by the display control method of any passive ink screen device provided in the embodiments of the present application can be achieved. Please refer to the previous embodiments for details and will not be repeated here.
[0174] In the display control device, computer-readable storage medium, and electronic device of the above-mentioned passive ink screen device, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, refer to the relevant description of other embodiments. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process and beneficial effects of the display control device, computer-readable storage medium, computer program product, electronic device and its corresponding units described above can refer to the description of the display control method of the passive ink screen device in the above embodiment, and will not be repeated here.
[0175] The display control method, device, electronic device, and computer-readable storage medium of a passive ink screen device provided in an embodiment of the present application are introduced in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A display control method for a passive ink screen device, characterized in that: The display control method of the passive ink screen device is applied to an electronic device equipped with an Android system, wherein the electronic device includes an NFC module, and the method comprises: In response to a control operation on a target application, the Android system is controlled to trigger a restart event of the NFC module; the target application instructs the electronic device to perform near field communication with the passive ink screen device; Control the started NFC module to scan the passive ink screen device, obtain the NFC tag of the passive ink screen device, and control the NFC module to trigger a display message corresponding to the NFC tag; According to the control operation and the display message, controlling the display content of the passive ink screen device through the target application; The responding to the control operation on the target application, controlling the Android system to trigger the NFC module restart event, includes: Calling a target Android open interface preset by the Android system, and starting a target function module accessed by the target Android open interface to trigger a near field communication shutdown signal, wherein the target function module shares at least one data stream with the NFC module; According to the near field communication shutdown signal, controlling the Android system to shut down the NFC module; After the NFC module is turned off, controlling the target functional module to turn off to trigger a near field communication start signal; According to the near field communication start signal, the Android system is controlled to start a closed NFC module.
2. The display control method of the passive ink screen device according to claim 1, characterized in that: The method further comprises: If no control operation based on the target application is detected within a preset time period, a sleep instruction is triggered; According to the sleep instruction, the passive ink screen device is controlled to sleep through the target application, so that the sleeping passive ink screen device hides the NFC tag, so that the NFC module stops sending the near field communication carrier signal to the passive ink screen device when detecting that the passive ink screen device is sleeping; and In response to a sleep-wake-up event, the passive ink screen device is woken up, and the NFC module is controlled to resend a near field communication carrier signal to the passive ink screen device, wherein the sleep-wake-up event is triggered by a user operating the electronic device.
3. The display control method of the passive ink screen device according to claim 1, characterized in that: The method further comprises: Collecting the operating temperature of the NFC module; If the operating temperature exceeds the preset temperature threshold, the target function module accessed by the target Android open interface is started to trigger the corresponding near field communication shutdown signal, and according to the near field communication shutdown signal, the Android system is controlled to shut down the NFC module and generate a screen refresh interrupt reminder; Until the operating temperature is lower than the preset temperature threshold, the target functional module is controlled to be turned off to trigger a corresponding near field communication start signal, and according to the near field communication start signal, the Android system is controlled to start the turned-off NFC module.
4. The display control method of the passive ink screen device according to claim 1, characterized in that: The controlling the display content of the passive ink screen device through the target application according to the control operation and the display message includes: In response to the control operation, obtaining display content edited by the user through the target application; According to the display content, the display content is sent to the passive ink screen device through the target application, so that the passive ink screen device displays the display content; After the display content is sent to the passive ink screen device through the target application according to the display content so that the passive ink screen device displays the display content, the method includes: In response to a display content switching event triggered by the passive ink screen device, new display content is called from a display content list associated with the target application according to a preset random rule, and sent to the passive ink screen device.
5. The display control method of the passive ink screen device according to claim 1, characterized in that: The control-activated NFC module scans the passive ink screen device to obtain the NFC tag of the passive ink screen device, including: Controlling the activated NFC module to scan at least one NFC external device within a preset communication range, and obtaining an NFC tag corresponding to the NFC external device; Reading device description information in the NFC tag, and verifying whether the NFC external device has been bound to the target application according to the device description information; If the NFC external device has been bound to the target application, the NFC external device is used as a passive ink screen device, and the following operations are performed: controlling the NFC module to trigger a display message corresponding to the NFC tag; controlling the display content of the passive ink screen device through the target application according to the control operation and the display message; and, If the NFC external device is not bound to the target application, a device binding reminder is generated to remind the user to establish an initial communication connection between the target application and the NFC external device.
6. The display control method of the passive ink screen device according to any one of claims 1 to 5, characterized in that: The passive ink screen device includes an ink display screen on a protective shell of the electronic device, and the passive ink screen device has the NFC tag built in.
7. A display control device for a passive ink screen device, characterized in that: The display control device of the passive ink screen device is arranged in an electronic device equipped with an Android system, and the electronic device includes an NFC module, including: A first control module, configured to respond to a control operation on a target application and control the Android system to trigger a restart event of the NFC module; the target application instructs the electronic device to perform near field communication with the passive ink screen device; A scanning module, used to control the activated NFC module to scan the passive ink screen device, obtain the NFC tag of the passive ink screen device, and control the NFC module to trigger a display message corresponding to the NFC tag; A second control module, configured to control the display content of the passive ink screen device through the target application according to the control operation and the display message; The first control module is further used for: Calling a target Android open interface preset by the Android system, and starting a target function module accessed by the target Android open interface to trigger a near field communication shutdown signal, wherein the target function module shares at least one data stream with the NFC module; According to the near field communication shutdown signal, controlling the Android system to shut down the NFC module; After the NFC module is turned off, controlling the target functional module to turn off to trigger a near field communication start signal; According to the near field communication start signal, the Android system is controlled to start a closed NFC module.
8. An electronic device, characterized in that: It comprises a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of any one of the methods of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: It includes a computer program. When the computer program is run on an electronic device, the computer program is used to enable the electronic device to execute the steps of any method described in claims 1 to 6.
Citation Information
Cited By
Ink screen touchpad and display control method and application scene pattern setting method thereof
CN119493494A
E-ink screen touchpad, its display control method and application scenario pattern setting method
CN119493494B
