Page display method and device, wearable equipment and storage medium
By implementing precise control of zoom mode and sliding operation on wearable devices, the problem of device screen size limitation and interaction difficulties is solved, improving user experience and response accuracy.
Patent Information
- Application Number
- CN202310619063.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2024-11-26
AI Technical Summary
The size of the touch screen of the wearable device is limited, resulting in smaller text and pictures displayed, difficult interaction, and sliding operations are prone to triggering false responses, affecting the user experience.
Provide a page display method, allowing the device to enter the zoom mode in response to the start command, scale the target page through the zoom command, and generate zoom commands based on sliding operations, rotation mechanism, electromyography sensor or sliding in a specified area to realize the page's Zoom in or out, prohibiting the sliding operation in zoom mode from triggering interactive events other than moving zoom.
Users can perform page scaling and moving operations as needed, improving content visibility and interaction convenience, avoiding sliding operations accidentally triggering other interactive events, and ensuring the accuracy of response and user experience.
Smart Images

Figure CN119025010A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer software technology, and in particular to a page display method, device, wearable device, and computer-readable storage medium. Background Art
[0002] Wearable devices with touch screens are becoming more and more common, and they often need to display rich information such as text and pictures on the touch screens. However, due to the size limitation of the touch screens of wearable devices, not only are the text and pictures displayed on the screens small, but interaction is also difficult, resulting in certain inconveniences in use. Summary of the invention
[0003] To overcome the problems existing in the related art, the present disclosure provides a page display method, apparatus, wearable device and computer-readable storage medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a page display method is provided, the method comprising:
[0005] In response to the start command, entering a zoom mode;
[0006] In response to the zoom instruction, zooming the target page displayed on the interactive interface of the wearable device to obtain the zoomed page and display it on the interactive interface;
[0007] And, in response to a move instruction, the zoom page is moved, and the zoom page after the move processing is displayed in the interactive interface; wherein the move instruction is generated based on a sliding operation of the user in the interactive interface; after the wearable device enters the zoom mode, the sliding operation acting on the interactive interface is prohibited from being used to trigger other interactive events except moving the zoom page; after the wearable device exits the zoom mode, the sliding operation acting on the interactive interface is allowed to be used to trigger the other interactive events.
[0008] Optionally, also include:
[0009] In response to detecting a touch operation on the zoomed page, determining touch coordinates of the touch operation in the target page;
[0010] determining a touch event based on the touch coordinates;
[0011] If the touch event indicates a page switching event, obtaining a page to be displayed after the switching;
[0012] The page to be displayed is scaled according to the scaling ratio between the scaled page and the target page, and the scaled page to be displayed is displayed on the interactive interface of the wearable device.
[0013] Optionally, also include:
[0014] In response to detecting a touch operation on the zoomed page, determining touch coordinates of the touch operation in the target page;
[0015] determining a touch event based on the touch coordinates;
[0016] If the touch event indicates another processing event other than a page switching event, updating the target page according to the other processing event to obtain an updated target page;
[0017] The updated target page is scaled according to the scaling ratio between the scaled page and the target page to obtain an updated scaled page and display it on an interactive interface of the wearable device.
[0018] Optionally, determining the touch coordinates of the touch operation on the target page includes:
[0019] If the touch operation is performed when the zoomed page is not moved, determining the touch coordinates of the touch operation in the target page according to a zoom ratio between the zoomed page and the target page;
[0020] If the touch operation is performed after the zoom page is moved, the touch coordinates of the touch operation in the target page are determined according to the displacement relationship between the current zoom page after the movement and the zoom page before the movement, and the zoom ratio between the zoom page and the target page.
[0021] Optionally, the scaling instruction is generated when a rotation mechanism of the wearable device is rotated, and the scaling ratio indicated by the scaling instruction is positively correlated with the rotation amount of the rotation mechanism of the wearable device;
[0022] When the rotation mechanism of the wearable device rotates in one of the clockwise direction and the counterclockwise direction, the target page is enlarged; when the rotation mechanism of the wearable device rotates in the other of the clockwise direction and the counterclockwise direction, the target page is reduced;
[0023] Wherein, the rotating mechanism includes at least one of a crown and a bezel.
[0024] Optionally, the zoom instruction is generated based on a sliding operation of the user in a designated area of the wearable device, and the zoom ratio indicated by the zoom instruction is positively correlated with the sliding distance of the sliding operation; wherein the designated area is not the interactive interface;
[0025] If the sliding direction of the sliding operation in the designated area is a first direction, the target page is enlarged; if the sliding direction of the sliding operation in the designated area is a second direction opposite to the first direction, the target page is reduced.
[0026] Optionally, the wearable device includes an electromyographic sensor;
[0027] The scaling instruction is generated according to the finger movement detected by the electromyographic sensor, and the scaling ratio indicated by the scaling instruction is positively correlated with the amplitude of the finger movement detected by the electromyographic sensor;
[0028] When the finger motion is one of a pinching motion and a stretching motion, the target page is enlarged; when the finger motion is the other of the pinching motion and the stretching motion, the target page is reduced.
[0029] According to a second aspect of an embodiment of the present disclosure, a page display device is provided, the device comprising:
[0030] A mode entry module, used for entering a zoom mode in response to a start instruction;
[0031] A zoom processing module, configured to perform zoom processing on a target page displayed on an interactive interface of the wearable device in response to a zoom instruction, obtain a zoomed page, and display it on the interactive interface;
[0032] A movement processing module, used to move the zoom page in response to a movement instruction, and display the zoom page after the movement processing in an interactive interface; wherein the movement instruction is generated based on a sliding operation of the user in the interactive interface; after the wearable device enters the zoom mode, the sliding operation acting on the interactive interface is prohibited from being used to trigger other interactive events except moving the zoom page; after the wearable device exits the zoom mode, the sliding operation acting on the interactive interface is allowed to be used to trigger the other interactive events.
[0033] According to a third aspect of an embodiment of the present disclosure, there is provided a wearable device, including:
[0034] processor;
[0035] a memory for storing processor-executable instructions;
[0036] When the processor executes the executable instructions, it is used to implement the method described in the first aspect.
[0037] According to a fourth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of any of the above methods are implemented.
[0038] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0039] In the disclosed embodiment, the wearable device can enter a zoom mode in response to a start instruction; after entering the zoom mode, it can respond to the zoom instruction to zoom the target page displayed on the interactive interface of the wearable device, obtain the zoomed page and display it on the interactive interface, and the user can perform page zooming operations according to their actual needs, so that the page information such as text or pictures in the interactive interface can be clearly seen; and a move instruction can be generated based on the user's sliding operation in the interactive interface, the zoomed page can be moved according to the move instruction, and the zoomed page after the move processing can be displayed in the interactive interface, so that it is convenient for the user to view the content that overflows the interactive interface after zooming; further, in order to avoid the sliding operation acting on the interactive interface triggering other interactive events except moving the zoomed page, thereby causing a response error, in the zoom mode, the wearable device can prohibit the sliding gesture from being used to trigger other interactive events except moving the zoomed page, so as to ensure accurate response to the user's page movement needs.
[0040] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0042] Figure 1 It is a structural diagram of a communication system according to an exemplary embodiment of the present disclosure.
[0043] Figure 2 It is a flowchart of a page display method according to an exemplary embodiment of the present disclosure.
[0044] Figure 3 It is a schematic diagram of scaling and moving a target page according to an exemplary embodiment of the present disclosure.
[0045] Figure 4 It is a structural schematic diagram of a page display device according to an exemplary embodiment of the present disclosure.
[0046] Figure 5 It is a schematic structural diagram of a wearable device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0047] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0048] The terms used in this disclosure are for the purpose of describing specific embodiments only and are not intended to limit the disclosure. The singular forms of "a", "said" and "the" used in this disclosure and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0049] It should be understood that although the terms first, second, third, etc. may be used in the present disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the present disclosure, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".
[0050] In view of the problems in the related art, the embodiment of the present disclosure provides a page display method applied to a wearable device, wherein the wearable device can enter a zoom mode in response to a start instruction; after entering the zoom mode, the target page displayed on the interactive interface of the wearable device can be zoomed in response to the zoom instruction, and the zoomed page is obtained and displayed on the interactive interface, and the user can perform page zooming operations according to their actual needs, so that the page information such as text or pictures in the interactive interface can be clearly seen; and a moving instruction can be generated based on the user's sliding operation in the interactive interface, the zoomed page is moved according to the moving instruction, and the zoomed page after the moving processing is displayed in the interactive interface, so that the user can view the content overflowing the interactive interface after zooming; further, in order to avoid the sliding operation acting on the interactive interface triggering other interactive events except moving the zoomed page, thereby causing a response error, in the zoom mode, the wearable device can prohibit the sliding gesture from being used to trigger other interactive events except moving the zoomed page; and after the wearable device exits the zoom mode, the wearable device can enable the sliding gesture to trigger other interactive events, thereby ensuring accurate response to the user's page movement needs.
[0051] The wearable devices mentioned in the embodiments of the present disclosure include but are not limited to watches, bracelets, glasses, gloves, rings, headwear (e.g., hats, helmets, virtual reality headsets, augmented reality headsets, head-mounted devices (HMDs), headbands), pendants, armbands, leg rings, shoes, or vests.
[0052] See also Figure 1 , Figure 1 The structure diagram of the communication system for wearable devices is shown. The system includes a wearable device 102 , a server 104 and an intermediate device 106 .
[0053] The wearable device 102 is a computing device configured to be worn by a human user during operation. The wearable device 102 can be implemented as a watch, a bracelet, a bracelet, a bracket, a wristband, an armband, a leg band, a ring, a headband, a necklace, a headset, a leg ring or a vest, or in the form of another wearable device. The wearable device 102 includes one or more sensors 108 for detecting physiological parameters of the user of the wearable device 102. The sensor 108 may include one or more of a photoplethysmogram (PPG) sensor, an electrocardiogram (ECG) sensor, an electrode, a pulse pressure sensor, a vascular property sensor, a temperature sensor, an acceleration sensor, an electromyography sensor, another sensor, or a combination thereof. The physiological parameter represents a measurable physiological parameter related to one or more important systems (e.g., a cardiovascular system, a respiratory system, an autonomic nervous system, a body temperature system, or another system) of the body of the user of the wearable device 102. For example, the physiological parameter may be one or more of the heart rate, heart rate variability, blood oxygen level, blood pressure, body temperature, or another physiological parameter of the user of the wearable device 102. The sensor 108 may continuously or otherwise frequently periodically collect physiological signal data of the user of the wearable device 102 .
[0054] The wearable device 102 further includes a processor 110 and a memory 111. The memory 111 stores applications or other executable instructions; the processor 110 is used to run applications or other executable instructions to process physiological signal data generated based on physiological parameters collected by the sensor 108.
[0055] The server 104 is a computing device running a server program 112 to process physiological signal data. The server 104 may include a hardware server (eg, a server), a software server (eg, a web server and / or a virtual server), and / or a virtual server.
[0056] The server program 112 is software for detecting one or more of the health status, motion status, sleep status, or a combination thereof of the user of the wearable device 102, so as to detect one or more of the health status, motion status, sleep status, or a combination thereof of the user of the wearable device 102 using the physiological signal data. For example, the server program 112 can use the physiological signal data to determine the change of the physiological state of the user, and then detect one or more of the health status, motion status, sleep status, or a combination thereof of the user of the wearable device 102 based on the determined change.
[0057] The server program 112 may access a database 114 on the server 104 to perform at least some of the functions of the server program 112. The database 114 is a database or other data storage for storing, managing, or otherwise providing data for delivering the functions of the server program 112. For example, the database 114 may store physiological signal data received by the server 104, information generated by or otherwise determined from the physiological signal data. For example, the database 114 may be a relational database management system, an object database, an XML database, a configuration management database, a management information base, one or more flat files, other suitable non-transient storage mechanisms, or a combination thereof.
[0058] Intermediary device 106 is a device for facilitating communication between wearable device 102 and server 104. Intermediary device 106 can be a computing device, such as a mobile device (e.g., a smartphone, tablet, laptop, or other mobile device) or other computer (e.g., a desktop computer or other non-mobile computer). Alternatively, intermediary device 106 can be or include network hardware, such as a router, a switch, a load balancer, another network device, or a combination thereof. As another alternative, intermediary device 106 can be another network connection device. For example, intermediary device 106 can be a networked power charger for wearable device 102.
[0059] For example, depending on the specific implementation of the intermediate device 106, the intermediate device 106 can run an application 118. The application 118 configures the intermediate device 106 to send data to or receive data from the wearable device 102, and / or to or receive data from the server 104. In addition, the application 118 can receive commands from the intermediate device 106 in response to operations by a user of the intermediate device 106. For example, in the case where the intermediate device 106 is a computing device with a touch screen display, the user of the intermediate device 106 can receive a command by touching a portion of the display corresponding to a user interface element in the application.
[0060] In some implementations, the client device is granted access to the server program 112. For example, the client device may be a mobile device, such as a smartphone, a tablet computer, a laptop computer, etc. In another example, the client device may be a desktop computer or another non-mobile computer. The client device may run a client application to communicate with the server program 112. For example, the client application may be a mobile application that can access some or all of the functions and / or data of the server program 112. For example, the client device may communicate with the server 104 via the network 116. In some such implementations, the client device may be an intermediate device 106.
[0061] In some implementations, the intermediate device 106 receives data from the wearable device 102 using a short-range communication protocol. For example, the short-range communication protocol may be The intermediary device 106 transmits the data received from the wearable device 102 to the server 104 via the network 116. For example, the network 116 can be a local area network, a wide area network, a machine-to-machine network, a virtual private network, or another public or private network. The network 116 can use a remote communication protocol. For example, the remote communication protocol can be Ethernet, TCP, IP, power line communication, Wi-Fi, GPRS, GSM, CDMA, other protocols, or a combination thereof.
[0062] In some implementations, the intermediate device 106 can be omitted. For example, the wearable device 102 can be configured to communicate directly with the server 104 via the network 116. For example, direct communication between the wearable device 102 and the server 104 via the network 116 can include using a remote, low-power system or another communication mechanism. In some implementations, both the intermediate device 106 and the server 104 can be omitted. For example, the wearable device 102 can be configured to perform the functions described above with respect to the server 104. In such an implementation, the wearable device 102 can process and store data independently of other computing devices.
[0063] Next, the page display method provided by the embodiment of the present disclosure is exemplarily described: Figure 2 The page display method shown is a flow chart. The method is applied to a wearable device, and the method includes:
[0064] In S101 , in response to a start instruction, a zoom mode is entered.
[0065] In S102, in response to the zoom instruction, the target page displayed on the interactive interface of the wearable device is zoomed to obtain a zoomed page and display it on the interactive interface.
[0066] In S103, in response to a move instruction, the zoom page is moved, and the zoom page after the move processing is displayed in the interactive interface; wherein the move instruction is generated based on a sliding operation of the user in the interactive interface; after the wearable device enters the zoom mode, the sliding operation acting on the interactive interface is prohibited from being used to trigger other interactive events except moving the zoom page; after the wearable device exits the zoom mode, the sliding operation acting on the interactive interface is allowed to be used to trigger the other interactive events.
[0067] It should be noted that the wearable device can be provided with a touch screen to provide an interactive interface through the touch screen. The interaction can be completed by touching the touch screen, and the touch screen is also used to display corresponding content.
[0068] In this embodiment, the wearable device can scale the target page based on user needs and display the scaled page, so that the user can clearly see the page information such as text or pictures in the interactive interface; and the wearable device can also move the scaled page based on user needs and display the moved page, so that the user can view the content that overflows the interactive interface after scaling; further considering the ease of use of the sliding operation, in order to avoid the sliding operation triggering other interactive events except moving the zoomed page, thereby causing response errors, in the zoom mode, the wearable device can prohibit the sliding gesture from being used to trigger other interactive events except moving the zoomed page, to ensure accurate response to the user's page movement needs.
[0069] It is understandable that the user can enlarge the target page according to his or her own viewing needs, and then adjust the enlarged page if the enlarged page does not meet the needs. For example, if the enlargement ratio of the target page is too large and affects the viewing experience, the enlarged page can be further reduced to meet the viewing needs.
[0070] In some embodiments, the wearable device is provided with a zoom mode. The wearable device may generate a start instruction in response to a first preset operation of the user, thereby triggering the wearable device to enter the zoom mode in response to the start instruction. In the case where the user does not need to use the page zoom function, the wearable device may generate a shutdown instruction in response to a second preset operation of the user, so as to trigger the wearable device to exit the zoom mode in response to the shutdown instruction. It is understandable that this embodiment does not limit the first preset operation and the second preset operation, and specific settings may be made according to the actual application scenario. For example, it may be an operation of clicking or long pressing a specific position of the interactive interface, an operation of double-clicking / triple-clicking the interactive interface, or an operation of pressing a specified button, and so on.
[0071] After entering the zoom mode, the wearable device can respond to the generated zoom instruction, zoom the target page currently displayed on the interactive interface of the wearable device, obtain the zoomed page, and display the zoomed page in the interactive interface.
[0072] For example, the GPUResize plug-in can be called to scale the length and width of the target page stored in the frame buffer in equal proportion to obtain the scaled page. The GPUResize plug-in is a GPU acceleration plug-in with real-time performance and advanced image interpolation functions that are lost by the native machine.
[0073] In the related art, the generation of zoom instructions is generated according to the user's two-finger zoom operation on the interactive interface, that is, the user performs a zoom operation on the interactive interface by two fingers, and the two fingers are close to zoom out, and the two fingers are far away to zoom in. However, the touch screen of the wearable device is usually relatively small, and the user's two fingers on the screen may have completely blocked the screen; and the touch screen needs to maintain a multi-point recognition state, and the power consumption is relatively high; if the wearable device is always enabled with two-finger zoom, it is easy to cause a false touch (the user enables zooming when he does not want to zoom); obviously, the two-finger zoom method is not suitable for the touch screen of the wearable device, and there are problems that it is difficult to operate and difficult to accurately control the zoom ratio. Or other related technologies can only enlarge part of the area and cannot meet the user's zooming needs. Or the computing resources required for other related technologies are relatively high, and they cannot be applied to wearable devices with limited computing resources. Or other related technologies require users to preset the zoom factor, which is less flexible. Therefore, the embodiments of the present disclosure exemplarily provide several methods for generating zoom instructions to adapt to the touch screen of the wearable device and improve the zoom accuracy.
[0074] In a first possible implementation, the rotation mechanism of the wearable device can be reused to implement the zoom function, and the wearable device can generate a zoom instruction when detecting that the rotation mechanism is rotated, providing a method that is easier for the user to operate. The rotation mechanism includes at least one of a crown and a bezel.
[0075] For example, taking the crown as an example, the wearable device can generate a zoom instruction when it detects that the crown is turned. For the zoom ratio, the wearable device can determine the rotation amount of the crown (also understood as the rotation angle) based on the difference between the original position of the crown and the position after rotation, and then determine the zoom ratio based on the rotation amount of the crown; wherein the zoom ratio indicated by the zoom instruction is positively correlated with the rotation amount of the crown of the wearable device, that is, the greater the rotation amount, the greater the zoom ratio, and vice versa, which is conducive to achieving precise control of the zoom ratio.
[0076] The user can reduce or enlarge the page according to the actual situation. For example, when the crown of the wearable device is rotated in one of the clockwise and counterclockwise directions, the target page currently displayed on the interactive interface of the wearable device is enlarged; when the crown of the wearable device is rotated in the other of the clockwise and counterclockwise directions, the target page currently displayed on the interactive interface of the wearable device is reduced. This embodiment reuses the crown of the wearable device to realize the zoom function, which reduces the hardware expenditure cost and also improves the zoom accuracy. The aforementioned clockwise / counterclockwise refers to the observation obtained from the direction perpendicular to the crown end face when the crown is rotated.
[0077] For example, taking the bezel as an example, the wearable device can generate a zoom instruction when it detects that the bezel is rotated. For the zoom ratio, the wearable device can determine the rotation amount of the bezel (also understood as the rotation angle) according to the difference between the original position of the bezel and the position after rotation, and then determine the zoom ratio according to the rotation amount of the bezel; wherein the zoom ratio indicated by the zoom instruction is positively correlated with the rotation amount of the bezel of the wearable device, that is, the greater the rotation amount, the greater the zoom ratio, and vice versa, which is conducive to achieving precise control of the zoom ratio.
[0078] The user can reduce or enlarge the page according to the actual situation. For example, when the bezel of the wearable device rotates in one of the clockwise and counterclockwise directions, the target page currently displayed on the interactive interface of the wearable device is enlarged; when the bezel of the wearable device rotates in the other of the clockwise and counterclockwise directions, the target page currently displayed on the interactive interface of the wearable device is reduced. This embodiment reuses the bezel of the wearable device to realize the zoom function, which reduces the hardware expenditure cost and also improves the zoom accuracy. The aforementioned clockwise / counterclockwise refers to the observation obtained from the direction perpendicular to the end face of the bezel when the bezel rotates.
[0079] In a second possible implementation, the zoom function can be implemented using a designated area of the wearable device. For example, the wearable device can generate a zoom instruction when detecting a user's sliding operation in the designated area, and the zoom ratio indicated by the zoom instruction is positively correlated with the sliding distance of the sliding operation, that is, the larger the sliding distance, the larger the zoom ratio, and conversely, the smaller the sliding distance, the smaller the zoom ratio. In one embodiment, the designated area is not the interactive interface. Exemplarily, the designated area may be the side of the wearable device (assuming that an interactive interface is installed on the front of the wearable device). The designated area may be equipped with a touch sensing device to sense the user's sliding operation. In another embodiment, the designated area may be the edge of the wearable device's interactive interface. Exemplarily, the designated area may be a narrow area at the bottom / outside of the interactive interface, and touch sliding in this area does not affect viewing the displayed content.
[0080] The user can reduce or enlarge the page according to actual conditions. For example, when the sliding direction of the sliding operation is a first direction, the target page is enlarged; when the sliding direction of the touch operation is a second sliding direction opposite to the first sliding direction, the target page is reduced.
[0081] Exemplarily, the designated area is the side of the wearable device (assuming that an interactive interface is installed on the front of the wearable device), and a touch sensing device is installed on the side of the wearable device; taking the wearable device as a round watch as an example, when the user slides in one of the clockwise and counterclockwise directions on the edge of the wearable device, the target page currently displayed on the interactive interface of the wearable device is enlarged, and the enlargement ratio is positively correlated with the sliding distance of the user on the side of the wearable device; conversely, when the user slides in the other of the clockwise and counterclockwise directions on the side of the wearable device, the target page currently displayed on the interactive interface of the wearable device is reduced, and the reduction ratio is positively correlated with the sliding distance of the user on the side of the wearable device.
[0082] Exemplarily, the designated area is the edge of the wearable device interaction interface; taking the wearable device as a non-circular device as an example, when the user slides up or down along the vertical direction on the edge of the wearable device interaction interface, the target page currently displayed on the wearable device interaction interface is enlarged; conversely, when the user slides up or down along the vertical direction on the edge of the wearable device interaction interface, the target page currently displayed on the wearable device interaction interface is reduced. Alternatively, when the user slides to the left or to the right along the horizontal direction on the edge of the wearable device interaction interface, the target page currently displayed on the wearable device interaction interface is enlarged; conversely, when the user slides to the left or to the right along the horizontal direction on the edge of the wearable device interaction interface, the target page currently displayed on the wearable device interaction interface is reduced.
[0083] In a third possible implementation, the wearable device is usually provided with an acceleration sensor for realizing motion detection. The acceleration sensor of the wearable device can be reused to realize the zoom function, and the wearable device can generate a zoom instruction according to the moving action detected by the acceleration sensor, that is, the zoom control is performed through body sensation, which is easier for the user to operate. For example, for the zoom ratio, the wearable device can determine the zoom ratio according to the moving distance of the moving action detected by the acceleration sensor; wherein the zoom ratio indicated by the zoom instruction is positively correlated with the moving distance of the moving action, that is, the greater the moving distance of the moving action, the greater the zoom ratio, and vice versa, which is conducive to realizing precise control of the zoom ratio.
[0084] The user can reduce or enlarge the page according to the actual situation. For example, a first moving direction for enlarging the page can be set. When it is detected that the wearable device moves in the first moving direction, the target page is enlarged, and the enlargement ratio is positively correlated with the moving distance of the wearable device in the first moving direction. After detecting that the wearable device moves in the first moving direction, and then moves in the second moving direction opposite to the first moving direction, the target page (that is, the enlarged page) displayed on the interactive interface of the wearable device is reduced, and the reduction ratio is positively correlated with the moving distance of the wearable device in the second moving direction. This embodiment reuses the acceleration sensor to implement the zoom function, which reduces the hardware expenditure cost and also improves the zoom accuracy.
[0085] For example, the wearable device is a watch and the target action is an arm movement action.
[0086] After the wearable device enters the zoom mode, when the wearable device detects that the user's arm moves toward the user using the accelerometer, the target page currently displayed on the wearable device's interactive interface is enlarged, and the greater the moving distance, the greater the enlargement ratio; when the wearable device detects that the user's arm moves toward the user and then moves away from the user using the accelerometer, the target page currently displayed on the wearable device's interactive interface (that is, the enlarged page) is reduced, and the greater the moving distance, the greater the reduction ratio. It is understandable that the user can control the wearable device to enter the zoom mode when the arm wearing the wearable device is in an appropriate position according to actual needs, so that after the arm wearing the wearable device moves toward the user, the enlarged target page can meet the user's viewing needs.
[0087] Of course, the wearable device may also be enlarged when it moves away from the user, and reduced when it moves toward the user. This embodiment does not impose any limitation on this.
[0088] In the fourth possible scenario, the wearable device includes an electromyographic sensor, which refers to a sensor that can sense the action potential waveform of a muscle motor unit (composed of muscle fiber cells) and convert it into a usable output signal. Exemplarily, the electromyographic sensor can detect the movement of the finger muscles to determine whether the finger is in a clenched state or an extended state, then the wearable device can generate a zoom instruction based on the finger movement detected by the electromyographic sensor, that is, perform zoom control through body sensation, which is easier for the user to operate. Exemplarily, for the zoom ratio, the wearable device can determine the zoom ratio based on the amplitude of the finger movement detected by the electromyographic sensor, and the zoom ratio indicated by the zoom instruction is positively correlated with the amplitude of the finger movement detected by the electromyographic sensor, that is, the larger the amplitude of the finger movement, the larger the zoom ratio.
[0089] The user can reduce or enlarge the page according to the actual situation. For example, when the finger action is one of a clenching action or a stretching action, the target page currently displayed on the interactive interface of the wearable device is enlarged; when the finger action is the other of a clenching action or a stretching action, the target page currently displayed on the interactive interface of the wearable device is reduced. In this embodiment, the zoom control is performed based on the finger action detected by the electromyography sensor, and the zoom control based on the body sense is realized, which is conducive to improving the zoom accuracy.
[0090] For example, assuming that the finger action is a clenching action, the target page is enlarged, and the greater the clenching amplitude, the greater the enlargement ratio; assuming that the finger action is a stretching action, the target page is reduced, and the greater the stretching amplitude, the greater the reduction ratio.
[0091] In a fifth possible implementation, the wearable device may be equipped with a voice collection device, such as a microphone or a pickup. After entering the zoom mode, the wearable device may start the voice collection device to collect voice signals, and then perform voice recognition on the voice signals collected by the voice collection device to obtain voice information; if the voice information matches the preset zoom text information, the zoom instruction is generated. The preset zoom text information includes but is not limited to "zoom in", "zoom out", "enlarge", "zoom in XX times", or "zoom in half", etc. This embodiment implements the zoom function through voice control, which is easy to operate. The user can say whether he wants to zoom in or out the page according to actual needs, and say information such as the zoom ratio, so that the voice collection device can collect relevant voice signals.
[0092] In some embodiments, the wearable device supports a zoom page interaction function. During the process of displaying the zoom page on the interactive interface of the wearable device, the user can perform a touch operation on the zoom page. The wearable device responds to the user's touch operation on the zoom page, determines the touch coordinates of the touch operation in the target page, and then determines the touch event according to the touch coordinates to perform a touch response, and presents the response result in the interactive interface of the wearable device. Wherein, if the touch operation acts on the interactive interface, the touch operation is not a sliding operation, for example, it can be a click operation or a long press operation, but is not limited to this. In a possible implementation, during the process of displaying the zoom page on the interactive interface of the wearable device, the wearable device supports the user to move the zoom page. For example, the zoom page can be moved by a sliding operation acting on the interactive interface, and considering the ease of use of the sliding operation, the sliding operation may be set to trigger different interactive events. For example, in some interactive scenarios, the sliding operation can be used to return to the previous menu or enter the next page. After the wearable device enters the zoom mode, in order to avoid the sliding operation triggering other interaction events except moving the zoom page, thereby causing response errors, in the zoom mode, the wearable device can prohibit the sliding operation on the interaction interface from being used to trigger other interaction events except moving the zoom page; and after the wearable device exits the zoom mode, the wearable device can enable the sliding operation on the interaction interface to trigger other interaction events, such as returning to the previous menu.
[0093] For an example, see Figure 3 , Figure 3 (1) in the figure shows the unscaled target page, with the center coordinates (X, Y); after scaling to n%, n is greater than 0, see Figure 3In (2), the target page is scaled to obtain a scaled page. The center coordinates of the scaled page are (X*n%, Y*n%), and the scaling ratio between the scaled page and the target page is n%. The scaled page supports users to drag it up, down, left, and right to view. Please refer to Figure 3 In (3), after the zoom page is dragged, the center coordinates of the zoom page after the move become (X*n%+a, Y*n%+b), and the displacement relationship between the current zoom page after the move and the zoom page before the move is (a, b).
[0094] In an exemplary embodiment, in response to detecting a touch operation on the zoom page, if the touch operation is performed when the zoom page is not moved, the wearable device can determine the touch coordinates of the touch operation in the target page based on the zoom ratio between the zoom page and the target page, and then determine the touch event based on the touch coordinates for touch response.
[0095] In another exemplary embodiment, in response to detecting a touch operation on the zoom page, if the user's touch operation on the zoom page is performed after the zoom page is moved, it is necessary to further consider the displacement relationship between the current zoom page after the move and the zoom page before the move. In response to the touch operation on the zoom page, the wearable device can determine the touch coordinates of the touch operation in the target page according to the displacement relationship between the current zoom page after the move and the zoom page before the move, and the zoom ratio between the zoom page and the target page, and then determine the touch event according to the touch coordinates for touch response. This embodiment enables the zoom page to interact even after it is moved, which is conducive to improving the user experience.
[0096] In some embodiments, after the touch coordinates of the touch operation in the target page are determined, a touch event can be determined based on the touch coordinates. If the touch event indicates a page switching event, the wearable device can obtain the page to be displayed after the switch, and then the page to be displayed can be scaled according to the scaling ratio between the scaled page and the target page, and the scaled page to be displayed can be displayed on the interactive interface of the wearable device. This embodiment realizes that the page to be displayed after the switch is displayed with the same scaling ratio as the target page, without the need for the user to readjust, and can adaptively adjust the different pages displayed in the interactive interface according to the user's current viewing habits, reducing the user's operation steps and improving the user experience.
[0097] In other embodiments, after the touch coordinates of the touch operation in the target page are determined, the touch event can be determined based on the touch coordinates. If the touch event indicates other processing events other than the page switching event (such as text input events, image insertion events, text deletion events or image deletion events, etc.), the wearable device can update the target page according to the other processing events to obtain an updated target page, and scale the updated target page according to the scaling ratio between the scaled page and the target page before the update to obtain the updated scaled page and display it on the interactive interface of the wearable device. This embodiment realizes that the updated target page can be displayed with the same scaling ratio as the original target page, without the need for the user to readjust it, and can adaptively adjust the different pages displayed in the interactive interface according to the user's current viewing habits, reducing the user's operation steps and improving the user experience.
[0098] The various technical features in the above embodiments can be arbitrarily combined as long as there is no conflict or contradiction between the combinations of features. However, due to space limitations, they are not described one by one. Therefore, any combination of the various technical features in the above embodiments also falls within the scope of this specification.
[0099] Corresponding to the embodiments of the aforementioned page display method, the present disclosure also provides embodiments of a page display device, a wearable device used by the device, and a storage medium.
[0100] Accordingly, see Figure 4 The present disclosure also provides a page display device, the device comprising:
[0101] The mode entry module 201 is used to enter the zoom mode in response to a start instruction.
[0102] The zoom processing module 202 is used to respond to the zoom instruction and perform zoom processing on the target page displayed on the interactive interface of the wearable device to obtain the zoomed page and display it on the interactive interface.
[0103] The movement processing module 203 is used to move the zoom page in response to a movement instruction, and display the zoom page after the movement processing in the interactive interface; wherein the movement instruction is generated based on the user's sliding operation in the interactive interface; after the wearable device enters the zoom mode, the sliding operation acting on the interactive interface is prohibited from being used to trigger other interactive events except moving the zoom page; after the wearable device exits the zoom mode, the sliding operation acting on the interactive interface is allowed to be used to trigger the other interactive events.
[0104] In some embodiments, the page display device further includes:
[0105] The touch coordinate determination module is used to determine the touch coordinates of the touch operation in the target page in response to detecting the touch operation on the zoomed page.
[0106] A touch event determination module is used to determine a touch event based on the touch coordinates.
[0107] A touch response module is used to obtain the page to be displayed after the switch if the touch event indicates a page switching event; scale the page to be displayed according to the scaling ratio between the scaled page and the target page, and display the scaled page to be displayed on the interactive interface of the wearable device.
[0108] In some embodiments, the page display device further includes:
[0109] The touch coordinate determination module is used to determine the touch coordinates of the touch operation in the target page in response to detecting the touch operation on the zoomed page.
[0110] A touch event determination module is used to determine a touch event based on the touch coordinates.
[0111] A touch response module is used to update the target page according to the other processing event to obtain an updated target page if the touch event indicates other processing events other than a page switching event; and to scale the updated target page according to the scaling ratio between the scaled page and the target page to obtain an updated scaled page and display it on the interactive interface of the wearable device.
[0112] In some embodiments, the touch coordinate determination module is specifically used to determine the touch coordinates of the touch operation in the target page according to the zoom ratio between the zoom page and the target page if the touch operation is performed when the zoom page is not moved; if the touch operation is performed after the zoom page is moved, determine the touch coordinates of the touch operation in the target page according to the displacement relationship between the current zoom page after the move process and the zoom page before the move process, and the zoom ratio between the zoom page and the target page.
[0113] In some embodiments, the zoom instruction is generated when the rotation mechanism of the wearable device is rotated, and the zoom ratio indicated by the zoom instruction is positively correlated with the rotation amount of the rotation mechanism of the wearable device. When the rotation mechanism of the wearable device is rotated in one of the clockwise direction and the counterclockwise direction, the target page is enlarged; when the rotation mechanism of the wearable device is rotated in the other of the clockwise direction and the counterclockwise direction, the target page is reduced; wherein the rotation mechanism includes at least one of a crown and a bezel.
[0114] In some embodiments, the zoom instruction is generated based on a sliding operation of the user within a specified area of the wearable device, and the zoom ratio indicated by the zoom instruction is positively correlated with the sliding distance of the sliding operation; wherein, the designated area is not the interactive interface; if the sliding direction of the sliding operation within the designated area is a first direction, the target page is enlarged; if the sliding direction of the sliding operation within the designated area is a second direction opposite to the first direction, the target page is reduced.
[0115] In some embodiments, the wearable device includes an electromyographic sensor; the zoom instruction is generated based on the finger movement detected by the electromyographic sensor, and the zoom ratio indicated by the zoom instruction is positively correlated with the amplitude of the finger movement detected by the electromyographic sensor; when the finger movement is one of a clenching movement or a stretching movement, the target page is enlarged; when the finger movement is the other of a clenching movement or a stretching movement, the target page is reduced.
[0116] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art can understand and implement it without paying any creative work.
[0117] Accordingly, the present disclosure also provides a wearable device, comprising: a processor; a memory for storing processor executable instructions; wherein, when the processor executes the executable instructions, it is used to implement any one of the methods described above.
[0118] Accordingly, the present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of any of the above methods are implemented.
[0119] The present disclosure may take the form of a computer program product implemented on one or more storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing program code. Computer-usable storage media include permanent and non-permanent, removable and non-removable media, and information storage can be achieved by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include but are not limited to: phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0120] like Figure 5 As shown, Figure 5 is a structural diagram of a wearable device according to an exemplary embodiment of the present disclosure.
[0121] Reference Figure 5 , device 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input / output (I / O) interface 312 , a sensor component 314 , and a communication component 316 .
[0122] The processing component 302 generally controls the overall operation of the device 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.
[0123] The memory 304 is configured to store various types of data to support operations on the device 300. Examples of such data include instructions for any application or method operating on the device 300, contact data, phone book data, messages, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0124] The power supply component 306 provides power to the various components of the device 300. The power supply component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 300.
[0125] The multimedia component 308 includes a screen that provides an output interface between the device 300 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front camera and / or a rear camera. When the device 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0126] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the device 300 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.
[0127] I / O interface 312 provides an interface between processing component 302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0128] The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the device 300. For example, the sensor assembly 314 can detect the open / closed state of the device 300, the relative positioning of components, such as the display and keypad of the device 300, and the sensor assembly 314 can also detect the position change of the device 300 or a component in the device 300, the presence or absence of user contact with the device 300, the orientation or acceleration / deceleration of the device 300, and the temperature change of the device 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0129] The communication component 316 is configured to facilitate wired or wireless communication between the device 300 and other devices. The device 300 can access a wireless network based on a communication standard, such as WiFi, 2G, 3G or 4G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0130] In an exemplary embodiment, the device 300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.
[0131] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 304 including instructions, which can be executed by a processor 320 of the device 300 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0132] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0133] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
[0134] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the scope of protection of the present disclosure.
Claims
1. A page display method, characterized in that: Applied to a wearable device, the method comprises: In response to the start command, entering a zoom mode; In response to the zoom instruction, zooming the target page displayed on the interactive interface of the wearable device to obtain the zoomed page and display it on the interactive interface; And, in response to a move instruction, the zoom page is moved, and the zoom page after the move processing is displayed in the interactive interface; wherein the move instruction is generated based on a sliding operation of the user in the interactive interface; after the wearable device enters the zoom mode, the sliding operation acting on the interactive interface is prohibited from being used to trigger other interactive events except moving the zoom page; after the wearable device exits the zoom mode, the sliding operation acting on the interactive interface is allowed to be used to trigger the other interactive events.
2. The method according to claim 1, characterized in that Also includes: In response to detecting a touch operation on the zoomed page, determining touch coordinates of the touch operation in the target page; determining a touch event based on the touch coordinates; If the touch event indicates a page switching event, obtaining a page to be displayed after the switching; The page to be displayed is scaled according to the scaling ratio between the scaled page and the target page, and the scaled page to be displayed is displayed on the interactive interface of the wearable device.
3. The method according to claim 1, characterized in that Also includes: In response to detecting a touch operation on the zoomed page, determining touch coordinates of the touch operation in the target page; determining a touch event based on the touch coordinates; If the touch event indicates another processing event other than a page switching event, updating the target page according to the other processing event to obtain an updated target page; The updated target page is scaled according to the scaling ratio between the scaled page and the target page to obtain an updated scaled page and display it on an interactive interface of the wearable device.
4. The method according to claim 2 or 3, characterized in that: The determining the touch coordinates of the touch operation on the target page includes: If the touch operation is performed when the zoomed page is not moved, determining the touch coordinates of the touch operation in the target page according to a zoom ratio between the zoomed page and the target page; If the touch operation is performed after the zoom page is moved, the touch coordinates of the touch operation in the target page are determined according to the displacement relationship between the current zoom page after the movement and the zoom page before the movement, and the zoom ratio between the zoom page and the target page.
5. The method according to any one of claims 1 to 3, characterized in that: The scaling instruction is generated when the rotation mechanism of the wearable device is rotated, and the scaling ratio indicated by the scaling instruction is positively correlated with the rotation amount of the rotation mechanism of the wearable device; When the rotating mechanism of the wearable device rotates in one of a clockwise direction and a counterclockwise direction, the target page is enlarged; When the rotation mechanism of the wearable device rotates in the other of a clockwise direction and a counterclockwise direction, the target page is reduced; Wherein, the rotating mechanism includes at least one of a crown and a bezel.
6. The method according to any one of claims 1 to 3, characterized in that: The zoom instruction is generated based on a sliding operation of the user in a designated area of the wearable device, and the zoom ratio indicated by the zoom instruction is positively correlated with the sliding distance of the sliding operation; wherein the designated area is not the interactive interface; If the sliding direction of the sliding operation in the designated area is a first direction, the target page is enlarged; if the sliding direction of the sliding operation in the designated area is a second direction opposite to the first direction, the target page is reduced.
7. The method according to any one of claims 1 to 3, characterized in that: The wearable device includes an electromyographic sensor; The scaling instruction is generated according to the finger movement detected by the electromyographic sensor, and the scaling ratio indicated by the scaling instruction is positively correlated with the amplitude of the finger movement detected by the electromyographic sensor; When the finger action is one of a pinching action and a stretching action, the target page is enlarged; when the finger action is the other of the pinching action and the stretching action, the target page is reduced.
8. A page display device, characterized in that: Applied to a wearable device, the device comprises: A mode entry module, used for entering a zoom mode in response to a start instruction; A zoom processing module, configured to perform zoom processing on a target page displayed on an interactive interface of the wearable device in response to a zoom instruction, obtain a zoomed page, and display it on the interactive interface; A movement processing module, used to move the zoom page in response to a movement instruction, and display the zoom page after the movement processing in an interactive interface; wherein the movement instruction is generated based on a sliding operation of the user in the interactive interface; after the wearable device enters the zoom mode, the sliding operation acting on the interactive interface is prohibited from being used to trigger other interactive events except moving the zoom page; after the wearable device exits the zoom mode, the sliding operation acting on the interactive interface is allowed to be used to trigger the other interactive events.
9. A wearable device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, when the processor executes the executable instructions, it is used to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
