









本申请要求于2020年04月28日提交国家知识产权局、申请号为202010352803.9、申请名称为“数据显示方法、装置、终端设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office, the application number is 202010352803.9, and the application name is "data display method, device, terminal equipment and storage medium" on April 28, 2020, the entire content of which is incorporated by reference Incorporated in this application.
本申请涉及终端技术领域,尤其涉及一种数据显示方法、装置、终端设备及存储介质。This application relates to the field of terminal technology, and in particular to a data display method, device, terminal device, and storage medium.
呼吸暂停综合征是在睡眠时发生呼吸暂停的一种疾病。呼吸暂停可能引起多种并发症。因此,有必要监控用户出现的呼吸暂停事件,以提醒用户提高警惕。通常可以根据用户的心率和血氧饱和度变化率来确定是否出现呼吸暂停事件。Apnea syndrome is a disease in which apnea occurs during sleep. Apneas can cause a variety of complications. Therefore, it is necessary to monitor the apnea events of the user to remind the user to be vigilant. Generally, the user's heart rate and blood oxygen saturation change rate can be used to determine whether an apnea event occurs.
现有技术中,可以通过可穿戴设备检测用户的心率和血氧饱和度的数据,并基于心率和血氧饱和度的数据检测用户是否出现呼吸暂停事件。然后绘制用户的心率图和血氧饱和度图,并在图上标记出现的呼吸暂停事件。In the prior art, a wearable device can be used to detect the user's heart rate and blood oxygen saturation data, and based on the heart rate and blood oxygen saturation data to detect whether the user has an apnea event. Then draw the user's heart rate graph and blood oxygen saturation graph, and mark the occurrence of apnea events on the graph.
但是,由于可穿戴设备的屏幕尺寸往往较小。因此,在屏幕上展示心率图、血氧饱和度图等数据图时,会导致用户无法清晰的观察相应的数据图。However, the screen size of wearable devices is often small. Therefore, when data graphs such as heart rate graphs and blood oxygen saturation graphs are displayed on the screen, the user cannot clearly observe the corresponding data graphs.
发明内容Summary of the invention
本申请实施例提供了一种数据显示方法、装置、终端设备及存储介质,可以改善由于屏幕尺寸较小,导致用户无法清晰的观察呈现在屏幕上的数据图的问题。The embodiments of the present application provide a data display method, device, terminal device, and storage medium, which can improve the problem that the user cannot clearly observe the data graph presented on the screen due to the small screen size.
第一方面,本申请实施例提供了一种数据显示方法,包括:获取待显示数据以及屏幕的尺寸,其中,待显示数据包括第一变量集合和第一变量集合对应的第二变量集合。根据屏幕的尺寸,将第一变量集合划分为N个显示区间,N为整数且N≥1。根据每个显示区间在第二变量集合中对应的数值,绘制每个显示区间的数据图。在屏幕上依次展示得到的N个数据图。In a first aspect, an embodiment of the present application provides a data display method, including: acquiring data to be displayed and the size of a screen, wherein the data to be displayed includes a first variable set and a second variable set corresponding to the first variable set. According to the size of the screen, the first variable set is divided into N display intervals, where N is an integer and N≥1. According to the corresponding value of each display interval in the second variable set, a data graph of each display interval is drawn. Display the obtained N data graphs in sequence on the screen.
在第一方面的一种可能的实现方式中,数据显示方法可以应用于移动终端、台式电脑、服务器、虚拟现实(Virtual Reality,VR)设备、增强现实(Augmented Reality,AR)设备等,在此不做限制。其中,移动终端可以为智能手机、平板电脑、笔记本电脑、可穿戴设备等。In a possible implementation of the first aspect, the data display method can be applied to mobile terminals, desktop computers, servers, virtual reality (VR) equipment, augmented reality (Augmented Reality, AR) equipment, etc., here No restrictions. Among them, the mobile terminal may be a smart phone, a tablet computer, a notebook computer, a wearable device, etc.
在第一方面中,先根据屏幕的尺寸,将第一变量集合划分为N个显示区间。然后根据每个显示区间在第二变量集合中对应的数值,绘制每个显示区间的数据图。再在屏幕上依次展示得到的N个数据图。由于显示区间是根据屏幕的尺寸确定的,所以在屏幕上展示每个显示区间的数据图时,数据图的尺度能够很好的适配屏幕。用户能够在屏幕够清晰的、准确地观察数据图所展示的内容。In the first aspect, the first variable set is divided into N display intervals according to the size of the screen. Then, according to the corresponding value of each display interval in the second variable set, a data graph of each display interval is drawn. Then display the obtained N data graphs on the screen in turn. Since the display interval is determined according to the size of the screen, when the data graph of each display interval is displayed on the screen, the scale of the data graph can fit the screen well. The user can observe the content displayed in the data graph clearly and accurately on the screen.
一些实施方式中,第二变量集合包括M个,M为整数且M≥1。In some embodiments, the second variable set includes M, M is an integer and M≥1.
根据每个显示区间在第二变量集合中对应的数值,绘制每个显示区间的数据图,包括:响应用户的选择操作,从M个第二变量集合中确定i个第二变量集合,i为整数且M≥i≥1。根据每个显示区间在i个第二变量集合中分别对应的数值,绘制每个显示区间的数据图。According to the corresponding value of each display interval in the second variable set, draw the data graph of each display interval, including: in response to the user's selection operation, determine i second variable sets from the M second variable sets, i is Integer and M≥i≥1. According to the corresponding value of each display interval in the i second variable set, draw the data graph of each display interval.
一些实施方式中,该方法还包括:根据第一变量集合和第二变量集合,检测目标事件。当检测到目标事件时,在与目标事件对应的显示区间的数据图上标记目标事件。In some embodiments, the method further includes: detecting the target event based on the first variable set and the second variable set. When the target event is detected, the target event is marked on the data graph of the display interval corresponding to the target event.
一些实施方式中,目标事件对应的显示区间的数据图上标记目标事件之后,还包括:响应用户的滑动操作,展示滑动操作指示的第一变量的数值和第一变量对应的第二变量的数值。若滑动操作指示的第一变量的数值与标记目标事件的第一变量的数值之间的差值小于预设阈值,展示目标事件的信息。In some embodiments, after the target event is marked on the data graph of the display interval corresponding to the target event, the method further includes: responding to the user's sliding operation, displaying the value of the first variable indicated by the sliding operation and the value of the second variable corresponding to the first variable . If the difference between the value of the first variable indicated by the sliding operation and the value of the first variable marking the target event is less than the preset threshold, the information of the target event is displayed.
一些实施方式中,目标事件对应的显示区间的数据图上标记目标事件之后,还包括:响应用户的查询操作,展示目标事件的信息。In some embodiments, after the target event is marked on the data graph of the display interval corresponding to the target event, the method further includes: responding to a user's query operation to display information about the target event.
第二方面,本申请实施例提供了一种数据显示装置,包括:获取模块,用于获取待显示数据以及屏幕的尺寸,其中,待显示数据包括第一变量集合和第一变量集合对应的第二变量集合。划分模块,用于根据屏幕的尺寸,将第一变量集合划分为N个显示区间,N为整数且N≥1。绘制模块,用于根据每个显示区间在第二变量集合中对应的数值,绘制每个显示区间的数据图。展示模块,用于在屏幕上依次展示得到的N个数据图。In a second aspect, an embodiment of the present application provides a data display device, including: an acquisition module for acquiring data to be displayed and the size of the screen, wherein the data to be displayed includes a first variable set and a first variable set corresponding to the first variable set. Two-variable set. The dividing module is used to divide the first variable set into N display intervals according to the size of the screen, where N is an integer and N≥1. The drawing module is used to draw a data graph of each display interval according to the corresponding value of each display interval in the second variable set. The display module is used to sequentially display the obtained N data graphs on the screen.
一些实施方式中,第二变量集合包括M个,M为整数且M≥1。绘制模块,具体用于响应用户的选择操作,从M个第二变量集合中确定i个第二变量集合,i为整数且M≥i≥1。根据每个显示区间在i个第二变量集合中分别对应的数值,绘制每个显示区间的数据图。In some embodiments, the second variable set includes M, M is an integer and M≥1. The drawing module is specifically configured to determine i second variable sets from M second variable sets in response to the user's selection operation, where i is an integer and M≥i≥1. According to the corresponding value of each display interval in the i second variable set, draw the data graph of each display interval.
一些实施方式中,该装置还包括:检测模块,用于根据第一变量集合和第二变量集合,检测目标事件。当检测到目标事件时,在与目标事件对应的显示区间的数据图上标记目标事件。In some embodiments, the device further includes: a detection module, configured to detect the target event according to the first variable set and the second variable set. When the target event is detected, the target event is marked on the data graph of the display interval corresponding to the target event.
一些实施方式中,该装置还包括响应模块,用于响应用户的滑动操作,展示滑动操作指示的第一变量的数值和第一变量对应的第二变量的数值。若滑动操作指示的第一变量的数值与标记目标事件的第一变量的数值之间的差值小于预设阈值,展示目标事件的信息。In some embodiments, the device further includes a response module for responding to a user's sliding operation, displaying the value of the first variable indicated by the sliding operation and the value of the second variable corresponding to the first variable. If the difference between the value of the first variable indicated by the sliding operation and the value of the first variable marking the target event is less than the preset threshold, the information of the target event is displayed.
一些实施方式中,响应模块,还用于响应用户的查询操作,展示目标事件的信息。In some embodiments, the response module is also used to respond to the user's query operation and display information about the target event.
第三方面,本申请实施例提供了一种终端设备,包括存储器、处理器、屏幕以及存储在存储器中并可在处理器上运行的计算机程序,处理器执行计算机程序时实现第一方面提供的方法。In the third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, a screen, and a computer program stored in the memory and running on the processor. The processor executes the computer program to implement the information provided in the first aspect. method.
第四方面,本申请实施例提供了一种计算机可读存储介质,计算机可读存储介质存储有计算机程序,计算机程序被处理器执行时实现第一方面提供的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method provided in the first aspect is implemented.
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行第一方面提供的方法。In the fifth aspect, the embodiments of the present application provide a computer program product, which when the computer program product runs on a terminal device, causes the terminal device to execute the method provided in the first aspect.
第六方面,本申请实施例提供了一种芯片系统,芯片系统包括存储器和处理器,处理器执行存储器中存储的计算机程序,以实现第一方面提供的方法。In a sixth aspect, an embodiment of the present application provides a chip system. The chip system includes a memory and a processor, and the processor executes a computer program stored in the memory to implement the method provided in the first aspect.
第七方面,本申请实施例提供了一种芯片系统,芯片系统包括处理器,处理器与第四方面提供的计算机可读存储介质耦合,处理器执行计算机可读存储介质中存储的计算机程序,以实现第一方面提供的方法。In a seventh aspect, an embodiment of the present application provides a chip system, the chip system includes a processor, the processor is coupled with the computer-readable storage medium provided in the fourth aspect, and the processor executes a computer program stored in the computer-readable storage medium, To achieve the method provided in the first aspect.
可以理解的是,上述第二方面至第七方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It can be understood that, for the beneficial effects of the second aspect to the seventh aspect, reference may be made to the related description in the first aspect, which is not repeated here.
图1是本申请一实施例提供的数据显示方法的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of a data display method provided by an embodiment of the present application;
图2是本申请一实施例提供的数据显示方法的流程示意图;FIG. 2 is a schematic flowchart of a data display method provided by an embodiment of the present application;
图3是本申请另一实施例提供的数据显示方法的流程示意图;FIG. 3 is a schematic flowchart of a data display method provided by another embodiment of the present application;
图4是本申请一实施例提供的数据显示方法的应用示意图;4 is a schematic diagram of the application of the data display method provided by an embodiment of the present application;
图5是本申请另一实施例提供的数据显示方法的应用示意图;FIG. 5 is an application schematic diagram of a data display method provided by another embodiment of the present application;
图6是本申请另一实施例提供的数据显示方法的应用示意图;FIG. 6 is an application schematic diagram of a data display method provided by another embodiment of the present application;
图7是本申请一实施例提供的数据显示装置的结构示意图;FIG. 7 is a schematic structural diagram of a data display device provided by an embodiment of the present application;
图8是本申请另一实施例提供的数据显示装置的结构示意图;FIG. 8 is a schematic structural diagram of a data display device provided by another embodiment of the present application;
图9是本申请另一实施例提供的数据显示装置的结构示意图;FIG. 9 is a schematic structural diagram of a data display device provided by another embodiment of the present application;
图10是本申请实施例提供的终端设备的结构示意图。FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are proposed for a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from obstructing the description of this application.
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It should be understood that when used in the specification and appended claims of this application, the term "comprising" indicates the existence of the described features, wholes, steps, operations, elements and/or components, but does not exclude one or more other The existence or addition of features, wholes, steps, operations, elements, components, and/or collections thereof.
如在本申请说明书和所附权利要求书中所使用的那样,术语“若”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“若确定”可以依据上下文被解释为意指“一旦确定”或“响应于确定”。As used in the description of this application and the appended claims, the term "if" can be construed as "when" or "once" or "in response to determination" or "in response to detecting ". Similarly, the phrase "if determined" can be interpreted as meaning "once determined" or "in response to determination" depending on the context.
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。In addition, in the description of the specification of this application and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
在本申请说明书中描述的参考“一个实施方式”或“一些实施方式”等意味着在本申请的一个或多个实施方式中包括结合该实施方式描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施方式中”、“在一些实施方式中”、“在其他一些实施方式中”、“在另外一些实施方式中”等不是必然都参考相同的实施方式,而是意味着“一个或多个但不是所有的实施方式”,除非是以其他方式另外特别强调。The reference to "one embodiment" or "some embodiments" described in the specification of this application means that one or more embodiments of this application include a specific feature, structure, or characteristic described in combination with the embodiment. Therefore, the words "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. appearing in different places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized.
本申请实施例提供的数据显示方法可以应用于手机、平板电脑、可穿戴设备、车载设备、AR设备、VR设备、笔记本电脑、超级移动个人计算机(Ultra-Mobile Personal Computer,UMPC)、上网本、个人数字助理(Personal Digital Assistant,PDA)等终端设备上,本申请实施例对终端设备的具体类型不作任何限制。其中,当终端设备为可穿 戴设备时,该可穿戴设备还可以是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,如智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。The data display method provided by the embodiments of this application can be applied to mobile phones, tablets, wearable devices, vehicle-mounted devices, AR devices, VR devices, notebook computers, Ultra-Mobile Personal Computers (UMPC), netbooks, and personal computers. On terminal devices such as a digital assistant (Personal Digital Assistant, PDA), the embodiment of the present application does not impose any restriction on the specific type of the terminal device. Among them, when the terminal device is a wearable device, the wearable device can also be a general term for using wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes, etc. . A wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories. In a broad sense, wearable smart devices include full-featured, large-sized, complete or partial functions that can be implemented without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to be used in conjunction with other devices such as smart phones. , Such as all kinds of smart bracelets and smart jewelry for physical sign monitoring.
作为示例而非限定,图1示出了本申请一种数据显示方法的应用场景示意图。As an example and not a limitation, FIG. 1 shows a schematic diagram of an application scenario of a data display method of the present application.
参考图1,设终端设备为智能手表12、智能手机13或台式电脑14。在图1示出的场景中,用户11佩戴了智能手表12,智能手表12可与智能手机13和台式电脑14通信连接。例如,智能手表12可以通过蓝牙与智能手机13通信连接。或者,智能手表12可以通过蜂窝移动网络与台式电脑14通信连接,在此不做限制。智能手表12可以采集用户的数据,如用户的心率、血氧饱和度等。Referring to FIG. 1, it is assumed that the terminal device is a
在可穿戴设备采集到用户的数据后,根据采集到的数据绘制数据图,以展示一天中数据的变化情况。例如,可以将采集到的心率和血氧饱和度分别绘制为心率图和血氧饱和度图,分别展示一天中心率况和血氧饱和度的变化情况。在通过不同的终端设备展示绘制的数据图时,由于每个终端设备的屏幕尺寸并不相同,导致显示数据图时会出现不适配的问题。例如,对于智能手表来说,由于屏幕较小,在显示粒度较大的数据图时,数据图需要压缩数据图的尺寸才能够完整显示。而压缩后的数据图不够清晰准确,不利于用户观察。After the wearable device collects the user's data, it draws a data graph based on the collected data to show the changes in the data during the day. For example, the collected heart rate and blood oxygen saturation can be plotted as a heart rate graph and a blood oxygen saturation graph, respectively, to show the changes in a day's center rate and blood oxygen saturation. When displaying the drawn data graphs through different terminal devices, the screen size of each terminal device is not the same, resulting in a problem of incompatibility when displaying the data graph. For example, for a smart watch, due to a small screen, when displaying a data graph with a larger granularity, the data graph needs to be compressed in size to be able to display it completely. The compressed data graph is not clear and accurate enough, which is not conducive to user observation.
为此,本申请提供一种数据显示方法,能够基于屏幕尺寸自适应调整显示区间,从而使得每个显示区间对应的数据图都能与屏幕匹配,让用户能够清楚地观察每个显示出的数据图。To this end, this application provides a data display method that can adaptively adjust the display interval based on the screen size, so that the data graph corresponding to each display interval can be matched with the screen, so that the user can clearly observe each displayed data picture.
本申请提供的数据显示方法可以应用于终端设备。例如,可以是在图1示出的智能手表12、智能手机13或台式电脑14中的至少一个。The data display method provided in this application can be applied to terminal devices. For example, it may be at least one of the
当数据显示方法应用于智能手表12时,智能手表12采集用户的待显示数据,并在智能手表12上对待显示数据进行处理,绘制得到数据图。最终在智能手表12的屏幕上显示绘制的数据图。When the data display method is applied to the
当数据显示方法应用于智能手机13或台式电脑14时,智能手机12或台式电脑14可以从智能手表12获取用户的待显示数据,然后对用户的待显示数据进行处理,绘制得到数据图。最终在智能手机13或台式电脑14的屏幕上显示绘制的数据图。When the data display method is applied to the
图2示出了本申请一实施例提供的数据显示方法的流程示意图。如图2所示,本申请提供的数据显示方法包括:FIG. 2 shows a schematic flowchart of a data display method provided by an embodiment of the present application. As shown in Figure 2, the data display method provided by this application includes:
S21、获取待显示数据以及用于显示待显示数据的屏幕的尺寸。S21: Obtain the data to be displayed and the size of the screen for displaying the data to be displayed.
其中,待显示数据包括待显示数据包括第一变量集合和第一变量集合对应的第二变量集合。The data to be displayed includes the data to be displayed including a first variable set and a second variable set corresponding to the first variable set.
一些实施方式中,第一变量可以为时间、温度等,第二变量则为随着第一变量发生变化的数据。例如,当第一变量为时间时,第二变量可以是心率、血氧饱和度、步数等,在此不做限制。In some embodiments, the first variable can be time, temperature, etc., and the second variable is data that changes with the first variable. For example, when the first variable is time, the second variable may be heart rate, blood oxygen saturation, number of steps, etc., which is not limited here.
还需说明的是,屏幕的尺寸可以是屏幕的对角线尺寸,也可以是屏幕上用于显示 待显示数据区域的尺寸。It should also be noted that the size of the screen can be the diagonal size of the screen, or the size of the area on the screen used to display the data to be displayed.
例如,当终端设备为智能手表时,若智能手表的屏幕为直径为D的圆形,则屏幕的尺寸可以是D。或者,若在智能手表屏幕内的部分区域显示待显示数据,则屏幕的尺寸可以为该部分区域的宽度。For example, when the terminal device is a smart watch, if the screen of the smart watch is a circle with a diameter of D, the size of the screen may be D. Or, if the data to be displayed is displayed in a partial area of the smart watch screen, the size of the screen may be the width of the partial area.
再例如,当终端设备为智能手机时,可以获取智能手机屏幕的对角线长度(即屏幕的标称尺寸)以及屏幕纵横比,计算得到屏幕纵向高度和横向宽度。当纵向观看智能手机时,屏幕的尺寸可以为横向宽度。当横向观看智能手机时,屏幕的尺寸可以为纵向高度。或者,也可以直接将智能手机屏幕的对角线长度作为屏幕的尺寸,在此不做限制。For another example, when the terminal device is a smart phone, the diagonal length of the smart phone screen (that is, the nominal size of the screen) and the screen aspect ratio can be obtained, and the vertical height and horizontal width of the screen can be calculated. When viewing a smartphone in portrait orientation, the size of the screen can be horizontal width. When viewing a smartphone in landscape, the size of the screen can be portrait height. Alternatively, the diagonal length of the smartphone screen can also be directly used as the size of the screen, and there is no restriction here.
S22、根据屏幕的尺寸,将第一变量集合划分为N个显示区间。S22. Divide the first variable set into N display intervals according to the size of the screen.
其中,N为整数且N≥1。Wherein, N is an integer and N≥1.
一些实施方式中,第一变量集合中,第一变量在一个固定的变量区间内发生变化。例如,当第一变量为时间时,第一变量的变量区间可以为24小时。相应的,第一变量集合可为{00:00,00:01,00:02,……,23:58,23:59}。In some embodiments, in the first variable set, the first variable changes within a fixed variable interval. For example, when the first variable is time, the variable interval of the first variable may be 24 hours. Correspondingly, the first variable set may be {00:00, 00:01, 00:02, ..., 23:58, 23:59}.
仅作为示例而非限制,设屏幕尺寸以屏幕的对角线尺寸为准(圆形屏幕则为屏幕直径)。可以通过预设的屏幕尺寸与显示区间个数的对应关系来确定N的取值。例如,当第一变量为时间时,若屏幕尺寸符合第一尺寸范围(如屏幕尺寸小于3英寸),则将第一变量的变量区间划分为24个显示区间,即每个显示区间对应1个小时。若屏幕尺寸符合第二尺寸范围(如屏幕尺寸大于或等于3英寸,小于8英寸),则可以将第一变量的变量区间划分为6个显示区间,即每个显示区间对应4个小时。若屏幕尺寸符合第三尺寸范围,则可以将第一变量的变量区间划分为1个显示区间,即每个显示区间对应24小时。As an example and not a limitation, the screen size shall be based on the diagonal size of the screen (a circular screen is the screen diameter). The value of N can be determined by the correspondence between the preset screen size and the number of display intervals. For example, when the first variable is time, if the screen size meets the first size range (for example, the screen size is less than 3 inches), the variable interval of the first variable is divided into 24 display intervals, that is, each display interval corresponds to 1 Hour. If the screen size falls within the second size range (for example, the screen size is greater than or equal to 3 inches and less than 8 inches), the variable interval of the first variable can be divided into 6 display intervals, that is, each display interval corresponds to 4 hours. If the screen size meets the third size range, the variable interval of the first variable can be divided into 1 display interval, that is, each display interval corresponds to 24 hours.
或者,还可以设置单位尺寸内显示区间的数量,然后根据屏幕尺寸确定N的取值。示例性的,当第一变量为时间时,可以设置每1英寸显示1个小时的数据。例如,当屏幕尺寸为3英寸时,该屏幕每次可以显示3个小时的数据。此时,将第一变量的变量区间分为8个显示区间(每次显示3小时的数据,一共24小时,则N=8)。屏幕尺寸的范围、变量区间划分的数量在此均不作限制,以实际应用时的需求为准。Alternatively, you can also set the number of display intervals in a unit size, and then determine the value of N according to the screen size. Exemplarily, when the first variable is time, it can be set to display 1 hour of data every 1 inch. For example, when the screen size is 3 inches, the screen can display 3 hours of data at a time. At this time, the variable interval of the first variable is divided into 8 display intervals (3 hours of data are displayed each time, a total of 24 hours, then N=8). The range of screen size and the number of variable interval divisions are not limited here, and the actual application requirements shall prevail.
S23、根据每个显示区间在第二变量集合中对应的数值,绘制每个显示区间的数据图。S23. Draw a data graph of each display interval according to the corresponding value of each display interval in the second variable set.
示例性的,数据图的类型可以包括柱形图(直方图)、折线图、曲线图、条形图、雷达图等。例如,可以将显示区间中每个第一变量在第二变量集合中对应的数值,在坐标系中标注为坐标点,然后按照第一变量的顺序将多个坐标点依次连接,得到折线图。或者,还可以将多个坐标点与曲线拟合,得到曲线图。在此不做限制。Exemplarily, the types of data graphs may include bar graphs (histograms), line graphs, curve graphs, bar graphs, radar graphs, and the like. For example, the corresponding value of each first variable in the second variable set in the display interval can be marked as a coordinate point in the coordinate system, and then multiple coordinate points can be connected in sequence according to the order of the first variable to obtain a line graph. Alternatively, multiple coordinate points can be fitted to the curve to obtain a curve graph. There is no restriction here.
S24、在屏幕上依次展示得到的N个数据图。S24. Display the obtained N data graphs in sequence on the screen.
一些实施方式中,在屏幕依次展示N个数据图时,可以每隔预设时间切换一张数据图。或者,响应用户的操作切换一张数据图。例如,设预设时间为5秒,则可以每隔5秒,切换至下一显示区间对应的数据图。或者,在检测到用户的滑动操作后,响应用户的滑动操作,显示上一显示区间或下一显示区间对应的数据图。In some implementations, when N data graphs are displayed in sequence on the screen, one data graph can be switched every preset time. Or, switch a data graph in response to a user's operation. For example, if the preset time is set to 5 seconds, it can switch to the data graph corresponding to the next display interval every 5 seconds. Or, after detecting the user's sliding operation, in response to the user's sliding operation, the data graph corresponding to the previous display interval or the next display interval is displayed.
在本实施例中,先根据屏幕的尺寸,将第一变量集合划分为N个显示区间。然后 根据每个显示区间在第二变量集合中对应的数值,绘制每个显示区间的数据图。再在屏幕上依次展示得到的N个数据图。由于显示区间是根据屏幕的尺寸确定的,所以在屏幕上展示每个显示区间的数据图时,数据图的尺度能够很好的适配屏幕。用户能够在屏幕够清晰的、准确地观察数据图所展示的内容。In this embodiment, the first variable set is divided into N display intervals according to the size of the screen. Then draw the data graph of each display interval according to the corresponding value of each display interval in the second variable set. Then display the obtained N data graphs on the screen in turn. Since the display interval is determined according to the size of the screen, when the data graph of each display interval is displayed on the screen, the scale of the data graph can fit the screen well. The user can observe the content displayed in the data graph clearly and accurately on the screen.
图3示出了本申请另一实施例提供的数据显示方法的流程示意图。在此,结合图3对本申请提供的数据显示方法进行更加详细说明。作为示例而非限定,该方法可以应用于上述终端设备中。FIG. 3 shows a schematic flowchart of a data display method provided by another embodiment of the present application. Here, the data display method provided by the present application will be described in more detail with reference to FIG. 3. As an example and not a limitation, the method can be applied to the above-mentioned terminal device.
S301、获取待显示数据以及用于显示待显示数据的屏幕的尺寸。S301. Obtain the data to be displayed and the size of the screen for displaying the data to be displayed.
其中,待显示数据包括第一变量集合和第二变量集合,第二变量集合可以包括M个,M为整数且M≥1。The data to be displayed includes a first variable set and a second variable set. The second variable set may include M, where M is an integer and M≥1.
仅作为示例,在本实施例中,第一变量可以为时间,第二变量可以包括血氧饱和度(简称血氧)和心率两种(M=2)。For example only, in this embodiment, the first variable may be time, and the second variable may include blood oxygen saturation (abbreviated blood oxygen) and heart rate (M=2).
一些实施方式中,待显示数据可以通过可穿戴设备获取,例如,将智能手表或智能手环佩戴于手腕处,通过智能手表或智能手环的传感器测量并获取待显示数据。可穿戴设备通过传感器采集用户的血氧饱和度以及心率频率可以根据需求进行调整。例如,可穿戴设备可以每分钟采集12次数据。In some embodiments, the data to be displayed can be acquired through a wearable device, for example, a smart watch or smart bracelet is worn on the wrist, and the data to be displayed is measured and acquired by a sensor of the smart watch or smart bracelet. The wearable device collects the user's blood oxygen saturation and heart rate frequency through sensors and can be adjusted according to needs. For example, a wearable device can collect
采集得到的待显示数据中,可能存在脏数据(即错误或无效的数据)。可以通过预设清洗规则对脏数据进行过滤、清洗。例如,设置脏数据的清洗名单,清洗名单可以包括明显错误的数据,如采集到的数值为0或心率为10次/分钟等。或者采集到的数据与上一次采集数据的差值明显过大,如上一次采集心率为80次/分钟,当前采集到的的心率为130次每分钟或50次/分钟。Among the collected data to be displayed, there may be dirty data (that is, wrong or invalid data). Dirty data can be filtered and cleaned by preset cleaning rules. For example, a cleaning list of dirty data is set. The cleaning list can include data that is obviously wrong, such as the collected value is 0 or the heart rate is 10 beats per minute. Or the difference between the collected data and the last collected data is obviously too large. For example, the heart rate collected last time is 80 beats/minute, and the heart rate collected currently is 130 beats per minute or 50 beats/minute.
最后,可以将一分钟内获取的待显示数据清洗后,剩余的数据进行平均值计算,得到的数值即为该分钟内的血氧饱和度或心率。Finally, after cleaning the data to be displayed obtained within one minute, the remaining data can be averaged, and the value obtained is the blood oxygen saturation or heart rate within that minute.
S302、根据屏幕的尺寸,将第一变量集合划分为N个显示区间。S302. Divide the first variable set into N display intervals according to the size of the screen.
其中,N为整数且N≥1。Wherein, N is an integer and N≥1.
在本实施例中,可以参考S22中显示区间的划分示例,在此不做赘述。In this embodiment, reference may be made to the example of dividing the display interval in S22, which will not be repeated here.
S303、响应用户的选择操作,从M个第二变量集合中确定i个第二变量集合。S303. In response to the user's selection operation, determine i second variable sets from the M second variable sets.
其中,i为整数且M≥i≥1。Among them, i is an integer and M≥i≥1.
一些实施方式中,用户可以选择要显示的第二变量。例如,可以在屏幕上以卡片的形式展示i个第二变量集合,以便用户选择。示例性的,以第二变量包括血氧饱和度和心率为例,可以在屏幕上显示两张卡片,一张用于指示用户选择显示血氧饱和度,一张用于指示用户选择显示心率。用户可以通过点击操作勾选卡片以选择想要展示的第二变量。需要说明的是,两个第二变量可以单独显示(勾选其中一张卡片,i=1),也可以同时显示(勾选两张卡片,i=2)本申请不限制同时显示的第二变量的数量。In some embodiments, the user can select the second variable to be displayed. For example, the i second variable set can be displayed in the form of a card on the screen for the user to select. Exemplarily, taking the second variable including blood oxygen saturation and heart rate as an example, two cards may be displayed on the screen, one for instructing the user to choose to display the blood oxygen saturation, and one for instructing the user to choose to display the heart rate. The user can select the second variable to be displayed by tick the card by clicking the operation. It should be noted that the two second variables can be displayed separately (check one of the cards, i=1), or at the same time (check two cards, i=2). This application does not limit the second variable displayed at the same time. The number of variables.
S304、根据每个显示区间在第二变量集合中对应的数值,绘制每个显示区间的数据图。S304: Draw a data graph of each display interval according to the corresponding value of each display interval in the second variable set.
一些实施方式中,可以曲线的形式将每个显示区间对应的i个第二变量绘制在数据图上。数据图的横坐标表示第一变量的数值,纵坐标表示每个第二变量的数值,i个第二变量可以绘制在同一张数据图中。以更加清晰地展示不同数据变量之间的关联 特性。In some embodiments, the i second variables corresponding to each display interval can be plotted on the data graph in the form of a curve. The abscissa of the data graph represents the value of the first variable, and the ordinate represents the value of each second variable. The i second variables can be plotted in the same data graph. In order to show the correlation characteristics between different data variables more clearly.
需要说明的是,若第二变量中存在数据不全的情况,如丢失了部分数据,或部分数据为无效数据等。则可以将丢失数据的部分通过虚线表示。同时,还可以使用贝塞尔曲线对绘制的曲线进行平滑处理,使得绘制的区间能够更加准确地展示数据变化的趋势。It should be noted that if there is incomplete data in the second variable, for example, part of the data is missing, or part of the data is invalid data, etc. Then the part of the missing data can be represented by a dotted line. At the same time, you can also use the Bezier curve to smooth the drawn curve, so that the drawn interval can more accurately show the trend of data changes.
在将每个第二变量绘制在同一数据图上时,可以为每个第二变量使用不同的填充颜色,以明显区别每个第二变量。凸显变量异常的区域,利于用户识别变量异常。When plotting each second variable on the same data graph, a different filling color can be used for each second variable to clearly distinguish each second variable. Highlight the abnormal area of the variable, which is helpful for the user to identify the abnormal variable.
S305、在屏幕上依次展示得到的N个数据图。S305: Display the obtained N data graphs in sequence on the screen.
图4示出了在智能手表上展示数据图的示例,图5示出了在智能手机上展示数据图的示例,图6示出了在台式电脑上展示数据图的示例。FIG. 4 shows an example of displaying a data graph on a smart watch, FIG. 5 shows an example of displaying a data graph on a smart phone, and FIG. 6 shows an example of displaying a data graph on a desktop computer.
参考图4和S22中根据屏幕尺寸划分显示区间示例,智能手表的屏幕尺寸小于3英寸,则每个显示区间对应4个小时。如图4所示,在区间显示区域15中,显示了当前区间对应的时间,即图4中展示了22:30至23:30分的血氧饱和度以及心率的变化曲线。Referring to the example of dividing the display interval according to the screen size in Figs. 4 and S22, if the screen size of the smart watch is less than 3 inches, each display interval corresponds to 4 hours. As shown in FIG. 4, in the
需要说明的是,用户可以通过滑动操作或者操作智能手表上的物理旋钮,以查看上一显示区间或下一显示区间对应的数据图。例如,用户可以在智能手表的屏幕上向右滑动,以查看前一显示区间(21:30至22:30)的血氧饱和度以及心率的变化曲线。或者,用户还可以在屏幕上向左拖动,屏幕上的数据图随着用户的拖动向左移动,显示下一显示区间内的部分数据图(例如,在屏幕上显示23:00至24:00的血氧饱和度以及心率的变化曲线)。It should be noted that the user can view the data graph corresponding to the previous display interval or the next display interval by sliding operation or operating the physical knob on the smart watch. For example, the user can swipe to the right on the screen of the smart watch to view the blood oxygen saturation and heart rate change curve in the previous display interval (21:30 to 22:30). Alternatively, the user can also drag to the left on the screen, and the data graph on the screen moves to the left with the dragging of the user, displaying part of the data graph in the next display interval (for example, displaying 23:00 to 24 on the screen). : 00 blood oxygen saturation and heart rate change curve).
其中,滑动操作切换显示区间还是拖动数据图移动,可以取决于滑动操作的速度。例如,若滑动操作的速度大于预设速度阈值,则根据滑动操作的方向切换显示区间。若滑动操作的速度小于预设速度阈值,则拖动数据图移动向滑动操作的方向移动。Among them, whether the sliding operation switches the display interval or dragging the data graph to move may depend on the speed of the sliding operation. For example, if the speed of the sliding operation is greater than the preset speed threshold, the display section is switched according to the direction of the sliding operation. If the speed of the sliding operation is less than the preset speed threshold, drag the data graph to move in the direction of the sliding operation.
一些实施方式中,若智能手表上存在物理旋钮,则还可以通过旋转旋钮实现切换显示区间以及拖动数据图移动。例如,若旋转旋钮的速度大于预设转速阈值,则根据旋转旋钮的方向切换显示区间。若旋转旋钮的速度小于预设转速阈值,则拖动数据图根据旋转旋钮的方向移动。In some implementations, if there is a physical knob on the smartwatch, it is also possible to switch the display interval and drag the data graph to move by rotating the knob. For example, if the speed of the rotating knob is greater than the preset rotational speed threshold, the display interval is switched according to the direction of the rotating knob. If the speed of the rotating knob is less than the preset speed threshold, the data graph will be dragged to move according to the direction of the rotating knob.
需要说明的是,可穿戴设备等终端设备为了保证设备的续航以及轻便,其处理器的处理性能往往较弱。对此,在智能手表上切换显示区间或拖动数据图移动时,可以采取懒加载的方式对数据图进行加载。懒加载是指在用户切换显示区间的同时,加载即将显示的显示区间对应的数据图。或者,在拖动数据图移动的同时,加载即将显示的数据图。由于懒加载无需将整个第一变量的变量区间内的所有数据图加载,所以占用系统资源小,能够保证处理器性能较弱的设备流畅运行,提高用户体验。It should be noted that in order to ensure the battery life and portability of terminal devices such as wearable devices, the processing performance of their processors is often weak. In this regard, when switching the display interval or dragging the data graph to move on the smart watch, the data graph can be loaded in a lazy loading manner. Lazy loading refers to loading the data graph corresponding to the display interval to be displayed while the user switches the display interval. Or, while dragging the data graph to move, load the data graph to be displayed. Since lazy loading does not need to load all the data graphs in the variable range of the entire first variable, it occupies less system resources, can ensure the smooth operation of devices with weaker processor performance, and improve user experience.
参考图5,图5中智能手机的屏幕尺寸介于3英寸与8英寸之间,则每个显示区间对应4个小时。如图5所示,在区间显示区域15中,显示了当前区间对应的时间,即图5中展示了20:00至24:00分的血氧饱和度以及心率的变化曲线。Referring to Figure 5, the screen size of the smartphone in Figure 5 is between 3 inches and 8 inches, and each display interval corresponds to 4 hours. As shown in FIG. 5, in the
参考图6,图6中台式电脑的屏幕尺寸大于8英寸,则每个显示区间对应24个小时。如图5所示,在区间显示区域15中,显示了当前区间对应的时间,即图5中展示了00:00至24:00分的血氧饱和度以及心率的变化曲线。Referring to Fig. 6, the screen size of the desktop computer in Fig. 6 is larger than 8 inches, and each display interval corresponds to 24 hours. As shown in FIG. 5, in the
在智能手机上或台式电脑上拖动切换显示区间以及拖动数据图移动时,与智能手表类似,在此不做赘述。When dragging on a smart phone or a desktop computer to switch the display interval and drag the data graph to move, it is similar to a smart watch, and will not be repeated here.
S306、根据第一变量集合和第二变量集合,检测是否存在目标事件,若存在,则执行S307,若不存在则结束流程。S306: Detect whether there is a target event according to the first variable set and the second variable set, if it exists, execute S307, and if it does not exist, end the process.
其中,目标事件是根据第一变量集合和第二变量集合确定的。可以通过预设判断规则,根据第二变量中的i个变量数据确定是否存在目标事件。例如,第二变量包括血氧饱和度以及心率,目标事件为呼吸暂停事件。此时,可以根据同一时刻的血氧饱和度以及心率,判断该时刻用户是否出现呼吸暂停事件。示例性的,当用户的心率大于100次/分钟,血氧饱和度小于85%时,可以确认用户出现呼吸暂停事件。Among them, the target event is determined according to the first variable set and the second variable set. A preset judgment rule can be used to determine whether there is a target event based on the data of i variables in the second variable. For example, the second variable includes blood oxygen saturation and heart rate, and the target event is an apnea event. At this time, it can be determined whether the user has an apnea event at that moment based on the blood oxygen saturation and heart rate at the same moment. Exemplarily, when the user's heart rate is greater than 100 beats/minute and the blood oxygen saturation is less than 85%, it can be confirmed that the user has an apnea event.
S307、在与目标事件对应的显示区间的数据图上标记目标事件。S307: Mark the target event on the data graph of the display interval corresponding to the target event.
示例性的,参考图4、图5和图6,可以在数据图上通过目标事件框16标记发生目标事件的位置。例如,当用户出现呼吸暂停事件时,在数据图上通过目标事件框标记出现呼吸暂停事件的位置。在数据图上标记目标事件不限于目标事件框。例如,还可以通过标记点、改变颜色等方式进行标记,在此不做限制。Exemplarily, referring to FIG. 4, FIG. 5, and FIG. 6, the
S308、响应用户的滑动操作,展示滑动操作指示的第一变量的数值和第一变量对应的第二变量的数值。S308: In response to the user's sliding operation, display the value of the first variable indicated by the sliding operation and the value of the second variable corresponding to the first variable.
一些实施方式中,参考图4、图5和图6,用户的滑动操作作用于屏幕上时,可以在用户滑动操作作用的位置显示数据标记17,并展示数据标记17对应的血氧饱和度以及心率。In some embodiments, referring to FIGS. 4, 5, and 6, when the user's sliding operation is applied to the screen, the
例如,图4中,数据标记17对应的血氧饱和度为89%,心率为82次/分钟,则在屏幕上的第一显示区域18展示血氧饱和度为89%,心率为82次/分钟。图5中,数据标记17对应的血氧饱和度为86%,心率为110次/分钟,则在屏幕上的第一显示区域18展示血氧饱和度为86%,心率为110次/分钟。图6中,数据标记17对应的血氧饱和度为94%,心率为62次/分钟,则在屏幕上的第一显示区域18展示血氧饱和度为94%,心率为62次/分钟。For example, in Figure 4, the blood oxygen saturation corresponding to
S310、确定滑动操作指示的第一变量的数值与标注发生目标事件的第一变量的数值之间的差值是否小于预设阈值,若小于,则执行S311,若不小于,则执行S308。S310. Determine whether the difference between the value of the first variable indicated by the sliding operation and the value of the first variable marked with the occurrence of the target event is less than a preset threshold, if it is less, execute S311, and if it is not less, execute S308.
一些实施方式中,参考图5,当用户拖动的数据标记17与目标事件框16之间的距离小于预设阈值时,可以将数据标记17吸附至目标事件框16的中央,然后执行S310。以便于用户更加方便的观察出现目标事件时的数据。In some embodiments, referring to FIG. 5, when the distance between the
S309、响应用户的查询操作,执行S311。S309. In response to the user's query operation, execute S311.
还有一种可能的实现方式,参考图5,当用户希望直接查看目标事件时,可以通过点击第二显示区域19中的提示信息“23:14出现呼吸暂停,持续40秒,点击查看详情”,将数据标记17吸附至目标事件框16的中央,然后执行S311。There is another possible implementation. Referring to Figure 5, when the user wants to view the target event directly, he can click the prompt message "Apnea at 23:14 for 40 seconds, click to view details" in the
S310、展示目标事件的信息。S310. Display the information of the target event.
一种可能的实现方式中,参考图5,展示目标事件的信息时,可以在第二显示区域19显示提示信息“23:14出现呼吸暂停,持续40秒,点击查看详情”。或者也可以以弹窗、推送等方式,展示目标事件的信息。示例性的,在智能手表上查看目标事件的信息时,可以将目标事件的信息推送给与智能手表连接的智能手机,在智能手机 上展示目标事件的详细信息。或者,在智能手机或台式电脑上查看目标事件的信息时,可以通过弹窗的形式展示目标事件的详细信息。In one possible implementation manner, referring to FIG. 5, when displaying the information of the target event, the prompt message "Apnea occurred at 23:14 for 40 seconds, click to view details" can be displayed in the
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
对应于上文实施例的数据显示方法,图7示出了本申请实施例提供的数据显示装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。Corresponding to the data display method of the above embodiment, FIG. 7 shows a structural block diagram of a data display device provided in an embodiment of the present application. For ease of description, only parts related to the embodiment of the present application are shown.
参照图7,本申请实施例提供了一种数据显示装置,包括:获取模块41,用于获取待显示数据以及屏幕的尺寸,其中,待显示数据包括第一变量集合和第一变量集合对应的第二变量集合。7, an embodiment of the present application provides a data display device, including: an
划分模块42,用于根据屏幕的尺寸,将第一变量集合划分为N个显示区间,N为整数且N≥1。The dividing
绘制模块43,用于根据每个显示区间在第二变量集合中对应的数值,绘制每个显示区间的数据图。The
展示模块44,用于在屏幕上依次展示得到的N个数据图。The
一些实施方式中,第二变量集合包括M个,M为整数且M≥1。绘制模块43,具体用于响应用户的选择操作,从M个第二变量集合中确定i个第二变量集合,i为整数且M≥i≥1。根据每个显示区间在i个第二变量集合中分别对应的数值,绘制每个显示区间的数据图。In some embodiments, the second variable set includes M, M is an integer and M≥1. The
一些实施方式中,该装置还包括:检测模块45,用于根据第一变量集合和第二变量集合,检测目标事件。当检测到目标事件时,在与目标事件对应的显示区间的数据图上标记目标事件。In some embodiments, the device further includes: a
一些实施方式中,该装置还包括响应模块46,用于响应用户的滑动操作,展示滑动操作指示的第一变量的数值和第一变量对应的第二变量的数值。若滑动操作指示的第一变量的数值与标记目标事件的第一变量的数值之间的差值小于预设阈值,展示目标事件的信息。In some embodiments, the device further includes a
一些实施方式中,响应模块46,还用于响应用户的查询操作,展示目标事件的信息。In some embodiments, the
需要说明的是,上述装置中模块之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information interaction and execution process between the modules in the above-mentioned device are based on the same concept as the method embodiment of this application, and its specific functions and technical effects can be found in the method embodiment section. I won't repeat it here.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法 实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the division of the above functional units and modules is used as an example. In practical applications, the above functions can be allocated to different functional units and modules as needed. Module completion, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist alone physically, or two or more units can be integrated into one unit. The above-mentioned integrated units can be hardware-based Formal realization can also be realized in the form of a software functional unit. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working process of the units and modules in the above system, please refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
图10为本申请一实施例提供的终端设备的结构示意图。如图10所示,该实施例的终端设备5包括:至少一个处理器51(图10中仅示出一个处理器)、存储器52、屏幕54以及存储在存储器52中并可在至少一个处理器51上运行的计算机程序53,处理器51执行计算机程序53时实现上述任意各个数据显示方法实施例中的步骤。FIG. 10 is a schematic structural diagram of a terminal device provided by an embodiment of this application. As shown in FIG. 10, the
终端设备5可以是智能手机、平板电脑、笔记本电脑、可穿戴设备、台式电脑、服务器、VR设备、AR设备等。该终端设备可包括,但不仅限于,处理器51、存储器52、屏幕54。本领域技术人员可以理解,图10仅仅是终端设备5的举例,并不构成对终端设备5的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如还可以包括输入输出设备、网络接入设备等。The
所称处理器51可以是中央处理单元(Central Processing Unit,CPU),该处理器51还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The so-called
存储器52在一些实施例中可以是终端设备5的内部存储单元,例如终端设备5的硬盘或内存。存储器52在另一些实施例中也可以是终端设备5的外部存储设备,例如终端设备5上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,存储器52还可以既包括终端设备5的内部存储单元也包括外部存储设备。存储器52用于存储操作系统、应用程序、引导装载程序(BootLoader)、数据以及其他程序等,例如计算机程序的程序代码等。存储器52还可以用于暂时地存储已经输出或者将要输出的数据。The
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时可实现上述各个方法实施例中的步骤。The embodiments of the present application also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in each of the foregoing method embodiments can be implemented.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在移动终端上运行时,使得移动终端执行时可实现上述各个方法实施例中的步骤。The embodiments of the present application provide a computer program product. When the computer program product runs on a mobile terminal, the steps in the foregoing method embodiments can be implemented when the mobile terminal is executed.
本申请实施例提供了一种芯片系统,芯片系统包括存储器和处理器,处理器执行存储器中存储的计算机程序,以实现上述各个方法实施例中的步骤。The embodiments of the present application provide a chip system. The chip system includes a memory and a processor, and the processor executes a computer program stored in the memory to implement the steps in the foregoing method embodiments.
本申请实施例提供了一种芯片系统,芯片系统包括处理器,处理器与第四方面提供的计算机可读存储介质耦合,处理器执行计算机可读存储介质中存储的计算机程序,以实现上述各个方法实施例中的步骤。The embodiment of the present application provides a chip system, the chip system includes a processor, the processor is coupled with the computer-readable storage medium provided in the fourth aspect, and the processor executes a computer program stored in the computer-readable storage medium to implement each of the above Steps in the method embodiment.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到终端设备的任何实体 或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the implementation of all or part of the processes in the above-mentioned embodiment methods in the present application can be accomplished by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When executed by the processor, the steps of the foregoing method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate forms. The computer-readable medium may include at least any entity or device capable of carrying computer program code to a terminal device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), and a random access memory (RAM, Random Access Memory), electric carrier signal, telecommunications signal and software distribution medium. For example, U disk, mobile hard disk, floppy disk or CD-ROM, etc. In some jurisdictions, according to legislation and patent practices, computer-readable media cannot be electrical carrier signals and telecommunication signals.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For parts that are not described in detail or recorded in an embodiment, reference may be made to related descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。A person of ordinary skill in the art may realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device and method may be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be It can be combined or integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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 units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in Within the scope of protection of this application.
| Application Number | Priority Date | Filing Date | Title | 
|---|---|---|---|
| CN202010352803.9ACN113571147A (en) | 2020-04-28 | 2020-04-28 | Data display method, device, terminal device and storage medium | 
| CN202010352803.9 | 2020-04-28 | 
| Publication Number | Publication Date | 
|---|---|
| WO2021218403A1true WO2021218403A1 (en) | 2021-11-04 | 
| Application Number | Title | Priority Date | Filing Date | 
|---|---|---|---|
| PCT/CN2021/079767CeasedWO2021218403A1 (en) | 2020-04-28 | 2021-03-09 | Data display method and apparatus, terminal device and storage medium | 
| Country | Link | 
|---|---|
| CN (1) | CN113571147A (en) | 
| WO (1) | WO2021218403A1 (en) | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN114461327A (en)* | 2022-02-09 | 2022-05-10 | 厦门纳龙健康科技股份有限公司 | An electrocardiogram waveform amplification method, terminal device and storage medium | 
| CN114816305A (en)* | 2022-05-30 | 2022-07-29 | 深圳市酷开网络科技股份有限公司 | Synchronous display method, device, display system and medium for multi-screen devices | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN120167893A (en)* | 2023-12-20 | 2025-06-20 | 华为技术有限公司 | Data display method, electronic device and readable storage medium | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| US20150109307A1 (en)* | 2013-10-23 | 2015-04-23 | General Electric Company | Systems and methods to present points of interest in longitudinal data | 
| US9498164B2 (en)* | 2010-02-12 | 2016-11-22 | Dexcom, Inc. | Receivers for analyzing and displaying sensor data | 
| US20170230632A1 (en)* | 2014-11-21 | 2017-08-10 | Fujifilm Corporation | Time series data display control device, method for operating the same, program, and system | 
| CN107049257A (en)* | 2017-04-21 | 2017-08-18 | 成都心吉康科技有限公司 | Method, device and the wearable device of display waveform | 
| CN109949897A (en)* | 2017-08-30 | 2019-06-28 | 深圳市理邦精密仪器股份有限公司 | Display methods, device and the terminal device of monitoring curve | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| GB201509331D0 (en)* | 2015-05-29 | 2015-07-15 | Cluster Seven Ltd | Visualization method and system | 
| CN105549936B (en)* | 2015-12-21 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Data table display method and device | 
| CN107943446A (en)* | 2017-11-09 | 2018-04-20 | 深圳市金立通信设备有限公司 | Display screen area determines method, terminal and computer-readable medium | 
| CN109710121B (en)* | 2019-01-10 | 2020-07-03 | 环球雅途集团有限公司 | Typesetting display method capable of adapting to screen size | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| US9498164B2 (en)* | 2010-02-12 | 2016-11-22 | Dexcom, Inc. | Receivers for analyzing and displaying sensor data | 
| US20150109307A1 (en)* | 2013-10-23 | 2015-04-23 | General Electric Company | Systems and methods to present points of interest in longitudinal data | 
| US20170230632A1 (en)* | 2014-11-21 | 2017-08-10 | Fujifilm Corporation | Time series data display control device, method for operating the same, program, and system | 
| CN107049257A (en)* | 2017-04-21 | 2017-08-18 | 成都心吉康科技有限公司 | Method, device and the wearable device of display waveform | 
| CN109949897A (en)* | 2017-08-30 | 2019-06-28 | 深圳市理邦精密仪器股份有限公司 | Display methods, device and the terminal device of monitoring curve | 
| Publication number | Priority date | Publication date | Assignee | Title | 
|---|---|---|---|---|
| CN114461327A (en)* | 2022-02-09 | 2022-05-10 | 厦门纳龙健康科技股份有限公司 | An electrocardiogram waveform amplification method, terminal device and storage medium | 
| CN114816305A (en)* | 2022-05-30 | 2022-07-29 | 深圳市酷开网络科技股份有限公司 | Synchronous display method, device, display system and medium for multi-screen devices | 
| Publication number | Publication date | 
|---|---|
| CN113571147A (en) | 2021-10-29 | 
| Publication | Publication Date | Title | 
|---|---|---|
| CN110262947B (en) | Threshold warning method and device, computer equipment and storage medium | |
| WO2021218403A1 (en) | Data display method and apparatus, terminal device and storage medium | |
| AU2017304413B2 (en) | Electronic device and method for displaying image | |
| CN113778177B (en) | Electronic device having hole area and method of controlling hole area thereof | |
| EP3514739A1 (en) | Activity information processing method and electronic device supporting the same | |
| CN107861679A (en) | A kind of operation processing method, terminal and computer-readable recording medium | |
| EP3352666B1 (en) | Activity information providing method and electronic device supporting the same | |
| EP3480790B1 (en) | Method and apparatus for continuously displaying images on basis of similarity of images | |
| CN112929860B (en) | Bluetooth connection method and device and electronic equipment | |
| CN109254707A (en) | A window adjustment method, mobile terminal and computer-readable storage medium | |
| CN112035320A (en) | Service monitoring method, apparatus, electronic device and readable storage medium | |
| KR102477522B1 (en) | Electronic device and method for adjusting exposure of camera of the same | |
| CN111798978A (en) | User health assessment method, device, storage medium and electronic equipment | |
| CN119030067A (en) | Charging method, charging device, electronic device and readable storage medium | |
| CN109976654A (en) | A kind of screen content method of adjustment, device, mobile terminal and storage medium | |
| WO2021098488A1 (en) | Atrial fibrillation signal classification method and device, and terminal and storage medium | |
| CN113949673B (en) | Sensor data processing method, device, wearable electronic device and storage medium | |
| CN114532992B (en) | Method, device and system for detecting nap state and computer readable storage medium | |
| CN110275639B (en) | Touch data processing method and device, terminal and storage medium | |
| CN113703641B (en) | Message preview method, device, wearable device and computer-readable storage medium | |
| CN111813280B (en) | Display interface control method and device, electronic equipment and readable storage medium | |
| CN110914787A (en) | Accessing data items on a computing device | |
| CN111949159A (en) | Calibration method and device of touch screen, equipment and storage medium | |
| CN106445698A (en) | Method and device for acquiring step counting data | |
| CN114238859A (en) | Data processing system, method, electronic device, and storage medium | 
| Date | Code | Title | Description | 
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | Ref document number:21797015 Country of ref document:EP Kind code of ref document:A1 | |
| NENP | Non-entry into the national phase | Ref country code:DE | |
| 122 | Ep: pct application non-entry in european phase | Ref document number:21797015 Country of ref document:EP Kind code of ref document:A1 |