Movatterモバイル変換


[0]ホーム

URL:


CN110795660B - Data analysis method, data analysis device, electronic device, and medium - Google Patents

Data analysis method, data analysis device, electronic device, and medium
Download PDF

Info

Publication number
CN110795660B
CN110795660BCN201910915626.8ACN201910915626ACN110795660BCN 110795660 BCN110795660 BCN 110795660BCN 201910915626 ACN201910915626 ACN 201910915626ACN 110795660 BCN110795660 BCN 110795660B
Authority
CN
China
Prior art keywords
social information
data
target user
information
social
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910915626.8A
Other languages
Chinese (zh)
Other versions
CN110795660A (en
Inventor
张岱
史彩庆
舒景辰
谭星
胡凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Yudi Technology Co ltd
Original Assignee
Beijing Dami Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dami Technology Co LtdfiledCriticalBeijing Dami Technology Co Ltd
Priority to CN201910915626.8ApriorityCriticalpatent/CN110795660B/en
Publication of CN110795660ApublicationCriticalpatent/CN110795660A/en
Application grantedgrantedCritical
Publication of CN110795660BpublicationCriticalpatent/CN110795660B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The application discloses a data analysis method, a data analysis device, an electronic device and a medium. In the application, after the social information of the target user is obtained, the social information may be further analyzed, so as to obtain an object tag corresponding to the social information, and when it is determined that the object tag is the target object tag, analysis data of the target user is generated based on the social information. By applying the technical scheme of the application, when the social information which is interested by the user is determined according to the publishing object of the social information, the analysis data of the user can be automatically generated based on the content of the social information. Therefore, the problem that the experience of the user is difficult to improve due to the fact that the state of the user is not known in the related art can be avoided.

Description

Translated fromChinese
数据分析方法、装置、电子设备及介质Data analysis method, device, electronic device and medium

技术领域technical field

本申请中涉及数据处理技术,尤其是一种数据分析方法、装置、电子设备及介质。The present application relates to data processing technology, in particular to a data analysis method, device, electronic device and medium.

背景技术Background technique

由于通信时代和社会的兴起,智能设备已经随着越来越多用户的使用而不断发展。Due to the rise of the communication age and society, smart devices have been continuously developed with the use of more and more users.

其中,随着互联网的飞速发展,人们不再局限于通过电话和短信进行通信。越来越多的人会选择利用社交平台发布一些社交信息。例如用户可以通过微信或者微博来等社交平台作为转播和获取信息的重要途径。以随时随地获得第一手的新闻资讯、热门话题、图片信息等。Among them, with the rapid development of the Internet, people are no longer limited to communication through phone calls and text messages. More and more people will choose to use social platforms to publish some social information. For example, users can use social platforms such as WeChat or Weibo as an important way to broadcast and obtain information. To get first-hand news information, hot topics, picture information, etc. anytime, anywhere.

然而,对于开发者来说,如何利用用户发布的社交信息来为用户推送更好的服务,已经成为了一件亟待解决的问题。However, for developers, how to use the social information released by users to push better services for users has become an urgent problem to be solved.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种数据分析方法、装置、电子设备及介质。Embodiments of the present application provide a data analysis method, apparatus, electronic device, and medium.

其中,根据本申请实施例的一个方面,提供的一种数据分析方法,其特征在于,包括:Wherein, according to an aspect of the embodiments of the present application, a data analysis method is provided, characterized in that it includes:

获取目标用户的社交信息,所述社交信息为所述目标用户在社交平台上发布的信息;obtaining social information of the target user, where the social information is information published by the target user on a social platform;

解析所述社交信息,获取所述社交信息对应的对象标签,所述对象标签用于表征所述社交信息的发布对象;Parse the social information, and obtain an object tag corresponding to the social information, where the object tag is used to represent the release object of the social information;

当确定所述对象标签为目标对象标签时,基于所述社交信息,生成所述目标用户的分析数据。When it is determined that the object tag is the target object tag, the analysis data of the target user is generated based on the social information.

可选地,在基于本申请上述方法的另一个实施例中,在所述解析所述社交信息,获取所述社交信息对应的对象标签之后,还包括:Optionally, in another embodiment based on the above method of the present application, after parsing the social information and acquiring the object tag corresponding to the social information, the method further includes:

基于所述对象标签,遍历数据库中是否包含对应的标签数据;Based on the object tag, traverse whether the corresponding tag data is contained in the database;

当检测到所述数据库中包含对应的标签数据时,确定所述对象标签为目标对象标签。When it is detected that the database contains corresponding tag data, the object tag is determined to be the target object tag.

可选地,在基于本申请上述方法的另一个实施例中,所述基于所述社交信息,生成所述目标用户的分析数据,包括:Optionally, in another embodiment based on the above method of the present application, the generating the analysis data of the target user based on the social information includes:

提取所述社交信息中的属于情感类型的字段数据;extracting the field data belonging to the emotion type in the social information;

当检测到所述情感类型的字段数据为预设情感类型的字段数据时,生成所述目标用户的情感分析数据。When it is detected that the field data of the emotion type is the field data of the preset emotion type, the emotion analysis data of the target user is generated.

可选地,在基于本申请上述方法的另一个实施例中,所述基于所述社交信息,生成所述目标用户的分析数据,包括:Optionally, in another embodiment based on the above method of the present application, the generating the analysis data of the target user based on the social information includes:

检测所述社交信息中是否包含内容反馈类的字段数据;Detecting whether the social information contains field data of content feedback;

当检测到所述社交信息中包含所述内容反馈类的字段数据时,获取所述目标用户的身份信息;When it is detected that the social information contains the field data of the content feedback category, acquiring the identity information of the target user;

基于所述目标用户的身份信息以及所述内容反馈类的字段数据,生成所述目标用户的体验分析数据。Based on the identity information of the target user and the field data of the content feedback class, the experience analysis data of the target user is generated.

可选地,在基于本申请上述方法的另一个实施例中,所述解析所述社交信息,获取所述社交信息对应的对象标签,包括:Optionally, in another embodiment based on the above method of the present application, the parsing of the social information to obtain an object tag corresponding to the social information includes:

解析所述社交信息,获取所述社交信息对应的加密字节流;Parse the social information, and obtain the encrypted byte stream corresponding to the social information;

对所述加密字节流进行解密,生成待编码文本;Decrypting the encrypted byte stream to generate text to be encoded;

对所述待编码文本进行编码,得到目标XML文本;Encoding the to-be-encoded text to obtain target XML text;

基于所述目标XML文本,获取所述社交信息对应的对象标签。Based on the target XML text, an object tag corresponding to the social information is acquired.

可选地,在基于本申请上述方法的另一个实施例中,所述对象标签包括用户名称标签、企业名称标签、地域名称标签、商品名称标签的至少一种。Optionally, in another embodiment based on the above method of the present application, the object label includes at least one of a user name label, an enterprise name label, a region name label, and a commodity name label.

可选地,在基于本申请上述方法的另一个实施例中,所述社交信息包括所述目标用户在朋友圈发布的信息,和/或,在微博上发布的信息。Optionally, in another embodiment based on the above method of the present application, the social information includes information published by the target user in a circle of friends, and/or information published on Weibo.

根据本申请实施例的另一个方面,提供的一种数据分析装置,包括:According to another aspect of the embodiments of the present application, a data analysis device is provided, comprising:

获取模块,被设置为获取目标用户的社交信息,所述社交信息为所述目标用户在社交平台上发布的信息;an acquisition module, configured to acquire social information of a target user, where the social information is information published by the target user on a social platform;

解析模块,被设置为解析所述社交信息,获取所述社交信息对应的对象标签,所述对象标签用于表征所述社交信息的发布对象;a parsing module, configured to parse the social information, and obtain an object tag corresponding to the social information, where the object tag is used to represent the release object of the social information;

确定模块,被设置为当确定所述对象标签为目标对象标签时,基于所述社交信息,生成所述目标用户的分析数据。The determining module is configured to generate analysis data of the target user based on the social information when the object tag is determined to be the target object tag.

根据本申请实施例的又一个方面,提供的一种电子设备,包括:According to yet another aspect of the embodiments of the present application, an electronic device is provided, comprising:

存储器,用于存储可执行指令;以及memory for storing executable instructions; and

显示器,用于与所述存储器显示以执行所述可执行指令从而完成上述任一所述数据分析方法的操作。The display is used for displaying with the memory to execute the executable instructions so as to complete the operation of any one of the above data analysis methods.

根据本申请实施例的还一个方面,提供的一种计算机可读存储介质,用于存储计算机可读取的指令,所述指令被执行时执行上述任一所述数据分析方法的操作。According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided for storing computer-readable instructions, and when the instructions are executed, the operations of any of the above data analysis methods are performed.

本申请中,当获取目标用户的社交信息之后,可以进一步的解析该社交信息,从而获取社交信息对应的对象标签,并当确定该对象标签为目标对象标签时,基于社交信息,生成目标用户的分析数据。通过应用本申请的技术方案,可以根据社交信息的发布对象确定为自身感兴趣的社交信息时,基于该社交信息的内容,自动生成用户的分析数据。从而可以避免相关技术中存在的由于不了解用户的状态而导致难以为用户提高体验的问题。In the present application, after obtaining the social information of the target user, the social information can be further analyzed to obtain the object tag corresponding to the social information, and when it is determined that the object tag is the target object tag, based on the social information, the target user's social information is generated. analyze data. By applying the technical solutions of the present application, when it is determined that the social information of which the user is interested is determined according to the publishing object of the social information, the analysis data of the user can be automatically generated based on the content of the social information. Therefore, it is possible to avoid the problem in the related art that it is difficult to improve the user experience due to not knowing the state of the user.

下面通过附图和实施例,对本申请的技术方案做进一步的详细描述。The technical solutions of the present application will be described in further detail below through the accompanying drawings and embodiments.

附图说明Description of drawings

构成说明书的一部分的附图描述了本申请的实施例,并且连同描述一起用于解释本申请的原理。The accompanying drawings, which form a part of the specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application.

参照附图,根据下面的详细描述,可以更加清楚地理解本申请,其中:The present application may be more clearly understood from the following detailed description with reference to the accompanying drawings, wherein:

图1为本申请提出的一种数据分析方法的示意图;1 is a schematic diagram of a data analysis method proposed by the application;

图2为本申请提出的又一种数据分析方法的示意图;2 is a schematic diagram of another data analysis method proposed by the application;

图3为本申请数据分析装置的结构示意图。FIG. 3 is a schematic structural diagram of the data analysis device of the present application.

图4为本申请显示电子设备结构示意图。FIG. 4 is a schematic diagram showing the structure of an electronic device according to the present application.

具体实施方式Detailed ways

现在将参照附图来详细描述本申请的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本申请的范围。Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.

同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。Meanwhile, it should be understood that, for the convenience of description, the dimensions of various parts shown in the accompanying drawings are not drawn in an actual proportional relationship.

以下对至少一个示例性实施例的描述实际上仅仅是说明性的,不作为对本申请及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and is not intended to limit the application or its application or uses in any way.

对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods, and apparatus should be considered part of the specification.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further discussion in subsequent figures.

需要说明,本申请实施例中所有方向性指示(诸如上、下、左、右、前、后……)仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present application are only used to explain the relationship between various components under a certain posture (as shown in the accompanying drawings). The relative positional relationship, the movement situation, etc., if the specific posture changes, the directional indication also changes accordingly.

另外,在本申请中如涉及“第一”、“第二”等的描述仅用于描述目的,而不能理解为指示或暗示其相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, descriptions such as "first", "second", etc. in this application are only for descriptive purposes, and should not be construed as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless expressly and specifically defined otherwise.

在本申请中,除非另有明确的规定和限定,术语“连接”、“固定”等应做广义理解,例如,“固定”可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通或两个元件的相互作用关系,除非另有明确的限定。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本申请中的具体含义。In this application, unless otherwise expressly specified and limited, the terms "connected", "fixed" and the like should be understood in a broad sense, for example, "fixed" may be a fixed connection, a detachable connection, or an integrated; It can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, and it can be an internal communication between two elements or an interaction relationship between the two elements, unless otherwise explicitly defined. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific situations.

另外,本申请各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。In addition, the technical solutions between the various embodiments of the present application can be combined with each other, but must be based on the realization by those of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that the combination of technical solutions does not exist and is not within the scope of protection claimed in this application.

下面结合图1至图2来描述根据本申请示例性实施方式的用于进行数据分析方法。需要注意的是,下述应用场景仅是为了便于理解本申请的精神和原理而示出,本申请的实施方式在此方面不受任何限制。相反,本申请的实施方式可以应用于适用的任何场景。The method for performing data analysis according to an exemplary embodiment of the present application will be described below with reference to FIGS. 1 to 2 . It should be noted that the following application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, the embodiments of the present application can be applied to any scenario where applicable.

本申请还提出一种数据分析方法、装置、目标终端及介质。The present application also provides a data analysis method, device, target terminal and medium.

图1示意性地示出了根据本申请实施方式的一种数据分析方法的流程示意图。如图1所示,该方法包括:FIG. 1 schematically shows a schematic flowchart of a data analysis method according to an embodiment of the present application. As shown in Figure 1, the method includes:

S101,获取目标用户的社交信息,社交信息为目标用户在社交平台上发布的信息。S101: Obtain social information of a target user, where the social information is information published by the target user on a social platform.

首先,本申请中,为了能够准确的为用户生成数据分析报告。可以首先获取用户发布的社交信息。其中,本申请中不对社交信息做具体限定,即社交信息可以为任意类型的社交信息,例如可以为文字类型的社交信息,也可以为视频类型的社交信息,还可以为音频类型的社交信息。First, in this application, in order to accurately generate a data analysis report for the user. The social information posted by the user can be obtained first. The social information is not specifically limited in this application, that is, the social information can be any type of social information, such as text-type social information, video-type social information, or audio-type social information.

需要说明的是,该社交信息可以为目标用户在社交平台上发布的信息。其中,本申请同样不对社交平台做具体限定,例如可以为微信的朋友圈,微博,博客,论坛等等。It should be noted that the social information may be information published by the target user on the social platform. Wherein, this application also does not specifically limit the social platform, for example, it can be WeChat Moments, Weibo, blog, forum and so on.

另外,为了能够准确及时的生成用户的分析数据,本申请还可以选择获取距离当前时间点的预设时间段范围的社交信息。例如可以为距离当前时间点1周内用户发布的社交信息。也可以为距离当前时间点1个月内用户发布的社交信息。In addition, in order to accurately and timely generate the analysis data of the user, the present application may also choose to acquire social information within a preset time period range from the current time point. For example, it may be the social information released by the user within one week from the current time point. It can also be the social information released by the user within 1 month from the current time point.

还需要说明的是,本申请中不对获取目标用户的社交信息的设备做具体限定,例如可以为智能设备,也可以为服务器。其中,智能设备可以是PC(Personal Computer,个人电脑),也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts GroupAudioLayer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving PictureExpertsGroup Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、便携计算机等具有显示功能的可移动式终端设备等等。It should also be noted that the device for acquiring the social information of the target user is not specifically limited in this application, for example, it may be a smart device or a server. The smart device may be a PC (Personal Computer), a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group AudioLayer III, a moving picture expert compression standard audio layer 3) player, an MP4 player, and an MP4 player. (Moving PictureExpertsGroup Audio Layer IV, moving picture expert compression standard audio layer 4) Players, portable computers and other portable terminal devices with display functions, etc.

S102,解析社交信息,获取社交信息对应的对象标签,对象标签用于表征社交信息的发布对象。S102 , parse the social information, and obtain an object tag corresponding to the social information, where the object tag is used to represent the publishing object of the social information.

本申请中在获取目标用户的社交信息后,由于并不确定该社交信息的发布对象。因此需要对该社交信息进行解析后,获知对应的对象标签,并只有在对象标签属于自身感兴趣的标签时,才基于社交信息生成用户的分析数据。In this application, after obtaining the social information of the target user, the target user of the social information is not determined. Therefore, it is necessary to obtain the corresponding object tags after analyzing the social information, and generate the user's analysis data based on the social information only when the object tags belong to the tags of interest to the user.

例如,以用户为网络在线教育的学生为例,网络在线教育企业需要根据用户发布的社交信息判断用户的动态,以使为用户提供很好的服务。进一步的,由于用户会在社交平台上发布各式各样的社交信息,例如有美食类的社交信息,风景类的的社交信息,日常动态类的社交信息,学习类的社交信息等等。其中,美食类的社交信息对应的对象标签即为商品名称标签,风景类的的社交信息对应的对象标签即为地域名称标签,日常动态类的社交信息对应的对象标签即为用户名称标签,学习类的社交信息对应的对象标签即可以为企业名称标签。可以理解的,企业名称标签为网络在线教育企业所感兴趣的标签,进而该网络在线教育企业可以基于该用户发布的该条社交信息生成用户的分析数据。For example, taking the user as an online online education student as an example, an online online education enterprise needs to judge the user's dynamics according to the social information released by the user, so as to provide the user with a good service. Further, users will publish various social information on social platforms, such as food-related social information, landscape-related social information, daily dynamic social information, learning-related social information, and so on. Among them, the object tag corresponding to the social information of the food category is the product name tag, the object tag corresponding to the social information of the landscape category is the regional name tag, and the object tag corresponding to the social information of the daily dynamic category is the user name tag. The object label corresponding to the social information of the class may be the enterprise name label. It can be understood that the enterprise name tag is a tag of interest to the online online education enterprise, and then the online online education enterprise can generate analysis data of the user based on the piece of social information published by the user.

S103,当确定对象标签为目标对象标签时,基于社交信息,生成目标用户的分析数据。S103, when the object tag is determined to be the target object tag, generate analysis data of the target user based on the social information.

可选的,本申请中在获取社交信息对应的对象标签之后,为了避免所获取的社交信息为无效社交信息。需要在确定对象标签为目标对象标签时,再基于该社交信息,生成目标用户的分析数据。Optionally, in this application, after acquiring the object tag corresponding to the social information, in order to avoid the acquired social information being invalid social information. When it is determined that the object tag is the target object tag, the analysis data of the target user needs to be generated based on the social information.

本申请中,当获取目标用户的社交信息之后,可以进一步的解析该社交信息,从而获取社交信息对应的对象标签,并当确定该对象标签为目标对象标签时,基于社交信息,生成目标用户的分析数据。通过应用本申请的技术方案,可以根据社交信息的发布对象确定为自身感兴趣的社交信息时,基于该社交信息的内容,自动生成用户的分析数据。从而可以避免相关技术中存在的由于不了解用户的状态而导致难以为用户提高体验的问题。In the present application, after obtaining the social information of the target user, the social information can be further analyzed to obtain the object tag corresponding to the social information, and when it is determined that the object tag is the target object tag, based on the social information, the target user's social information is generated. analyze data. By applying the technical solutions of the present application, when it is determined that the social information of which the user is interested is determined according to the publishing object of the social information, the analysis data of the user can be automatically generated based on the content of the social information. Therefore, it is possible to avoid the problem in the related art that it is difficult to improve the user experience due to not knowing the state of the user.

在本申请的一种可能的实施方式中,对象标签可以包括用户名称标签、企业名称标签、地域名称标签、商品名称标签的至少一种。但本申请对此不作限定。In a possible implementation of the present application, the object tag may include at least one of a user name tag, an enterprise name tag, a region name tag, and a commodity name tag. However, this application does not limit this.

进一步的,在本申请另外一种可能的实施方式中,社交信息包括目标用户在朋友圈发布的信息,和/或,在微博上发布的信息。Further, in another possible implementation manner of the present application, the social information includes information published by the target user in the circle of friends, and/or information published on Weibo.

在本申请一种可能的实施方式中,在S103(基于社交信息,生成目标用户的分析数据)的实现方式中,具体可以通过以下方式两种方式实现:In a possible implementation manner of the present application, in the implementation manner of S103 (generating the analysis data of the target user based on social information), it can be specifically implemented in the following two manners:

第一种方式:The first way:

提取社交信息中的属于情感类型的字段数据;Extract field data belonging to emotional type in social information;

当检测到情感类型的字段数据为预设情感类型的字段数据时,生成目标用户的情感分析数据。When it is detected that the field data of the emotion type is the field data of the preset emotion type, the emotion analysis data of the target user is generated.

首先,本申请中可以提取社交信息中,分属于情感类型的字段数据。其中,不对情感类型的字段数据做具体限定,例如可以为积极类型的字段数据,也可以为消极类型的字段数据,还可以是平静类型的字段数据。First, in this application, the field data belonging to the emotion type in the social information can be extracted. The field data of the emotion type is not specifically limited, for example, it may be the field data of the positive type, the field data of the negative type, or the field data of the calm type.

进一步的,对于各个情感类型的字段数据而言,可以预先在数据库中将各种词性的词汇预先对其分属的情感类型进行配置。例如对词义属于快乐,惊讶,羡慕,称赞等含义的词汇可以将其归属于积极类型的字段数据中去。对词义属于悲伤,愤怒,失望,抱怨等含义的词汇可以将其归属于消极类型的字段数据中去。对词义属于叙事性等含义的词汇可以将其归属于平静类型的字段数据中去。Further, for the field data of each emotion type, words of various parts of speech may be pre-configured in the database to the emotion type to which they belong. For example, words whose meanings belong to happiness, surprise, envy, praise, etc. can be attributed to the field data of positive type. Words that have meanings of sadness, anger, disappointment, complaining, etc. can be assigned to the negative type of field data. For words whose meanings belong to narrative and other meanings, they can be attributed to the field data of calm type.

还需要说明的是,本申请中的情感类型的字段数据还可以包括标点符号以及表情。例如,当用户的社交信息中出现大于预设数量的句号,感叹号或问号时,可以标记该短社交信息为情感指数大于阈值的社交信息。又或,当用户的社交信息中出现预设类型的表情时,同样可以标记该短社交信息为情感指数大于阈值的社交信息。It should also be noted that the field data of the emotion type in this application may also include punctuation marks and expressions. For example, when more than a preset number of periods, exclamation marks or question marks appear in the user's social information, the short social information may be marked as social information with an emotion index greater than a threshold. Alternatively, when a preset type of expression appears in the user's social information, the short social information may also be marked as social information with an emotion index greater than a threshold.

值得注意的是,本申请不对预设数量以及阈值做具体限定。例如可以为5,也可以为10。It should be noted that this application does not specifically limit the preset number and threshold. For example, it may be 5 or 10.

进一步的,当获取到情感类型的字段数据时,可以对其判定是否属于预设情感类型的字段数据时,生成目标用户的情感分析数据。其中,本申请不对预设情感类型做具体限定。例如可以为积极类型的情感类型,也可以为消极类型的情感类型,还可以为平静类型的情感类型。Further, when the field data of the emotion type is acquired, it can be determined whether it belongs to the field data of the preset emotion type, and the emotion analysis data of the target user is generated. Wherein, this application does not specifically limit the preset emotion type. For example, it can be a positive type of emotion type, also can be a negative type of emotion type, and can also be a calm type of emotion type.

第二种方式:The second way:

检测社交信息中是否包含内容反馈类的字段数据;Detect whether social information contains field data of content feedback;

当检测到社交信息中包含内容反馈类的字段数据时,获取目标用户的身份信息;When it is detected that the social information contains field data such as content feedback, obtain the identity information of the target user;

基于目标用户的身份信息以及内容反馈类的字段数据,生成目标用户的体验分析数据。Based on the identity information of the target user and field data such as content feedback, the experience analysis data of the target user is generated.

进一步的,本申请除了可以提取社交信息中的情感类型的字段数据之外,还可以检测该信息中是否包含有内容反馈类的字段数据。并在确定包含内容反馈类的字段数据之后,可以结合数据库中预先存储的用户的身份信息,生成目标用户的体验分析数据。Further, in addition to extracting field data of emotion type in social information, the present application can also detect whether the information contains field data of content feedback type. And after determining the field data including the content feedback category, the user's identity information pre-stored in the database can be combined to generate the experience analysis data of the target user.

同样以目标用户为网络在线教育的学生为例,现网络在线教育企业需要根据用户发布的社交信息判断用户的动态,以使为用户提供很好的服务。进一步的,当获取到用户发布的社交信息中包含内容:“上周学习的英语课好难啊”时,首先可以对其进行是否包含内容反馈类的字段数据,并在确定用户发布了对上周学习课程的难易程度进行反馈的社交信息后,判定用户对前次课程学习时的反馈内容为“困难”。进一步的,此时可以调取在数据库中预先存储的该用户的身份信息。以了解该用户当前的英语等级以及学习时长等教育信息,以使后续可以根据该教育信息,为该用户调整剩余的学习课程。Taking the target users as students of online education as an example, the current online education enterprises need to judge the user's dynamics according to the social information released by the users, so as to provide good services for the users. Further, when it is obtained that the social information posted by the user contains the content: "The English class I learned last week was so difficult", we can first carry out the field data of whether it contains content feedback, and then determine whether the user has posted the correct information. After learning the difficulty level of the course every week and feeding back the social information, it is determined that the user's feedback content for the previous course learning is "difficult". Further, at this time, the identity information of the user pre-stored in the database can be retrieved. In order to know the user's current English level and learning time and other educational information, so that the remaining learning courses can be adjusted for the user later according to the educational information.

进一步可选的,在本申请的一种实施方式中,在S102(解析社交信息,获取社交信息对应的对象标签)之后,还包括一种具体的实施方式,如图2所示,包括:Further optionally, in an embodiment of the present application, after S102 (analyzing social information, obtaining object tags corresponding to social information), a specific implementation manner, as shown in FIG. 2 , includes:

S201,获取目标用户的社交信息。S201, obtain social information of a target user.

S202,解析社交信息,获取社交信息对应的对象标签。S202, parse the social information, and obtain object tags corresponding to the social information.

在本申请的一种可能的实施方式中,在解析社交信息,获取社交信息对应的对象标签的过程中可以通过以下方式得到:In a possible implementation manner of the present application, in the process of parsing social information and acquiring object tags corresponding to social information, it can be obtained in the following ways:

解析社交信息,获取社交信息对应的加密字节流;Parse social information and obtain encrypted byte stream corresponding to social information;

对加密字节流进行解密,生成待编码文本;Decrypt the encrypted byte stream to generate the text to be encoded;

对待编码文本进行编码,得到目标XML文本;Encode the text to be encoded to obtain the target XML text;

基于目标XML文本,获取社交信息对应的对象标签。Based on the target XML text, the object tag corresponding to the social information is obtained.

进一步的,本申请可以首先解析该社交信息,并得到对应的加密字节流。并在解密该字节流后,生成待编码的文本。最后,利用编码技术确定目标文本之后,可以基于文字性的文本,确定对应的对象标签。Further, the present application can first parse the social information, and obtain the corresponding encrypted byte stream. And after decrypting the byte stream, the text to be encoded is generated. Finally, after the target text is determined using the encoding technology, the corresponding object label can be determined based on the textual text.

S203,基于对象标签,遍历数据库中是否包含对应的标签数据;S203, based on the object tag, traverse whether the corresponding tag data is contained in the database;

进一步的,本申请中在获取目标用户的社交信息后,由于并不确定该社交信息的发布对象。因此需要对该社交信息进行解析后,获知对应的对象标签,并只有在对象标签属于自身感兴趣的标签时,才基于社交信息生成用户的分析数据。Further, in the present application, after obtaining the social information of the target user, the target user for publishing the social information is not determined. Therefore, it is necessary to obtain the corresponding object tags after analyzing the social information, and generate the user's analysis data based on the social information only when the object tags belong to the tags of interest to the user.

S204,当检测到数据库中包含对应的标签数据时,确定对象标签为目标对象标签。S204, when it is detected that the database contains corresponding label data, determine that the object label is the target object label.

进一步的,在获取到对象标签后,可以遍历数据库中是否包含有对应的标签。在此同样以目标用户为网络在线教育的学生为例,当目标用户发布的社交信息中包含VIP Kid的内容时,通过解析该社交信息,获取该社交信息对应的对象标签“VIP Kid”。进一步的,当网络在线教育企业在数据库中查询到包含有该对象标签对应的标签数据“VIP Kid”时,确定该“VIP Kid”为目标对象标签。Further, after obtaining the object label, it is possible to traverse whether the database contains the corresponding label. Here again, taking the target user as an online education student as an example, when the social information published by the target user contains the content of VIP Kid, the object label "VIP Kid" corresponding to the social information is obtained by parsing the social information. Further, when the online education enterprise finds the tag data "VIP Kid" corresponding to the object tag in the database, it is determined that the "VIP Kid" is the target object tag.

S205,当确定对象标签为目标对象标签时,基于社交信息,生成目标用户的分析数据。S205, when it is determined that the object tag is the target object tag, based on the social information, the analysis data of the target user is generated.

本申请中,当获取目标用户的社交信息之后,可以进一步的解析该社交信息,从而获取社交信息对应的对象标签,并当确定该对象标签为目标对象标签时,基于社交信息,生成目标用户的分析数据。通过应用本申请的技术方案,可以根据社交信息的发布对象确定为自身感兴趣的社交信息时,基于该社交信息的内容,自动生成用户的分析数据。从而可以避免相关技术中存在的由于不了解用户的状态而导致难以为用户提高体验的问题。In the present application, after obtaining the social information of the target user, the social information can be further analyzed to obtain the object tag corresponding to the social information, and when it is determined that the object tag is the target object tag, based on the social information, the target user's social information is generated. analyze data. By applying the technical solutions of the present application, when it is determined that the social information of which the user is interested is determined according to the publishing object of the social information, the analysis data of the user can be automatically generated based on the content of the social information. Therefore, it is possible to avoid the problem in the related art that it is difficult to improve the user experience due to not knowing the state of the user.

在本申请的另外一种实施方式中,如图3所示,本申请还提供一种数据分析装置,该装置包括接收模块301,解析模块302,确定模块303,其中,In another embodiment of the present application, as shown in FIG. 3 , the present application further provides a data analysis device, the device includes a receivingmodule 301 , aparsing module 302 , and a determiningmodule 303 , wherein,

获取模块301,被设置为获取模块,被设置为获取目标用户的社交信息,所述社交信息为所述目标用户在社交平台上发布的信息;Theacquisition module 301 is configured as an acquisition module, and is configured to acquire social information of a target user, where the social information is information published by the target user on a social platform;

解析模块302,被设置为解析所述社交信息,获取所述社交信息对应的对象标签,所述对象标签用于表征所述社交信息的发布对象;Theparsing module 302 is configured to parse the social information, and obtain an object tag corresponding to the social information, where the object tag is used to represent the publishing object of the social information;

确定模块303,被设置为当确定所述对象标签为目标对象标签时,基于所述社交信息,生成所述目标用户的分析数据。The determiningmodule 303 is configured to generate analysis data of the target user based on the social information when the object tag is determined to be the target object tag.

本申请中,当接收到第一云端服务器传输的包含第一迁移数据以及第一数据信息的数据包之后,可以在确定接收第一迁移数据成功后进行备份,得到备份数据,并将备份数据发送至第二云端服务器。通过应用本申请的技术方案,可以在目标云服务器基于迁移数据对应的数据信息确定迁移数据全部接收完毕后,对该迁移数据进行备份并发送给其他服务器。从而可以避免相关技术中当存在部分迁移数据因为网络故障等原因导致数据丢失时,由于缺少业务数据而无法为用户进行业务处理的问题。In the present application, after receiving the data packet including the first migration data and the first data information transmitted by the first cloud server, it can be backed up after it is determined that the first migration data is successfully received, the backup data is obtained, and the backup data is sent to the second cloud server. By applying the technical solutions of the present application, after the target cloud server determines based on the data information corresponding to the migration data that all the migration data has been received, the migration data can be backed up and sent to other servers. This can avoid the problem in the related art that when part of the migrated data is lost due to network failures and other reasons, the service processing cannot be performed for the user due to lack of service data.

可选的,在本申请的另一种实施方式中,还包括,检测模块304,其中:Optionally, in another implementation manner of the present application, a detection module 304 is further included, wherein:

检测模块304,被设置为当接收到所述第一云端服务器传输的第二迁移数据后,根据所述第二迁移数据,获取所述第二迁移数据对应的第二数据信息;;The detection module 304 is configured to obtain second data information corresponding to the second migration data according to the second migration data after receiving the second migration data transmitted by the first cloud server;

检测单元,被设置为当基于所述数据大小信息以及数据类型信息,检测到所述第一数据信息与所述第二数据信息相同时,确定接收所述第一迁移数据成功。The detection unit is configured to determine that the first migration data is successfully received when it is detected that the first data information is the same as the second data information based on the data size information and the data type information.

在本申请的另一种实施方式中,确定模块303,还包括:In another implementation manner of the present application, the determiningmodule 303 further includes:

确定模块303,被设置为提取所述社交信息中的属于情感类型的字段数据;The determiningmodule 303 is configured to extract the field data belonging to the emotion type in the social information;

确定模块303,被设置为当检测到所述情感类型的字段数据为预设情感类型的字段数据时,生成所述目标用户的情感分析数据。The determiningmodule 303 is configured to generate sentiment analysis data of the target user when it is detected that the field data of the emotion type is the field data of the preset emotion type.

在本申请的另一种实施方式中,确定模块303,还包括:In another implementation manner of the present application, the determiningmodule 303 further includes:

确定模块303,被设置为检测所述社交信息中是否包含内容反馈类的字段数据;Adetermination module 303, configured to detect whether the social information contains field data of content feedback;

确定模块303,被设置为当检测到所述社交信息中包含所述内容反馈类的字段数据时,获取所述目标用户的身份信息;The determiningmodule 303 is configured to acquire the identity information of the target user when it is detected that the social information contains the field data of the content feedback category;

确定模块303,被设置为基于所述目标用户的身份信息以及所述内容反馈类的字段数据,生成所述目标用户的体验分析数据。The determiningmodule 303 is configured to generate the experience analysis data of the target user based on the identity information of the target user and the field data of the content feedback category.

在本申请的另一种实施方式中,解析模块302,还包括:In another embodiment of the present application, theparsing module 302 further includes:

解析模块302,被设置为解析所述社交信息,获取所述社交信息对应的加密字节流;Theparsing module 302 is configured to parse the social information, and obtain the encrypted byte stream corresponding to the social information;

解析模块302,被设置为对所述加密字节流进行解密,生成待编码文本;Theparsing module 302 is configured to decrypt the encrypted byte stream to generate text to be encoded;

解析模块302,被设置为对所述待编码文本进行编码,得到目标XML文本;Theparsing module 302 is configured to encode the text to be encoded to obtain the target XML text;

解析模块302,被设置为基于所述目标XML文本,获取所述社交信息对应的对象标签。Theparsing module 302 is configured to obtain the object tag corresponding to the social information based on the target XML text.

在本申请的另一种实施方式中,还包括,所述对象标签包括用户名称标签、企业名称标签、地域名称标签、商品名称标签的至少一种。In another embodiment of the present application, it further includes that the object tag includes at least one of a user name tag, an enterprise name tag, a region name tag, and a commodity name tag.

在本申请的另一种实施方式中,还包括,所述社交信息包括所述目标用户在朋友圈发布的信息,和/或,在微博上发布的信息。In another embodiment of the present application, it further includes that the social information includes information published by the target user in the circle of friends, and/or information published on Weibo.

图4是根据一示例性实施例示出的一种电子设备的逻辑结构框图。例如,电子设备400可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 4 is a logical structural block diagram of an electronic device according to an exemplary embodiment. For example, electronic device 400 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.

参照图4,电子设备400可以包括以下一个或多个组件:处理器401和存储器402。Referring to FIG. 4 , an electronic device 400 may include one or more of the following components: aprocessor 401 and amemory 402 .

处理器401可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器401可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器401也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central ProcessingUnit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器401可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器401还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。Theprocessor 401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. Theprocessor 401 may adopt at least one hardware form among DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) accomplish. Theprocessor 401 may also include a main processor and a co-processor. The main processor is a processor used to process data in a wake-up state, also called a CPU (Central Processing Unit, central processing unit); A low-power processor for processing data in a standby state. In some embodiments, theprocessor 401 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, theprocessor 401 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.

存储器402可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器402还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器402中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器401所执行以实现本申请中方法实施例提供的互动特效标定方法。Memory 402 may include one or more computer-readable storage media, which may be non-transitory.Memory 402 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in thememory 402 is used to store at least one instruction, and the at least one instruction is used to be executed by theprocessor 401 to realize the interactive special effects provided by the method embodiments in this application. Calibration method.

在一些实施例中,电子设备400还可选包括有:外围设备接口403和至少一个外围设备。处理器401、存储器402和外围设备接口403之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口403相连。具体地,外围设备包括:射频电路404、触摸显示屏405、摄像头406、音频电路407、定位组件408和电源409中的至少一种。In some embodiments, the electronic device 400 may optionally further include: aperipheral device interface 403 and at least one peripheral device. Theprocessor 401, thememory 402 and theperipheral device interface 403 may be connected through a bus or a signal line. Each peripheral device can be connected to theperipheral device interface 403 through a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of aradio frequency circuit 404 , atouch display screen 405 , acamera 406 , anaudio circuit 407 , apositioning component 408 and apower supply 409 .

外围设备接口403可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器401和存储器402。在一些实施例中,处理器401、存储器402和外围设备接口403被集成在同一芯片或电路板上;在一些其他实施例中,处理器401、存储器402和外围设备接口403中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。Theperipheral device interface 403 may be used to connect at least one peripheral device related to I/O (Input/Output) to theprocessor 401 and thememory 402 . In some embodiments,processor 401,memory 402, and peripherals interface 403 are integrated on the same chip or circuit board; in some other embodiments, any one ofprocessor 401,memory 402, and peripherals interface 403 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.

射频电路404用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路404通过电磁信号与通信网络以及其他通信设备进行通信。射频电路404将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路404包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路404可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路404还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。Theradio frequency circuit 404 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals. Theradio frequency circuit 404 communicates with the communication network and other communication devices via electromagnetic signals. Theradio frequency circuit 404 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, theradio frequency circuit 404 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. Theradio frequency circuit 404 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: metropolitan area network, mobile communication networks of various generations (2G, 3G, 4G and 5G), wireless local area network and/or WiFi (Wireless Fidelity, wireless fidelity) network. In some embodiments, theradio frequency circuit 404 may further include a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in this application.

显示屏405用于显示UI(User Interface,用户界面)。该UI可以包括图形、文本、图标、视频及其它们的任意组合。当显示屏405是触摸显示屏时,显示屏405还具有采集在显示屏405的表面或表面上方的触摸信号的能力。该触摸信号可以作为控制信号输入至处理器401进行处理。此时,显示屏405还可以用于提供虚拟按钮和/或虚拟键盘,也称软按钮和/或软键盘。在一些实施例中,显示屏405可以为一个,设置电子设备400的前面板;在另一些实施例中,显示屏405可以为至少两个,分别设置在电子设备400的不同表面或呈折叠设计;在再一些实施例中,显示屏405可以是柔性显示屏,设置在电子设备400的弯曲表面上或折叠面上。甚至,显示屏405还可以设置成非矩形的不规则图形,也即异形屏。显示屏405可以采用LCD(Liquid Crystal Display,液晶显示屏)、OLED(Organic Light-Emitting Diode,有机发光二极管)等材质制备。Thedisplay screen 405 is used for displaying UI (User Interface, user interface). The UI can include graphics, text, icons, video, and any combination thereof. When thedisplay screen 405 is a touch display screen, thedisplay screen 405 also has the ability to acquire touch signals on or above the surface of thedisplay screen 405 . The touch signal may be input to theprocessor 401 as a control signal for processing. At this time, thedisplay screen 405 may also be used to provide virtual buttons and/or virtual keyboards, also referred to as soft buttons and/or soft keyboards. In some embodiments, there may be onedisplay screen 405, which is provided on the front panel of the electronic device 400; in other embodiments, there may be at least twodisplay screens 405, which are respectively provided on different surfaces of the electronic device 400 or in a folded design. ; In still other embodiments, thedisplay screen 405 may be a flexible display screen, disposed on a curved surface or a folding surface of the electronic device 400 . Even, thedisplay screen 405 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen. Thedisplay screen 405 can be made of materials such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light emitting diode).

摄像头组件406用于采集图像或视频。可选地,摄像头组件406包括前置摄像头和后置摄像头。通常,前置摄像头设置在终端的前面板,后置摄像头设置在终端的背面。在一些实施例中,后置摄像头为至少两个,分别为主摄像头、景深摄像头、广角摄像头、长焦摄像头中的任意一种,以实现主摄像头和景深摄像头融合实现背景虚化功能、主摄像头和广角摄像头融合实现全景拍摄以及VR(Virtual Reality,虚拟现实)拍摄功能或者其它融合拍摄功能。在一些实施例中,摄像头组件406还可以包括闪光灯。闪光灯可以是单色温闪光灯,也可以是双色温闪光灯。双色温闪光灯是指暖光闪光灯和冷光闪光灯的组合,可以用于不同色温下的光线补偿。Thecamera assembly 406 is used to capture images or video. Optionally, thecamera assembly 406 includes a front camera and a rear camera. Usually, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the main camera It is integrated with the wide-angle camera to achieve panoramic shooting and VR (Virtual Reality, virtual reality) shooting functions or other integrated shooting functions. In some embodiments, thecamera assembly 406 may also include a flash. The flash can be a single color temperature flash or a dual color temperature flash. Dual color temperature flash refers to the combination of warm light flash and cold light flash, which can be used for light compensation under different color temperatures.

音频电路407可以包括麦克风和扬声器。麦克风用于采集用户及环境的声波,并将声波转换为电信号输入至处理器401进行处理,或者输入至射频电路404以实现语音通信。出于立体声采集或降噪的目的,麦克风可以为多个,分别设置在电子设备400的不同部位。麦克风还可以是阵列麦克风或全向采集型麦克风。扬声器则用于将来自处理器401或射频电路404的电信号转换为声波。扬声器可以是传统的薄膜扬声器,也可以是压电陶瓷扬声器。当扬声器是压电陶瓷扬声器时,不仅可以将电信号转换为人类可听见的声波,也可以将电信号转换为人类听不见的声波以进行测距等用途。在一些实施例中,音频电路407还可以包括耳机插孔。Audio circuitry 407 may include a microphone and speakers. The microphone is used to collect the sound waves of the user and the environment, convert the sound waves into electrical signals, and input them to theprocessor 401 for processing, or to theradio frequency circuit 404 to realize voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively disposed in different parts of the electronic device 400 . The microphone may also be an array microphone or an omnidirectional collection microphone. The speaker is used to convert the electrical signal from theprocessor 401 or theradio frequency circuit 404 into sound waves. The loudspeaker can be a traditional thin-film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert electrical signals into sound waves audible to humans, but also convert electrical signals into sound waves inaudible to humans for distance measurement and other purposes. In some embodiments,audio circuitry 407 may also include a headphone jack.

定位组件408用于定位电子设备400的当前地理位置,以实现导航或LBS(LocationBased Service,基于位置的服务)。定位组件408可以是基于美国的GPS(GlobalPositioning System,全球定位系统)、中国的北斗系统、俄罗斯的格雷纳斯系统或欧盟的伽利略系统的定位组件。Thepositioning component 408 is used to locate the current geographic location of the electronic device 400 to implement navigation or LBS (Location Based Service). Thepositioning component 408 may be a positioning component based on the GPS (Global Positioning System, global positioning system) of the United States, the Beidou system of China, the Grenas system of Russia, or the Galileo system of the European Union.

电源409用于为电子设备400中的各个组件进行供电。电源409可以是交流电、直流电、一次性电池或可充电电池。当电源409包括可充电电池时,该可充电电池可以支持有线充电或无线充电。该可充电电池还可以用于支持快充技术。Power supply 409 is used to power various components in electronic device 400 . Thepower source 409 may be alternating current, direct current, disposable batteries or rechargeable batteries. When thepower source 409 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

在一些实施例中,电子设备400还包括有一个或多个传感器410。该一个或多个传感器410包括但不限于:加速度传感器411、陀螺仪传感器412、压力传感器413、指纹传感器414、光学传感器415以及接近传感器416。In some embodiments, the electronic device 400 also includes one or more sensors 410 . The one or more sensors 410 include, but are not limited to, an acceleration sensor 411 , a gyro sensor 412 , a pressure sensor 413 , a fingerprint sensor 414 , an optical sensor 415 and aproximity sensor 416 .

加速度传感器411可以检测以电子设备400建立的坐标系的三个坐标轴上的加速度大小。比如,加速度传感器411可以用于检测重力加速度在三个坐标轴上的分量。处理器401可以根据加速度传感器411采集的重力加速度信号,控制触摸显示屏405以横向视图或纵向视图进行用户界面的显示。加速度传感器411还可以用于游戏或者用户的运动数据的采集。The acceleration sensor 411 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the electronic device 400 . For example, the acceleration sensor 411 can be used to detect the components of the gravitational acceleration on the three coordinate axes. Theprocessor 401 may control thetouch display screen 405 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 411 . The acceleration sensor 411 can also be used for game or user movement data collection.

陀螺仪传感器412可以检测电子设备400的机体方向及转动角度,陀螺仪传感器412可以与加速度传感器411协同采集用户对电子设备400的3D动作。处理器401根据陀螺仪传感器412采集的数据,可以实现如下功能:动作感应(比如根据用户的倾斜操作来改变UI)、拍摄时的图像稳定、游戏控制以及惯性导航。The gyroscope sensor 412 can detect the body direction and rotation angle of the electronic device 400 , and the gyroscope sensor 412 can cooperate with the acceleration sensor 411 to collect 3D actions of the user on the electronic device 400 . Theprocessor 401 can implement the following functions according to the data collected by the gyro sensor 412 : motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

压力传感器413可以设置在电子设备400的侧边框和/或触摸显示屏405的下层。当压力传感器413设置在电子设备400的侧边框时,可以检测用户对电子设备400的握持信号,由处理器401根据压力传感器413采集的握持信号进行左右手识别或快捷操作。当压力传感器413设置在触摸显示屏405的下层时,由处理器401根据用户对触摸显示屏405的压力操作,实现对UI界面上的可操作性控件进行控制。可操作性控件包括按钮控件、滚动条控件、图标控件、菜单控件中的至少一种。The pressure sensor 413 may be disposed on the side frame of the electronic device 400 and/or the lower layer of thetouch display screen 405 . When the pressure sensor 413 is disposed on the side frame of the electronic device 400 , the user's holding signal of the electronic device 400 can be detected, and theprocessor 401 can perform left and right hand identification or quick operation according to the holding signal collected by the pressure sensor 413 . When the pressure sensor 413 is disposed on the lower layer of thetouch display screen 405 , theprocessor 401 controls the operability controls on the UI interface according to the user's pressure operation on thetouch display screen 405 . The operability controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

指纹传感器414用于采集用户的指纹,由处理器401根据指纹传感器414采集到的指纹识别用户的身份,或者,由指纹传感器414根据采集到的指纹识别用户的身份。在识别出用户的身份为可信身份时,由处理器401授权该用户执行相关的敏感操作,该敏感操作包括解锁屏幕、查看加密信息、下载软件、支付及更改设置等。指纹传感器414可以被设置电子设备400的正面、背面或侧面。当电子设备400上设置有物理按键或厂商Logo时,指纹传感器414可以与物理按键或厂商Logo集成在一起。The fingerprint sensor 414 is used to collect the user's fingerprint, and theprocessor 401 identifies the user's identity according to the fingerprint collected by the fingerprint sensor 414, or the fingerprint sensor 414 identifies the user's identity according to the collected fingerprint. When the user's identity is identified as a trusted identity, theprocessor 401 authorizes the user to perform relevant sensitive operations, including unlocking the screen, viewing encrypted information, downloading software, making payments, and changing settings. The fingerprint sensor 414 may be provided on the front, back, or side of the electronic device 400 . When the electronic device 400 is provided with physical buttons or a manufacturer's logo, the fingerprint sensor 414 may be integrated with the physical buttons or the manufacturer's logo.

光学传感器415用于采集环境光强度。在一个实施例中,处理器401可以根据光学传感器415采集的环境光强度,控制触摸显示屏405的显示亮度。具体地,当环境光强度较高时,调高触摸显示屏405的显示亮度;当环境光强度较低时,调低触摸显示屏405的显示亮度。在另一个实施例中,处理器401还可以根据光学传感器415采集的环境光强度,动态调整摄像头组件406的拍摄参数。Optical sensor 415 is used to collect ambient light intensity. In one embodiment, theprocessor 401 can control the display brightness of thetouch display screen 405 according to the ambient light intensity collected by the optical sensor 415 . Specifically, when the ambient light intensity is high, the display brightness of thetouch display screen 405 is increased; when the ambient light intensity is low, the display brightness of thetouch display screen 405 is decreased. In another embodiment, theprocessor 401 may also dynamically adjust the shooting parameters of thecamera assembly 406 according to the ambient light intensity collected by the optical sensor 415 .

接近传感器416,也称距离传感器,通常设置在电子设备400的前面板。接近传感器416用于采集用户与电子设备400的正面之间的距离。在一个实施例中,当接近传感器416检测到用户与电子设备400的正面之间的距离逐渐变小时,由处理器401控制触摸显示屏405从亮屏状态切换为息屏状态;当接近传感器416检测到用户与电子设备400的正面之间的距离逐渐变大时,由处理器401控制触摸显示屏405从息屏状态切换为亮屏状态。Proximity sensor 416 , also referred to as a distance sensor, is typically provided on the front panel of electronic device 400 .Proximity sensor 416 is used to collect the distance between the user and the front of electronic device 400 . In one embodiment, when theproximity sensor 416 detects that the distance between the user and the front of the electronic device 400 gradually decreases, theprocessor 401 controls thetouch display screen 405 to switch from the bright screen state to the off screen state; when theproximity sensor 416 When it is detected that the distance between the user and the front of the electronic device 400 gradually increases, theprocessor 401 controls thetouch display screen 405 to switch from the off-screen state to the bright-screen state.

本领域技术人员可以理解,图4中示出的结构并不构成对电子设备400的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 4 does not constitute a limitation on the electronic device 400, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器404,上述指令可由电子设备400的处理器420执行以完成上述数据分析方法,该方法包括:获取目标用户的社交信息,所述社交信息为所述目标用户在社交平台上发布的信息;解析所述社交信息,获取所述社交信息对应的对象标签,所述对象标签用于表征所述社交信息的发布对象;当确定所述对象标签为目标对象标签时,基于所述社交信息,生成所述目标用户的分析数据。可选地,上述指令还可以由电子设备400的处理器420执行以完成上述示例性实施例中所涉及的其他步骤。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as amemory 404 including instructions, and the above-mentioned instructions can be executed by the processor 420 of the electronic device 400 to complete the above-mentioned data analysis method, the The method includes: acquiring social information of a target user, where the social information is information published by the target user on a social platform; parsing the social information, and acquiring an object tag corresponding to the social information, where the object tag is used to represent The publishing object of the social information; when it is determined that the object tag is the target object tag, the analysis data of the target user is generated based on the social information. Optionally, the above-mentioned instructions may also be executed by the processor 420 of the electronic device 400 to complete other steps involved in the above-mentioned exemplary embodiments. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

在示例性实施例中,还提供了一种应用程序/计算机程序产品,包括一条或多条指令,该一条或多条指令可以由电子设备400的处理器420执行,以完成上述数据分析方法,该方法包括:获取目标用户的社交信息,所述社交信息为所述目标用户在社交平台上发布的信息;解析所述社交信息,获取所述社交信息对应的对象标签,所述对象标签用于表征所述社交信息的发布对象;当确定所述对象标签为目标对象标签时,基于所述社交信息,生成所述目标用户的分析数据。可选地,上述指令还可以由电子设备400的处理器420执行以完成上述示例性实施例中所涉及的其他步骤。In an exemplary embodiment, an application/computer program product is also provided, including one or more instructions, which can be executed by the processor 420 of the electronic device 400 to complete the above data analysis method, The method includes: acquiring social information of a target user, where the social information is information published by the target user on a social platform; parsing the social information, and acquiring an object tag corresponding to the social information, where the object tag is used for Characterizing the publishing object of the social information; when determining that the object tag is a target object tag, generating analysis data of the target user based on the social information. Optionally, the above-mentioned instructions may also be executed by the processor 420 of the electronic device 400 to complete other steps involved in the above-mentioned exemplary embodiments.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。Other embodiments of the present application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of this application that follow the general principles of this application and include common knowledge or conventional techniques in the technical field not disclosed in this application . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the application being indicated by the following claims.

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (8)

the determining module is specifically configured to: extracting field data belonging to the emotion type in the social information; wherein the field data of the emotion type comprises: vocabulary, punctuation mark and expression, the punctuation mark includes: periods, exclamation marks, and question marks; when the field data of the emotion types are detected to be field data of preset emotion types, generating emotion analysis data of the target user; when the field data of the emotion type is detected to be the field data of the preset emotion type, generating emotion analysis data of the target user, including: when the number of periods, exclamation marks or question marks in the social information is larger than a preset number, marking the social information as the social information with the emotion index larger than a threshold value; when the expression in the social information is a preset type of expression, marking the social information as the social information with the emotion index larger than a threshold value;
CN201910915626.8A2019-09-262019-09-26Data analysis method, data analysis device, electronic device, and mediumActiveCN110795660B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910915626.8ACN110795660B (en)2019-09-262019-09-26Data analysis method, data analysis device, electronic device, and medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910915626.8ACN110795660B (en)2019-09-262019-09-26Data analysis method, data analysis device, electronic device, and medium

Publications (2)

Publication NumberPublication Date
CN110795660A CN110795660A (en)2020-02-14
CN110795660Btrue CN110795660B (en)2022-10-18

Family

ID=69439756

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910915626.8AActiveCN110795660B (en)2019-09-262019-09-26Data analysis method, data analysis device, electronic device, and medium

Country Status (1)

CountryLink
CN (1)CN110795660B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112287177B (en)*2020-11-252021-07-13城云科技(中国)有限公司Method and device for creating, changing, displaying and inquiring object label
CN114201617A (en)*2022-02-082022-03-18杭州元声象素科技有限公司Information integration method and device for scattered community information

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103678304A (en)*2012-08-312014-03-26国际商业机器公司Method and device for pushing specific content for predetermined webpage
CN106104512A (en)*2013-09-192016-11-09西斯摩斯公司System and method for active obtaining social data
CN106663095A (en)*2014-09-022017-05-10微软技术许可有限责任公司Facet recommendations from sentiment-bearing content
CN109446387A (en)*2018-10-092019-03-08众蚁(上海)信息技术有限公司A kind of Owners Committee's intelligent Answer System based on artificial intelligence
CN109978708A (en)*2019-03-292019-07-05上海盛付通电子支付服务有限公司Social sharing information is controlled in the method and apparatus in present condition of social space

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10084880B2 (en)*2013-11-042018-09-25Proteus Digital Health, Inc.Social media networking based on physiologic information
US10652188B2 (en)*2016-06-032020-05-12Facebook, Inc.Tracking post viewership
CN106815364A (en)*2017-01-242017-06-09百度在线网络技术(北京)有限公司Content delivery method and device
CN109145280B (en)*2017-06-152023-05-12北京京东尚科信息技术有限公司Information pushing method and device
CN108804527A (en)*2018-04-282018-11-13国家计算机网络与信息安全管理中心Based on wechat region circle of friends data analysis system and method
CN109165302B (en)*2018-07-272023-04-11腾讯科技(深圳)有限公司Multimedia file recommendation method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103678304A (en)*2012-08-312014-03-26国际商业机器公司Method and device for pushing specific content for predetermined webpage
CN106104512A (en)*2013-09-192016-11-09西斯摩斯公司System and method for active obtaining social data
CN106663095A (en)*2014-09-022017-05-10微软技术许可有限责任公司Facet recommendations from sentiment-bearing content
CN109446387A (en)*2018-10-092019-03-08众蚁(上海)信息技术有限公司A kind of Owners Committee's intelligent Answer System based on artificial intelligence
CN109978708A (en)*2019-03-292019-07-05上海盛付通电子支付服务有限公司Social sharing information is controlled in the method and apparatus in present condition of social space

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于电子商务的虚拟现实对顾客感知效应的影响;戴逸慧 等;《电子商务》;20190215(第2期);20-21*
奖赏与惩罚:社交媒体中网络用户身份与情感表达的双重结构;陈安繁 等;《新闻界》;20190410(第4期);27-44*

Also Published As

Publication numberPublication date
CN110795660A (en)2020-02-14

Similar Documents

PublicationPublication DateTitle
CN109298904B (en)Information processing method, device, storage medium and calculating equipment
CN110061900B (en) Message display method, device, terminal and computer-readable storage medium
CN111104980B (en)Method, device, equipment and storage medium for determining classification result
CN109815462B (en)Text generation method and terminal equipment
CN112764608B (en)Message processing method, device, equipment and storage medium
CN108628985B (en) Photo album processing method and mobile terminal
CN112423087A (en)Video interaction information display method and terminal equipment
WO2020211607A1 (en)Video generation method, apparatus, electronic device, and medium
CN110046018A (en)Show method, apparatus, electronic equipment and the medium of message
CN110933468A (en)Playing method, playing device, electronic equipment and medium
WO2022057435A1 (en)Search-based question answering method, and storage medium
CN112910752B (en)Voice expression display or generation method, device, equipment and storage medium
CN111597797A (en) Editing method, device, device and medium of social circle message
CN111400552A (en) Memo creation method and electronic device
CN110853124A (en)Method, device, electronic equipment and medium for generating GIF dynamic graph
CN110837557A (en)Abstract generation method, device, equipment and medium
CN110929159B (en)Resource release method, device, equipment and medium
CN110675473B (en) Method, device, electronic equipment and medium for generating GIF dynamic images
CN110795660B (en)Data analysis method, data analysis device, electronic device, and medium
CN112069350A (en) Song recommendation method, apparatus, device, and computer storage medium
CN111341317A (en)Method and device for evaluating awakening audio data, electronic equipment and medium
CN111310248A (en) Privacy protection method and electronic device
CN109995804B (en)Target resource information display method, information providing method and device
CN111897709B (en)Method, device, electronic equipment and medium for monitoring user
CN110045897A (en)A kind of information display method and terminal device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right

Effective date of registration:20250220

Address after:No. 902, 9th Floor, Unit 2, Building 1, No. 333 Jiqing 3rd Road, Chengdu High tech Zone, Chengdu Free Trade Zone, Sichuan Province 610000

Patentee after:Chengdu Yudi Technology Co.,Ltd.

Country or region after:China

Address before:100007 t4-27 floor, Damei center, courtyard 7, Qingnian Road, Chaoyang District, Beijing

Patentee before:BEIJING DA MI TECHNOLOGY Co.,Ltd.

Country or region before:China

TR01Transfer of patent right

[8]ページ先頭

©2009-2025 Movatter.jp