技术领域technical field
本发明涉及移动通信技术领域,尤其是涉及一种数据共享方法、装置及系统。The present invention relates to the technical field of mobile communication, in particular to a data sharing method, device and system.
背景技术Background technique
随着移动健康领域的技术不断发展,不同生产厂商生产的移动健康设备,其型号和标准也各不相同。移动健康设备生产厂商的不同,使得移动健康设备采集到的健康数据的格式也不完全相同。With the continuous development of technology in the field of mHealth, the models and standards of mHealth devices produced by different manufacturers are also different. Different mobile health device manufacturers make the health data collected by mobile health devices have different formats.
在移动健康领域,多种不同类型的移动健康设备将采集到的健康数据上传至移动健康服务平台中。移动健康服务平台提供数据聚合的功能,对不同生产商生产的移动健康设备上传的健康数据进行一站式显示。移动健康服务平台通过对用户进行授权,可以使得用户通过移动健康平台,获得健康数据。并且,用户也可以通过移动健康服务平台,开展社交分享类的活动。但是通常情况下,由于移动健康服务平台的局限性,用户只能通过手动的方式在移动健康服务平台上分享自身的健康数据,或者从移动健康平台中获取移动健康平台中自有的健康数据。In the field of mobile health, various types of mobile health devices upload the collected health data to the mobile health service platform. The mobile health service platform provides the function of data aggregation, and displays the health data uploaded by mobile health devices produced by different manufacturers in one stop. The mobile health service platform can enable users to obtain health data through the mobile health platform by authorizing users. In addition, users can also carry out social sharing activities through the mobile health service platform. But usually, due to the limitations of the mobile health service platform, users can only manually share their own health data on the mobile health service platform, or obtain their own health data from the mobile health platform.
综上所述,通常情况下,在移动健康领域,由于健康服务平台的局限性,用户之间不能够通过移动健康服务平台提供的社交服务共享彼此的健康数据。To sum up, usually, in the field of mobile health, due to the limitations of the health service platform, users cannot share each other's health data through the social services provided by the mobile health service platform.
发明内容Contents of the invention
本发明提供了一种数据共享方法、装置及系统,能够较好地解决用户之间不能够通过移动健康服务平台提供的社交服务共享彼此的健康数据的问题。The present invention provides a data sharing method, device and system, which can better solve the problem that users cannot share each other's health data through social services provided by a mobile health service platform.
一种数据共享方法,包括:在接收到第一用户发送的请求向第二用户分享健康数据的数据分享请求时,获得所述数据分享请求中的第二用户的用户标识和第二用户的关系标识,所述关系标识用于标识第二用户是和第一用户通过移动健康服务平台实现社交服务的标识;根据获得的第二用户的用户标识和第二用户的关系标识,向存储第一用户的健康数据的服务商平台发送健康数据获取请求;接收服务商平台在所述第一用户登陆成功后发送的健康数据响应请求;并获得所述健康数据响应请求中的授权访问标识;在接收到第二用户发送的数据分享请求时,将获得的所述授权访问标识发送给所述第二用户,所述第二用户根据所述授权访问标识共享服务商平台中的第一用户同意共享的健康数据。A data sharing method, comprising: when receiving a data sharing request sent by a first user requesting to share health data with a second user, obtaining the relationship between the user identification of the second user and the second user in the data sharing request ID, the relationship ID is used to identify that the second user is an ID that realizes social services with the first user through the mobile health service platform; according to the obtained user ID of the second user and the relationship ID of the second user, store the The health data service provider platform sends a health data acquisition request; receives the health data response request sent by the service provider platform after the first user successfully logs in; and obtains the authorized access identifier in the health data response request; after receiving When the second user sends a data sharing request, the obtained authorized access ID is sent to the second user, and the second user agrees to share the health information shared by the first user in the service provider platform according to the authorized access ID. data.
一种数据共享方法,包括:在接收用户发送的数据访问请求时,获得与所述数据访问请求对应的用户的用户标识和关系标识,其中,所述数据访问请求时用户请求访问除所述用户之外的其他用户的健康数据的请求,所述关系标识用于标识待访问用户是和所述用户通过移动健康服务平台实现社交服务的标识;根据获得的用户标识和关系标识,发送与所述数据访问请求对应的用户的健康数据。A data sharing method, comprising: when receiving a data access request sent by a user, obtaining a user ID and a relationship ID of a user corresponding to the data access request, wherein when the data access request is requested by the user, the user requests access to The request for health data of other users, the relationship identifier is used to identify the user to be accessed and the identifier of the user realizing social services through the mobile health service platform; according to the obtained user identifier and relationship identifier, send and the The health data of the user corresponding to the data access request.
一种数据共享装置,包括:第一获得单元,用于在接收到第一用户发送的请求向第二用户分享健康数据的数据分享请求时,获得所述数据分享请求中的第二用户的用户标识和第二用户的关系标识,所述关系标识用于标识第二用户是和第一用户通过移动健康服务平台实现社交服务的标识;第一发送单元,用于根据获得的第二用户的用户标识和第二用户的关系标识,向存储第一用户的健康数据的服务商平台发送健康数据获取请求;接收单元,用于接收服务商平台在所述第一用户登陆成功后发送的健康数据响应请求;第二获得单元,用于获得所述健康数据响应请求中的授权访问标识;第二发送单元,用于在接收到第二用户发送的数据分享请求时,将获得的所述授权访问标识发送给所述第二用户,所述第二用户根据所述授权访问标识共享服务商平台中的第一用户同意共享的健康数据。A data sharing device, comprising: a first obtaining unit, configured to obtain the user name of the second user in the data sharing request when receiving a data sharing request sent by a first user requesting to share health data with a second user The identification and the relationship identification of the second user, the relationship identification is used to identify the identification of the second user and the first user to realize the social service through the mobile health service platform; the first sending unit is used to obtain the second user's user The identification and the relationship identification of the second user, sending a health data acquisition request to the service provider platform that stores the health data of the first user; the receiving unit is used to receive the health data response sent by the service provider platform after the first user successfully logs in request; a second obtaining unit, configured to obtain the authorized access identifier in the health data response request; a second sending unit, configured to obtain the authorized access identifier when receiving the data sharing request sent by the second user The health data that the second user agrees to share with the first user in the shared service provider platform according to the authorized access identification is sent to the second user.
一种数据共享装置,包括:获得单元,用于在接收用户发送的数据访问请求时,获得与所述数据访问请求对应的用户的用户标识和关系标识,其中,所述数据访问请求时用户请求访问除所述用户之外的其他用户的健康数据的请求,所述关系标识用于标识待访问用户是和所述用户通过移动健康服务平台实现社交服务的标识;发送单元,用于根据获得的用户标识和关系标识,发送与所述数据访问请求对应的用户的健康数据。A data sharing device, comprising: an obtaining unit configured to, when receiving a data access request sent by a user, obtain a user ID and a relationship ID of a user corresponding to the data access request, wherein the data access request is a user request For a request to access the health data of other users except the user, the relationship identifier is used to identify the user to be accessed and the identifier for the user to implement social services through the mobile health service platform; the sending unit is configured to The user identifier and the relationship identifier are used to send the health data of the user corresponding to the data access request.
一种数据共享系统,包括第一用户、第二用户和健康服务平台,其中;所述第一用户,用于发送请求向第二用户分享健康数据的数据分享请求;所述健康服务平台,用于在接收到第一用户发送的请求向第二用户分享健康数据的数据分享请求时,获得所述数据分享请求中的第二用户的用户标识和第二用户的关系标识,所述关系标识用于标识第二用户是和第一用户通过移动健康服务平台实现社交服务的标识;根据获得的第二用户的用户标识和第二用户的关系标识,向存储第一用户的健康数据的服务商平台发送健康数据获取请求;服务商平台,用于在所述第一用户登陆成功后向所述健康服务平台发送数据响应请求;所述第二用户,用于发送数据分享请求;所述健康服务平台,还用于接收服务商平台在所述第一用户登陆成功后发送的健康数据响应请求;并获得所述健康数据响应请求中的授权访问标识;并在接收到第二用户发送的数据分享请求时,将获得的所述授权访问标识发送给所述第二用户,所述第二用户根据所述授权访问标识共享服务商平台中的第一用户同意共享的健康数据。A data sharing system, comprising a first user, a second user and a health service platform, wherein; the first user is used to send a data sharing request requesting to share health data with the second user; the health service platform uses When receiving a data sharing request from a first user requesting to share health data with a second user, obtain the user ID of the second user and the relationship ID of the second user in the data sharing request, and use the relationship ID to It is used to identify that the second user is an identification that realizes social services with the first user through the mobile health service platform; according to the obtained user identification of the second user and the relationship identification of the second user, the service provider platform that stores the health data of the first user Sending a health data acquisition request; the service provider platform is used to send a data response request to the health service platform after the first user successfully logs in; the second user is used to send a data sharing request; the health service platform , is also used to receive the health data response request sent by the service provider platform after the first user successfully logs in; and obtain the authorized access identifier in the health data response request; and receive the data sharing request sent by the second user , the obtained authorized access ID is sent to the second user, and the second user shares the health data agreed to be shared by the first user in the service provider platform according to the authorized access ID.
通过采用上述技术方案,第一用户和第二用户之间可以通过健康服务平台提供的社交服务,采用双重授权的方式,使得彼此相关联的用户之间可以通过移动健康服务平台提供的社交服务共享彼此的健康数据。By adopting the above technical solution, the social services provided by the health service platform can be used between the first user and the second user, and dual authorization can be adopted, so that users associated with each other can share social services provided by the mobile health service platform. each other's health data.
附图说明Description of drawings
图1为本发明实施例中,提出的数据共享系统结构组成示意图;FIG. 1 is a schematic diagram of the structure and composition of the proposed data sharing system in an embodiment of the present invention;
图2为本发明实施例中,提出的数据共享方法流程图;FIG. 2 is a flow chart of a proposed data sharing method in an embodiment of the present invention;
图3为本发明实施例中,提出的数据共享装置结构组成示意图;FIG. 3 is a schematic diagram of the structure and composition of the data sharing device proposed in the embodiment of the present invention;
图4为本发明实施例中,提出的数据共享装置结构组成示意图。FIG. 4 is a schematic diagram of the structure and composition of the data sharing device proposed in the embodiment of the present invention.
具体实施方式Detailed ways
下面将结合各个附图对本发明实施例技术方案的主要实现原理、具体实施方式及其对应能够达到的有益效果进行详细地阐述。The main realization principles, specific implementation methods and corresponding beneficial effects of the technical solutions of the embodiments of the present invention will be described in detail below with reference to each accompanying drawing.
本发明实施例提出一种数据共享系统,如图1所示,包括用户、健康服务平台和服务商平台,为便于阐述,本发明实施例提出的技术方案中,将不同用户做出区分,划分为第一用户和第二用户。其中每个用户都有各自独立的服务商平台提供服务。The embodiment of the present invention proposes a data sharing system, as shown in Figure 1, including users, health service platforms, and service provider platforms. for the first user and the second user. Each user has its own independent service provider platform to provide services.
第一用户通过健康服务平台访问服务商平台中存储的和该第一用户对应的健康数据。The first user accesses the health data corresponding to the first user stored in the service provider platform through the health service platform.
其中,第一用户通过健康服务平台向与第一用户对应的服务商平台发送访问请求,该访问请求中包含第一用户的用户标识,例如,第一用户的用户标识采用ID1表示。Wherein, the first user sends an access request to the service provider platform corresponding to the first user through the health service platform, and the access request includes the user identification of the first user, for example, the user identification of the first user is represented by ID1.
服务商平台接收第一用户通过健康服务平台发送的访问请求,获得访问请用的用户标识,例如获得第一用户的用户标识ID1,为第一用户提供登录界面。The service provider platform receives the access request sent by the first user through the health service platform, obtains the user identification used for access, for example, obtains the user identification ID1 of the first user, and provides a login interface for the first user.
第一用户根据服务商平台展示的登陆界面,使用用户标识进行登录,第一用户登陆成功后,服务商平台将授权访问的标识发送给健康服务平台。例如,服务商平台将授权访问的标识token发送给健康服务平台。健康服务平台存储第一用户标识ID1和授权访问的标识token。后续第一用户再次通过健康服务平台向与第一用户对应的服务商平台发送访问请求,请求访问健康数据时,可以直接进行访问,不需要进行重复登录,较好地节省了访问时间,节省了网络资源。The first user logs in using the user ID according to the login interface displayed by the service provider platform. After the first user logs in successfully, the service provider platform sends the access authorization ID to the health service platform. For example, the service provider platform sends the access authorization token to the health service platform. The health service platform stores the first user ID ID1 and the ID token for authorized access. Subsequently, the first user sends an access request to the service provider platform corresponding to the first user through the health service platform again. When requesting access to health data, the access can be directly performed without repeated login, which saves access time and saves Internet resources.
第一用户可以添加很多好友。为便于阐述,本发明实施例提出的技术方案中,将第一用户的好友采用第二用户来标识。第一用户,用于发送请求向第二用户分享健康数据的数据分享请求。The first user can add many friends. For ease of explanation, in the technical solution proposed by the embodiment of the present invention, the friends of the first user are identified by the second user. The first user is configured to send a data sharing request requesting to share health data with the second user.
服务商平台,用于在第一用户登陆成功后向健康服务平台发送数据响应请求。The service provider platform is used to send a data response request to the health service platform after the first user successfully logs in.
健康服务平台,用于在接收到第一用户发送的请求向第二用户分享健康数据的数据分享请求时,获得该数据分享请求中的第二用户的用户标识和第二用户的关系标识。根据获得的第二用户的用户标识和第二用户的关系标识,向存储第一用户的健康数据的服务商平台发送健康数据获取请求。The health service platform is configured to obtain the user identifier of the second user and the relationship identifier of the second user in the data sharing request when receiving a data sharing request from the first user requesting to share health data with the second user. According to the obtained user identification of the second user and the relationship identification of the second user, a health data acquisition request is sent to the service provider platform storing the health data of the first user.
其中关系标识用于标识第二用户是和第一用户通过移动健康服务平台实现社交服务的标识,例如第一用户和第二用户是通过移动健康服务平台实现好友关。The relationship identifier is used to identify that the second user realizes the social service with the first user through the mobile health service platform, for example, the first user and the second user realize the friendship relationship through the mobile health service platform.
第二用户,用于发送数据分享请求。The second user is used to send a data sharing request.
健康服务平台,还用于接收服务商平台在所述第一用户登陆成功后发送的健康数据响应请求;并获得健康数据响应请求中的授权访问标识;并在接收到第二用户发送的数据分享请求时,将获得的所述授权访问标识发送给所述第二用户,第二用户根据所述授权访问标识共享服务商平台中的第一用户同意共享的健康数据。The health service platform is also used to receive the health data response request sent by the service provider platform after the first user successfully logs in; and obtain the authorized access identifier in the health data response request; and receive the data sharing request sent by the second user When requesting, the obtained authorized access ID is sent to the second user, and the second user shares the health data agreed to be shared by the first user in the service provider platform according to the authorized access ID.
可选地,健康服务平台,还用于接收第一用户发送的获得第二用户的用户标识获得请求;在预先存储的用户标识和关系标识的对应关系中,获得第二用户的用户标识和第二用户的关系标识,将第二用户的用户标识和第二用户的关系标识发送给第一用户。Optionally, the health service platform is further configured to receive a second user’s user ID acquisition request sent by the first user; and obtain the second user’s user ID and the second user ID in the pre-stored correspondence between the user ID and the relationship ID The relationship identifier of the second user sends the user identifier of the second user and the relationship identifier of the second user to the first user.
其中,第一用户和第二用户在健康服务平台建立好友关系。例如可以通过R标识第一用户和第二用户是好友关系。Wherein, the first user and the second user establish a friendship relationship on the health service platform. For example, R may be used to indicate that the first user and the second user are friends.
第一用户在服务商平台中获得存储的第一用户的健康数据。其中,第一用户的部分健康数据或者全部健康数据是可以公开分享的健康数据。也就是说,第一用户可以将对应的服务商平台中存储的部分或者全部健康数据向其好友进行分享。The first user obtains the stored health data of the first user on the service provider platform. Wherein, some or all of the health data of the first user is health data that can be shared publicly. That is to say, the first user can share some or all of the health data stored in the corresponding service provider platform with his or her friends.
第一用户向健康服务平台发送请求向第二用户分享健康数据的数据分享请求。The first user sends a data sharing request requesting to share health data with the second user to the health service platform.
健康服务平台接收到数据分享请求,获得数据分享请求中的第二用户的用户标和第二用户的关系标识。健康服务平台根据获得的第二用户的用户标识和第二用户的关系标识,向存储第一用户的健康数据的服务商平台发送健康数据获取请求。The health service platform receives the data sharing request, and obtains the user identifier of the second user and the relationship identifier of the second user in the data sharing request. The health service platform sends a health data acquisition request to the service provider platform storing the health data of the first user according to the obtained user identifier of the second user and the relationship identifier of the second user.
假设第二用户的用户标识采用UserBID表示,第二用户和第一用户的关系标识采用R_A(ID)表示。健康服务平台向存储第一用户的健康数据的服务商平台发送健康数据获取请求,在健康数据获取请求中包含标识P_ID,UserBID,RA(ID),以及请求该服务商平台分享数据Data(open)。其中标识P_ID为健康服务平台的标识。Assume that the user identifier of the second user is represented by UserBID, and the relationship identifier between the second user and the first user is represented by R_A(ID). The health service platform sends a health data acquisition request to the service provider platform that stores the health data of the first user, and includes the identification P_ID, UserBID, RA(ID) in the health data acquisition request, and requests the service provider platform to share the data Data (open) . The identifier P_ID is the identifier of the health service platform.
服务商平台接收到健康服务平台发送的健康数据获取请求,获得标识P_ID,UserBID,RA(ID),并提供登录界面。第一用户登陆成功后,服务商平台将授权访问的标识发送给健康服务平台。例如,将token(RA(ID),P_ID,T1)发送给健康服务平台。其中T1表示第一用户对应的服务商平台的标识。The service provider platform receives the health data acquisition request sent by the health service platform, obtains the identification P_ID, UserBID, RA(ID), and provides a login interface. After the first user successfully logs in, the service provider platform sends the access authorization logo to the health service platform. For example, send the token (RA(ID), P_ID, T1) to the health service platform. Where T1 represents the identifier of the service provider platform corresponding to the first user.
在健康服务平台接收到第二用户发送的数据分享请求时,将获得的授权访问标识发送给第二用户,第二用户根据所述授权访问标识共享服务商平台中的第一用户同意共享的健康数据。When the health service platform receives the data sharing request sent by the second user, it sends the obtained authorized access ID to the second user, and the second user agrees to share the health status of the first user in the service provider platform according to the authorized access ID. data.
健康服务平台在第二用户发送数据分享请求时,通过token(RA(ID),P_ID,T1)请求服务商平台T1获取第一用户分享的数据。When the second user sends a data sharing request, the health service platform requests the service provider platform T1 to obtain the data shared by the first user through token (RA(ID), P_ID, T1).
相应地,本发明实施例还提出一种数据共享方法,如图2所示,其具体处理流程如下述:Correspondingly, the embodiment of the present invention also proposes a data sharing method, as shown in FIG. 2 , and its specific processing flow is as follows:
步骤21,接收第一用户发送的请求向第二用户分享健康数据的数据分享请求。Step 21, receiving a data sharing request from a first user requesting to share health data with a second user.
第一用户可以添加很多好友。为便于阐述,本发明实施例提出的技术方案中,将第一用户的好友采用第二用户来标识。The first user can add many friends. For ease of explanation, in the technical solution proposed by the embodiment of the present invention, the friends of the first user are identified by the second user.
步骤22,在接收到第一用户发送的请求向第二用户分享健康数据的数据分享请求时,获得该数据分享请求中的第二用户的用户标识和第二用户的关系标识。Step 22, when receiving a data sharing request from the first user requesting to share health data with the second user, obtain the user ID of the second user and the relationship ID of the second user in the data sharing request.
其中关系标识用于标识第二用户是和第一用户通过移动健康服务平台实现社交服务的标识。例如第一用户和第二用户是通过移动健康服务平台实现好友关。The relationship identifier is used to identify that the second user realizes the social service with the first user through the mobile health service platform. For example, the first user and the second user are friends through the mobile health service platform.
步骤23,根据获得的第二用户的用户标识和第二用户的关系标识,向存储第一用户的健康数据的服务商平台发送健康数据获取请求。Step 23: Send a health data acquisition request to the service provider platform storing the health data of the first user according to the obtained user ID of the second user and the relationship ID of the second user.
步骤24,接收服务商平台在第一用户登陆成功后发送的健康数据响应请求。Step 24, receiving the health data response request sent by the service provider platform after the first user successfully logs in.
步骤25,获得健康数据响应请求中的授权访问标识。Step 25, obtain the authorized access identifier in the health data response request.
在上述步骤22~步骤25中,第一用户通过健康服务平台向与第一用户对应的服务商平台发送访问请求,该访问请求中包含第一用户的用户标识。例如,第一用户的用户标识采用ID1表示。In the above steps 22 to 25, the first user sends an access request to the service provider platform corresponding to the first user through the health service platform, and the access request includes the user identification of the first user. For example, the user identifier of the first user is represented by ID1.
服务商平台接收第一用户通过健康服务平台发送的访问请求,获得访问请用的用户标识,例如获得第一用户的用户标识ID1,为第一用户提供登录界面。第一用户根据服务商平台展示的登陆界面,使用用户标识进行登录,第一用户登陆成功后,服务商平台将授权访问的标识发送给健康服务平台。The service provider platform receives the access request sent by the first user through the health service platform, obtains the user identification used for access, for example, obtains the user identification ID1 of the first user, and provides a login interface for the first user. The first user logs in using the user ID according to the login interface displayed by the service provider platform. After the first user logs in successfully, the service provider platform sends the access authorization ID to the health service platform.
步骤26,接收第二用户发送的数据分享请求。Step 26, receiving a data sharing request sent by the second user.
步骤27,在接收到第二用户发送的数据分享请求时,将获得的授权访问标识发送给第二用户。Step 27, when receiving the data sharing request sent by the second user, send the obtained authorized access ID to the second user.
步骤28,第二用户根据所述授权访问标识共享服务商平台中的第一用户同意共享的健康数据。Step 28, the second user identifies the health data that the first user agrees to share on the sharing service provider platform according to the authorized access.
其中,第一用户和第二用户在健康服务平台建立好友关系。例如可以通过R标识第一用户和第二用户是好友关系。Wherein, the first user and the second user establish a friendship relationship on the health service platform. For example, R may be used to indicate that the first user and the second user are friends.
第一用户在服务商平台中获得存储的第一用户的健康数据。其中,第一用户的部分健康数据或者全部健康数据是可以公开分享的健康数据。也就是说,第一用户可以将对应的服务商平台中存储的部分或者全部健康数据向其好友进行分享。The first user obtains the stored health data of the first user on the service provider platform. Wherein, some or all of the health data of the first user is health data that can be shared publicly. That is to say, the first user can share some or all of the health data stored in the corresponding service provider platform with his or her friends.
假设第二用户的用户标识采用UserBID表示,第二用户和第一用户的关系标识采用R_A(ID)表示。健康服务平台向存储第一用户的健康数据的服务商平台发送健康数据获取请求,在健康数据获取请求中包含标识P_ID,UserBID,RA(ID),以及请求该服务商平台分享数据Data(open)。其中标识P_ID为健康服务平台的标识。Assume that the user identifier of the second user is represented by UserBID, and the relationship identifier between the second user and the first user is represented by R_A(ID). The health service platform sends a health data acquisition request to the service provider platform that stores the health data of the first user, and includes the identification P_ID, UserBID, RA(ID) in the health data acquisition request, and requests the service provider platform to share the data Data (open) . The identifier P_ID is the identifier of the health service platform.
服务商平台接收到健康服务平台发送的健康数据获取请求,获得标识P_ID,UserBID,RA(ID),并提供登录界面。第一用户登陆成功后,服务商平台将授权访问的标识发送给健康服务平台。例如,将token(RA(ID),P_ID,T1)发送给健康服务平台。其中T1表示第一用户对应的服务商平台的标识。The service provider platform receives the health data acquisition request sent by the health service platform, obtains the identification P_ID, UserBID, RA(ID), and provides a login interface. After the first user successfully logs in, the service provider platform sends the access authorization identifier to the health service platform. For example, send the token (RA(ID), P_ID, T1) to the health service platform. Where T1 represents the identifier of the service provider platform corresponding to the first user.
在健康服务平台接收到第二用户发送的数据分享请求时,将获得的授权访问标识发送给第二用户,第二用户根据所述授权访问标识共享服务商平台中的第一用户同意共享的健康数据。When the health service platform receives the data sharing request sent by the second user, it sends the obtained authorized access ID to the second user, and the second user agrees to share the health status of the first user in the service provider platform according to the authorized access ID. data.
健康服务平台在第二用户发送数据分享请求时,通过token(RA(ID),P_ID,T1)请求服务商平台T1获取第一用户分享的数据。When the second user sends a data sharing request, the health service platform requests the service provider platform T1 to obtain the data shared by the first user through token (RA(ID), P_ID, T1).
可选地,在上述步骤21之前,还可以包括:接收第一用户发送的获得所述第二用户的用户标识获得请求;在预先存储的用户标识和关系标识的对应关系中,获得第二用户的用户标识和第二用户的关系标识,将第二用户的用户标识和第二用户的关系标识发送给第一用户。Optionally, before the above step 21, it may also include: receiving the user ID acquisition request of the second user sent by the first user; obtaining the second user ID from the pre-stored correspondence between the user ID and the relationship ID. The user ID of the second user and the relationship ID of the second user are sent to the first user.
第一用户通过健康服务平台向与第一用户对应的服务商平台发送访问请求,该访问请求中包含第一用户的用户标识,例如,第一用户的用户标识采用ID1表示。The first user sends an access request to the service provider platform corresponding to the first user through the health service platform, and the access request includes the user identification of the first user, for example, the user identification of the first user is represented by ID1.
服务商平台接收第一用户通过健康服务平台发送的访问请求,获得访问请用的用户标识,例如获得第一用户的用户标识ID1,为第一用户提供登录界面。The service provider platform receives the access request sent by the first user through the health service platform, obtains the user identification used for access, for example, obtains the user identification ID1 of the first user, and provides a login interface for the first user.
第一用户根据服务商平台展示的登陆界面,使用用户标识进行登录,第一用户登陆成功后,服务商平台将授权访问的标识发送给健康服务平台。The first user logs in using the user ID according to the login interface displayed by the service provider platform. After the first user logs in successfully, the service provider platform sends the access authorization ID to the health service platform.
相应地,本发明实施例还提出一种种数据共享方法,其处理流程如下述:Correspondingly, the embodiment of the present invention also proposes a data sharing method, and its processing flow is as follows:
在接收用户发送的数据访问请求时,获得与所述数据访问请求对应的用户的用户标识和关系标识,其中,所述数据访问请求时用户请求访问除所述用户之外的其他用户的健康数据的请求,所述关系标识用于标识待访问用户是和所述用户通过移动健康服务平台实现社交服务的标识;When receiving the data access request sent by the user, obtain the user ID and relationship ID of the user corresponding to the data access request, wherein the data access request is the user's request to access the health data of other users except the user request, the relationship identifier is used to identify the user to be accessed and the identifier of the social service that the user realizes through the mobile health service platform;
根据获得的用户标识和关系标识,发送与所述数据访问请求对应的用户的健康数据。Send the health data of the user corresponding to the data access request according to the obtained user identifier and relationship identifier.
相应地,本发明实施例提出一种数据共享装置,如图3所示,包括:Correspondingly, an embodiment of the present invention proposes a data sharing device, as shown in FIG. 3 , including:
第一获得单元301,用于在接收到第一用户发送的请求向第二用户分享健康数据的数据分享请求时,获得所述数据分享请求中的第二用户的用户标识和第二用户的关系标识,所述关系标识用于标识第二用户是和第一用户通过移动健康服务平台实现社交服务的标识。The first obtaining unit 301 is configured to obtain the relationship between the user identifier of the second user and the second user in the data sharing request when receiving a data sharing request sent by the first user requesting to share health data with the second user An identifier, where the relationship identifier is used to identify that the second user is an identifier that implements social services with the first user through the mobile health service platform.
第一发送单元302,用于根据获得的第二用户的用户标识和第二用户的关系标识,向存储第一用户的健康数据的服务商平台发送健康数据获取请求;The first sending unit 302 is configured to send a health data acquisition request to the service provider platform storing the health data of the first user according to the obtained user identifier of the second user and the relationship identifier of the second user;
接收单元303,用于接收服务商平台在所述第一用户登陆成功后发送的健康数据响应请求。The receiving unit 303 is configured to receive the health data response request sent by the service provider platform after the first user successfully logs in.
第二获得单元304,用于获得所述健康数据响应请求中的授权访问标识。The second obtaining unit 304 is configured to obtain the authorized access identifier in the health data response request.
第二发送单元305,用于在接收到第二用户发送的数据分享请求时,将获得的所述授权访问标识发送给所述第二用户,所述第二用户根据所述授权访问标识共享服务商平台中的第一用户同意共享的健康数据。The second sending unit 305 is configured to send the obtained authorized access identifier to the second user when receiving the data sharing request sent by the second user, and the second user shares the service according to the authorized access identifier The health data that the first user in the business platform agrees to share.
其中,上述接收单元303,还用于接收第一用户发送的获得所述第二用户的用户标识获得请求;上述第二获得单元304,还用于在预先存储的用户标识和关系标识的对应关系中,获得所述第二用户的用户标识和第二用户的关系标识;上述第二发送单元305,还用于将所述第二用户的用户标识和第二用户的关系标识发送给第一用户。Wherein, the above-mentioned receiving unit 303 is further configured to receive the request for obtaining the user ID of the second user sent by the first user; the above-mentioned second obtaining unit 304 is also configured to obtain the corresponding relationship between the pre-stored user ID and the relationship ID , obtaining the user ID of the second user and the relationship ID of the second user; the second sending unit 305 is further configured to send the user ID of the second user and the relationship ID of the second user to the first user .
相应地,本发明实施例提出一种数据共享装置,如图4所示,包括:Correspondingly, an embodiment of the present invention proposes a data sharing device, as shown in FIG. 4 , including:
获得单元401,用于在接收用户发送的数据访问请求时,获得与所述数据访问请求对应的用户的用户标识和关系标识,其中,所述数据访问请求时用户请求访问除所述用户之外的其他用户的健康数据的请求,所述关系标识用于标识待访问用户是和所述用户通过移动健康服务平台实现社交服务的标识。The obtaining unit 401 is configured to, when receiving a data access request sent by a user, obtain a user ID and a relationship ID of a user corresponding to the data access request, wherein, when the data access request is requested, the user requests access other than the user The request for the health data of other users, the relationship identifier is used to identify the user to be accessed and the identifier for the user to implement social services through the mobile health service platform.
发送单元402,用于根据获得的用户标识和关系标识,发送与所述数据访问请求对应的用户的健康数据。The sending unit 402 is configured to send the health data of the user corresponding to the data access request according to the obtained user identifier and relationship identifier.
本发明实施例提出的技术方案中,通过双重授权生成授权访问标识,使得通过健康服务平台成为好友的用户之间可以分享彼此健康数据。In the technical solution proposed by the embodiment of the present invention, the authorized access identifier is generated through dual authorization, so that users who become friends through the health service platform can share each other's health data.
本领域的技术人员应明白,本发明的实施例可提供为方法、装置(设备)、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、只读光盘、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices (devices), or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410093048.1ACN104917794B (en) | 2014-03-13 | 2014-03-13 | A kind of data sharing method, apparatus and system |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410093048.1ACN104917794B (en) | 2014-03-13 | 2014-03-13 | A kind of data sharing method, apparatus and system |
| Publication Number | Publication Date |
|---|---|
| CN104917794Atrue CN104917794A (en) | 2015-09-16 |
| CN104917794B CN104917794B (en) | 2018-11-02 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410093048.1AActiveCN104917794B (en) | 2014-03-13 | 2014-03-13 | A kind of data sharing method, apparatus and system |
| Country | Link |
|---|---|
| CN (1) | CN104917794B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105516146A (en)* | 2015-12-10 | 2016-04-20 | 惠州Tcl移动通信有限公司 | Health data authorization method based on mobile terminal, and server |
| CN105610949A (en)* | 2015-12-30 | 2016-05-25 | 腾讯科技(深圳)有限公司 | Method, device and system for sharing resource data permission |
| CN106126723A (en)* | 2016-06-30 | 2016-11-16 | 乐视控股(北京)有限公司 | A kind of method and device of mobile destination object |
| CN108022629A (en)* | 2017-12-01 | 2018-05-11 | 湖南暄程科技有限公司 | A kind of health account correlating method and system |
| CN108833357A (en)* | 2018-05-22 | 2018-11-16 | 中国互联网络信息中心 | Information Viewing Method and Device |
| CN113094656A (en)* | 2021-03-08 | 2021-07-09 | 海信集团控股股份有限公司 | Access control terminal device, server and method |
| CN113180617A (en)* | 2021-04-20 | 2021-07-30 | 歌尔股份有限公司 | Health data sharing method, terminal and computer readable storage medium |
| CN114092182A (en)* | 2021-11-12 | 2022-02-25 | 维沃移动通信有限公司 | Content acquisition method and device |
| CN114764283A (en)* | 2016-06-11 | 2022-07-19 | 苹果公司 | Activity and fitness update |
| US12239884B2 (en) | 2021-05-15 | 2025-03-04 | Apple Inc. | User interfaces for group workouts |
| US12243444B2 (en) | 2015-08-20 | 2025-03-04 | Apple Inc. | Exercised-based watch face and complications |
| US12299642B2 (en) | 2014-06-27 | 2025-05-13 | Apple Inc. | Reduced size user interface |
| US12394523B2 (en) | 2013-12-04 | 2025-08-19 | Apple Inc. | Wellness aggregator |
| US12413981B2 (en) | 2020-02-14 | 2025-09-09 | Apple Inc. | User interfaces for workout content |
| US12430013B2 (en) | 2014-08-02 | 2025-09-30 | Apple Inc. | Context-specific user interfaces |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1650305A (en)* | 2002-09-12 | 2005-08-03 | 平野宏文 | Medical data management system |
| CN102438039A (en)* | 2011-10-13 | 2012-05-02 | 上海欣方智能系统有限公司 | Perceptive health community information service system based on mobile internet and working method thereof |
| CN102917038A (en)* | 2012-10-10 | 2013-02-06 | 江苏物联网研究发展中心 | Cloud computation based remote service system for medical internet of things |
| CN103336845A (en)* | 2013-07-19 | 2013-10-02 | 广州天健科技开发有限公司 | Method and system for recording movement of slow disease patient and follow-up visit |
| CN103530524A (en)* | 2013-10-24 | 2014-01-22 | 徐州通软计算机系统集成有限公司 | Medical information intelligent data platform, use method and application thereof |
| CN103618802A (en)* | 2013-12-12 | 2014-03-05 | 中山爱科数字科技股份有限公司 | Health information service integration system and method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1650305A (en)* | 2002-09-12 | 2005-08-03 | 平野宏文 | Medical data management system |
| CN102438039A (en)* | 2011-10-13 | 2012-05-02 | 上海欣方智能系统有限公司 | Perceptive health community information service system based on mobile internet and working method thereof |
| CN102917038A (en)* | 2012-10-10 | 2013-02-06 | 江苏物联网研究发展中心 | Cloud computation based remote service system for medical internet of things |
| CN103336845A (en)* | 2013-07-19 | 2013-10-02 | 广州天健科技开发有限公司 | Method and system for recording movement of slow disease patient and follow-up visit |
| CN103530524A (en)* | 2013-10-24 | 2014-01-22 | 徐州通软计算机系统集成有限公司 | Medical information intelligent data platform, use method and application thereof |
| CN103618802A (en)* | 2013-12-12 | 2014-03-05 | 中山爱科数字科技股份有限公司 | Health information service integration system and method |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12394523B2 (en) | 2013-12-04 | 2025-08-19 | Apple Inc. | Wellness aggregator |
| US12361388B2 (en) | 2014-06-27 | 2025-07-15 | Apple Inc. | Reduced size user interface |
| US12299642B2 (en) | 2014-06-27 | 2025-05-13 | Apple Inc. | Reduced size user interface |
| US12430013B2 (en) | 2014-08-02 | 2025-09-30 | Apple Inc. | Context-specific user interfaces |
| US12243444B2 (en) | 2015-08-20 | 2025-03-04 | Apple Inc. | Exercised-based watch face and complications |
| WO2017096934A1 (en)* | 2015-12-10 | 2017-06-15 | 惠州Tcl移动通信有限公司 | Health data authorization method based on mobile terminal, and server |
| CN105516146A (en)* | 2015-12-10 | 2016-04-20 | 惠州Tcl移动通信有限公司 | Health data authorization method based on mobile terminal, and server |
| WO2017114444A1 (en)* | 2015-12-30 | 2017-07-06 | 腾讯科技(深圳)有限公司 | Method, device and system for sharing resource data |
| CN105610949A (en)* | 2015-12-30 | 2016-05-25 | 腾讯科技(深圳)有限公司 | Method, device and system for sharing resource data permission |
| CN114764283A (en)* | 2016-06-11 | 2022-07-19 | 苹果公司 | Activity and fitness update |
| US12274918B2 (en) | 2016-06-11 | 2025-04-15 | Apple Inc. | Activity and workout updates |
| CN106126723A (en)* | 2016-06-30 | 2016-11-16 | 乐视控股(北京)有限公司 | A kind of method and device of mobile destination object |
| CN108022629A (en)* | 2017-12-01 | 2018-05-11 | 湖南暄程科技有限公司 | A kind of health account correlating method and system |
| CN108833357A (en)* | 2018-05-22 | 2018-11-16 | 中国互联网络信息中心 | Information Viewing Method and Device |
| US12413981B2 (en) | 2020-02-14 | 2025-09-09 | Apple Inc. | User interfaces for workout content |
| CN113094656A (en)* | 2021-03-08 | 2021-07-09 | 海信集团控股股份有限公司 | Access control terminal device, server and method |
| CN113180617A (en)* | 2021-04-20 | 2021-07-30 | 歌尔股份有限公司 | Health data sharing method, terminal and computer readable storage medium |
| US12239884B2 (en) | 2021-05-15 | 2025-03-04 | Apple Inc. | User interfaces for group workouts |
| CN114092182A (en)* | 2021-11-12 | 2022-02-25 | 维沃移动通信有限公司 | Content acquisition method and device |
| Publication number | Publication date |
|---|---|
| CN104917794B (en) | 2018-11-02 |
| Publication | Publication Date | Title |
|---|---|---|
| CN104917794B (en) | A kind of data sharing method, apparatus and system | |
| CN105659558B (en) | Computer implemented method, authorization server and computer-readable memory | |
| US9906954B2 (en) | Identity authentication | |
| US10819825B2 (en) | Reservation system | |
| CN103716326B (en) | Resource access method and URG | |
| TWI575476B (en) | Technology for sharing user information with nearby devices | |
| JP6514721B2 (en) | Dual channel identification and authentication | |
| CN104580364B (en) | A kind of method and apparatus of resource sharing | |
| KR102087478B1 (en) | Method and apparatus of downloading and installing a client | |
| CN110121873A (en) | An access token management method, terminal and server | |
| US20130179941A1 (en) | Identifying guests in web meetings | |
| JP2014179999A5 (en) | Transmission system, transmission management system, display control method, destination management method, and program | |
| WO2016127797A1 (en) | User information acquisition method, apparatus, and server | |
| WO2016197934A1 (en) | Barcode security authentication method | |
| JP6640869B2 (en) | Method and system for anti-phishing using smart images | |
| US20200174818A1 (en) | Virtual machine management | |
| CN107211049A (en) | Pre-cache on WAP | |
| CN107637012A (en) | System, apparatus and method for securely coordinating rendezvous points of distributed devices using entropy multiplexing | |
| US20160248773A1 (en) | Authorizations For Computing Devices To Access A Protected Resource | |
| CN108173839A (en) | Rights management method and system | |
| CN105554136B (en) | Backup data restoration method, device and system | |
| CN102946396A (en) | User agent device, host web server and user authentication method | |
| CN105162805A (en) | User account login method and apparatus | |
| CN109818915B (en) | Information processing method and device, server and readable storage medium | |
| CN103067260B (en) | Realize method and the device of instant messaging |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |