WO2022205859A1 - Data exchange method, computing device, computer storage medium - Google Patents
Data exchange method, computing device, computer storage medium Download PDFInfo
- Publication number
- WO2022205859A1 WO2022205859A1 PCT/CN2021/125774 CN2021125774W WO2022205859A1 WO 2022205859 A1 WO2022205859 A1 WO 2022205859A1 CN 2021125774 W CN2021125774 W CN 2021125774W WO 2022205859 A1 WO2022205859 A1 WO 2022205859A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- data
- user
- identifier
- mobile phone
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 96
- 230000001960 triggered effect Effects 0.000 claims abstract description 58
- 230000004044 response Effects 0.000 claims abstract description 42
- 230000002452 interceptive effect Effects 0.000 claims description 165
- 230000003993 interaction Effects 0.000 claims description 56
- 238000004891 communication Methods 0.000 claims description 31
- 238000004590 computer program Methods 0.000 claims description 12
- 238000012790 confirmation Methods 0.000 claims description 11
- 238000012545 processing Methods 0.000 description 7
- 239000000284 extract Substances 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 230000008901 benefit Effects 0.000 description 3
- 230000000670 limiting effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 1
- 230000001680 brushing effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
Definitions
- the application data is sent to the first application, so that the first application generates a first page containing the application data, and displays the first page.
- the first application provides a data interworking option, which is specifically used to realize data interworking between applications.
- the first user can Triggering the data interworking option, for example, by clicking the data interworking button, the operation of triggering the data interworking option by the first user is deemed to have triggered the data interworking operation.
- the first application will report the monitored data interworking operation to the first application server, wherein the data interworking operation carries the first identification of the first user on the first application, and the first identification is that the first application server is the first application server.
- Steps S204 to S205 in the embodiment shown in FIG. 2 are similar to steps S102 to S103 in the embodiment shown in FIG. 1 , and details are not repeated here.
- the first application server extracts the third identifier from the interactive data viewing operation, and sends a second mobile phone number query request carrying the third identifier to the second application server, and the second application server After receiving the second mobile phone number query request, query the second mobile phone number bound to the third identifier, and return the queried second mobile phone number to the first application server.
- the first user can view the interactive data on the first application, and the first application can monitor the interactive data viewing operation triggered by the first user in real time. Three identifiers.
- the first application extracts the third identifier from the interactive data viewing operation, and sends the third identifier to the first application server.
- the first application server queries whether the second user has the fourth identifier according to the third identifier.
- the query result returns the user nickname corresponding to the fourth identifier or the virtual nickname assigned to the second user to the first application.
- the first application server may refer to the corresponding method steps in the embodiment of FIG. 2 for processing, which will not be repeated here.
- the program 610 further causes the processor 602 to perform the following operations: in response to the interactive data viewing operation triggered by the first user, send a specific application data identifier to the first application server, so that the first application server can send the data carrying the specific application to the second application server.
- the second mobile phone number query request of the data identification so that the second application server queries the second mobile phone number of the second user and the interactive data released for the specific application data according to the specific application data identification, and the second mobile phone number and the corresponding interactive data.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Human Computer Interaction (AREA)
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Provided are a data exchange method, a computing device, and a computer storage medium. The method comprises: in response to a data exchange operation triggered by a first user in a first application, querying a first mobile phone number bound to a first identifier corresponding to the first user, and sending an application identifier query request carrying the first mobile phone number to a second application server, so that the second application server queries whether a second identifier bound to the first mobile phone number exists (S101); if a second identifier bound to the first mobile phone number and returned by the second application server is received, pulling application data corresponding to the second identifier from the second application server (S102); and sending the application data to the first application, so that the first application generates a first page comprising the application data, and displays the first page (S103).
Description
相关申请的交叉参考CROSS-REFERENCE TO RELATED APPLICATIONS
本申请要求于2021年3月31日提交中国专利局、申请号为202110347652.2、名称为“数据互通方法、计算设备及计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110347652.2 and titled "Data Interworking Method, Computing Device and Computer Storage Medium", which was filed with the China Patent Office on March 31, 2021, the entire contents of which are incorporated herein by reference Applying.
本公开涉及计算机技术领域,具体涉及一种数据互通方法、计算设备及计算机存储介质。The present disclosure relates to the field of computer technologies, and in particular, to a data interworking method, a computing device, and a computer storage medium.
随着互联网技术的迅速发展,基于互联网的各种应用应运而生,用户会在其终端上安装有各种应用,然而,目前的应用都是独立运行,应用数据也是各自独立的,举例说明,用户分别注册了第一应用和第二应用,第一应用和第二应用的应用数据都是各自独立的,即,用户不能在第一应用查看第二应用的应用数据,用户也不能在第二应用查看第一应用的数据,用户只能在第一应用上查看第一应用的应用数据,同样地,用户也只能在第二应用上查看第二应用的应用数据。如果用户当前在使用第一应用,用户突然想看第二应用的应用数据A,那么用户只能在第一应用上去查找相同的应用数据A,并进行购买或下载等操作,或者,用户退出第一应用,并切换至第二应用,在第二应用查看相应的应用数据,导致用户操作繁琐。With the rapid development of Internet technology, various applications based on the Internet have emerged, and users will install various applications on their terminals. However, the current applications run independently, and the application data are also independent. For example, The user has registered the first application and the second application respectively, and the application data of the first application and the second application are independent of each other, that is, the user cannot view the application data of the second application in the first application, nor can the user When the application views the data of the first application, the user can only view the application data of the first application on the first application, and similarly, the user can only view the application data of the second application on the second application. If the user is currently using the first application and the user suddenly wants to view the application data A of the second application, the user can only search for the same application data A in the first application and perform operations such as purchase or download, or the user exits the first application. One application is switched to the second application, and the corresponding application data is viewed in the second application, resulting in cumbersome operations for the user.
公开内容public content
鉴于上述问题,提出了本公开以便提供一种克服上述问题或者至少部分地解决上述问题的数据互通方法、计算设备及计算机存储介质。In view of the above problems, the present disclosure is proposed to provide a data interworking method, computing device and computer storage medium that overcome the above problems or at least partially solve the above problems.
根据本公开的一个方面,提供了一种数据互通方法,方法适用于第一应用与第二应用之间的数据互通,方法包括:According to an aspect of the present disclosure, a data interworking method is provided, the method is suitable for data interworking between a first application and a second application, and the method includes:
响应于第一用户在第一应用触发的数据互通操作,查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供第二应用服务器查询是否存在与第一手机号码绑定的第二标识;In response to the data interworking operation triggered by the first user in the first application, query the first mobile phone number bound to the first identification corresponding to the first user, and send an application identification query request carrying the first mobile phone number to the second application server , for the second application server to query whether there is a second identifier bound to the first mobile phone number;
若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据;If receiving the second identifier bound to the first mobile phone number returned by the second application server, pulling the application data corresponding to the second identifier from the second application server;
将应用数据发送给第一应用,以使得第一应用生成包含应用数据的第一页面,并显示第一页面。The application data is sent to the first application, so that the first application generates a first page containing the application data, and displays the first page.
根据本公开的另一方面,提供了一种计算设备,包括:处理器、存储器、通信接口和通信总线,处理器、存储器和通信接口通过通信总线完成相互间的通信;According to another aspect of the present disclosure, a computing device is provided, including: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface communicate with each other through the communication bus;
存储器用于存放至少一可执行指令,可执行指令使处理器执行以下操作:The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
响应于第一用户在第一应用触发的数据互通操作,查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供第二应用服务器查询是否存在与第一手机号码绑定的第二标识;In response to the data interworking operation triggered by the first user in the first application, query the first mobile phone number bound to the first identification corresponding to the first user, and send an application identification query request carrying the first mobile phone number to the second application server , for the second application server to query whether there is a second identifier bound to the first mobile phone number;
若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据;If receiving the second identifier bound to the first mobile phone number returned by the second application server, pulling the application data corresponding to the second identifier from the second application server;
将应用数据发送给第一应用,以使得第一应用生成包含应用数据的第一页面,并显示第一页面。The application data is sent to the first application, so that the first application generates a first page containing the application data, and displays the first page.
根据本公开的又一方面,提供了一种非易失性计算机可读存储介质,非易失性计算机 可读存储介质中存储有至少一可执行指令,可执行指令使处理器执行如上述数据互通方法对应的操作。According to yet another aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, where at least one executable instruction is stored in the non-volatile computer-readable storage medium, and the executable instruction enables a processor to execute the above data The operation corresponding to the interworking method.
根据本公开的再又一方面,还提供了一种计算机程序产品,该计算机程序产品包括存储在上述非易失性计算机可读存储介质上的计算程序。According to yet another aspect of the present disclosure, there is also provided a computer program product, the computer program product comprising a computing program stored on the above-mentioned non-volatile computer-readable storage medium.
根据本公开的一个方面,提供了一种数据互通方法,方法适用于第一应用与第二应用之间的数据互通,方法包括:According to an aspect of the present disclosure, a data interworking method is provided, the method is suitable for data interworking between a first application and a second application, and the method includes:
响应于第一用户触发的数据互通操作,向第一应用服务器发送第一用户对应的第一标识,以供第一应用服务器查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以使得第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据,将应用数据发送给第一应用;In response to the data interworking operation triggered by the first user, sending the first identifier corresponding to the first user to the first application server, so that the first application server can query the first mobile phone number bound to the first identifier corresponding to the first user, Send an application identification query request carrying the first mobile phone number to the second application server, so that the second application server inquires whether there is a second identification bound to the first mobile phone number. A second identifier bound to a mobile phone number, pulling the application data corresponding to the second identifier from the second application server, and sending the application data to the first application;
接收第一应用服务器返回的应用数据,生成包含应用数据的第一页面,并显示第一页面。Receive application data returned by the first application server, generate a first page containing the application data, and display the first page.
根据本公开的另一方面,提供了一种计算设备,包括:处理器、存储器、通信接口和通信总线,处理器、存储器和通信接口通过通信总线完成相互间的通信;According to another aspect of the present disclosure, a computing device is provided, including: a processor, a memory, a communication interface, and a communication bus, and the processor, the memory, and the communication interface communicate with each other through the communication bus;
存储器用于存放至少一可执行指令,可执行指令使处理器执行以下操作:The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:
响应于第一用户触发的数据互通操作,向第一应用服务器发送第一用户对应的第一标识,以供第一应用服务器查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以使得第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据,将应用数据发送给第一应用;In response to the data interworking operation triggered by the first user, sending the first identifier corresponding to the first user to the first application server, so that the first application server can query the first mobile phone number bound to the first identifier corresponding to the first user, Send an application identification query request carrying the first mobile phone number to the second application server, so that the second application server inquires whether there is a second identification bound to the first mobile phone number. A second identifier bound to a mobile phone number, pulling the application data corresponding to the second identifier from the second application server, and sending the application data to the first application;
接收第一应用服务器返回的应用数据,生成包含应用数据的第一页面,并显示第一页面。Receive application data returned by the first application server, generate a first page containing the application data, and display the first page.
根据本公开的又一方面,提供了一种非易失性计算机可读存储介质,非易失性计算机可读存储介质中存储有至少一可执行指令,可执行指令使处理器执行如上述数据互通方法对应的操作。According to yet another aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, where at least one executable instruction is stored in the non-volatile computer-readable storage medium, and the executable instruction enables a processor to execute the above data The operation corresponding to the interworking method.
根据本公开的再又一方面,还提供了一种计算机程序产品,该计算机程序产品包括存储在上述非易失性计算机可读存储介质上的计算程序。根据本公开提供的方案,通过向第二应用服务器发送携带有第一手机号码的应用标识查询请求,供第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到第二应用服务器返回的第二标识,可以根据第二标识从第二应用服务器拉取应用数据,并将所拉取的应用数据发送给第一应用以在第一应用上呈现上述应用数据,使得用户无需执行第一应用与第二应用之间的应用切换或者用户无需在第一应用上重新购买或下载应用数据,通过简单地数据互通操作就能够在第一应用上查看第二应用的应用数据,为用户查看应用数据提供了方便,简化了用户查看第二应用的应用数据所执行的操作,提升了用户使用体验。According to yet another aspect of the present disclosure, there is also provided a computer program product, the computer program product comprising a computing program stored on the above-mentioned non-volatile computer-readable storage medium. According to the solution provided by the present disclosure, an application identification query request carrying the first mobile phone number is sent to the second application server, so that the second application server can inquire whether there is a second identification bound to the first mobile phone number. The second identifier returned by the second application server can pull application data from the second application server according to the second identifier, and send the pulled application data to the first application to present the above application data on the first application, so that the user can There is no need to perform application switching between the first application and the second application or the user does not need to re-purchase or download application data on the first application, and the application data of the second application can be viewed on the first application through a simple data interworking operation, It provides convenience for the user to view the application data, simplifies the operation performed by the user to view the application data of the second application, and improves the user experience.
上述说明仅是本公开技术方案的概述,为了能够更清楚了解本公开的技术手段,而可依照说明书的内容予以实施,并且为了让本公开的上述和其它目的、特征和优点能够更明显易懂,以下特举本公开的具体实施方式。The above description is only an overview of the technical solutions of the present disclosure. In order to understand the technical means of the present disclosure more clearly, it can be implemented according to the contents of the description, and in order to make the above-mentioned and other purposes, features and advantages of the present disclosure more obvious and easy to understand , the following specific embodiments of the present disclosure are given.
附图概述BRIEF DESCRIPTION OF THE DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本公开的限制。而且在整个附图中,用相同的参考符号表示相同的部件。在附图中:Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are for purposes of illustrating preferred embodiments only and are not to be considered limiting of the present disclosure. Also, the same components are denoted by the same reference numerals throughout the drawings. In the attached image:
图1示出了根据本公开一个实施例的数据互通方法的流程示意图;1 shows a schematic flowchart of a data interworking method according to an embodiment of the present disclosure;
图2示出了根据本公开另一个实施例的数据互通方法的流程示意图;2 shows a schematic flowchart of a data interworking method according to another embodiment of the present disclosure;
图3示出了根据本公开一个实施例的数据互通方法的流程示意图;3 shows a schematic flowchart of a data interworking method according to an embodiment of the present disclosure;
图4示出了根据本公开另一个实施例的数据互通方法的流程示意图;4 shows a schematic flowchart of a data interworking method according to another embodiment of the present disclosure;
图5示出了根据本公开一个实施例的计算设备的结构示意图;FIG. 5 shows a schematic structural diagram of a computing device according to an embodiment of the present disclosure;
图6示出了根据本公开一个实施例的计算设备的结构示意图。FIG. 6 shows a schematic structural diagram of a computing device according to an embodiment of the present disclosure.
本公开的较佳实施方式Preferred Embodiments of the Disclosure
下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.
图1示出了根据本公开一个实施例的数据互通方法的流程示意图。该方法适用于第一应用与第二应用之间的数据互通,如图1所示,该方法包括以下步骤:FIG. 1 shows a schematic flowchart of a data interworking method according to an embodiment of the present disclosure. The method is suitable for data interworking between the first application and the second application. As shown in FIG. 1 , the method includes the following steps:
步骤S101,响应于第一用户在第一应用触发的数据互通操作,查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供第二应用服务器查询是否存在与第一手机号码绑定的第二标识。Step S101, in response to the data interworking operation triggered by the first user in the first application, query the first mobile phone number bound to the first identifier corresponding to the first user, and send the application carrying the first mobile phone number to the second application server The identification query request is used for the second application server to query whether there is a second identification bound to the first mobile phone number.
数据互通指将一个应用的应用数据共享给其他应用,通过应用数据的共享,使得第一用户能够在其它应用上看到该应用的应用数据,本实施例提供的数据互通方法具体由第一应用服务器执行,第一应用服务器按照本实施例提供的方法步骤能够实现第一应用与第二应用之间的数据互通,使得第一用户能够通过第一应用查看第二应用的应用数据。Data interworking refers to sharing application data of one application with other applications, and through the sharing of application data, the first user can see the application data of the application on other applications. The data interworking method provided in this embodiment is specifically implemented by the first application The server executes, and the first application server can implement data intercommunication between the first application and the second application according to the method steps provided in this embodiment, so that the first user can view the application data of the second application through the first application.
第一应用提供有数据互通选项,该数据互通选项具体用于实现应用间数据的互通,当第一用户想要查看其在第二应用上的应用数据时,第一用户可以在第一应用上触发数据互通选项,例如,点击数据互通按钮,第一用户触发数据互通选项的操作,视为触发了数据互通操作。第一应用会将所监测到的数据互通操作上报给第一应用服务器,其中,数据互通操作中携带有第一用户在第一应用上的第一标识,第一标识是第一应用服务器为第一用户分配的标识,用于唯一标识第一用户。The first application provides a data interworking option, which is specifically used to realize data interworking between applications. When the first user wants to view his application data on the second application, the first user can Triggering the data interworking option, for example, by clicking the data interworking button, the operation of triggering the data interworking option by the first user is deemed to have triggered the data interworking operation. The first application will report the monitored data interworking operation to the first application server, wherein the data interworking operation carries the first identification of the first user on the first application, and the first identification is that the first application server is the first application server. An identifier assigned by the user to uniquely identify the first user.
为了使得用户能够更好地享受应用所提供的服务,通常情况下,会要求用户注册,注册时需要用户提供其手机号码,在完成注册后,应用服务器都会将为用户分配的标识与用户注册时所使用的手机号码绑定存储,因此,可以通过手机号码来进行数据互通。In order to enable users to better enjoy the services provided by the application, users are usually required to register, and users are required to provide their mobile phone numbers during registration. The mobile phone number used is bound and stored, so data exchange can be performed through the mobile phone number.
具体地,第一应用服务器中预先存储有第一标识和第一手机号码,第一应用服务器接收到第一应用上报的数据互通操作后,查询与第一用户对应的第一标识绑定的第一手机号码;在查询到与第一标识绑定的第一手机号码之后,第一应用服务器向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供第二应用服务器查询是否存在与第一手机号码绑定的第二标识,其中,第二标识是第一用户在第二应用上的标识,第二应用服务器查询是否存在与第一手机号码绑定的第二标识主要是为了确定第一应用是否注册使用了第二应用,第一用户在第二应用上是否存在相应的应用数据。通常情况下,若第一用户注册了第二应用,第二服务器会将第一用户对应的第二标识与第一手机号码进行绑定,若第一用户未注册第二应用,那么第二服务器中不会存储有第一用户对应的第二标识与第一手机号码的绑定关系。因此,可以通过第一手机号码查询是否存在第一用户对应的第二标识,从而决定是否执行数据互通。其中,第一应用服务器可以通过调用第二应用服务器提供的通信接口实现与第二应用服务器的通信。Specifically, the first application server pre-stores the first identifier and the first mobile phone number, and after receiving the data interworking operation reported by the first application, the first application server queries the first identifier bound to the first identifier corresponding to the first user. A mobile phone number; after querying the first mobile phone number bound to the first identification, the first application server sends an application identification query request carrying the first mobile phone number to the second application server, so that the second application server can inquire whether There is a second identifier bound to the first mobile phone number, where the second identifier is the identifier of the first user on the second application, and the second application server queries whether there is a second identifier bound to the first mobile phone number. In order to determine whether the first application has registered and used the second application, whether the first user has corresponding application data on the second application. Under normal circumstances, if the first user registers the second application, the second server will bind the second identifier corresponding to the first user with the first mobile phone number. If the first user does not register the second application, the second server will The binding relationship between the second identifier corresponding to the first user and the first mobile phone number will not be stored in the . Therefore, whether there is a second identifier corresponding to the first user can be inquired through the first mobile phone number, so as to decide whether to perform data interworking. The first application server may implement communication with the second application server by invoking a communication interface provided by the second application server.
步骤S102,若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据。Step S102, if the second identifier bound to the first mobile phone number returned by the second application server is received, the application data corresponding to the second identifier is pulled from the second application server.
第二应用服务器在查询到存在与第一手机号码绑定的第二标识的情况下,向第一应用 服务器返回与第一手机号码绑定的第二标识,第一应用服务器在接收到与第一手机号码绑定的第二标识后,可以根据第二标识从第二应用服务器拉取应用数据,通过从第二应用服务器拉取第二标识对应的应用数据,实现了应用间数据的互通,使得第一用户能够在第一应用查看第二应用的应用数据。When the second application server finds out that there is a second identifier bound to the first mobile phone number, it returns the second identifier bound to the first mobile phone number to the first application server, and the first application server receives the second identifier bound to the first mobile phone number. After a mobile phone number is bound to the second identifier, the application data can be pulled from the second application server according to the second identifier, and the application data corresponding to the second identifier can be pulled from the second application server, thereby realizing the inter-application data intercommunication. The first user can view the application data of the second application in the first application.
步骤S103,将应用数据发送给第一应用,以使得第一应用生成包含应用数据的第一页面,并显示第一页面。Step S103, sending the application data to the first application, so that the first application generates a first page including the application data, and displays the first page.
在从第二应用服务器拉取到第二标识对应的应用数据后,可以将所拉取的应用数据发送给第一应用,第一应用在接收到应用数据后,生成包含所拉取的应用数据的第一页面,并显示所生成的第一页面,通过向第一用户呈现第一页面,使得第一用户在第一应用就能够便捷地查看第二应用的应用数据,用户无需从第一应用切换至第二应用,在第二应用查看相应的应用数据。After the application data corresponding to the second identifier is pulled from the second application server, the pulled application data may be sent to the first application, and after receiving the application data, the first application generates a generated application data including the pulled application data and display the generated first page. By presenting the first page to the first user, the first user can conveniently view the application data of the second application in the first application, and the user does not need to view the application data of the second application from the first application. Switch to the second application, and view the corresponding application data in the second application.
根据本公开上述实施例提供的方法,通过向第二应用服务器发送携带有第一手机号码的应用标识查询请求,供第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到第二应用服务器返回的第二标识,可以根据第二标识从第二应用服务器拉取应用数据,并将所拉取的应用数据发送给第一应用以在第一应用上呈现上述应用数据,使得用户无需执行第一应用与第二应用之间的应用切换或者用户无需在第一应用上重新购买或下载应用数据,通过简单地数据互通操作就能够在第一应用上查看第二应用的应用数据,为用户查看应用数据提供了方便,简化了用户查看第二应用的应用数据所执行的操作,提升了用户使用体验。According to the method provided by the above embodiments of the present disclosure, by sending an application identification query request carrying the first mobile phone number to the second application server, the second application server can query whether there is a second identification bound to the first mobile phone number. After receiving the second identifier returned by the second application server, the application data can be pulled from the second application server according to the second identifier, and the pulled application data can be sent to the first application to present the above-mentioned application data on the first application. , so that the user does not need to perform application switching between the first application and the second application or the user does not need to repurchase or download application data on the first application, and can view the second application on the first application through a simple data interoperability operation. The application data provides convenience for the user to view the application data, simplifies the operation performed by the user to view the application data of the second application, and improves the user experience.
图2示出了根据本公开另一个实施例的数据互通方法的流程示意图。该方法适用于第一应用与第二应用之间的数据互通,如图2所示,该方法包括以下步骤:FIG. 2 shows a schematic flowchart of a data interworking method according to another embodiment of the present disclosure. The method is suitable for data interworking between the first application and the second application, as shown in FIG. 2 , the method includes the following steps:
步骤S201,响应于第一用户在第一应用触发的数据互通操作,判断数据互通操作是否为首次操作,若非首次操作,则执行步骤S202;若首次操作,则执行步骤S203。Step S201, in response to the data interworking operation triggered by the first user in the first application, determine whether the data interworking operation is the first operation, if not, execute step S202; if it is the first operation, execute step S203.
为了提升数据互通效率,第一应用服务器在接收到第一应用上报的数据互通操作之后,并不是直接执行查询与第一用户对应的第一标识绑定的第一手机号码等处理,而是先判断数据互通操作是否为首次操作,对于非首次操作,由于第一应用服务器已经执行过数据互通操作,第一应用服务器存储了相应的应用服务器,可能无需再从第二应用服务器拉取应用数据,跳转执行步骤S202;对于首次操作,则需执行查询与第一用户对应的第一标识绑定的第一手机号码等处理,跳转执行步骤S203。In order to improve the efficiency of data interworking, after receiving the data interworking operation reported by the first application, the first application server does not directly perform processing such as querying the first mobile phone number bound to the first identifier corresponding to the first user. Determine whether the data interworking operation is the first operation. For a non-first operation, since the first application server has already performed the data interworking operation, the first application server stores the corresponding application server, and it may not be necessary to pull the application data from the second application server. Step S202 is skipped; for the first operation, processing such as querying the first mobile phone number bound to the first identifier corresponding to the first user needs to be performed, and step S203 is skipped.
步骤S202,查询数据列表中是否存在与本次数据互通操作中的第一标识匹配的第二标识;若不存在,则执行步骤S203;若存在,则执行步骤S205。Step S202 , query whether there is a second identifier matching the first identifier in the current data interworking operation in the data list; if not, go to step S203 ; if so, go to step S205 .
在首次数据互通操作后,第一应用服务器接收到第二应用服务器返回的与第一手机号码绑定的第二标识之后,将第一用户对应的第一标识与第二标识关联存储至数据列表中,以便于后续该用户再次触发数据互通操作时,通过查询数据列表来决定是否直接将应用数据发送给第一应用。After the first data interworking operation, after receiving the second identifier bound to the first mobile phone number returned by the second application server, the first application server associates and stores the first identifier and the second identifier corresponding to the first user in the data list , so that when the user triggers the data interworking operation again subsequently, it is determined whether to directly send the application data to the first application by querying the data list.
具体地,第一应用服务器可以基于本次数据互通操作中第一标识查询数据列表,例如,将本次数据互通操作接收到的第一标识与数据列表中的第一标识进行匹配,若匹配,则可确定数据列表中存在与本次数据互通操作中第一标识匹配的第二标识,为了节省资源,可以将第二标识对应的应用数据发送给第一应用,跳转执行步骤S205;若不匹配,则可确定数据列表中不存在与本次数据互通操作中第一标识匹配的第二标识,跳转执行步骤S203。Specifically, the first application server may query the data list based on the first identifier in this data interworking operation, for example, by matching the first identifier received in this data interworking operation with the first identifier in the data list, if there is a match, Then it can be determined that there is a second identification in the data list that matches the first identification in this data interworking operation, in order to save resources, the application data corresponding to the second identification can be sent to the first application, and step S205 is executed; If there is a match, it can be determined that there is no second identifier matching the first identifier in the data interworking operation in the data list, and step S203 is skipped.
步骤S203,查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供第二应用服务器查询是否存在与第一手机号码绑定的第二标识。Step S203, query the first mobile phone number bound to the first identification corresponding to the first user, and send an application identification query request carrying the first mobile phone number to the second application server, so that the second application server can inquire whether there is a connection with the first mobile phone number. A second identifier bound to a mobile phone number.
在数据互通操作是首次操作的情况下,或者,非首次操作时,数据列表中不存在与本次数据互通操作中的第一标识相匹配的第二标识时,第一应用服务器需要查询与第一用户 对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供第二应用服务器查询是否存在与第一手机号码绑定的第二标识。In the case that the data interworking operation is the first operation, or, when it is not the first operation, when there is no second identifier matching the first identifier in the data interworking operation in the data list, the first application server needs to query the A first mobile phone number bound to the first identification corresponding to the user sends an application identification query request carrying the first mobile phone number to the second application server, so that the second application server can query whether there is a mobile phone number bound to the first mobile phone number Second logo.
本步骤与图1所示实施例中的步骤S101类似,这里不再赘述。This step is similar to step S101 in the embodiment shown in FIG. 1 and will not be repeated here.
步骤S204,若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据。Step S204, if the second identifier bound to the first mobile phone number returned by the second application server is received, the application data corresponding to the second identifier is pulled from the second application server.
步骤S205,将应用数据发送给第一应用,以使得第一应用生成包含应用数据的第一页面,并显示第一页面。Step S205, sending the application data to the first application, so that the first application generates a first page including the application data, and displays the first page.
其中,应用数据可以包含电子书。Wherein, the application data may include e-books.
第一应用服务器通过上述方法步骤从第二应用服务器拉取到第一用户在第二应用上购买或下载的电子书,并将电子书发送给第一应用,使得第一用户可以直接在第一应用上查看其在第二应用的下载或购买的电子书,第一用户无需先在第一应用上去查找相同的电子书,再购买或下载所查找到的电子书,也无需退出第一应用,并切换至第二应用,在第二应用查看相应的电子书,简化了用户操作,提升了用户体验。The first application server pulls the e-book purchased or downloaded by the first user on the second application from the second application server through the above method steps, and sends the e-book to the first application, so that the first user can directly download the e-book in the first application. To view the e-books downloaded or purchased in the second application on the application, the first user does not need to search for the same e-book in the first application, and then purchase or download the found e-book, and does not need to exit the first application, And switch to the second application, and view the corresponding e-book in the second application, which simplifies the user operation and improves the user experience.
图2所示实施例中的步骤S204-步骤S205与图1所示实施例中的步骤S102-步骤S103类似,这里不再赘述。Steps S204 to S205 in the embodiment shown in FIG. 2 are similar to steps S102 to S103 in the embodiment shown in FIG. 1 , and details are not repeated here.
在本公开一种可选实施方式中,还可以进一步根据用户的选择确定是否从第二应用服务器拉取第二标识对应的应用数据,具体地,会向第一用户呈现提示弹窗,其中,提示弹窗用于供第一用户确认是否执行数据拉取操作,提示弹窗可以包含:确认按钮和取消按钮,用户点击提示弹窗中确认按钮,可以视为触发了确认数据拉取操作,表示用户希望继续执行数据拉取;用户点击提示弹窗中的取消按钮,可以视为用户触发了取消数据拉取操作,表示用户不想继续执行数据拉取。第一应用服务器在从第二应用服务器拉取第二标识对应的应用数据之前,先判断是否接收到第一用户在提示弹窗触发的确认数据拉取操作,若确定接收到了确认数据拉取操作,则从第二应用服务器拉取第二标识对应的应用数据。In an optional embodiment of the present disclosure, whether to pull the application data corresponding to the second identifier from the second application server may be further determined according to the user's selection. Specifically, a prompt pop-up window will be presented to the first user, wherein: The prompt pop-up window is used for the first user to confirm whether to perform the data pull operation. The prompt pop-up window can include: a confirm button and a cancel button. When the user clicks the confirm button in the prompt pop-up window, it can be regarded as triggering the confirmation data pull operation, indicating that The user wants to continue to perform data pull; if the user clicks the cancel button in the prompt pop-up window, it can be considered that the user has triggered the cancel data pull operation, indicating that the user does not want to continue the data pull. Before pulling the application data corresponding to the second identifier from the second application server, the first application server first determines whether the confirmation data pulling operation triggered by the first user in the prompt pop-up window is received, and if it is determined that the confirmation data pulling operation has been received , the application data corresponding to the second identifier is pulled from the second application server.
在本公开一种可选实施方式中,第一用户可能会换绑与第一手机号码绑定的第二标识,那么,数据列表中第一标识与第二标识可能是一对一或者一对多的关系,当第一标识与第二标识是一对一关系时,可以直接从第二应用服务器拉取第二标识对应的应用数据;当第一标识与第二标识是一对多的关系时,为了防止第一用户恶意反复换绑,而故意刷资源导致资源版权存在风险,第一应用服务器会判断与第一标识关联的第二标识的数量是否大于n,n为自然数;若否,则从第二应用服务器拉取最新生效的第二标识对应的应用数据;若是,则从第二应用服务器拉取第n个第二标识对应的应用数据。In an optional embodiment of the present disclosure, the first user may change the second identifier bound to the first mobile phone number, then the first identifier and the second identifier in the data list may be one-to-one or one-to-one When the first identifier and the second identifier are in a one-to-one relationship, the application data corresponding to the second identifier can be directly pulled from the second application server; when the first identifier and the second identifier are in a one-to-many relationship , in order to prevent the first user from maliciously changing the binding repeatedly, and deliberately brushing resources, which leads to the risk of resource copyright, the first application server will determine whether the number of second identifiers associated with the first identifier is greater than n, where n is a natural number; if not, Then, the application data corresponding to the latest effective second identifier is pulled from the second application server; if so, the application data corresponding to the nth second identifier is pulled from the second application server.
其中,本领域技术人员可以根据经验设定n的取值,例如,设定n的取值为3,若第二标识的数量小于或等于3,那么从第二应用服务器拉取最新生效的第二标识对应的应用数据;若第二标识的数量大于3,那么从第二应用服务器拉取第3个的第二标识对应的应用数据,每个第二标识都对应一生效时间,可以基于生效时间由远及近的顺序对多个第二标识进行排序,从中选取第3个第二标识,根据第3个第二标识从第二应用服务器拉取应用数据。Wherein, those skilled in the art can set the value of n according to experience, for example, set the value of n to be 3, if the number of second identifiers is less than or equal to 3, then pull the latest effective first number from the second application server The application data corresponding to the second identification; if the number of the second identification is greater than 3, then the application data corresponding to the third second identification is pulled from the second application server, and each second identification corresponds to an effective time, which can be based on the effective time. The multiple second identifiers are sorted in order of time from far to near, the third second identifier is selected from the second identifier, and the application data is pulled from the second application server according to the third second identifier.
步骤S206,响应于第一用户触发的互动数据查看操作,向第二应用服务器发送携带有第三标识的第二手机号码查询请求,以供第二应用服务器查询与第三标识绑定的第二手机号码。Step S206, in response to the interactive data viewing operation triggered by the first user, send a second mobile phone number query request carrying the third identifier to the second application server, so that the second application server can query the second mobile phone number bound to the third identifier. cellphone number.
第一用户在阅读电子书时,可能会做一些标记,例如,针对电子书产生了一些想法,或者对电子书进行评论或做了批注,因此,应用数据还可以包括:电子书想法、评论和/或批注。通常情况下,其他用户(本实施例中的第二用户)在阅读电子书时能够查看第一用户所标记的电子书想法、评论和/或批注,并可进行互动,第二用户针对应用数据所发布的数据称为互动数据,第一应用服务器在从第二应用服务器拉取第二标识对应的应用数据时,会同时拉取与应用数据相关的互动数据,并存储相应的互动数据。When the first user reads the e-book, he may make some marks, for example, he has some ideas about the e-book, or comments or comments on the e-book. Therefore, the application data can also include: e-book ideas, comments and comments. / or comments. Under normal circumstances, other users (the second user in this embodiment) can view the e-book ideas, comments and/or annotations marked by the first user when reading the e-book, and can interact with the second user. The published data is called interactive data. When the first application server pulls the application data corresponding to the second identifier from the second application server, it simultaneously pulls the interactive data related to the application data and stores the corresponding interactive data.
为了提升互动数据的显示效果,希望在显示第二用户发布互动数据时,能够同时显示 第二用户的用户昵称,然而,可能会存在第二用户在第一应用完成了注册和第二用户在第一应用未完成注册两种情况,针对两种不同的情况,显示效果会有所不同。In order to improve the display effect of the interactive data, it is desirable to display the user nickname of the second user when displaying the interactive data published by the second user. There are two situations in which an application has not been registered, and the display effect will be different for the two different situations.
具体地,第一用户可以通过第一应用查看互动数据,互动数据是第二用户针对应用数据发布的数据,第一应用实时监测第一用户触发的互动数据查看操作,并将所监测到的互动数据查看操作上报至第一应用服务器,互动数据查看操作中携带了第三标识,其中,第三标识是第二用户在第二应用上的标识,第二用户是发布互动数据的用户,响应于第一用户触发的互动数据查看操作,第一应用服务器从互动数据查看操作中提取出第三标识,向第二应用服务器发送携带有第三标识的第二手机号码查询请求,第二应用服务器在接收到第二手机号码查询请求后,查询与第三标识绑定的第二手机号码,并将查询到的第二手机号码返回给第一应用服务器。Specifically, the first user can view the interaction data through the first application, and the interaction data is the data published by the second user for the application data. The first application monitors the interaction data viewing operation triggered by the first user in real time, and displays the monitored interaction data. The data viewing operation is reported to the first application server, and the interactive data viewing operation carries a third identifier, where the third identifier is the identifier of the second user on the second application, and the second user is the user who published the interactive data. In the interactive data viewing operation triggered by the first user, the first application server extracts the third identifier from the interactive data viewing operation, and sends a second mobile phone number query request carrying the third identifier to the second application server, and the second application server After receiving the second mobile phone number query request, query the second mobile phone number bound to the third identifier, and return the queried second mobile phone number to the first application server.
步骤S207,根据第二应用服务器返回的第二手机号码,查询是否存在与第二手机号码绑定的第四标识,若存在,则执行步骤S208;若不存在,则执行步骤S209。Step S207, according to the second mobile phone number returned by the second application server, query whether there is a fourth identifier bound to the second mobile phone number, if so, go to step S208; if not, go to step S209.
第一应用服务器在接收到第二手机号码后,根据第二手机号码查询是否存在与第二手机号码绑定的第四标识,以确定第二用户是否注册了第一应用;其中,第四标识是第二用户在第一应用上的标识,若存在与第二手机号码绑定的第四标识,可以确定第二用户注册了第一应用;若不存在与第二手机号码绑定的第四标识,可以确定第二用户未注册第一应用。After receiving the second mobile phone number, the first application server inquires whether there is a fourth identification bound to the second mobile phone number according to the second mobile phone number, so as to determine whether the second user has registered the first application; wherein, the fourth identification It is the identification of the second user on the first application. If there is a fourth identification bound with the second mobile phone number, it can be determined that the second user has registered the first application; if there is no fourth identification bound with the second mobile phone number identification, it can be determined that the second user has not registered the first application.
步骤S208,将与第四标识对应的用户昵称发送给第一应用,以供第一应用利用用户昵称显示互动数据。Step S208, sending the user nickname corresponding to the fourth identifier to the first application, so that the first application can display interactive data by using the user nickname.
若存在与第二手机号码绑定的第四标识,表明第二用户注册了第一应用,那么可以根据第四标识查询确定第二用户在第一应用上的用户昵称,然后,将与第四标识对应的用户昵称发送给第一应用,以供第一应用利用用户昵称显示互动数据。也就是说,利用第二用户在第一应用的用户昵称来显示第二用户发布的互动数据,例如,第二用户在第一应用上的用户昵称为AAA,互动数据为XXXXX,则第一应用显示如下:AAA:XXXXX。If there is a fourth identifier bound to the second mobile phone number, indicating that the second user has registered the first application, then the user nickname of the second user on the first application can be determined according to the fourth identifier query, and then the user nickname of the second user on the first application can be determined according to the fourth identifier. The user nickname corresponding to the identifier is sent to the first application, so that the first application uses the user nickname to display interactive data. That is to say, the user nickname of the second user in the first application is used to display the interaction data published by the second user. For example, if the user nickname of the second user in the first application is AAA and the interaction data is XXXXX, then the first application Displayed as follows: AAA:XXXXX.
步骤S209,为第二用户分配虚拟昵称,并将虚拟昵称发送给第一应用,以供第一应用利用为第二用户分配的虚拟昵称显示互动数据。Step S209, assigning a virtual nickname to the second user, and sending the virtual nickname to the first application, so that the first application can display interactive data by using the virtual nickname assigned to the second user.
若不存在与第二手机号码绑定的第四标识,表明第二用户未注册第一应用,此时可以为第二用户分配虚拟昵称,这里的虚拟昵称可以是第二用户在第二应用的用户昵称,也可以是重新分配的,然后,将虚拟昵称发送给第一应用,以供第一应用利用为第二用户分配的虚拟昵称显示互动数据,也就是说,利用为第二用户分配的伪昵称来显示第二用户发布的互动数据。If there is no fourth identifier bound to the second mobile phone number, it means that the second user has not registered with the first application. At this time, a virtual nickname can be assigned to the second user. The virtual nickname here can be the second user's name in the second application. The user nickname can also be reassigned, and then the virtual nickname is sent to the first application, so that the first application can use the virtual nickname assigned to the second user to display the interactive data, that is, use the virtual nickname assigned to the second user Pseudo-nickname to display interaction data posted by the second user.
其中,虚拟昵称可以包含:应用名称及用户编号。例如,应用名称为YY,用户编码为:用户1,互动数据为XXXXX,则第一应用显示如下:YY用户1:XXXXX。这里仅是举例说明,不具有任何限定作用。The virtual nickname may include: an application name and a user ID. For example, if the application name is YY, the user code is: User 1, and the interaction data is XXXXX, the first application is displayed as follows: YY User 1: XXXXX. This is only for illustration and does not have any limiting effect.
需要说明的是,步骤S206-步骤S209描述的是第一应用服务器能够识别发布互动数据的第二用户在第二应用上的第三标识的情况。It should be noted that step S206 - step S209 describe the situation in which the first application server can identify the third identifier on the second application of the second user who publishes the interactive data.
在本公开一种可选实施方式中,第二用户可能发布了多条互动数据,为了便于第一用户分辨哪些互动数据是同一个用户发布的,也为了能够节省资源,在为第二用户分配虚拟昵称之后,方法还包括:将第二用户对应的第三标识、第二手机号码、虚拟昵称关联存储至数据列表中,通过存储至数据列表,能够确保显示的唯一性,并且也无需重复进行查询,节省资源。In an optional embodiment of the present disclosure, the second user may publish multiple pieces of interactive data. In order to facilitate the first user to distinguish which interactive data is published by the same user, and to save resources, the second user is allocated After the virtual nickname, the method further includes: storing the third identifier corresponding to the second user, the second mobile phone number, and the virtual nickname in the data list in association, and by storing in the data list, the uniqueness of the display can be ensured, and there is no need to repeat the process. Query, save resources.
具体地,第一应用服务器在向第二应用服务器发送携带有第三标识的第二手机号码查询请求之前,可以先查询数据列表中是否存储与第二用户对应的第三标识关联的虚拟昵称,例如,第一应用服务器可以基于第三标识查询数据列表,确定数据列表中是否存在与第三标识关联的虚拟昵称,若是,则将虚拟昵称发送给第一应用,以供第一应用利用虚拟昵称显示互动数据;若否,则向第二应用服务器发送携带有第三标识的第二手机号码查询 请求。Specifically, before sending the second mobile phone number query request carrying the third identifier to the second application server, the first application server may first inquire whether the virtual nickname associated with the third identifier corresponding to the second user is stored in the data list, For example, the first application server may query the data list based on the third identifier to determine whether there is a virtual nickname associated with the third identifier in the data list, and if so, send the virtual nickname to the first application for the first application to use the virtual nickname Display the interactive data; if not, send a second mobile phone number query request carrying the third identifier to the second application server.
在本公开一种可选实施方式中,可能存在第一应用服务器不能识别发布互动数据的第二用户在第二应用上的第三标识的情况,针对这种情况,具体是通过如下方法来确定第二用户是否在第一应用上注册,并确定如何显示互动数据:In an optional embodiment of the present disclosure, there may be a situation where the first application server cannot identify the third identifier on the second application of the second user who publishes the interactive data. For this situation, the following method is specifically used to determine Whether the second user is registered on the first app and determines how the interaction data is displayed:
响应于第一用户触发的互动数据查看操作,向第二应用服务器发送携带有特定应用数据标识的第二手机号码查询请求,以供第二应用服务器根据特定应用数据标识查询第二用户的第二手机号码及针对特定应用数据发布的互动数据,将第二手机号码及对应的互动数据关联返回给第一应用服务器,其中,互动数据是针对特定应用数据发布的数据,第二手机号码是第二用户对应的手机号码,第二用户是发布互动数据的用户,互动数据查看操作携带有特定应用数据标识;In response to the interactive data viewing operation triggered by the first user, a second mobile phone number query request carrying the specific application data identifier is sent to the second application server, so that the second application server can query the second user's second mobile phone number according to the specific application data identifier. The mobile phone number and the interactive data published for the specific application data, and the second mobile phone number and the corresponding interactive data are associated and returned to the first application server, wherein the interactive data is the data published for the specific application data, and the second mobile phone number is the second mobile phone number. The mobile phone number corresponding to the user, the second user is the user who published the interactive data, and the interactive data viewing operation carries a specific application data identifier;
根据第二应用服务器返回的第二手机号码,查询是否存在与第二手机号码绑定的第四标识;According to the second mobile phone number returned by the second application server, query whether there is a fourth identifier bound to the second mobile phone number;
若存在与第二手机号码绑定的第四标识,则将与第四标识对应的用户昵称及互动数据发送给第一应用,以供第一应用利用用户昵称显示互动数据;If there is a fourth identifier bound to the second mobile phone number, sending the user nickname and interaction data corresponding to the fourth identifier to the first application, so that the first application can display the interaction data by using the user nickname;
若不存在与第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将虚拟昵称发送给第一应用,以供第一应用利用为第二用户分配的虚拟昵称显示互动数据。If there is no fourth identifier bound to the second mobile phone number, assign a virtual nickname to the second user, and send the virtual nickname to the first application for the first application to display interaction by using the virtual nickname assigned to the second user data.
具体地,第一用户可以通过第一应用查看特定应用数据对应的互动数据,这里的特定应用数据指某个特定的应用数据,在该可选实施方式中指第一用户想要查看的互动数据所针对的应用数据。由于第一应用服务器不能够识别第二用户在第二应用上的第三标识,为了能够互动数据的显示,第一应用上报给第一应用服务器互动数据查看操作中携带了特定应用数据的标识,这里称为特定应用数据标识。其中,特定应用数据标识唯一标识一条应用数据,响应于第一用户触发的互动数据查看操作,第一应用服务器从互动数据查看操作中提取出特定应用数据标识,向第二应用服务器发送携带有特定应用数据标识的第二手机号码查询请求,第二应用服务器预先存储有特定应用数据标识、第二用户的第三标识、第二手机号码及互动数据的关联关系,因此,第二应用服务器在接收到第二手机号码查询请求后,根据特定应用数据标识查询第二用户的第二手机号码及针对特定应用数据发布的互动数据,在该可选实施方式中,可能存在多个第二用户针对同一条特定应用数据发布了互动数据,为了使第一应用能够正确显示昵称及互动数据,需要将第二手机号码及对应的互动数据关联返回给第一应用服务器。Specifically, the first user can view the interactive data corresponding to the specific application data through the first application, where the specific application data refers to a specific application data, in this optional embodiment, refers to the interactive data that the first user wants to view. Targeted application data. Since the first application server cannot recognize the third identifier of the second user on the second application, in order to be able to display the interactive data, the first application reports to the first application server the identifier of the specific application data in the interactive data viewing operation. This is referred to as the application-specific data identification. The specific application data identifier uniquely identifies a piece of application data, and in response to the interactive data viewing operation triggered by the first user, the first application server extracts the specific application data identifier from the interactive data viewing operation, and sends a message carrying the specific application data to the second application server. The second mobile phone number query request of the application data identification, the second application server pre-stores the association relationship between the specific application data identification, the third identification of the second user, the second mobile phone number and the interactive data, therefore, the second application server is receiving After the second mobile phone number query request is received, the second mobile phone number of the second user and the interactive data released for the specific application data are queried according to the specific application data identifier. A specific piece of application data publishes interactive data. In order for the first application to correctly display the nickname and the interactive data, the second mobile phone number and the corresponding interactive data need to be associated and returned to the first application server.
第一应用服务器在接收到第二手机号码后,根据第二手机号码查询是否存在与第二手机号码绑定的第四标识,以确定第二用户是否注册了第一应用;其中,第四标识是第二用户在第一应用上的标识,若存在与第二手机号码绑定的第四标识,可以确定第二用户注册了第一应用;若不存在与第二手机号码绑定的第四标识,可以确定第二用户未注册第一应用。After receiving the second mobile phone number, the first application server inquires whether there is a fourth identification bound to the second mobile phone number according to the second mobile phone number, so as to determine whether the second user has registered the first application; wherein, the fourth identification It is the identification of the second user on the first application. If there is a fourth identification bound with the second mobile phone number, it can be determined that the second user has registered the first application; if there is no fourth identification bound with the second mobile phone number identification, it can be determined that the second user has not registered the first application.
若存在与第二手机号码绑定的第四标识,表明第二用户注册了第一应用,那么可以根据第四标识查询确定第二用户在第一应用上的用户昵称,然后,将与第四标识对应的用户昵称及对应的互动数据发送给第一应用,以供第一应用利用用户昵称显示互动数据。也就是说,利用第二用户在第一应用的用户昵称来显示第二用户发布的互动数据,例如,第二用户在第一应用上的用户昵称为AAA,互动数据为XXXXX,则第一应用显示如下:AAA:XXXXX。If there is a fourth identifier bound to the second mobile phone number, indicating that the second user has registered the first application, then the user nickname of the second user on the first application can be determined according to the fourth identifier query, and then the user nickname of the second user on the first application can be determined according to the fourth identifier. The identifier corresponding to the user nickname and the corresponding interaction data are sent to the first application, so that the first application uses the user nickname to display the interaction data. That is to say, the user nickname of the second user in the first application is used to display the interaction data published by the second user. For example, if the user nickname of the second user in the first application is AAA and the interaction data is XXXXX, then the first application Displayed as follows: AAA:XXXXX.
若不存在与第二手机号码绑定的第四标识,表明第二用户未注册第一应用,此时可以为第二用户分配虚拟昵称,这里的虚拟昵称可以是第二用户在第二应用的用户昵称,也可以是重新分配的,然后,将虚拟昵称及对应的互动数据发送给第一应用,以供第一应用利用为第二用户分配的虚拟昵称显示互动数据,也就是说,利用为第二用户分配的伪昵称来显示第二用户发布的互动数据。If there is no fourth identifier bound to the second mobile phone number, it means that the second user has not registered with the first application. At this time, a virtual nickname can be assigned to the second user. The virtual nickname here can be the second user's name in the second application. The user nickname can also be reassigned, and then the virtual nickname and the corresponding interaction data are sent to the first application, so that the first application can use the virtual nickname assigned to the second user to display the interaction data, that is, the use of The pseudo-nickname assigned by the second user to display the interactive data published by the second user.
根据本公开上述实施例提供的方法,通过向第二应用服务器发送携带有第一手机号码 的应用标识查询请求,供第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到第二应用服务器返回的第二标识,可以根据第二标识从第二应用服务器拉取应用数据,并将所拉取的应用数据发送给第一应用以在第一应用上呈现上述应用数据,使得用户无需执行第一应用与第二应用之间的应用切换或者用户无需在第一应用上重新购买或下载应用数据,通过简单地数据互通操作就能够在第一应用上查看第二应用的应用数据,为用户查看应用数据提供了方便,简化了用户查看第二应用的应用数据所执行的操作,提升了用户使用体验;针对第二用户发布的互动数据,在第二用户在第一应用上存在第四标识的情况下,将第四标识对应的用户昵称发送给第一应用,利用用户昵称显示互动数据,在第二用户在第一应用上不存在第四标识的情况下,通过为第二用户分配虚拟昵称,并利用伪昵称显示互动,进一步提升了互动数据的显示效果。According to the method provided by the above embodiments of the present disclosure, by sending an application identification query request carrying the first mobile phone number to the second application server, the second application server can query whether there is a second identification bound to the first mobile phone number. After receiving the second identifier returned by the second application server, the application data can be pulled from the second application server according to the second identifier, and the pulled application data can be sent to the first application to present the above-mentioned application data on the first application. , so that the user does not need to perform application switching between the first application and the second application or the user does not need to repurchase or download application data on the first application, and can view the second application on the first application through a simple data interoperability operation. Application data provides convenience for users to view application data, simplifies the operations performed by users to view application data of the second application, and improves user experience; for interactive data published by the second user, when the second user is in the first application In the case where there is a fourth logo on the first application, send the user nickname corresponding to the fourth logo to the first application, and use the user nickname to display the interactive data. In the case where the second user does not have the fourth logo on the first application, use the The second user assigns a virtual nickname, and uses the pseudo nickname to display interaction, which further improves the display effect of interaction data.
图3示出了根据本公开一个实施例的数据互通方法的流程示意图。该方法适用于第一应用与第二应用之间的数据互通,如图3所示,该方法包括以下步骤:FIG. 3 shows a schematic flowchart of a data interworking method according to an embodiment of the present disclosure. The method is suitable for data interworking between the first application and the second application. As shown in FIG. 3 , the method includes the following steps:
步骤S301,响应于第一用户触发的数据互通操作,向第一应用服务器发送第一用户对应的第一标识,以供第一应用服务器查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据,将应用数据发送给第一应用。Step S301, in response to the data interworking operation triggered by the first user, send the first identifier corresponding to the first user to the first application server, so that the first application server can query the first identifier bound to the first identifier corresponding to the first user. Mobile phone number, send an application identification query request carrying the first mobile phone number to the second application server, so that the second application server can query whether there is a second identification bound to the first mobile phone number, if received, the second application server returns the second identifier bound to the first mobile phone number, the application data corresponding to the second identifier is pulled from the second application server, and the application data is sent to the first application.
本实施例提供的数据互通方法具体由第一应用执行,第一应用提供有数据互通选项,该数据互通选项具体用于实现应用间数据的互通,当第一用户想要查看其在第二应用上的应用数据时,第一用户可以在第一应用上触发数据互通选项,例如,点击数据互通按钮,第一用户触发数据互通选项的操作,视为触发了数据互通操作。第一应用响应于第一用户触发的数据互通操作,从数据互通操作中提取出第一用户在第一应用上的第一标识,并将第一标识发送给第一应用服务器,其中,数据互通操作中携带有第一用户在第一应用上的第一标识,第一标识是第一应用服务器为第一用户分配的标识,用于唯一标识第一用户。The data interworking method provided in this embodiment is specifically executed by the first application, and the first application provides a data interworking option, which is specifically used to realize data interworking between applications. When the first user triggers the data interworking option on the first application, for example, by clicking the data interworking button, the first user triggers the operation of the data interworking option, which is regarded as triggering the data interworking operation. In response to the data interworking operation triggered by the first user, the first application extracts the first identification of the first user on the first application from the data interworking operation, and sends the first identification to the first application server, wherein the data interworking The operation carries the first identifier of the first user on the first application, where the first identifier is an identifier allocated by the first application server to the first user, and is used to uniquely identify the first user.
第一应用服务器在接收到第一应用发送的第一标识后,查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据,将应用数据发送给第一应用。该部分具体实现可以参见图1或图2所示实施例中相应步骤,这里不再赘述。After receiving the first identification sent by the first application, the first application server queries the first mobile phone number bound to the first identification corresponding to the first user, and sends the application identification carrying the first mobile phone number to the second application server A query request for the second application server to query whether there is a second identifier bound to the first mobile phone number, if the second identifier bound to the first mobile phone number returned by the second application server is received, the second application The server pulls the application data corresponding to the second identifier, and sends the application data to the first application. For the specific implementation of this part, reference may be made to the corresponding steps in the embodiment shown in FIG. 1 or FIG. 2 , and details are not repeated here.
步骤S302,接收第一应用服务器返回的应用数据,生成包含应用数据的第一页面,并显示第一页面。Step S302: Receive application data returned by the first application server, generate a first page containing the application data, and display the first page.
第一应用服务器从第二应用服务器拉取第二标识对应的应用数据后,会将应用数据返回给第一应用,第一应用第一应用服务器返回的应用数据,生成包含应用数据的第一页面,并显示第一页面。通过向第一用户呈现第一页面,使得第一用户在第一应用就能够便捷地查看第二应用的应用数据,用户无需从第一应用切换至第二应用,在第二应用查看相应的应用数据。After the first application server pulls the application data corresponding to the second identifier from the second application server, the application data is returned to the first application, and the first application data returned by the first application server is applied to generate a first page containing the application data , and display the first page. By presenting the first page to the first user, the first user can conveniently view the application data of the second application in the first application, and the user does not need to switch from the first application to the second application to view the corresponding application in the second application data.
根据本公开上述实施例提供的方法,第一应用在监测到第一用户触发的数据互通操作后,向第一应用服务器发送第一用户在第一应用上的第一标识,第一应用服务器查询到与第一标识绑定的第一手机号码后,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,供第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到第二应用服务器返回的第二标识,可以根据第二标识从第二应用服务器拉取应用数据,并将所拉取的应用数据发送给第一应用以在第一应用上呈现上述应用数据,使得用户无需执行第一应用与第二应用之间的应用切换或者用户无需在第一应用上重新购买或下载应用数据,通过简单地数据互通操作就能够在第一应用上查看第二应用的应用数据,为用户查看应用数据提供了方便,简化了用户查看第二应用的应用数据所执行的操作,提升了用户使 用体验。According to the method provided by the above embodiments of the present disclosure, after monitoring the data interworking operation triggered by the first user, the first application sends the first identifier of the first user on the first application to the first application server, and the first application server queries After reaching the first mobile phone number bound to the first identification, an application identification query request carrying the first mobile phone number is sent to the second application server for the second application server to inquire whether there is a second mobile phone number bound to the first mobile phone number. The identifier, if the second identifier returned by the second application server is received, the application data can be pulled from the second application server according to the second identifier, and the pulled application data can be sent to the first application for presentation on the first application The above application data makes it unnecessary for the user to perform application switching between the first application and the second application, or the user does not need to repurchase or download application data on the first application, and can view the first application on the first application through a simple data interoperability operation. The application data of the second application provides convenience for the user to view the application data, simplifies the operation performed by the user to view the application data of the second application, and improves the user experience.
图4示出了根据本公开另一个实施例的数据互通方法的流程示意图。该方法适用于第一应用与第二应用之间的数据互通,如图4所示,该方法包括以下步骤:FIG. 4 shows a schematic flowchart of a data interworking method according to another embodiment of the present disclosure. The method is suitable for data interworking between the first application and the second application. As shown in FIG. 4 , the method includes the following steps:
步骤S401,响应于第一用户触发的数据互通操作,向第一应用服务器发送第一用户对应的第一标识,以供第一应用服务器查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据,将应用数据发送给第一应用。Step S401, in response to the data interworking operation triggered by the first user, send the first identifier corresponding to the first user to the first application server, so that the first application server can query the first identifier bound to the first identifier corresponding to the first user. Mobile phone number, send an application identification query request carrying the first mobile phone number to the second application server, so that the second application server can query whether there is a second identification bound to the first mobile phone number, if received, the second application server returns the second identifier bound to the first mobile phone number, the application data corresponding to the second identifier is pulled from the second application server, and the application data is sent to the first application.
步骤S402,接收第一应用服务器返回的应用数据,生成包含应用数据的第一页面,并显示第一页面。Step S402: Receive application data returned by the first application server, generate a first page containing the application data, and display the first page.
其中,应用数据可以包含电子书。Wherein, the application data may include e-books.
第一应用服务器将电子书发送给第一应用,使得第一用户可以直接在第一应用上查看其在第二应用的下载或购买的电子书,第一用户无需先在第一应用上去查找相同的电子书,再购买或下载所查找到的电子书,也无需退出第一应用,并切换至第二应用,在第二应用查看相应的电子书,简化了用户操作,提升了用户体验。The first application server sends the e-book to the first application, so that the first user can directly view the e-book downloaded or purchased in the second application on the first application, and the first user does not need to search for the same e-book on the first application first. You do not need to exit the first application, switch to the second application, and view the corresponding e-book in the second application, and then purchase or download the found e-book, which simplifies user operations and improves user experience.
图4所示实施例中的步骤S401-步骤S402与图3所示实施例中的步骤S301-步骤S302类似,这里不再赘述。Steps S401 to S402 in the embodiment shown in FIG. 4 are similar to steps S301 to S302 in the embodiment shown in FIG. 3 , and details are not repeated here.
步骤S403,响应于第一用户触发的互动数据查看操作,向第一应用服务器发送第二用户对应的第三标识,以供第一应用服务器根据第三标识查询第二用户是否存在第四标识,并根据查询结果向第一应用返回第四标识对应的用户昵称或返回为第二用户分配的虚拟昵称。Step S403, in response to the interactive data viewing operation triggered by the first user, send a third identifier corresponding to the second user to the first application server, so that the first application server can query whether the second user has a fourth identifier according to the third identifier, And according to the query result, the user nickname corresponding to the fourth identifier or the virtual nickname assigned to the second user is returned to the first application.
第一用户在阅读电子书时,可能会做一些标记,例如,针对电子书产生了一些想法,或者对电子书进行评论或做了批注,因此,应用数据还可以包括:电子书想法、评论和/或批注。通常情况下,其他用户(本实施例中的第二用户)在阅读电子书时能够查看第一用户所标记的电子书想法、评论和/或批注,并可进行互动,第二用户针对应用数据所发布的数据称为互动数据,第一应用服务器在从第二应用服务器拉取第二标识对应的应用数据时,会同时拉取与应用数据相关的互动数据,并存储相应的互动数据。When the first user reads the e-book, he may make some marks, for example, he has some ideas about the e-book, or comments or comments on the e-book. Therefore, the application data can also include: e-book ideas, comments and comments. / or comments. Under normal circumstances, other users (the second user in this embodiment) can view the e-book ideas, comments and/or annotations marked by the first user when reading the e-book, and can interact with the second user. The published data is called interactive data. When the first application server pulls the application data corresponding to the second identifier from the second application server, it simultaneously pulls the interactive data related to the application data and stores the corresponding interactive data.
具体地,第一用户可以在第一应用上查看互动数据,第一应用能够实时监测到第一用户触发的互动数据查看操作,互动数据查看操作中携带了第二用户在第二应用上的第三标识,第一应用从互动数据查看操作中提取出第三标识,并将第三标识发送给第一应用服务器,第一应用服务器根据第三标识查询第二用户是否存在第四标识,并根据查询结果向第一应用返回第四标识对应的用户昵称或返回为第二用户分配的虚拟昵称。具体地,第一应用服务器可以参照图2实施例中相应方法步骤进行处理,这里不再赘述。Specifically, the first user can view the interactive data on the first application, and the first application can monitor the interactive data viewing operation triggered by the first user in real time. Three identifiers. The first application extracts the third identifier from the interactive data viewing operation, and sends the third identifier to the first application server. The first application server queries whether the second user has the fourth identifier according to the third identifier. The query result returns the user nickname corresponding to the fourth identifier or the virtual nickname assigned to the second user to the first application. Specifically, the first application server may refer to the corresponding method steps in the embodiment of FIG. 2 for processing, which will not be repeated here.
步骤S404,接收第一应用服务器返回的用户昵称,利用用户昵称显示互动数据;或者,接收第一应用服务器返回的虚拟昵称,利用虚拟昵称显示互动数据。Step S404: Receive the user nickname returned by the first application server, and use the user nickname to display interactive data; or receive a virtual nickname returned by the first application server, and use the virtual nickname to display interactive data.
在第二用户注册了第一应用的情况下,第一应用服务器向第一应用返回第二用户在第一应用上的用户昵称,第一应用接收第一应用服务器返回的用户昵称,利用用户昵称显示互动数据;在第二用户未注册第一应用的情况下,第一应用服务器向第一应用返回为第二用户分配的虚拟昵称,利用虚拟昵称显示互动数据。When the second user registers the first application, the first application server returns the user nickname of the second user on the first application to the first application, and the first application receives the user nickname returned by the first application server, and uses the user nickname Displaying interactive data; if the second user does not register the first application, the first application server returns the virtual nickname assigned to the second user to the first application, and uses the virtual nickname to display the interactive data.
在本公开一种可选实施方式中,第一应用可能并不能识别第二用户在第二用户上的第三标识,为了能够有效显示互动数据,方法还包括:响应于第一用户触发的互动数据查看操作,向第一应用服务器发送特定应用数据标识,以供第一应用服务器向第二应用服务器发送携带有特定应用数据标识的第二手机号码查询请求,以使得第二应用服务器根据特定应用数据标识查询第二用户的第二手机号码及针对特定应用数据发布的互动数据,将第二手机号码及对应的互动数据关联返回给第一应用服务器,根据第二应用服务器返回的第二 手机号码,查询是否存在与第二手机号码绑定的第四标识;若存在与第二手机号码绑定的第四标识,则将第四标识对应的用户昵称及互动数据发送给第一应用;若不存在与第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将为第二用户分配的虚拟昵称发送给第一应用,其中,互动数据是针对应用数据发布的数据,第二用户是发布互动数据的用户,互动数据查看操作携带有特定应用数据标识;In an optional implementation manner of the present disclosure, the first application may not recognize the third identifier of the second user on the second user. In order to effectively display the interaction data, the method further includes: responding to an interaction triggered by the first user Data viewing operation, sending a specific application data identifier to the first application server, so that the first application server can send a second mobile phone number query request carrying the specific application data identifier to the second application server, so that the second application server can search according to the specific application data The data identifier queries the second mobile phone number of the second user and the interactive data released for the specific application data, associates the second mobile phone number and the corresponding interactive data and returns it to the first application server, and returns the second mobile phone number according to the second mobile phone number returned by the second application server. , query whether there is a fourth identification bound with the second mobile phone number; if there is a fourth identification bound with the second mobile phone number, send the user nickname and interactive data corresponding to the fourth identification to the first application; if not If there is a fourth identifier bound to the second mobile phone number, assign a virtual nickname to the second user, and send the virtual nickname assigned to the second user to the first application, wherein the interactive data is data published for application data, The second user is the user who publishes the interactive data, and the interactive data viewing operation carries a specific application data identifier;
接收第一应用服务器返回的用户昵称及对应的互动数据,利用用户昵称显示互动数据;或者,接收第一应用服务器返回的虚拟昵称,利用虚拟昵称显示互动数据。Receive the user nickname and the corresponding interaction data returned by the first application server, and use the user nickname to display the interaction data; or receive the virtual nickname returned by the first application server, and use the virtual nickname to display the interaction data.
具体地,第一用户可以在第一应用上查看互动数据,第一应用能够实时监测到第一用户触发的互动数据查看操作,互动数据查看操作中携带了特定应用数据的标识,特定应用数据指某个特定的应用数据,在该可选实施方式中指第一用户想要查看的互动数据所针对的应用数据,第一应用从互动数据查看操作中提取出特定应用数据标识,并将特定应用数据标识发送给第一应用服务器,第一应用服务器根据特定应用数据标识进行数据互通处理,第一应用服务器可以参照图2实施例中相应方法步骤进行处理,这里不再赘述。Specifically, the first user can view the interactive data on the first application, and the first application can monitor the interactive data viewing operation triggered by the first user in real time. The interactive data viewing operation carries the identifier of the specific application data, and the specific application data refers to A certain specific application data, in this optional embodiment, refers to the application data for the interactive data that the first user wants to view, the first application extracts the specific application data identifier from the interactive data viewing operation, and stores the specific application data. The identifier is sent to the first application server, and the first application server performs data interworking processing according to the specific application data identifier, and the first application server can refer to the corresponding method steps in the embodiment of FIG.
在第二用户注册了第一应用的情况下,第一应用服务器向第一应用返回第二用户在第一应用上的用户昵称及对应的互动数据,第一应用接收第一应用服务器返回的用户昵称及对应的互动数据,利用用户昵称显示互动数据;在第二用户未注册第一应用的情况下,第一应用服务器向第一应用返回为第二用户分配的虚拟昵称,利用虚拟昵称显示互动数据。When the second user registers the first application, the first application server returns the user nickname of the second user on the first application and the corresponding interaction data to the first application, and the first application receives the user returned by the first application server. Nickname and corresponding interaction data, use the user's nickname to display the interaction data; if the second user does not register the first application, the first application server returns the virtual nickname assigned to the second user to the first application, and uses the virtual nickname to display the interaction data data.
在本公开一种可选实施方式中,还可以进一步供用户选择是否执行数据互通。具体地,生成并显示提示弹窗,该提示弹窗可以包含:确认按钮和取消按钮,用户通过提示弹窗确认是否执行数据拉取操作,例如,用户触发确认按钮,视为触发了确认操作,表示用户希望执行数据拉取,响应于第一用户在提示弹窗触发的确认数据拉取操作,则向第一应用服务器发送数据拉取请求,以供第一应用服务器根据数据拉取请求从第二应用服务器拉取第二标识对应的应用数据;若用户触发取消按钮,视为触发了取消操作,表示用户希望取消数据拉取,响应于用户在提示弹窗触发的取消数据拉取操作,向第一应用服务器发送取消拉取通知信息,第一应用服务器结束处理。In an optional implementation manner of the present disclosure, the user may further choose whether to perform data interworking. Specifically, a prompt pop-up window is generated and displayed, and the prompt pop-up window may include: a confirm button and a cancel button, and the user confirms whether to perform the data pull operation through the prompt pop-up window. For example, if the user triggers the confirm button, it is deemed that the confirm operation is triggered, Indicates that the user wishes to perform data pull, and in response to the confirmation data pull operation triggered by the first user in the prompt pop-up window, a data pull request is sent to the first application server, so that the first application server can retrieve the data from the first application server according to the data pull request. 2. The application server pulls the application data corresponding to the second identifier; if the user triggers the cancel button, it is deemed that the cancel operation has been triggered, indicating that the user wishes to cancel the data pull. The first application server sends the pull cancellation notification information, and the first application server ends the processing.
根据本公开上述实施例提供的方法,第一应用在监测到第一用户触发的数据互通操作后,向第一应用服务器发送第一用户在第一应用上的第一标识,第一应用服务器查询到与第一标识绑定的第一手机号码后,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,供第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到第二应用服务器返回的第二标识,可以根据第二标识从第二应用服务器拉取应用数据,并将所拉取的应用数据发送给第一应用以在第一应用上呈现上述应用数据,使得用户无需执行第一应用与第二应用之间的应用切换或者用户无需在第一应用上重新购买或下载应用数据,通过简单地数据互通操作就能够在第一应用上查看第二应用的应用数据,为用户查看应用数据提供了方便,简化了用户查看第二应用的应用数据所执行的操作,提升了用户使用体验,针对第二用户发布的互动数据,在第二用户在第一应用上存在第四标识的情况下,利用第四标识对应的用户昵称显示互动数据,在第二用户在第一应用上不存在第四标识的情况下,利用为第二用户分配虚拟昵称显示互动,进一步提升了互动数据的显示效果。According to the method provided by the above embodiments of the present disclosure, after monitoring the data interworking operation triggered by the first user, the first application sends the first identifier of the first user on the first application to the first application server, and the first application server queries After reaching the first mobile phone number bound to the first identification, an application identification query request carrying the first mobile phone number is sent to the second application server for the second application server to inquire whether there is a second mobile phone number bound to the first mobile phone number. The identifier, if the second identifier returned by the second application server is received, the application data can be pulled from the second application server according to the second identifier, and the pulled application data can be sent to the first application for presentation on the first application The above application data makes it unnecessary for the user to perform application switching between the first application and the second application, or the user does not need to repurchase or download application data on the first application, and can view the first application on the first application through a simple data interoperability operation. The application data of the second application provides convenience for the user to view the application data, simplifies the operations performed by the user to view the application data of the second application, and improves the user experience. In the case where the fourth logo exists on the first application, the user nickname corresponding to the fourth logo is used to display the interactive data, and when the second user does not have the fourth logo on the first application, the second user is assigned a virtual nickname by using Display interaction further improves the display effect of interaction data.
本公开实施例还提供了一种非易失性计算机可读存储介质,非易失性计算机可读存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的数据互通方法。An embodiment of the present disclosure further provides a non-volatile computer-readable storage medium, where the non-volatile computer-readable storage medium stores at least one executable instruction, and the computer-executable instruction can execute any of the foregoing method embodiments. data communication method.
可执行指令具体可以用于使得处理器执行以下操作:Executable instructions can specifically be used to cause the processor to perform the following operations:
响应于第一用户在第一应用触发的数据互通操作,查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供第二应用服务器查询是否存在与第一手机号码绑定的第二标识;In response to the data interworking operation triggered by the first user in the first application, query the first mobile phone number bound to the first identification corresponding to the first user, and send an application identification query request carrying the first mobile phone number to the second application server , for the second application server to query whether there is a second identifier bound to the first mobile phone number;
若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据;If receiving the second identifier bound to the first mobile phone number returned by the second application server, pulling the application data corresponding to the second identifier from the second application server;
将应用数据发送给第一应用,以使得第一应用生成包含应用数据的第一页面,并显示第一页面。The application data is sent to the first application, so that the first application generates a first page containing the application data, and displays the first page.
在一种可选的实施方式中,可执行指令还使处理器执行以下操作:若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则将第一用户对应的第一标识与第二标识关联存储至数据列表中。In an optional implementation manner, the executable instruction further causes the processor to perform the following operation: if the second identifier bound to the first mobile phone number returned by the second application server is received, the first user corresponding to the first user An identification is stored in the data list in association with the second identification.
在一种可选的实施方式中,可执行指令还使处理器执行以下操作:在查询与第一用户对应的第一标识绑定的第一手机号码之前,判断数据互通操作是否为首次操作;若非首次操作,则查询数据列表中是否存在与本次数据互通操作中的第一标识匹配的第二标识;In an optional implementation manner, the executable instruction further causes the processor to perform the following operations: before querying the first mobile phone number bound to the first identifier corresponding to the first user, determine whether the data interworking operation is the first operation; If it is not the first operation, query whether there is a second identifier matching the first identifier in this data interworking operation in the data list;
若存在,则将第二标识对应的应用数据发送给第一应用;若不存在,则查询与第一用户对应的第一标识绑定的第一手机号码。If it exists, the application data corresponding to the second identifier is sent to the first application; if it does not exist, the first mobile phone number bound to the first identifier corresponding to the first user is queried.
在一种可选的实施方式中,可执行指令还使处理器执行以下操作:在从第二应用服务器拉取第二标识对应的应用数据之前,判断是否接收到第一用户在提示弹窗触发的确认数据拉取操作,其中,提示弹窗用于供第一用户确认是否执行数据拉取操作;若是,则从第二应用服务器拉取第二标识对应的应用数据。In an optional implementation manner, the executable instructions further cause the processor to perform the following operation: before pulling the application data corresponding to the second identifier from the second application server, determine whether it is received that the first user triggers a pop-up window prompt The confirmation data pull operation is performed, wherein the prompt pop-up window is used for the first user to confirm whether to perform the data pull operation; if yes, the application data corresponding to the second identifier is pulled from the second application server.
在一种可选的实施方式中,可执行指令还使处理器执行以下操作:在从第二应用服务器拉取第二标识对应的应用数据之前,判断与第一标识关联的第二标识的数量是否大于n,n为自然数;若否,则从第二应用服务器拉取最新生效的第二标识对应的应用数据;若是,则从第二应用服务器拉取第n个第二标识对应的应用数据。In an optional implementation manner, the executable instructions further cause the processor to perform the following operation: before pulling application data corresponding to the second identifier from the second application server, determine the number of second identifiers associated with the first identifier Whether it is greater than n, n is a natural number; if not, pull the application data corresponding to the latest effective second identification from the second application server; if so, pull the application data corresponding to the nth second identification from the second application server .
在一种可选的实施方式中,应用数据包含电子书。In an optional embodiment, the application data includes an electronic book.
在一种可选的实施方式中,应用数据包含:电子书想法、评论和/或批注;In an optional embodiment, the application data includes: e-book ideas, comments and/or annotations;
可执行指令还使处理器执行以下操作:响应于第一用户触发的互动数据查看操作,向第二应用服务器发送携带有第三标识的第二手机号码查询请求,以供第二应用服务器查询与第三标识绑定的第二手机号码,其中,互动数据是针对应用数据发布的数据,互动数据查看操作携带有第二用户在第二应用上的第三标识,第二用户是发布互动数据的用户;根据第二应用服务器返回的第二手机号码,查询是否存在与第二手机号码绑定的第四标识;若存在与第二手机号码绑定的第四标识,则将与第四标识对应的用户昵称发送给第一应用,以供第一应用利用用户昵称显示互动数据。The executable instructions further cause the processor to perform the following operations: in response to the interactive data viewing operation triggered by the first user, send a second mobile phone number query request carrying the third identifier to the second application server, so that the second application server can query and communicate with the user. The second mobile phone number bound to the third identifier, wherein the interactive data is the data published for the application data, the interactive data viewing operation carries the third identifier of the second user on the second application, and the second user publishes the interactive data User; according to the second mobile phone number returned by the second application server, inquire whether there is a fourth identification bound with the second mobile phone number; if there is a fourth identification bound with the second mobile phone number, it will correspond to the fourth identification The user nickname of the user name is sent to the first application, so that the first application uses the user nickname to display interactive data.
在一种可选的实施方式中,可执行指令还使处理器执行以下操作:若不存在与第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将虚拟昵称发送给第一应用,以供第一应用利用为第二用户分配的虚拟昵称显示互动数据。In an optional implementation manner, the executable instructions further cause the processor to perform the following operations: if there is no fourth identifier bound to the second mobile phone number, assign a virtual nickname to the second user, and send the virtual nickname To the first application, for the first application to display the interaction data by using the virtual nickname assigned to the second user.
在一种可选的实施方式中,可执行指令还使处理器执行以下操作:在为第二用户分配虚拟昵称之后,将第二用户对应的第三标识、第二手机号码、虚拟昵称关联存储至数据列表中。In an optional implementation manner, the executable instructions further cause the processor to perform the following operations: after assigning the virtual nickname to the second user, associate and store the third identifier, the second mobile phone number, and the virtual nickname corresponding to the second user. to the data list.
在一种可选的实施方式中,可执行指令还使处理器执行以下操作:在向第二应用服务器发送携带有第三标识的第二手机号码查询请求之前,查询数据列表中是否存储与第二用户对应的第三标识关联的虚拟昵称;若是,则将虚拟昵称发送给第一应用,以供第一应用利用虚拟昵称显示互动数据;若否,则向第二应用服务器发送携带有第三标识的第二手机号码查询请求。In an optional implementation manner, the executable instructions further cause the processor to perform the following operations: before sending a query request for the second mobile phone number carrying the third identifier to the second application server, query whether the data list is stored in the The virtual nickname associated with the third identifier corresponding to the two users; if so, send the virtual nickname to the first application for the first application to use the virtual nickname to display interactive data; if not, send the virtual nickname to the second application server that carries the third The identified second mobile phone number query request.
在一种可选的实施方式中,应用数据包含:电子书想法、评论和/或批注;In an optional embodiment, the application data includes: e-book ideas, comments and/or annotations;
可执行指令还使处理器执行以下操作:Executable instructions also cause the processor to do the following:
响应于第一用户触发的互动数据查看操作,向第二应用服务器发送携带有特定应用数据标识的第二手机号码查询请求,以供第二应用服务器根据特定应用数据标识查询第二用户的第二手机号码及针对特定应用数据发布的互动数据,将第二手机号码及对应的互动数据关联返回给第一应用服务器,其中,互动数据是针对特定应用数据发布的数据,第二手机号码是第二用户对应的手机号码,第二用户是发布互动数据的用户,互动数据查看操作 携带有特定应用数据标识;根据第二应用服务器返回的第二手机号码,查询是否存在与第二手机号码绑定的第四标识;若存在与第二手机号码绑定的第四标识,则将与第四标识对应的用户昵称及互动数据发送给第一应用,以供第一应用利用用户昵称显示互动数据。In response to the interactive data viewing operation triggered by the first user, a second mobile phone number query request carrying the specific application data identifier is sent to the second application server, so that the second application server can query the second user's second mobile phone number according to the specific application data identifier. The mobile phone number and the interactive data published for the specific application data, and the second mobile phone number and the corresponding interactive data are associated and returned to the first application server, wherein the interactive data is the data published for the specific application data, and the second mobile phone number is the second mobile phone number. The mobile phone number corresponding to the user, the second user is the user who published the interactive data, and the interactive data viewing operation carries the identifier of the specific application data; according to the second mobile phone number returned by the second application server, query whether there is a binding with the second mobile phone number Fourth identifier; if there is a fourth identifier bound to the second mobile phone number, send the user nickname and interaction data corresponding to the fourth identifier to the first application, so that the first application can display the interaction data by using the user nickname.
在一种可选的实施方式中,可执行指令还使处理器执行以下操作:若不存在与第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将虚拟昵称发送给第一应用,以供第一应用利用为第二用户分配的虚拟昵称显示互动数据。In an optional implementation manner, the executable instructions further cause the processor to perform the following operations: if there is no fourth identifier bound to the second mobile phone number, assign a virtual nickname to the second user, and send the virtual nickname To the first application, for the first application to display the interaction data by using the virtual nickname assigned to the second user.
在一种可选的实施方式中,虚拟昵称包含:应用名称及用户编号。In an optional implementation manner, the virtual nickname includes: an application name and a user number.
图5示出了根据本公开一个实施例的计算设备的结构示意图,本公开具体实施例并不对计算设备的具体实现做限定。FIG. 5 shows a schematic structural diagram of a computing device according to an embodiment of the present disclosure, and the specific embodiment of the present disclosure does not limit the specific implementation of the computing device.
如图5所示,该计算设备可以包括:处理器(processor)502、通信接口(Communications Interface)504、存储器(memory)506、以及通信总线508。As shown in FIG. 5 , the computing device may include: a processor (processor) 502 , a communications interface (Communications Interface) 504 , a memory (memory) 506 , and a communication bus 508 .
其中:处理器502、通信接口504、以及存储器506通过通信总线508完成相互间的通信。The processor 502 , the communication interface 504 , and the memory 506 communicate with each other through the communication bus 508 .
通信接口504,用于与其它设备比如客户端或其它服务器等的网元通信。The communication interface 504 is used to communicate with network elements of other devices such as clients or other servers.
处理器502,用于执行程序510,具体可以执行上述数据互通方法实施例中的相关步骤。The processor 502 is configured to execute the program 510, and specifically may execute the relevant steps in the foregoing data interworking method embodiments.
具体地,程序510可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the program 510 may include program code including computer operation instructions.
处理器502可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本公开实施例的一个或多个集成电路。计算设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 502 may be a central processing unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present disclosure. The one or more processors included in the computing device may be the same type of processors, such as one or more CPUs; or may be different types of processors, such as one or more CPUs and one or more ASICs.
存储器506,用于存放程序510。存储器506可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 506 is used to store the program 510 . Memory 506 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.
程序510具体可以用于使得处理器502执行以下操作:The program 510 can specifically be used to cause the processor 502 to perform the following operations:
响应于第一用户在第一应用触发的数据互通操作,查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供第二应用服务器查询是否存在与第一手机号码绑定的第二标识;若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据;将应用数据发送给第一应用,以使得第一应用生成包含应用数据的第一页面,并显示第一页面。In response to the data interworking operation triggered by the first user in the first application, query the first mobile phone number bound to the first identification corresponding to the first user, and send an application identification query request carrying the first mobile phone number to the second application server , so that the second application server can query whether there is a second identification bound to the first mobile phone number; if the second identification returned by the second application server and bound to the first mobile phone number is received, pull the second identification from the second application server Obtaining application data corresponding to the second identifier; sending the application data to the first application, so that the first application generates a first page containing the application data, and displays the first page.
在一种可选的实施方式中,程序510还使处理器502执行以下操作:若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则将第一用户对应的第一标识与第二标识关联存储至数据列表中。In an optional implementation manner, the program 510 further causes the processor 502 to perform the following operations: if the second identifier bound to the first mobile phone number returned by the second application server is received, the first user corresponding to the first user An identification is stored in the data list in association with the second identification.
在一种可选的实施方式中,程序510还使处理器502执行以下操作:在查询与第一用户对应的第一标识绑定的第一手机号码之前,判断数据互通操作是否为首次操作;若非首次操作,则查询数据列表中是否存在与本次数据互通操作中的第一标识匹配的第二标识;若存在,则将第二标识对应的应用数据发送给第一应用;若不存在,则查询与第一用户对应的第一标识绑定的第一手机号码。In an optional implementation manner, the program 510 further causes the processor 502 to perform the following operations: before querying the first mobile phone number bound to the first identifier corresponding to the first user, determine whether the data interworking operation is the first operation; If it is not the first operation, query whether there is a second identification in the data list that matches the first identification in this data interworking operation; if so, send the application data corresponding to the second identification to the first application; if not, send Then, query the first mobile phone number bound to the first identifier corresponding to the first user.
在一种可选的实施方式中,程序510还使处理器502执行以下操作:在从第二应用服务器拉取第二标识对应的应用数据之前,判断是否接收到第一用户在提示弹窗触发的确认数据拉取操作,其中,提示弹窗用于供第一用户确认是否执行数据拉取操作;若是,则从第二应用服务器拉取第二标识对应的应用数据。In an optional implementation manner, the program 510 further causes the processor 502 to perform the following operation: before pulling the application data corresponding to the second identifier from the second application server, determine whether a prompt pop-up window is triggered by the first user. The confirmation data pull operation is performed, wherein the prompt pop-up window is used for the first user to confirm whether to perform the data pull operation; if yes, the application data corresponding to the second identifier is pulled from the second application server.
在一种可选的实施方式中,程序510还使处理器502执行以下操作:在从第二应用服务器拉取第二标识对应的应用数据之前,判断与第一标识关联的第二标识的数量是否大于n,n为自然数;若否,则从第二应用服务器拉取最新生效的第二标识对应的应用数据; 若是,则从第二应用服务器拉取第n个第二标识对应的应用数据。In an optional implementation manner, the program 510 further causes the processor 502 to perform the following operation: before pulling the application data corresponding to the second identifier from the second application server, determine the number of the second identifier associated with the first identifier Whether it is greater than n, n is a natural number; if not, pull the application data corresponding to the latest effective second identification from the second application server; if so, pull the application data corresponding to the nth second identification from the second application server .
在一种可选的实施方式中,应用数据包含电子书。In an optional embodiment, the application data includes an electronic book.
在一种可选的实施方式中,应用数据包含:电子书想法、评论和/或批注;In an optional embodiment, the application data includes: e-book ideas, comments and/or annotations;
程序510还使处理器502执行以下操作:响应于第一用户触发的互动数据查看操作,向第二应用服务器发送携带有第三标识的第二手机号码查询请求,以供第二应用服务器查询与第三标识绑定的第二手机号码,其中,互动数据是针对应用数据发布的数据,互动数据查看操作携带有第二用户在第二应用上的第三标识,第二用户是发布互动数据的用户;根据第二应用服务器返回的第二手机号码,查询是否存在与第二手机号码绑定的第四标识;若存在与第二手机号码绑定的第四标识,则将与第四标识对应的用户昵称发送给第一应用,以供第一应用利用用户昵称显示互动数据。The program 510 further enables the processor 502 to perform the following operations: in response to the interactive data viewing operation triggered by the first user, send a second mobile phone number query request carrying the third identifier to the second application server, so that the second application server can query and communicate with the second mobile phone number. The second mobile phone number bound to the third identifier, wherein the interactive data is the data published for the application data, the interactive data viewing operation carries the third identifier of the second user on the second application, and the second user publishes the interactive data User; according to the second mobile phone number returned by the second application server, inquire whether there is a fourth identification bound with the second mobile phone number; if there is a fourth identification bound with the second mobile phone number, it will correspond to the fourth identification The user nickname of the user name is sent to the first application, so that the first application uses the user nickname to display interactive data.
在一种可选的实施方式中,程序510还使处理器502执行以下操作:若不存在与第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将虚拟昵称发送给第一应用,以供第一应用利用为第二用户分配的虚拟昵称显示互动数据。In an optional implementation manner, the program 510 further causes the processor 502 to perform the following operations: if there is no fourth identifier bound to the second mobile phone number, assign a virtual nickname to the second user, and send the virtual nickname To the first application, for the first application to display the interaction data by using the virtual nickname assigned to the second user.
在一种可选的实施方式中,程序510还使处理器502执行以下操作:在为第二用户分配虚拟昵称之后,将第二用户对应的第三标识、第二手机号码、虚拟昵称关联存储至数据列表中。In an optional implementation manner, the program 510 further causes the processor 502 to perform the following operations: after assigning the virtual nickname to the second user, associate and store the third identifier, the second mobile phone number, and the virtual nickname corresponding to the second user. to the data list.
在一种可选的实施方式中,程序510还使处理器502执行以下操作:在向第二应用服务器发送携带有第三标识的第二手机号码查询请求之前,查询数据列表中是否存储与第二用户对应的第三标识关联的虚拟昵称;若是,则将虚拟昵称发送给第一应用,以供第一应用利用虚拟昵称显示互动数据;若否,则向第二应用服务器发送携带有第三标识的第二手机号码查询请求。In an optional implementation manner, the program 510 further causes the processor 502 to perform the following operations: before sending the second mobile phone number query request carrying the third identifier to the second application server, query whether the data list is stored with the The virtual nickname associated with the third identifier corresponding to the two users; if so, send the virtual nickname to the first application for the first application to use the virtual nickname to display interactive data; if not, send the virtual nickname to the second application server that carries the third The identified second mobile phone number query request.
在一种可选的实施方式中,应用数据包含:电子书想法、评论和/或批注;In an optional embodiment, the application data includes: e-book ideas, comments and/or annotations;
程序510还使处理器502执行以下操作:响应于第一用户触发的互动数据查看操作,向第二应用服务器发送携带有特定应用数据标识的第二手机号码查询请求,以供第二应用服务器根据特定应用数据标识查询第二用户的第二手机号码及针对特定应用数据发布的互动数据,将第二手机号码及对应的互动数据关联返回给第一应用服务器,其中,互动数据是针对特定应用数据发布的数据,第二手机号码是第二用户对应的手机号码,第二用户是发布互动数据的用户,互动数据查看操作携带有特定应用数据标识;根据第二应用服务器返回的第二手机号码,查询是否存在与第二手机号码绑定的第四标识;若存在与第二手机号码绑定的第四标识,则将与第四标识对应的用户昵称及互动数据发送给第一应用,以供第一应用利用用户昵称显示互动数据。The program 510 further causes the processor 502 to perform the following operations: in response to the interactive data viewing operation triggered by the first user, send a second mobile phone number query request carrying a specific application data identifier to the second application server for the second application server to use according to The specific application data identifier queries the second mobile phone number of the second user and the interactive data released for the specific application data, and associates the second mobile phone number and the corresponding interactive data and returns it to the first application server, wherein the interactive data is for the specific application data. In the published data, the second mobile phone number is the mobile phone number corresponding to the second user, the second user is the user who published the interactive data, and the interactive data viewing operation carries a specific application data identifier; according to the second mobile phone number returned by the second application server, Query whether there is a fourth identification bound with the second mobile phone number; if there is a fourth identification bound with the second mobile phone number, send the user nickname and interaction data corresponding to the fourth identification to the first application for The first application displays interactive data using the user's nickname.
在一种可选的实施方式中,程序510还使处理器502执行以下操作:若不存在与第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将虚拟昵称发送给第一应用,以供第一应用利用为第二用户分配的虚拟昵称显示互动数据。In an optional implementation manner, the program 510 further causes the processor 502 to perform the following operations: if there is no fourth identifier bound to the second mobile phone number, assign a virtual nickname to the second user, and send the virtual nickname To the first application, for the first application to display the interaction data by using the virtual nickname assigned to the second user.
在一种可选的实施方式中,虚拟昵称包含:应用名称及用户编号。In an optional implementation manner, the virtual nickname includes: an application name and a user number.
本公开实施例还提供了一种非易失性计算机可读存储介质,非易失性计算机可读存储介质存储有至少一可执行指令,该计算机可执行指令可执行上述任意方法实施例中的数据互通方法。An embodiment of the present disclosure further provides a non-volatile computer-readable storage medium, where the non-volatile computer-readable storage medium stores at least one executable instruction, and the computer-executable instruction can execute any of the foregoing method embodiments. data exchange method.
可执行指令具体可以用于使得处理器执行以下操作:Executable instructions can specifically be used to cause the processor to perform the following operations:
响应于第一用户触发的数据互通操作,向第一应用服务器发送第一用户对应的第一标识,以供第一应用服务器查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以使得第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据,将应用数据发送给第一应用;接收第一应用服务器返回的应用数据,生成包含应用数据的第一页面,并显示第 一页面。In response to the data interworking operation triggered by the first user, sending the first identifier corresponding to the first user to the first application server, so that the first application server can query the first mobile phone number bound to the first identifier corresponding to the first user, Send an application identification query request carrying the first mobile phone number to the second application server, so that the second application server inquires whether there is a second identification bound to the first mobile phone number. A second identifier bound to a mobile phone number, the application data corresponding to the second identifier is pulled from the second application server, and the application data is sent to the first application; the application data returned by the first application server is received, and an application data containing the application data is generated. the first page, and display the first page.
在一种可选的实施方式中,可执行指令还使处理器执行以下操作:生成并显示提示弹窗,以供第一用户通过提示弹窗确认是否执行数据拉取;响应于第一用户在提示弹窗触发的确认数据拉取操作,则向第一应用服务器发送数据拉取请求,以供第一应用服务器根据数据拉取请求从第二应用服务器拉取第二标识对应的应用数据。In an optional implementation manner, the executable instructions further cause the processor to perform the following operations: generate and display a prompt pop-up window for the first user to confirm whether to perform data pulling through the prompt pop-up window; When prompted to confirm the data pull operation triggered by the pop-up window, a data pull request is sent to the first application server for the first application server to pull the application data corresponding to the second identifier from the second application server according to the data pull request.
在一种可选的实施方式中,应用数据包含电子书。In an optional embodiment, the application data includes an electronic book.
在一种可选的实施方式中,应用数据包括:电子书想法、评论和/或批注;In an optional embodiment, the application data includes: e-book ideas, comments and/or annotations;
可执行指令还使处理器执行以下操作:响应于第一用户触发的互动数据查看操作,向第一应用服务器发送第二用户对应的第三标识,以供第一应用服务器根据第三标识查询第二用户是否存在第四标识,并根据查询结果向第一应用返回第四标识对应的用户昵称或返回为第二用户分配的虚拟昵称,其中,互动数据查看操作携带有第二用户在第二应用上第三标识,互动数据是针对应用数据发布的数据,第二用户是发布互动数据的用户;The executable instructions further cause the processor to perform the following operations: in response to the interactive data viewing operation triggered by the first user, send a third identifier corresponding to the second user to the first application server, so that the first application server can query the first application server according to the third identifier. Whether the second user has the fourth identifier, and according to the query result, return the user nickname corresponding to the fourth identifier or the virtual nickname assigned to the second user to the first application, wherein the interactive data viewing operation carries the second user in the second application. In the third sign above, the interactive data is the data published for the application data, and the second user is the user who published the interactive data;
接收第一应用服务器返回的用户昵称,利用用户昵称显示互动数据;或者,接收第一应用服务器返回的虚拟昵称,利用虚拟昵称显示互动数据。The user nickname returned by the first application server is received, and the interactive data is displayed by using the user nickname; or, the virtual nickname returned by the first application server is received, and the interactive data is displayed by using the virtual nickname.
在一种可选的实施方式中,应用数据包括:电子书想法、评论和/或批注;In an optional embodiment, the application data includes: e-book ideas, comments and/or annotations;
可执行指令还使处理器执行以下操作:响应于第一用户触发的互动数据查看操作,向第一应用服务器发送特定应用数据标识,以供第一应用服务器向第二应用服务器发送携带有特定应用数据标识的第二手机号码查询请求,以使得第二应用服务器根据特定应用数据标识查询第二用户的第二手机号码及针对特定应用数据发布的互动数据,将第二手机号码及对应的互动数据关联返回给第一应用服务器,根据第二应用服务器返回的第二手机号码,查询是否存在与第二手机号码绑定的第四标识;若存在与第二手机号码绑定的第四标识,则将第四标识对应的用户昵称及互动数据发送给第一应用;若不存在与第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将为第二用户分配的虚拟昵称发送给第一应用,其中,互动数据是针对应用数据发布的数据,第二用户是发布互动数据的用户,互动数据查看操作携带有特定应用数据标识;The executable instructions further cause the processor to perform the following operations: in response to the interactive data viewing operation triggered by the first user, send a specific application data identifier to the first application server, so that the first application server can send the data carrying the specific application to the second application server The second mobile phone number query request of the data identification, so that the second application server queries the second mobile phone number of the second user and the interactive data released for the specific application data according to the specific application data identification, and the second mobile phone number and the corresponding interactive data. The association is returned to the first application server, and according to the second mobile phone number returned by the second application server, it is inquired whether there is a fourth identification bound with the second mobile phone number; if there is a fourth identification bound with the second mobile phone number, then Send the user nickname and interactive data corresponding to the fourth identifier to the first application; if there is no fourth identifier bound to the second mobile phone number, assign a virtual nickname to the second user, and assign a virtual nickname to the second user. The nickname is sent to the first application, wherein the interactive data is data published for the application data, the second user is the user who published the interactive data, and the interactive data viewing operation carries a specific application data identifier;
接收第一应用服务器返回的用户昵称及对应的互动数据,利用用户昵称显示互动数据;或者,接收第一应用服务器返回的虚拟昵称,利用虚拟昵称显示互动数据。Receive the user nickname and the corresponding interaction data returned by the first application server, and use the user nickname to display the interaction data; or receive the virtual nickname returned by the first application server, and use the virtual nickname to display the interaction data.
在一种可选的实施方式中,虚拟昵称包含:应用名称及用户编号。In an optional implementation manner, the virtual nickname includes: an application name and a user number.
图6示出了根据本公开一个实施例的计算设备的结构示意图,本公开具体实施例并不对计算设备的具体实现做限定。FIG. 6 shows a schematic structural diagram of a computing device according to an embodiment of the present disclosure, and the specific embodiment of the present disclosure does not limit the specific implementation of the computing device.
如图6所示,该计算设备可以包括:处理器(processor)602、通信接口(Communications Interface)604、存储器(memory)606、以及通信总线608。As shown in FIG. 6 , the computing device may include: a processor (processor) 602 , a communication interface (Communications Interface) 604 , a memory (memory) 606 , and a communication bus 608 .
其中:处理器602、通信接口604、以及存储器606通过通信总线608完成相互间的通信。The processor 602 , the communication interface 604 , and the memory 606 communicate with each other through the communication bus 608 .
通信接口604,用于与其它设备比如客户端或其它服务器等的网元通信。The communication interface 604 is used to communicate with network elements of other devices such as clients or other servers.
处理器602,用于执行程序610,具体可以执行上述数据互通方法实施例中的相关步骤。The processor 602 is configured to execute the program 610, and specifically may execute the relevant steps in the foregoing data interworking method embodiments.
具体地,程序610可以包括程序代码,该程序代码包括计算机操作指令。Specifically, the program 610 may include program code including computer operation instructions.
处理器602可能是中央处理器CPU,或者是特定集成电路ASIC(Application Specific Integrated Circuit),或者是被配置成实施本公开实施例的一个或多个集成电路。计算设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。The processor 602 may be a central processing unit (CPU), or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present disclosure. The one or more processors included in the computing device may be the same type of processors, such as one or more CPUs; or may be different types of processors, such as one or more CPUs and one or more ASICs.
存储器606,用于存放程序610。存储器606可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 606 is used to store the program 610 . Memory 606 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.
程序610具体可以用于使得处理器602执行以下操作:The program 610 can specifically be used to cause the processor 602 to perform the following operations:
响应于第一用户触发的数据互通操作,向第一应用服务器发送第一用户对应的第一标识,以供第一应用服务器查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以使得第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到第二应用服务器返回的与第一手机号码绑定的第二标识,则从第二应用服务器拉取第二标识对应的应用数据,将应用数据发送给第一应用;In response to the data interworking operation triggered by the first user, sending the first identifier corresponding to the first user to the first application server, so that the first application server can query the first mobile phone number bound to the first identifier corresponding to the first user, Send an application identification query request carrying the first mobile phone number to the second application server, so that the second application server inquires whether there is a second identification bound to the first mobile phone number. A second identifier bound to a mobile phone number, pulling the application data corresponding to the second identifier from the second application server, and sending the application data to the first application;
接收第一应用服务器返回的应用数据,生成包含应用数据的第一页面,并显示第一页面。Receive application data returned by the first application server, generate a first page containing the application data, and display the first page.
在一种可选的实施方式中,程序610还使处理器602执行以下操作:In an optional embodiment, the program 610 further causes the processor 602 to perform the following operations:
生成并显示提示弹窗,以供第一用户通过提示弹窗确认是否执行数据拉取;响应于第一用户在提示弹窗触发的确认数据拉取操作,则向第一应用服务器发送数据拉取请求,以供第一应用服务器根据数据拉取请求从第二应用服务器拉取第二标识对应的应用数据。Generate and display a prompt pop-up window for the first user to confirm whether to perform data pull through the prompt pop-up window; in response to the confirmation data pull operation triggered by the first user in the prompt pop-up window, send the data pull to the first application server request for the first application server to pull the application data corresponding to the second identifier from the second application server according to the data pull request.
在一种可选的实施方式中,应用数据包含电子书。In an optional embodiment, the application data includes an electronic book.
在一种可选的实施方式中,应用数据包括:电子书想法、评论和/或批注;In an optional embodiment, the application data includes: e-book ideas, comments and/or annotations;
程序610还使处理器602执行以下操作:响应于第一用户触发的互动数据查看操作,向第一应用服务器发送第二用户对应的第三标识,以供第一应用服务器根据第三标识查询第二用户是否存在第四标识,并根据查询结果向第一应用返回第四标识对应的用户昵称或返回为第二用户分配的虚拟昵称,其中,互动数据查看操作携带有第二用户在第二应用上第三标识,互动数据是针对应用数据发布的数据,第二用户是发布互动数据的用户;The program 610 further causes the processor 602 to perform the following operations: in response to the interactive data viewing operation triggered by the first user, send the third identifier corresponding to the second user to the first application server, so that the first application server can query the first application server according to the third identifier. Whether the second user has the fourth identifier, and according to the query result, return the user nickname corresponding to the fourth identifier or the virtual nickname assigned to the second user to the first application, wherein the interactive data viewing operation carries the second user in the second application. In the third sign above, the interactive data is the data published for the application data, and the second user is the user who published the interactive data;
接收第一应用服务器返回的用户昵称,利用用户昵称显示互动数据;或者,接收第一应用服务器返回的虚拟昵称,利用虚拟昵称显示互动数据。The user nickname returned by the first application server is received, and the interactive data is displayed by using the user nickname; or, the virtual nickname returned by the first application server is received, and the interactive data is displayed by using the virtual nickname.
在一种可选的实施方式中,应用数据包括:电子书想法、评论和/或批注;In an optional embodiment, the application data includes: e-book ideas, comments and/or annotations;
程序610还使处理器602执行以下操作:响应于第一用户触发的互动数据查看操作,向第一应用服务器发送特定应用数据标识,以供第一应用服务器向第二应用服务器发送携带有特定应用数据标识的第二手机号码查询请求,以使得第二应用服务器根据特定应用数据标识查询第二用户的第二手机号码及针对特定应用数据发布的互动数据,将第二手机号码及对应的互动数据关联返回给第一应用服务器,根据第二应用服务器返回的第二手机号码,查询是否存在与第二手机号码绑定的第四标识;若存在与第二手机号码绑定的第四标识,则将第四标识对应的用户昵称及互动数据发送给第一应用;若不存在与第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将为第二用户分配的虚拟昵称发送给第一应用,其中,互动数据是针对应用数据发布的数据,第二用户是发布互动数据的用户,互动数据查看操作携带有特定应用数据标识;The program 610 further causes the processor 602 to perform the following operations: in response to the interactive data viewing operation triggered by the first user, send a specific application data identifier to the first application server, so that the first application server can send the data carrying the specific application to the second application server. The second mobile phone number query request of the data identification, so that the second application server queries the second mobile phone number of the second user and the interactive data released for the specific application data according to the specific application data identification, and the second mobile phone number and the corresponding interactive data. The association is returned to the first application server, and according to the second mobile phone number returned by the second application server, it is inquired whether there is a fourth identification bound with the second mobile phone number; if there is a fourth identification bound with the second mobile phone number, then Send the user nickname and interactive data corresponding to the fourth identifier to the first application; if there is no fourth identifier bound to the second mobile phone number, assign a virtual nickname to the second user, and assign a virtual nickname to the second user. The nickname is sent to the first application, wherein the interactive data is data published for the application data, the second user is the user who published the interactive data, and the interactive data viewing operation carries a specific application data identifier;
接收第一应用服务器返回的用户昵称及对应的互动数据,利用用户昵称显示互动数据;或者,接收第一应用服务器返回的虚拟昵称,利用虚拟昵称显示互动数据。Receive the user nickname and the corresponding interaction data returned by the first application server, and use the user nickname to display the interaction data; or receive the virtual nickname returned by the first application server, and use the virtual nickname to display the interaction data.
在一种可选的实施方式中,虚拟昵称包含:应用名称及用户编号。In an optional implementation manner, the virtual nickname includes: an application name and a user number.
在此提供的算法或显示不与任何特定计算机、虚拟系统或者其它设备固有相关。各种通用系统也可以与基于在此的示教一起使用。根据上面的描述,构造这类系统所要求的结构是显而易见的。此外,本公开实施例也不针对任何特定编程语言。应当明白,可以利用各种编程语言实现在此描述的本公开的内容,并且上面对特定语言所做的描述是为了披露本公开的最佳实施方式。The algorithms or displays provided herein are not inherently related to any particular computer, virtual system, or other device. Various general-purpose systems can also be used with teaching based on this. The structure required to construct such a system is apparent from the above description. Furthermore, embodiments of the present disclosure are not directed to any particular programming language. It is to be understood that various programming languages may be used to implement the disclosures described herein and that the descriptions of specific languages above are intended to disclose the best mode of the disclosure.
在此处所提供的说明书中,说明了大量具体细节。然而,能够理解,本公开的实施例可以在没有这些具体细节的情况下实践。在一些实例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. It will be understood, however, that embodiments of the present disclosure may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
类似地,应当理解,为了精简本公开并帮助理解各个公开方面中的一个或多个,在上 面对本公开的示例性实施例的描述中,本公开实施例的各个特征有时被一起分组到单个实施例、图、或者对其的描述中。然而,并不应将该公开的方法解释成反映如下意图:即所要求保护的本公开要求比在每个权利要求中所明确记载的特征更多的特征。更确切地说,如下面的权利要求书所反映的那样,公开方面在于少于前面公开的单个实施例的所有特征。因此,遵循具体实施方式的权利要求书由此明确地并入该具体实施方式,其中每个权利要求本身都作为本公开的单独实施例。Similarly, it is to be understood that in the above descriptions of example embodiments of the present disclosure, various features of embodiments of the present disclosure are sometimes grouped together into a single implementation in order to simplify the disclosure and to aid in the understanding of one or more of the various disclosed aspects. examples, figures, or descriptions thereof. However, this method of disclosure should not be interpreted as reflecting an intention that the claimed disclosure requires more features than are expressly recited in each claim. Rather, as the following claims reflect, disclosed aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the Detailed Description are hereby expressly incorporated into this Detailed Description, with each claim standing on its own as a separate embodiment of the present disclosure.
本领域那些技术人员可以理解,可以对实施例中的设备中的模块进行自适应性地改变并且把它们设置在与该实施例不同的一个或多个设备中。可以把实施例中的模块或单元或组件组合成一个模块或单元或组件,以及此外可以把它们分成多个子模块或子单元或子组件。除了这样的特征和/或过程或者单元中的至少一些是相互排斥之外,可以采用任何组合对本说明书(包括伴随的权利要求、摘要和附图)中公开的所有特征以及如此公开的任何方法或者设备的所有过程或单元进行组合。除非另外明确陈述,本说明书(包括伴随的权利要求、摘要和附图)中公开的每个特征可以由提供相同、等同或相似目的的替代特征来代替。Those skilled in the art will understand that the modules in the device in the embodiment can be adaptively changed and arranged in one or more devices different from the embodiment. The modules or units or components in the embodiments may be combined into one module or unit or component, and further they may be divided into multiple sub-modules or sub-units or sub-assemblies. All features disclosed in this specification (including accompanying claims, abstract and drawings) and any method so disclosed may be employed in any combination, unless at least some of such features and/or procedures or elements are mutually exclusive. All processes or units of equipment are combined. Each feature disclosed in this specification (including accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
此外,本领域的技术人员能够理解,尽管在此的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本公开的范围之内并且形成不同的实施例。例如,在下面的权利要求书中,所要求保护的实施例的任意之一都可以以任意的组合方式来使用。Furthermore, it will be understood by those skilled in the art that although some of the embodiments herein include certain features, but not others, included in other embodiments, that combinations of features of the different embodiments are intended to be within the scope of the present disclosure And form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
本公开的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本公开实施例的一些或者全部部件的一些或者全部功能。本公开还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本公开的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。Various component embodiments of the present disclosure may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or a digital signal processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components according to embodiments of the present disclosure. The present disclosure can also be implemented as apparatus or apparatus programs (eg, computer programs and computer program products) for performing some or all of the methods described herein. Such a program implementing the present disclosure may be stored on a computer-readable medium, or may be in the form of one or more signals. Such signals may be downloaded from Internet sites, or provided on carrier signals, or in any other form.
应该注意的是上述实施例对本公开进行说明而不是对本公开进行限制,并且本领域技术人员在不脱离所附权利要求的范围的情况下可设计出替换实施例。在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的元件或步骤。位于元件之前的单词“一”或“一个”不排除存在多个这样的元件。本公开可以借助于包括有若干不同元件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。上述实施例中的步骤,除有特殊说明外,不应理解为对执行顺序的限定。It should be noted that the above-described embodiments illustrate rather than limit the disclosure, and that alternative embodiments may be devised by those skilled in the art without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present disclosure may be implemented by means of hardware comprising several different elements and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, and third, etc. do not denote any order. These words can be interpreted as names. The steps in the above embodiments should not be construed as limitations on the execution order unless otherwise specified.
Claims (42)
- 一种数据互通方法,所述方法适用于第一应用与第二应用之间的数据互通,所述方法包括:A data interworking method, the method is suitable for data interworking between a first application and a second application, the method comprising:响应于第一用户在第一应用触发的数据互通操作,查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供所述第二应用服务器查询是否存在与第一手机号码绑定的第二标识;In response to the data interworking operation triggered by the first user in the first application, query the first mobile phone number bound to the first identification corresponding to the first user, and send an application identification query request carrying the first mobile phone number to the second application server , for the second application server to query whether there is a second identifier bound to the first mobile phone number;若接收到所述第二应用服务器返回的与第一手机号码绑定的第二标识,则从所述第二应用服务器拉取所述第二标识对应的应用数据;If receiving the second identifier bound to the first mobile phone number returned by the second application server, pulling the application data corresponding to the second identifier from the second application server;将所述应用数据发送给第一应用,以使得所述第一应用生成包含所述应用数据的第一页面,并显示所述第一页面。The application data is sent to a first application, so that the first application generates a first page containing the application data, and displays the first page.
- 根据权利要求1所述的方法,其中,所述方法还包括:若接收到所述第二应用服务器返回的与第一手机号码绑定的第二标识,则将第一用户对应的第一标识与第二标识关联存储至数据列表中。The method according to claim 1, wherein the method further comprises: if a second identifier bound to the first mobile phone number returned by the second application server is received, converting the first identifier corresponding to the first user and stored in the data list in association with the second identifier.
- 根据权利要求2所述的方法,其中,在查询与第一用户对应的第一标识绑定的第一手机号码之前,所述方法还包括:判断数据互通操作是否为首次操作;The method according to claim 2, wherein before querying the first mobile phone number bound to the first identifier corresponding to the first user, the method further comprises: judging whether the data interworking operation is the first operation;若非首次操作,则查询所述数据列表中是否存在与本次数据互通操作中的第一标识匹配的第二标识;If it is not the first operation, query whether there is a second identifier matching the first identifier in this data interworking operation in the data list;若存在,则将第二标识对应的应用数据发送给第一应用;若不存在,则查询与第一用户对应的第一标识绑定的第一手机号码。If it exists, the application data corresponding to the second identifier is sent to the first application; if it does not exist, the first mobile phone number bound to the first identifier corresponding to the first user is queried.
- 根据权利要求1-3中任一项所述的方法,其中,在从所述第二应用服务器拉取所述第二标识对应的应用数据之前,所述方法还包括:The method according to any one of claims 1-3, wherein before pulling the application data corresponding to the second identifier from the second application server, the method further comprises:判断是否接收到第一用户在提示弹窗触发的确认数据拉取操作,其中,所述提示弹窗用于供第一用户确认是否执行数据拉取操作;judging whether a confirmation data pull operation triggered by the first user in the prompt pop-up window is received, wherein the prompt pop-up window is used for the first user to confirm whether to perform the data pull operation;若是,则从所述第二应用服务器拉取所述第二标识对应的应用数据。If so, pull the application data corresponding to the second identifier from the second application server.
- 根据权利要求4所述的方法,其中,在从所述第二应用服务器拉取所述第二标识对应的应用数据之前,所述方法还包括:The method according to claim 4, wherein before the application data corresponding to the second identifier is pulled from the second application server, the method further comprises:判断与第一标识关联的第二标识的数量是否大于n,n为自然数;Determine whether the number of the second identification associated with the first identification is greater than n, where n is a natural number;若否,则从第二应用服务器拉取最新生效的第二标识对应的应用数据;If not, pulling the application data corresponding to the latest effective second identifier from the second application server;若是,则从第二应用服务器拉取第n个第二标识对应的应用数据。If so, pull the application data corresponding to the nth second identifier from the second application server.
- 根据权利要求1-5中任一项所述的方法,其中,所述应用数据包含电子书。The method of any of claims 1-5, wherein the application data comprises an electronic book.
- 根据权利要求1-6中任一项所述的方法,其中,应用数据包括:电子书想法、评论和/或批注;The method of any one of claims 1-6, wherein the application data comprises: e-book ideas, comments and/or annotations;所述方法还包括:响应于第一用户触发的互动数据查看操作,向第二应用服务器发送携带有第三标识的第二手机号码查询请求,以供所述第二应用服务器查询与第三标识绑定的第二手机号码,其中,互动数据是针对所述应用数据发布的数据,互动数据查看操作携带有第二用户在第二应用上的第三标识,所述第二用户是发布所述互动数据的用户;The method further includes: in response to the interactive data viewing operation triggered by the first user, sending a second mobile phone number query request carrying the third identifier to the second application server, so that the second application server can query and the third identifier. The bound second mobile phone number, wherein the interactive data is the data published for the application data, and the interactive data viewing operation carries the third identification of the second user on the second application, and the second user is the user who published the users of interactive data;根据所述第二应用服务器返回的第二手机号码,查询是否存在与所述第二手机号码绑定的第四标识;According to the second mobile phone number returned by the second application server, query whether there is a fourth identifier bound to the second mobile phone number;若存在与所述第二手机号码绑定的第四标识,则将与所述第四标识对应的用户昵称发送给第一应用,以供第一应用利用所述用户昵称显示互动数据。If there is a fourth identifier bound to the second mobile phone number, the user nickname corresponding to the fourth identifier is sent to the first application, so that the first application uses the user nickname to display interactive data.
- 根据权利要求7所述的方法,所述方法还包括:若不存在与所述第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将所述虚拟昵称发送给第一应用,以供第一应用利用为第二用户分配的虚拟昵称显示互动数据。The method according to claim 7, further comprising: if there is no fourth identifier bound to the second mobile phone number, assigning a virtual nickname to the second user, and sending the virtual nickname to the second user an application for the first application to display interactive data by using the virtual nickname assigned to the second user.
- 根据权利要求8所述的方法,其中,在为第二用户分配虚拟昵称之后,所述方法还包括:将第二用户对应的第三标识、第二手机号码、虚拟昵称关联存储至数据列表中。The method according to claim 8, wherein after assigning the virtual nickname to the second user, the method further comprises: storing the third identifier, the second mobile phone number and the virtual nickname corresponding to the second user in a data list in association with .
- 根据权利要求9所述的方法,其中,在向第二应用服务器发送携带有第三标识的第二手机号码查询请求之前,所述方法还包括:查询数据列表中是否存储与所述第二用户对应的第三标识关联的虚拟昵称;The method according to claim 9, wherein before sending the second mobile phone number query request carrying the third identifier to the second application server, the method further comprises: querying whether a data list is stored with the second user the virtual nickname associated with the corresponding third identifier;若是,则将所述虚拟昵称发送给第一应用,以供第一应用利用所述虚拟昵称显示互动数据;If so, sending the virtual nickname to the first application, so that the first application can display interactive data by using the virtual nickname;若否,则向第二应用服务器发送携带有第三标识的第二手机号码查询请求。If not, send a second mobile phone number query request carrying the third identifier to the second application server.
- 根据权利要求1-6中任一项所述的方法,其中,应用数据包括:电子书想法、评论和/或批注;The method of any one of claims 1-6, wherein the application data comprises: e-book ideas, comments and/or annotations;所述方法还包括:响应于第一用户触发的互动数据查看操作,向第二应用服务器发送携带有特定应用数据标识的第二手机号码查询请求,以供所述第二应用服务器根据所述特定应用数据标识查询第二用户的第二手机号码及针对所述特定应用数据发布的互动数据,将第二手机号码及对应的互动数据关联返回给第一应用服务器,其中,互动数据是针对所述特定应用数据发布的数据,第二手机号码是第二用户对应的手机号码,所述第二用户是发布所述互动数据的用户,互动数据查看操作携带有特定应用数据标识;The method further includes: in response to an interactive data viewing operation triggered by the first user, sending a second mobile phone number query request carrying a specific application data identifier to a second application server, so that the second application server can request the second mobile phone number according to the specific application data. The application data identifier queries the second mobile phone number of the second user and the interactive data released for the specific application data, and associates the second mobile phone number and the corresponding interactive data and returns it to the first application server, wherein the interactive data is for the specific application data. The data published by the specific application data, the second mobile phone number is the mobile phone number corresponding to the second user, the second user is the user who published the interactive data, and the interactive data viewing operation carries the specific application data identifier;根据所述第二应用服务器返回的第二手机号码,查询是否存在与所述第二手机号码绑定的第四标识;According to the second mobile phone number returned by the second application server, query whether there is a fourth identifier bound to the second mobile phone number;若存在与所述第二手机号码绑定的第四标识,则将与所述第四标识对应的用户昵称及互动数据发送给第一应用,以供第一应用利用所述用户昵称显示互动数据。If there is a fourth identifier bound to the second mobile phone number, send the user nickname and interaction data corresponding to the fourth identifier to the first application, so that the first application can display the interaction data by using the user nickname .
- 根据权利要求11所述的方法,所述方法还包括:若不存在与所述第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将所述虚拟昵称发送给第一应用,以供第一应用利用为第二用户分配的虚拟昵称显示互动数据。The method according to claim 11, further comprising: if there is no fourth identifier bound to the second mobile phone number, assigning a virtual nickname to the second user, and sending the virtual nickname to the second user an application for the first application to display interactive data by using the virtual nickname assigned to the second user.
- 根据权利要求8或9或10或12所述的方法,其特征在于,所述虚拟昵称包含:应用名称及用户编号。The method according to claim 8 or 9 or 10 or 12, wherein the virtual nickname comprises: an application name and a user number.
- 一种数据互通方法,所述方法适用于第一应用与第二应用之间的数据互通,所述方法包括:A data interworking method, the method is suitable for data interworking between a first application and a second application, the method comprising:响应于第一用户触发的数据互通操作,向第一应用服务器发送第一用户对应的第一标识,以供第一应用服务器查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以使得所述第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到所述第二应用服务器返回的与第一手机号码绑定的第二标识,则从所述第二应用服务器拉取所述第二标识对应的应用数据,将所述应用数据发送给第一应用;In response to the data interworking operation triggered by the first user, sending the first identifier corresponding to the first user to the first application server, so that the first application server can query the first mobile phone number bound to the first identifier corresponding to the first user, Send an application identification query request carrying the first mobile phone number to the second application server, so that the second application server queries whether there is a second identification bound to the first mobile phone number, if the second application server receives If the returned second identifier is bound to the first mobile phone number, the application data corresponding to the second identifier is pulled from the second application server, and the application data is sent to the first application;接收第一应用服务器返回的应用数据,生成包含所述应用数据的第一页面,并显示所述第一页面。Receive application data returned by the first application server, generate a first page containing the application data, and display the first page.
- 根据权利要求14所述的方法,其中,所述方法还包括:生成并显示提示弹窗,以供第一用户通过所述提示弹窗确认是否执行数据拉取;The method according to claim 14, wherein the method further comprises: generating and displaying a prompt pop-up window for the first user to confirm whether to perform data pulling through the prompt pop-up window;响应于第一用户在提示弹窗触发的确认数据拉取操作,则向第一应用服务器发送数据拉取请求,以供第一应用服务器根据所述数据拉取请求从所述第二应用服务器拉取所述第二标识对应的应用数据。In response to the confirmation data pull operation triggered by the first user in the prompt pop-up window, send a data pull request to the first application server for the first application server to pull from the second application server according to the data pull request The application data corresponding to the second identifier is obtained.
- 根据权利要求14或15所述的方法,其中,所述应用数据包含电子书。The method of claim 14 or 15, wherein the application data comprises an electronic book.
- 根据权利要求14-16中任一项所述的方法,其中,应用数据包括:电子书想法、评论和/或批注;The method of any of claims 14-16, wherein the application data comprises: e-book ideas, comments and/or annotations;所述方法还包括:响应于第一用户触发的互动数据查看操作,向第一应用服务器发送 第二用户对应的第三标识,以供第一应用服务器根据第三标识查询第二用户是否存在第四标识,并根据查询结果向第一应用返回第四标识对应的用户昵称或返回为第二用户分配的虚拟昵称,其中,互动数据查看操作携带有第二用户在第二应用上第三标识,互动数据是针对所述应用数据发布的数据,所述第二用户是发布所述互动数据的用户;The method further includes: in response to an interactive data viewing operation triggered by the first user, sending a third identifier corresponding to the second user to the first application server, so that the first application server can query whether the second user has the third identifier according to the third identifier. Four identifiers, and return the user nickname corresponding to the fourth identifier or the virtual nickname assigned to the second user to the first application according to the query result, wherein the interactive data viewing operation carries the third identifier of the second user on the second application, The interaction data is data published for the application data, and the second user is the user who published the interaction data;接收第一应用服务器返回的用户昵称,利用所述用户昵称显示互动数据;或者Receive the user nickname returned by the first application server, and use the user nickname to display interactive data; or接收第一应用服务器返回的虚拟昵称,利用所述虚拟昵称显示互动数据。The virtual nickname returned by the first application server is received, and interactive data is displayed by using the virtual nickname.
- 根据权利要求14-16中任一项所述的方法,其中,应用数据包括:电子书想法、评论和/或批注;The method of any of claims 14-16, wherein the application data comprises: e-book ideas, comments and/or annotations;所述方法还包括:响应于第一用户触发的互动数据查看操作,向第一应用服务器发送特定应用数据标识,以供第一应用服务器向第二应用服务器发送携带有特定应用数据标识的第二手机号码查询请求,以使得第二应用服务器根据所述特定应用数据标识查询第二用户的第二手机号码及针对所述特定应用数据发布的互动数据,将第二手机号码及对应的互动数据关联返回给第一应用服务器,根据所述第二应用服务器返回的第二手机号码,查询是否存在与所述第二手机号码绑定的第四标识;若存在与所述第二手机号码绑定的第四标识,则将所述第四标识对应的用户昵称及互动数据发送给第一应用;若不存在与所述第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将为第二用户分配的虚拟昵称发送给第一应用,其中,互动数据是针对所述应用数据发布的数据,所述第二用户是发布所述互动数据的用户,互动数据查看操作携带有特定应用数据标识;The method further includes: in response to an interactive data viewing operation triggered by the first user, sending a specific application data identifier to the first application server, so that the first application server can send a second application data identifier carrying the specific application data identifier to the second application server. A mobile phone number query request, so that the second application server queries the second mobile phone number of the second user and the interactive data published for the specific application data according to the specific application data identifier, and associates the second mobile phone number with the corresponding interactive data Return to the first application server, and according to the second mobile phone number returned by the second application server, query whether there is a fourth identifier bound to the second mobile phone number; if there is a fourth identification bound to the second mobile phone number the fourth identifier, send the user nickname and interactive data corresponding to the fourth identifier to the first application; if there is no fourth identifier bound to the second mobile phone number, assign a virtual nickname to the second user, and send the virtual nickname assigned to the second user to the first application, wherein the interactive data is the data published for the application data, the second user is the user who published the interactive data, and the interactive data viewing operation carries Application-specific data identifiers;接收第一应用服务器返回的用户昵称及对应的互动数据,利用所述用户昵称显示互动数据;或者Receive the user nickname and the corresponding interaction data returned by the first application server, and use the user nickname to display the interaction data; or接收第一应用服务器返回的虚拟昵称,利用所述虚拟昵称显示互动数据。The virtual nickname returned by the first application server is received, and interactive data is displayed by using the virtual nickname.
- 根据权利要求17或18所述的方法,其特征在于,所述虚拟昵称包含:应用名称及用户编号。The method according to claim 17 or 18, wherein the virtual nickname comprises: an application name and a user number.
- 一种计算设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;A computing device, comprising: a processor, a memory, a communication interface and a communication bus, the processor, the memory and the communication interface communicate with each other through the communication bus;所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行以下操作:The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:响应于第一用户在第一应用触发的数据互通操作,查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以供所述第二应用服务器查询是否存在与第一手机号码绑定的第二标识;In response to the data interworking operation triggered by the first user in the first application, query the first mobile phone number bound to the first identification corresponding to the first user, and send an application identification query request carrying the first mobile phone number to the second application server , for the second application server to query whether there is a second identifier bound to the first mobile phone number;若接收到所述第二应用服务器返回的与第一手机号码绑定的第二标识,则从所述第二应用服务器拉取所述第二标识对应的应用数据;If receiving the second identifier bound to the first mobile phone number returned by the second application server, pulling the application data corresponding to the second identifier from the second application server;将所述应用数据发送给第一应用,以使得所述第一应用生成包含所述应用数据的第一页面,并显示所述第一页面。The application data is sent to a first application, so that the first application generates a first page containing the application data, and displays the first page.
- 根据权利要求20所述的计算设备,其中,所述可执行指令还使所述处理器执行以下操作:21. The computing device of claim 20, wherein the executable instructions further cause the processor to:若接收到所述第二应用服务器返回的与第一手机号码绑定的第二标识,则将第一用户对应的第一标识与第二标识关联存储至数据列表中。If the second identifier bound to the first mobile phone number returned by the second application server is received, the first identifier and the second identifier corresponding to the first user are associated and stored in the data list.
- 根据权利要求21所述的计算设备,其中,所述可执行指令还使所述处理器执行以下操作:The computing device of claim 21, wherein the executable instructions further cause the processor to:在查询与第一用户对应的第一标识绑定的第一手机号码之前,判断数据互通操作是否为首次操作;Before querying the first mobile phone number bound to the first identifier corresponding to the first user, determine whether the data interworking operation is the first operation;若非首次操作,则查询所述数据列表中是否存在与本次数据互通操作中的第一标识匹配的第二标识;If it is not the first operation, query whether there is a second identifier matching the first identifier in this data interworking operation in the data list;若存在,则将第二标识对应的应用数据发送给第一应用;若不存在,则查询与第一用户对应的第一标识绑定的第一手机号码。If it exists, the application data corresponding to the second identifier is sent to the first application; if it does not exist, the first mobile phone number bound to the first identifier corresponding to the first user is queried.
- 根据权利要求20-22中任一项所述的计算设备,其中,所述可执行指令还使所述处理器执行以下操作:The computing device of any of claims 20-22, wherein the executable instructions further cause the processor to:在从所述第二应用服务器拉取所述第二标识对应的应用数据之前,判断是否接收到第一用户在提示弹窗触发的确认数据拉取操作,其中,所述提示弹窗用于供第一用户确认是否执行数据拉取操作;Before pulling the application data corresponding to the second identifier from the second application server, determine whether a confirmation data pulling operation triggered by the first user in the prompt pop-up window is received, wherein the prompt pop-up window is used for The first user confirms whether to perform the data pull operation;若是,则从所述第二应用服务器拉取所述第二标识对应的应用数据。If so, pull the application data corresponding to the second identifier from the second application server.
- 根据权利要求23所述的计算设备,其中,所述可执行指令还使所述处理器执行以下操作:The computing device of claim 23, wherein the executable instructions further cause the processor to:在从所述第二应用服务器拉取所述第二标识对应的应用数据之前,判断与第一标识关联的第二标识的数量是否大于n,n为自然数;Before pulling the application data corresponding to the second identifier from the second application server, determine whether the number of second identifiers associated with the first identifier is greater than n, where n is a natural number;若否,则从第二应用服务器拉取最新生效的第二标识对应的应用数据;If not, pulling the application data corresponding to the latest effective second identifier from the second application server;若是,则从第二应用服务器拉取第n个第二标识对应的应用数据。If so, pull the application data corresponding to the nth second identifier from the second application server.
- 根据权利要求20-24中任一项所述的计算设备,其中,所述应用数据包含电子书。24. The computing device of any of claims 20-24, wherein the application data comprises an electronic book.
- 根据权利要求20-25中任一项所述的计算设备,其中,应用数据包含:电子书想法、评论和/或批注;The computing device of any of claims 20-25, wherein the application data comprises: e-book ideas, comments and/or annotations;所述可执行指令还使所述处理器执行以下操作:The executable instructions also cause the processor to:响应于第一用户触发的互动数据查看操作,向第二应用服务器发送携带有第三标识的第二手机号码查询请求,以供所述第二应用服务器查询与第三标识绑定的第二手机号码,其中,互动数据是针对所述应用数据发布的数据,互动数据查看操作携带有第二用户在第二应用上的第三标识,所述第二用户是发布所述互动数据的用户;In response to the interactive data viewing operation triggered by the first user, send a second mobile phone number query request carrying the third identification to the second application server, so that the second application server can query the second mobile phone bound to the third identification number, wherein the interactive data is the data published for the application data, and the interactive data viewing operation carries the third identification of the second user on the second application, and the second user is the user who published the interactive data;根据所述第二应用服务器返回的第二手机号码,查询是否存在与所述第二手机号码绑定的第四标识;According to the second mobile phone number returned by the second application server, query whether there is a fourth identifier bound to the second mobile phone number;若存在与所述第二手机号码绑定的第四标识,则将与所述第四标识对应的用户昵称发送给第一应用,以供第一应用利用所述用户昵称显示互动数据。If there is a fourth identifier bound to the second mobile phone number, the user nickname corresponding to the fourth identifier is sent to the first application, so that the first application uses the user nickname to display interactive data.
- 根据权利要求26所述的计算设备,其中,所述可执行指令还使所述处理器执行以下操作:The computing device of claim 26, wherein the executable instructions further cause the processor to:若不存在与所述第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将所述虚拟昵称发送给第一应用,以供第一应用利用为第二用户分配的虚拟昵称显示互动数据。If there is no fourth identifier bound to the second mobile phone number, assign a virtual nickname to the second user, and send the virtual nickname to the first application, so that the first application can use the assigned nickname for the second user Virtual nicknames show interaction data.
- 根据权利要求27所述的计算设备,其中,所述可执行指令还使所述处理器执行以下操作:28. The computing device of claim 27, wherein the executable instructions further cause the processor to:在为第二用户分配虚拟昵称之后,将第二用户对应的第三标识、第二手机号码、虚拟昵称关联存储至数据列表中。After allocating the virtual nickname to the second user, the third identifier corresponding to the second user, the second mobile phone number, and the virtual nickname are stored in association in the data list.
- 根据权利要求28所述的计算设备,其中,所述可执行指令还使所述处理器执行以下操作:The computing device of claim 28, wherein the executable instructions further cause the processor to:在向第二应用服务器发送携带有第三标识的第二手机号码查询请求之前,查询数据列表中是否存储与所述第二用户对应的第三标识关联的虚拟昵称;Before sending the second mobile phone number query request carrying the third identifier to the second application server, query whether the virtual nickname associated with the third identifier corresponding to the second user is stored in the data list;若是,则将所述虚拟昵称发送给第一应用,以供第一应用利用所述虚拟昵称显示互动数据;If so, sending the virtual nickname to the first application, so that the first application can display interactive data by using the virtual nickname;若否,则向第二应用服务器发送携带有第三标识的第二手机号码查询请求。If not, send a second mobile phone number query request carrying the third identifier to the second application server.
- 根据权利要求20-25中任一项所述的计算设备,其中,应用数据包含:电子书想 法、评论和/或批注;The computing device of any of claims 20-25, wherein the application data comprises: e-book ideas, comments and/or annotations;所述可执行指令还使所述处理器执行以下操作:The executable instructions also cause the processor to:响应于第一用户触发的互动数据查看操作,向第二应用服务器发送携带有特定应用数据标识的第二手机号码查询请求,以供所述第二应用服务器根据所述特定应用数据标识查询第二用户的第二手机号码及针对所述特定应用数据发布的互动数据,将第二手机号码及对应的互动数据关联返回给第一应用服务器,其中,互动数据是针对所述特定应用数据发布的数据,第二手机号码是第二用户对应的手机号码,所述第二用户是发布所述互动数据的用户,互动数据查看操作携带有特定应用数据标识;In response to the interactive data viewing operation triggered by the first user, a second mobile phone number query request carrying a specific application data identifier is sent to the second application server, so that the second application server can query the second mobile phone number according to the specific application data identifier. The user's second mobile phone number and the interactive data published for the specific application data, and the second mobile phone number and the corresponding interactive data are associated and returned to the first application server, where the interactive data is the data published for the specific application data. , the second mobile phone number is the mobile phone number corresponding to the second user, the second user is the user who publishes the interactive data, and the interactive data viewing operation carries a specific application data identifier;根据所述第二应用服务器返回的第二手机号码,查询是否存在与所述第二手机号码绑定的第四标识;According to the second mobile phone number returned by the second application server, query whether there is a fourth identifier bound to the second mobile phone number;若存在与所述第二手机号码绑定的第四标识,则将与所述第四标识对应的用户昵称及互动数据发送给第一应用,以供第一应用利用所述用户昵称显示互动数据。If there is a fourth identifier bound to the second mobile phone number, send the user nickname and interaction data corresponding to the fourth identifier to the first application, so that the first application can display the interaction data by using the user nickname .
- 根据权利要求30所述的计算设备,其中,所述可执行指令还使所述处理器执行以下操作:The computing device of claim 30, wherein the executable instructions further cause the processor to:若不存在与所述第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将所述虚拟昵称发送给第一应用,以供第一应用利用为第二用户分配的虚拟昵称显示互动数据。If there is no fourth identifier bound to the second mobile phone number, assign a virtual nickname to the second user, and send the virtual nickname to the first application, so that the first application can use the assigned nickname for the second user Virtual nicknames show interaction data.
- 根据权利要求27或28或29或31所述的计算设备,其中,所述虚拟昵称包含:应用名称及用户编号。The computing device according to claim 27 or 28 or 29 or 31, wherein the virtual nickname comprises: an application name and a user number.
- 一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行如权利要求1-13中任一项所述的数据互通方法对应的操作。A non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one executable instruction, the executable instruction enables a processor to execute any one of claims 1-13 The operations corresponding to the data interworking method described in the item.
- 一种计算机程序产品,该计算机程序产品包括存储在非易失性计算机可读存储介质上的计算程序,该计算机程序包括程序指令,当该程序指令被处理器执行时,使该处理器执行如权利要求1-13中任一项所述的数据互通方法对应的操作。A computer program product comprising a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions that, when executed by a processor, cause the processor to perform a Operations corresponding to the data interworking method according to any one of claims 1-13.
- 一种计算设备,包括:处理器、存储器、通信接口和通信总线,所述处理器、所述存储器和所述通信接口通过所述通信总线完成相互间的通信;A computing device, comprising: a processor, a memory, a communication interface and a communication bus, the processor, the memory and the communication interface communicate with each other through the communication bus;所述存储器用于存放至少一可执行指令,所述可执行指令使所述处理器执行以下操作:The memory is used to store at least one executable instruction, and the executable instruction causes the processor to perform the following operations:响应于第一用户触发的数据互通操作,向第一应用服务器发送第一用户对应的第一标识,以供第一应用服务器查询与第一用户对应的第一标识绑定的第一手机号码,向第二应用服务器发送携带有第一手机号码的应用标识查询请求,以使得所述第二应用服务器查询是否存在与第一手机号码绑定的第二标识,若接收到所述第二应用服务器返回的与第一手机号码绑定的第二标识,则从所述第二应用服务器拉取所述第二标识对应的应用数据,将所述应用数据发送给第一应用;In response to the data interworking operation triggered by the first user, sending the first identifier corresponding to the first user to the first application server, so that the first application server can query the first mobile phone number bound to the first identifier corresponding to the first user, Send an application identification query request carrying the first mobile phone number to the second application server, so that the second application server queries whether there is a second identification bound to the first mobile phone number, if the second application server receives If the returned second identifier is bound to the first mobile phone number, the application data corresponding to the second identifier is pulled from the second application server, and the application data is sent to the first application;接收第一应用服务器返回的应用数据,生成包含所述应用数据的第一页面,并显示所述第一页面。Receive application data returned by the first application server, generate a first page containing the application data, and display the first page.
- 根据权利要求35所述的计算设备,其中,所述可执行指令还使所述处理器执行以下操作:The computing device of claim 35, wherein the executable instructions further cause the processor to:生成并显示提示弹窗,以供第一用户通过所述提示弹窗确认是否执行数据拉取;generating and displaying a prompt pop-up window for the first user to confirm whether to perform data pulling through the prompt pop-up window;响应于第一用户在提示弹窗触发的确认数据拉取操作,则向第一应用服务器发送数据拉取请求,以供第一应用服务器根据所述数据拉取请求从所述第二应用服务器拉取所述第二标识对应的应用数据。In response to the confirmation data pull operation triggered by the first user in the prompt pop-up window, send a data pull request to the first application server for the first application server to pull from the second application server according to the data pull request The application data corresponding to the second identifier is obtained.
- 根据权利要求35或36所述的计算设备,其中,所述应用数据包含电子书。36. The computing device of claim 35 or 36, wherein the application data comprises an electronic book.
- 根据权利要求35-37中任一项所述的计算设备,其中,应用数据包括:电子书想法、评论和/或批注;The computing device of any of claims 35-37, wherein the application data comprises: e-book ideas, comments and/or annotations;所述可执行指令还使所述处理器执行以下操作:The executable instructions also cause the processor to:响应于第一用户触发的互动数据查看操作,向第一应用服务器发送第二用户对应的第三标识,以供第一应用服务器根据第三标识查询第二用户是否存在第四标识,并根据查询结果向第一应用返回第四标识对应的用户昵称或返回为第二用户分配的虚拟昵称,其中,互动数据查看操作携带有第二用户在第二应用上第三标识,互动数据是针对所述应用数据发布的数据,所述第二用户是发布所述互动数据的用户;In response to the interactive data viewing operation triggered by the first user, the third identifier corresponding to the second user is sent to the first application server, so that the first application server can query whether the second user has the fourth identifier according to the third identifier, and according to the query As a result, the user's nickname corresponding to the fourth identifier or the virtual nickname assigned to the second user is returned to the first application, wherein the interactive data viewing operation carries the second user's third identifier on the second application, and the interactive data is for the the data published by the application data, and the second user is the user who published the interactive data;接收第一应用服务器返回的用户昵称,利用所述用户昵称显示互动数据;或者Receive the user nickname returned by the first application server, and use the user nickname to display interactive data; or接收第一应用服务器返回的虚拟昵称,利用所述虚拟昵称显示互动数据。The virtual nickname returned by the first application server is received, and interactive data is displayed by using the virtual nickname.
- 根据权利要求35-37中任一项所述的计算设备,其中,应用数据包括:电子书想法、评论和/或批注;The computing device of any of claims 35-37, wherein the application data comprises: e-book ideas, comments and/or annotations;所述可执行指令还使所述处理器执行以下操作:The executable instructions also cause the processor to:响应于第一用户触发的互动数据查看操作,向第一应用服务器发送特定应用数据标识,以供第一应用服务器向第二应用服务器发送携带有特定应用数据标识的第二手机号码查询请求,以使得第二应用服务器根据所述特定应用数据标识查询第二用户的第二手机号码及针对所述特定应用数据发布的互动数据,将第二手机号码及对应的互动数据关联返回给第一应用服务器,根据所述第二应用服务器返回的第二手机号码,查询是否存在与所述第二手机号码绑定的第四标识;若存在与所述第二手机号码绑定的第四标识,则将所述第四标识对应的用户昵称及互动数据发送给第一应用;若不存在与所述第二手机号码绑定的第四标识,则为第二用户分配虚拟昵称,并将为第二用户分配的虚拟昵称发送给第一应用,其中,互动数据是针对所述应用数据发布的数据,所述第二用户是发布所述互动数据的用户,互动数据查看操作携带有特定应用数据标识;In response to the interactive data viewing operation triggered by the first user, the specific application data identifier is sent to the first application server, so that the first application server sends the second mobile phone number query request carrying the specific application data identifier to the second application server, so as to Make the second application server query the second mobile phone number of the second user and the interactive data published for the specific application data according to the specific application data identifier, and return the second mobile phone number and the corresponding interactive data to the first application server. , according to the second mobile phone number returned by the second application server, query whether there is a fourth identification bound with the second mobile phone number; if there is a fourth identification bound with the second mobile phone number, then The user nickname and interactive data corresponding to the fourth identifier are sent to the first application; if there is no fourth identifier bound to the second mobile phone number, a virtual nickname is assigned to the second user and will be the second user The assigned virtual nickname is sent to the first application, wherein the interactive data is data published for the application data, the second user is the user who published the interactive data, and the interactive data viewing operation carries a specific application data identifier;接收第一应用服务器返回的用户昵称及对应的互动数据,利用所述用户昵称显示互动数据;或者Receive the user nickname and the corresponding interaction data returned by the first application server, and use the user nickname to display the interaction data; or接收第一应用服务器返回的虚拟昵称,利用所述虚拟昵称显示互动数据。The virtual nickname returned by the first application server is received, and interactive data is displayed by using the virtual nickname.
- 根据权利要求38或39所述的计算设备,其中,所述虚拟昵称包含:应用名称及用户编号。The computing device of claim 38 or 39, wherein the virtual nickname comprises: an application name and a user number.
- 一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质中存储有至少一可执行指令,所述可执行指令使处理器执行如权利要求14-19中任一项所述的数据互通方法对应的操作。A non-volatile computer-readable storage medium, the non-volatile computer-readable storage medium stores at least one executable instruction, the executable instruction causes a processor to execute any one of claims 14-19 The operations corresponding to the data interworking method described in the item.
- 一种计算机程序产品,该计算机程序产品包括存储在非易失性计算机可读存储介质上的计算程序,该计算机程序包括程序指令,当该程序指令被处理器执行时,使该处理器执行如权利要求14-19中任一项所述的数据互通方法对应的操作。A computer program product comprising a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions that, when executed by a processor, cause the processor to perform a Operations corresponding to the data interworking method described in any one of claims 14-19.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110347652.2 | 2021-03-31 | ||
CN202110347652.2A CN112905295B (en) | 2021-03-31 | 2021-03-31 | Data intercommunication method, computing device and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022205859A1 true WO2022205859A1 (en) | 2022-10-06 |
Family
ID=76109697
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/125774 WO2022205859A1 (en) | 2021-03-31 | 2021-10-22 | Data exchange method, computing device, computer storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112905295B (en) |
WO (1) | WO2022205859A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112905295B (en) * | 2021-03-31 | 2021-10-15 | 掌阅科技股份有限公司 | Data intercommunication method, computing device and computer storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090083756A1 (en) * | 2007-09-20 | 2009-03-26 | Electronics And Telecommunications Research Institute | Apparatus and method for communication interface between application programs on virtual machines using shared memory |
CN101753566A (en) * | 2009-12-25 | 2010-06-23 | 北京畅游天下网络技术有限公司 | Multi-application inter-system data application method and system |
CN105187477A (en) * | 2014-06-12 | 2015-12-23 | 必翼7000有限公司 | Communication Of Reward Data Between Applications |
CN105471818A (en) * | 2014-08-18 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Information transmission method and information transmission system between application software |
CN107193671A (en) * | 2017-05-26 | 2017-09-22 | 山东浪潮云服务信息科技有限公司 | One kind is served by interoperability methods and system |
CN107450998A (en) * | 2017-07-31 | 2017-12-08 | 北京三快在线科技有限公司 | Information real-time synchronization method, device, medium and electronic equipment between more applications |
CN107920060A (en) * | 2017-10-11 | 2018-04-17 | 北京京东尚科信息技术有限公司 | Data access method and device based on account |
CN109918206A (en) * | 2017-12-13 | 2019-06-21 | 上海擎感智能科技有限公司 | Information interacting method and system between a kind of different application |
CN111352740A (en) * | 2018-12-21 | 2020-06-30 | 腾讯科技(深圳)有限公司 | Application interaction processing method and device |
CN112905295A (en) * | 2021-03-31 | 2021-06-04 | 掌阅科技股份有限公司 | Data intercommunication method, computing device and computer storage medium |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102541964A (en) * | 2010-12-31 | 2012-07-04 | 中国移动通信集团浙江有限公司 | User information management method and system applicable to electronic book reading |
CN104486430A (en) * | 2014-12-18 | 2015-04-01 | 北京奇虎科技有限公司 | Method, device and client for realizing data sharing in mobile browser client |
US9621737B2 (en) * | 2015-08-27 | 2017-04-11 | Google Inc. | Abuse detection for phone number lookups |
CN105933211B (en) * | 2016-06-20 | 2019-03-15 | 腾讯科技(深圳)有限公司 | The sharing method and client and system of a kind of game data |
CN106357521A (en) * | 2016-10-25 | 2017-01-25 | 广东欧珀移动通信有限公司 | Data sharing method and device |
CN109391658B (en) * | 2017-08-10 | 2021-08-27 | 深圳竹云科技有限公司 | Account data synchronization method and equipment, storage medium and terminal thereof |
CN108833413B (en) * | 2018-06-20 | 2020-12-08 | 掌阅科技股份有限公司 | Account management method of tourist user, server, electronic equipment and storage medium |
CN109272304A (en) * | 2018-08-31 | 2019-01-25 | 掌阅科技股份有限公司 | E-book purchasing method calculates equipment and computer storage medium |
CN109410083A (en) * | 2018-11-20 | 2019-03-01 | 咪咕数字传媒有限公司 | Information sharing method and device and storage medium |
CN112286426B (en) * | 2020-08-13 | 2022-09-06 | 北京京东尚科信息技术有限公司 | State information display method, device and system |
CN112163044A (en) * | 2020-09-28 | 2021-01-01 | 成都集致生活科技有限公司 | Building construction record data synchronization method |
-
2021
- 2021-03-31 CN CN202110347652.2A patent/CN112905295B/en active Active
- 2021-10-22 WO PCT/CN2021/125774 patent/WO2022205859A1/en active Application Filing
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090083756A1 (en) * | 2007-09-20 | 2009-03-26 | Electronics And Telecommunications Research Institute | Apparatus and method for communication interface between application programs on virtual machines using shared memory |
CN101753566A (en) * | 2009-12-25 | 2010-06-23 | 北京畅游天下网络技术有限公司 | Multi-application inter-system data application method and system |
CN105187477A (en) * | 2014-06-12 | 2015-12-23 | 必翼7000有限公司 | Communication Of Reward Data Between Applications |
CN105471818A (en) * | 2014-08-18 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Information transmission method and information transmission system between application software |
CN107193671A (en) * | 2017-05-26 | 2017-09-22 | 山东浪潮云服务信息科技有限公司 | One kind is served by interoperability methods and system |
CN107450998A (en) * | 2017-07-31 | 2017-12-08 | 北京三快在线科技有限公司 | Information real-time synchronization method, device, medium and electronic equipment between more applications |
CN107920060A (en) * | 2017-10-11 | 2018-04-17 | 北京京东尚科信息技术有限公司 | Data access method and device based on account |
CN109918206A (en) * | 2017-12-13 | 2019-06-21 | 上海擎感智能科技有限公司 | Information interacting method and system between a kind of different application |
CN111352740A (en) * | 2018-12-21 | 2020-06-30 | 腾讯科技(深圳)有限公司 | Application interaction processing method and device |
CN112905295A (en) * | 2021-03-31 | 2021-06-04 | 掌阅科技股份有限公司 | Data intercommunication method, computing device and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112905295A (en) | 2021-06-04 |
CN112905295B (en) | 2021-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6955074B2 (en) | Techniques for Messaging Bot Rich Communication | |
US11924298B2 (en) | Message pushing method for a virtual gift and electronic device | |
US8495511B2 (en) | Care label method for a self service dashboard construction | |
US10999377B2 (en) | Method, device and computer program product for protocol selection | |
US10417066B2 (en) | Adapting legacy endpoints to modern APIs | |
JP6093482B2 (en) | Method and apparatus for displaying search results on portable terminal | |
WO2021051775A1 (en) | Multi-person ordering-based order management method and system | |
US9807143B2 (en) | Systems and methods for event routing and correlation | |
WO2022111047A1 (en) | Voice broadcasting method, computing device and computer storage medium | |
MX2013007842A (en) | Message push notification client improvements for multi-user devices. | |
US11178097B2 (en) | User event responding method and apparatus | |
CN110489440B (en) | Data query method and device | |
WO2020248745A1 (en) | Method and device for displaying characters in user interface, electronic device, and storage medium | |
US10506400B2 (en) | Data download method and apparatus | |
JP2018506793A (en) | Method, apparatus, system and computer program for providing a rich menu of official accounts in an instant messaging service | |
CN101853152A (en) | Method and system for generating graphical user interface | |
JP6335978B2 (en) | System and method for providing a virtual communication session for some participants on a communication session | |
WO2022205859A1 (en) | Data exchange method, computing device, computer storage medium | |
WO2024169843A1 (en) | Method and apparatus for live streaming interaction, and device and medium | |
US8694462B2 (en) | Scale-out system to acquire event data | |
WO2019024275A1 (en) | Page loading method, device and computer equipment | |
US10616290B2 (en) | Method and apparatus of providing chatrooms for consultation | |
CN115185667B (en) | Visual application acceleration method and device, electronic equipment and storage medium | |
TW200941282A (en) | Content management that addresses levels of functionality | |
JP6587730B1 (en) | Registration apparatus, registration method, and registration program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21934495 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21934495 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 250324) |