[go: up one dir, main page]

CN117784988A - Application connection method and terminal equipment - Google Patents

Application connection method and terminal equipment Download PDF

Info

Publication number
CN117784988A
CN117784988A CN202211192937.4A CN202211192937A CN117784988A CN 117784988 A CN117784988 A CN 117784988A CN 202211192937 A CN202211192937 A CN 202211192937A CN 117784988 A CN117784988 A CN 117784988A
Authority
CN
China
Prior art keywords
connection
application
terminal device
user
icon
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211192937.4A
Other languages
Chinese (zh)
Other versions
CN117784988B (en
Inventor
王冬伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211192937.4A priority Critical patent/CN117784988B/en
Priority to PCT/CN2023/119403 priority patent/WO2024067205A1/en
Publication of CN117784988A publication Critical patent/CN117784988A/en
Application granted granted Critical
Publication of CN117784988B publication Critical patent/CN117784988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application continuing method and the terminal equipment can realize the continuing of the uninstalled application on the opposite terminal equipment, thereby improving the user experience. The method is applied to a system comprising a first terminal device and a second terminal device, and comprises the following steps: the first terminal equipment sends a broadcast connection notification to the second terminal equipment; the second terminal equipment obtains an icon of a second continuous application based on the broadcast continuous notification, and displays a contact button in the form of the icon of the second continuous application; the second terminal equipment responds to the clicking operation of the contact button by a user and displays a guiding installation popup window of a second continuous application; the second terminal equipment responds to the operation of the user on the guiding and installing the popup window, installs a second connection application and sends a connection data request message to the first terminal equipment; the first terminal equipment sends connection data of a first connection application to the second terminal equipment based on the connection data request message; the second terminal device receives the connection data and displays the connection data.

Description

应用接续方法和终端设备Application connection methods and terminal equipment

技术领域Technical field

本申请涉及终端技术领域,尤其涉及一种应用接续方法和终端设备。The present application relates to the field of terminal technology, and in particular, to an application connection method and terminal equipment.

背景技术Background technique

在多设备场景中,终端设备被划分为源端设备和对端设备,源端设备是发送端设备,对端设备是接收端设备。当源端设备和对端设备登陆了相同的账号,并且源端设备和对端设备处于同一局域网的情况下,通过用户触发接续条件,源端设备和对端设备上的应用可实现接续。例如,源端设备为电脑,对端设备为手机,用户在电脑和手机登陆了相同的账号,且电脑和手机处于同一局域网,若用户在电脑上的视频播放软件播放视频,用户的手机上的视频播放软件能同步播放该视频,若用户在电脑上正在编辑文本,用户的手机上可以同步显示正在编辑的文本。In a multi-device scenario, the terminal device is divided into a source device and a peer device. The source device is the sending device and the peer device is the receiving device. When the source device and the peer device are logged in with the same account, and the source device and the peer device are in the same LAN, the application on the source device and the peer device can achieve connection by triggering the connection condition by the user. For example, the source device is a computer and the peer device is a mobile phone. The user has logged in to the same account on the computer and mobile phone, and the computer and mobile phone are in the same local area network. If the user plays the video using the video playback software on the computer, the user's mobile phone will The video playback software can play the video synchronously. If the user is editing text on the computer, the text being edited can be displayed simultaneously on the user's mobile phone.

对于某一应用而言,应用接续需要源端设备和对端设备均安装有该应用。当对端设备未安装(或者卸载了)该应用时,源端设备发送该应用的应用接续请求,对端设备无法进行该应用的接续,影响用户体验。For a certain application, application connection requires that both the source device and the peer device have the application installed. When the application is not installed (or uninstalled) on the peer device, the source device sends an application connection request for the application, and the peer device cannot connect the application, which affects the user experience.

发明内容Contents of the invention

本申请提供了一种应用接续方法和终端设备,能够实现对端设备上未安装应用的接续,从而提高用户体验。This application provides an application connection method and a terminal device, which can realize the connection of applications not installed on the peer device, thereby improving user experience.

第一方面,提供了一种应用接续方法,应用于包括第一终端设备和第二终端设备的系统,用户在第一终端设备和第二终端设备上登陆了相同的账号,并且第一终端设备和第二终端设备处于同一局域网,该方法包括:第一终端设备向第二终端设备发送广播接续通知,该广播接续通知用于请求将第一终端设备的第一接续应用接续至第二终端设备;第二终端设备接收上述广播接续通知,基于该广播接续通知,获取第二接续应用的图标,并以第二接续应用的图标的形式显示触点按钮;第二终端设备响应于用户对上述触点按钮的点击操作,显示第二接续应用的引导安装弹窗;第二终端设备响应于用户对上述引导安装弹窗的操作,安装第二接续应用,向第一终端设备发送接续数据请求消息;第一终端设备基于上述接续数据请求消息,向第二终端设备发送第一接续应用的接续数据;第二终端设备接收上述接续数据,并显示该接续数据。In a first aspect, an application connection method is provided, which is applied to a system including a first terminal device and a second terminal device. The user logs in the same account on the first terminal device and the second terminal device, and the first terminal device Being in the same local area network as the second terminal device, the method includes: the first terminal device sends a broadcast connection notification to the second terminal device, the broadcast connection notification is used to request that the first connection application of the first terminal device be connected to the second terminal device. ; The second terminal device receives the above-mentioned broadcast connection notification, obtains the icon of the second connection application based on the broadcast connection notification, and displays the contact button in the form of the icon of the second connection application; the second terminal device responds to the user's response to the above-mentioned touch The click operation of the button displays a guidance installation pop-up window for the second connection application; the second terminal device responds to the user's operation on the above-mentioned guidance installation pop-up window, installs the second connection application, and sends a connection data request message to the first terminal device; Based on the above connection data request message, the first terminal device sends the connection data of the first connection application to the second terminal device; the second terminal device receives the above connection data and displays the connection data.

本申请实施例的应用接续方法,在第二终端设备(即对端设备)未安装第二接续应用的情况下,通过第一终端设备(即源端设备)向对端设备发送广播接续通知,对端设备基于该广播接续通知,获取第二接续应用的图标,并以该图标的形式显示触点按钮,对端设备响应于用户对该触点按钮的点击操作,安装第二接续应用,能够实现对端设备上未安装应用的接续,从而提高用户体验。The application connection method of the embodiment of the present application sends a broadcast connection notification to the opposite device through the first terminal device (that is, the source device) when the second terminal device (ie, the opposite end device) does not install the second connection application. Based on the broadcast connection notification, the peer device obtains the icon of the second connection application and displays the contact button in the form of the icon. The peer device responds to the user's click operation on the contact button, installs the second connection application, and can Realize the connection of uninstalled applications on the peer device, thereby improving user experience.

结合第一方面,在第一方面的某些实现方式中,上述广播接续通知包括:第一接续应用的应用标识和接续策略;其中,接续策略包括下列至少一种:接续状态标识、第一接续应用的包名或进程名、第一接续应用的应用市场上架策略以及支持接续的最小版本。With reference to the first aspect, in some implementations of the first aspect, the above broadcast connection notification includes: an application identifier of the first connection application and a connection strategy; wherein the connection strategy includes at least one of the following: a connection status identifier, a first connection The package name or process name of the application, the application market listing strategy of the first connected application, and the minimum version that supports the connection.

应理解,接续状态标识可以为用于标识接续策略状态的标志位。例如,标志位为0可以表示不支持接续,标志位为1可以表示应用接续,标志位为3可以表示浏览器接续。可以理解的是,标志位的具体值可以任意设置,能够区分不同的状态即可,本申请实施例不作具体限定。It should be understood that the connection status identifier can be a flag bit used to identify the connection policy status. For example, a flag bit of 0 can indicate that the connection is not supported, a flag bit of 1 can indicate application connection, and a flag bit of 3 can indicate browser connection. It is understood that the specific value of the flag bit can be set arbitrarily as long as it can distinguish different states, and the embodiment of the present application does not make specific limitations.

还应理解,若第一接续应用为Android平台的应用,则接续策略包括第一接续应用在Android平台的包名;若第一接续应用为windows平台的应用,则接续策略包括第一接续应用在windows平台的可接续进程名。It should also be understood that if the first continuation application is an application on the Android platform, the continuation policy includes the package name of the first continuation application on the Android platform; if the first continuation application is an application on the Windows platform, the continuation policy includes the continuable process name of the first continuation application on the Windows platform.

应用市场上架策略可以为下列任一种:未上架、海外应用市场1、国内应用市场1、国内应用市场2、海外应用市场2。The application market listing strategy can be any of the following: not listed, overseas application market 1, domestic application market 1, domestic application market 2, overseas application market 2.

支持接续应用的最小版本可以用支持接续应用的最小版本号表示,用于表示第二接续应用可接续时的最小版本。The minimum version that supports the connection application can be represented by the minimum version number that supports the connection application, which is used to indicate the minimum version when the second connection application can be connected.

结合第一方面,在第一方面的某些实现方式中,上述基于广播接续通知,获取第二接续应用的图标,包括:第二终端设备判断是否安装有第二接续应用;在未安装第二接续应用的情况下,第二终端设备基于上述广播接续通知,向云端服务器发送第二接续应用的包名和签名信息;云端服务器接收上述包名和签名信息,并对第二接续应用进行白名单校验;在校验通过的情况下,云端服务器向第二终端设备发送第二接续应用的图标;第二终端设备接收第二接续应用的图标。In combination with the first aspect, in certain implementation methods of the first aspect, the above-mentioned obtaining the icon of the second connection application based on the broadcast connection notification includes: the second terminal device determines whether the second connection application is installed; if the second connection application is not installed, the second terminal device sends the package name and signature information of the second connection application to the cloud server based on the above-mentioned broadcast connection notification; the cloud server receives the above-mentioned package name and signature information, and performs a whitelist check on the second connection application; if the check passes, the cloud server sends the icon of the second connection application to the second terminal device; the second terminal device receives the icon of the second connection application.

应理解,第二终端设备可以从云端服务器获取第二接续应用的图标。It should be understood that the second terminal device can obtain the icon of the second connection application from the cloud server.

还应理解,在第二终端设备上安装有第二接续应用,且第二接续应用的版本大于或等于第二接续应用的支持接续的最小版本的情况下,本申请实施例认为第二终端设备安装了第二接续应用,否则,认为第二终端设备未安装第二接续应用。It should also be understood that when the second connection application is installed on the second terminal device and the version of the second connection application is greater than or equal to the minimum version of the second connection application that supports connection, the embodiment of the present application considers that the second terminal device The second connection application is installed, otherwise, it is considered that the second terminal device does not have the second connection application installed.

结合第一方面,在第一方面的某些实现方式中,上述广播接续通知还包括所述第一接续应用的图标。With reference to the first aspect, in some implementations of the first aspect, the above broadcast connection notification further includes an icon of the first connection application.

应理解,第二终端设备可以从第一终端设备获取第二接续应用的图标。第一终端设备发送的接续广播通知中还包括第一接续应用的图标,第二终端设备接收第一接续应用的图标,并将第一接续应用的图标作为第二接续应用的图标。It should be understood that the second terminal device can obtain the icon of the second connection application from the first terminal device. The connection broadcast notification sent by the first terminal device also includes the icon of the first connection application. The second terminal device receives the icon of the first connection application and uses the icon of the first connection application as the icon of the second connection application.

应理解,第二终端设备获取第二接续应用的图标,并以第二接续应用的图标的形式在桌面显示触点按钮时,第二接续应用还未被安装。It should be understood that when the second terminal device obtains the icon of the second connection application and displays the contact button on the desktop in the form of the icon of the second connection application, the second connection application has not yet been installed.

结合第一方面,在第一方面的某些实现方式中,上述第二终端设备响应于用户对引导安装弹窗的操作,安装第二接续应用,包括:在第二接续应用为系统应用的情况下,第二终端设备响应于用户对引导安装弹窗的操作,恢复安装第二接续应用。In connection with the first aspect, in some implementations of the first aspect, the above-mentioned second terminal device responds to the user's operation on the guided installation pop-up window and installs the second connection application, including: when the second connection application is a system application Next, the second terminal device resumes installation of the second connection application in response to the user's operation on the guidance installation pop-up window.

结合第一方面,在第一方面的某些实现方式中,上述第二终端设备响应于用户对引导安装弹窗的操作,安装第二接续应用,包括:在第二接续应用为第三方应用的情况下,第二终端设备响应于用户对引导安装弹窗的操作,从应用市场下载第二接续应用的安装包并安装第二接续应用。In connection with the first aspect, in some implementations of the first aspect, the above-mentioned second terminal device responds to the user's operation on the guided installation pop-up window and installs the second connection application, including: when the second connection application is a third-party application In this case, in response to the user's operation on the guided installation pop-up window, the second terminal device downloads the installation package of the second connection application from the application market and installs the second connection application.

结合第一方面,在第一方面的某些实现方式中,在向第一终端设备发送接续数据请求消息之前,包括:第二终端设备以第二接续应用的图标的形式在桌面显示触点按钮;向第一终端设备发送接续数据请求消息,包括:第二终端设备响应于用户对触点按钮的点击操作,向第一终端设备发送接续数据请求。In conjunction with the first aspect, in some implementations of the first aspect, before sending the connection data request message to the first terminal device, the method includes: the second terminal device displays a contact button on the desktop in the form of an icon of the second connection application. ; Sending a connection data request message to the first terminal device includes: the second terminal device sends a connection data request to the first terminal device in response to the user's click operation on the contact button.

应理解,第二接续应用安装完成后,第二终端设备以第二接续应用的图标的形式在桌面上显示触点按钮,用户点击该触点按钮打开第二接续应用,第二终端设备响应于用户的操作,向第一终端设备发送接续数据请求消息。It should be understood that after the second continuation application is installed, the second terminal device displays a contact button on the desktop in the form of an icon of the second continuation application. The user clicks the contact button to open the second continuation application. The second terminal device responds to the user's operation and sends a continuation data request message to the first terminal device.

第二方面,提供了一种应用接续方法,应用于包括第一终端设备和第二终端设备的系统,用户在第一终端设备和第二终端设备上登陆了相同的账号,并且第一终端设备和第二终端设备处于同一局域网,该方法包括:第二终端设备接收来自第一终端设备的广播接续通知,基于该广播接续通知,获取第二接续应用的图标,并以第二接续应用的图标的形式显示触点按钮,上述广播接续通知用于请求将第一终端设备的第一接续应用接续至第二终端设备;第二终端设备响应于用户对上述触点按钮的点击操作,显示第二接续应用的引导安装弹窗;第二终端设备响应于用户对上述引导安装弹窗的操作,安装第二接续应用,向第一终端设备发送接续数据请求消息;第二终端设备接收来自第一终端设备的第一接续应用的接续数据,并显示该接续数据。In a second aspect, an application connection method is provided, which is applied to a system including a first terminal device and a second terminal device. The user logs in the same account on the first terminal device and the second terminal device, and the first terminal device Being in the same local area network as the second terminal device, the method includes: the second terminal device receives a broadcast connection notification from the first terminal device, obtains the icon of the second connection application based on the broadcast connection notification, and uses the icon of the second connection application to The contact button is displayed in the form of The guidance installation pop-up window of the connection application; the second terminal device responds to the user's operation on the above-mentioned guidance installation pop-up window, installs the second connection application, and sends a connection data request message to the first terminal device; the second terminal device receives the connection data request message from the first terminal The connection data of the device's first connection application and displays the connection data.

结合第二方面,在第二方面的某些实现方式中,上述广播接续通知包括:第一接续应用的应用标识和接续策略;其中,接续策略包括下列至少一种:接续状态标识、第一接续应用的包名或进程名、第一接续应用的应用市场上架策略以及支持接续的最小版本。Combined with the second aspect, in some implementations of the second aspect, the above broadcast connection notification includes: an application identifier of the first connection application and a connection strategy; wherein the connection strategy includes at least one of the following: a connection status identifier, a first connection The package name or process name of the application, the application market listing strategy of the first connected application, and the minimum version that supports the connection.

结合第二方面,在第二方面的某些实现方式中,上述基于广播接续通知,获取第二接续应用的图标,包括:第二终端设备判断是否安装有第二接续应用;在未安装第二接续应用的情况下,第二终端设备基于上述广播接续通知,向云端服务器发送第二接续应用的包名和签名信息;第二终端设备接收来自云端服务器的通过白名单校验的第二接续应用的图标。Combined with the second aspect, in some implementations of the second aspect, obtaining the icon of the second connection application based on the broadcast connection notification includes: the second terminal device determines whether the second connection application is installed; if the second connection application is not installed; In the case of connecting the application, the second terminal device sends the package name and signature information of the second connecting application to the cloud server based on the above broadcast connection notification; the second terminal device receives the package name and signature information of the second connecting application from the cloud server that passes the whitelist verification. icon.

结合第二方面,在第二方面的某些实现方式中,上述广播接续通知还包括第一接续应用的图标。In combination with the second aspect, in some implementations of the second aspect, the broadcast connection notification further includes an icon of the first connection application.

结合第二方面,在第二方面的某些实现方式中,第二终端设备响应于用户对上述引导安装弹窗的操作,安装第二接续应用,包括:在第二接续应用为系统应用的情况下,第二终端设备响应于用户对上述引导安装弹窗的操作,恢复安装第二接续应用。In combination with the second aspect, in certain implementations of the second aspect, the second terminal device installs a second follow-up application in response to the user's operation on the above-mentioned boot installation pop-up window, including: when the second follow-up application is a system application, the second terminal device responds to the user's operation on the above-mentioned boot installation pop-up window to resume the installation of the second follow-up application.

结合第二方面,在第二方面的某些实现方式中,第二终端设备响应于用户对上述引导安装弹窗的操作,安装第二接续应用,包括:在第二接续应用为第三方应用的情况下,第二终端设备响应于用户对上述引导安装弹窗的操作,从应用市场下载第二接续应用的安装包并安装第二接续应用。In combination with the second aspect, in certain implementations of the second aspect, the second terminal device installs a second succession application in response to the user's operation on the above-mentioned boot installation pop-up window, including: when the second succession application is a third-party application, the second terminal device downloads the installation package of the second succession application from the application market and installs the second succession application in response to the user's operation on the above-mentioned boot installation pop-up window.

结合第二方面,在第二方面的某些实现方式中,在上述向第一终端设备发送接续数据请求消息之前,包括:第二终端设备以第二接续应用的图标的形式在桌面显示触点按钮;向第一终端设备发送接续数据请求消息,包括:第二终端设备响应于用户对触点按钮的点击操作,向第一终端设备发送接续数据请求。In conjunction with the second aspect, in some implementations of the second aspect, before sending the connection data request message to the first terminal device, the method includes: the second terminal device displays a contact point on the desktop in the form of an icon of the second connection application. button; sending a connection data request message to the first terminal device, including: the second terminal device sends a connection data request to the first terminal device in response to the user's click operation on the contact button.

第三方面,提供了一种终端设备,用于执行上述第二方面中任一种可能的实现方式中的方法。具体地,该终端设备包括用于执行上述第二方面中任一种可能的实现方式中的方法的模块。In a third aspect, a terminal device is provided, which is used to execute the method in any possible implementation of the second aspect. Specifically, the terminal device includes a module for executing the method in any possible implementation of the second aspect.

在一种设计中,该终端设备可以包括执行上述各个方面中所描述的方法/操作/步骤/动作所一一对应的模块,该模块可以是硬件电路,也可是软件,也可以是硬件电路结合软件实现。In one design, the terminal device may include a module that performs one-to-one correspondence with the methods/operations/steps/actions described in the above aspects. The module may be a hardware circuit, software, or a combination of hardware circuits. Software Implementation.

在另一种设计中,该终端设备为通信芯片,通信芯片可以包括用于发送信息或数据的输入电路或者接口,以及用于接收信息或数据的输出电路或者接口。In another design, the terminal device is a communication chip, and the communication chip may include an input circuit or interface for sending information or data, and an output circuit or interface for receiving information or data.

在另一种设计中,该终端设备为通信设备,通信设备可以包括用于发送信息或数据的发射机,以及用于接收信息或数据的接收机。In another design, the terminal device is a communication device, and the communication device may include a transmitter for sending information or data, and a receiver for receiving information or data.

第四方面,提供了一种终端设备,包括处理器和存储器。该处理器用于读取存储器中存储的指令,并可通过接收器接收信号,通过发射器发射信号,以执行上述第二方面中的任一种可能实现方式中的方法。The fourth aspect provides a terminal device including a processor and a memory. The processor is used to read instructions stored in the memory, and can receive signals through a receiver and transmit signals through a transmitter to execute the method in any of the possible implementations of the second aspect.

可选地,处理器为一个或多个,存储器为一个或多个。Optionally, there are one or more processors and one or more memories.

可选地,存储器可以与处理器集成在一起,或者存储器与处理器分离设置。Alternatively, the memory may be integrated with the processor, or the memory may be provided separately from the processor.

在具体实现过程中,存储器可以为非瞬时性(non-transitory)存储器,例如只读存储器(read only memory,ROM),其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请实施例对存储器的类型以及存储器与处理器的设置方式不做限定。In the specific implementation process, the memory can be a non-transitory memory, such as a read only memory (ROM), which can be integrated on the same chip as the processor, or can be set in different On the chip, the embodiment of the present application does not limit the type of memory and the arrangement of the memory and the processor.

应理解,相关的数据交互过程例如发送接续数据请求信息可以为从处理器输出指示信息的过程,接收能力信息可以为处理器接收输入能力信息的过程。具体地,处理输出的数据可以输出给发射器,处理器接收的输入数据可以来自接收器。其中,发射器和接收器可以统称为收发器。It should be understood that the relevant data interaction process, such as sending connection data request information, may be a process of outputting indication information from the processor, and receiving capability information may be a process of the processor receiving input capability information. Specifically, the data output by the processing can be output to the transmitter, and the input data received by the processor can come from the receiver. Among them, the transmitter and receiver can be collectively called a transceiver.

上述第四方面中的终端设备可以是一个芯片,该处理器可以通过硬件来实现也可以通过软件来实现,当通过硬件实现时,该处理器可以是逻辑电路、集成电路等;当通过软件来实现时,该处理器可以是一个通用处理器,通过读取存储器中存储的软件代码来实现,该存储器可以集成在处理器中,可以位于该处理器之外,独立存在。The terminal device in the above fourth aspect can be a chip, and the processor can be implemented by hardware or software. When implemented by hardware, the processor can be a logic circuit, an integrated circuit, etc.; when implemented by software, When implemented, the processor can be a general-purpose processor, which is implemented by reading the software code stored in the memory. The memory can be integrated in the processor, or can be located outside the processor and exist independently.

第五方面,提供了一种计算机程序产品,计算机程序产品包括:计算机程序(也可以称为代码,或指令),当计算机程序被运行时,使得计算机执行上述第二方面中的任一种可能实现方式中的方法。In a fifth aspect, a computer program product is provided, the computer program product comprising: a computer program (also referred to as code, or instruction), which, when executed, enables a computer to execute a method in any possible implementation of the second aspect.

第六方面,提供了一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序(也可以称为代码,或指令),当其在计算机上运行时,使得计算机执行上述第二方面中的任一种可能实现方式中的方法。In a sixth aspect, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program (which can also be called a code, or an instruction). When run on a computer, it causes the computer to execute the above-mentioned second aspect. Any of the possible implementation methods.

附图说明Description of drawings

图1是本申请实施例的应用场景示意图;Figure 1 is a schematic diagram of an application scenario according to an embodiment of the present application;

图2是本申请实施例提供的终端设备的结构示意图;Figure 2 is a schematic structural diagram of a terminal device provided by an embodiment of the present application;

图3是本申请实施例提供的终端设备的软件结构示意图;Figure 3 is a schematic diagram of the software structure of the terminal device provided by the embodiment of the present application;

图4是本申请实施例提供的终端设备的另一种软件结构示意图;Figure 4 is a schematic diagram of another software structure of a terminal device provided by an embodiment of the present application;

图5是本申请实施例提供的一种应用接续方法的示意性流程图;Figure 5 is a schematic flow chart of an application connection method provided by an embodiment of the present application;

图6是本申请实施例提供的另一种应用接续方法的示意性流程图;Figure 6 is a schematic flow chart of another application connection method provided by an embodiment of the present application;

图7是本申请实施例提供的源端设备的一种界面示意图;Figure 7 is a schematic interface diagram of a source device provided by an embodiment of the present application;

图8是本申请实施例提供的对端设备的一种界面变化示意图;Figure 8 is a schematic diagram of an interface change of the peer device provided by the embodiment of the present application;

图9是本申请实施例提供的源端设备的另一种界面示意图;Figure 9 is another schematic interface diagram of a source device provided by an embodiment of the present application;

图10是本申请实施例提供的对端设备的另一种界面变化示意图;Figure 10 is a schematic diagram of another interface change of the peer device provided by the embodiment of the present application;

图11是本申请实施例提供的终端设备的接续服务管理器的结构框图;Figure 11 is a structural block diagram of the connection service manager of the terminal device provided by the embodiment of the present application;

图12是本申请实施例提供的另一种应用接续方法的示意性流程图;Figure 12 is a schematic flow chart of another application connection method provided by an embodiment of the present application;

图13是本申请实施例提供的一种第二接续应用的图标获取方法的示意性流程图;Figure 13 is a schematic flow chart of a method for obtaining an icon for a second connection application provided by an embodiment of the present application;

图14是本申请实施例提供的一种终端设备的示意性框图;Figure 14 is a schematic block diagram of a terminal device provided by an embodiment of the present application;

图15是本申请实施例提供的另一种终端设备的示意性框图。Figure 15 is a schematic block diagram of another terminal device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合附图,对本申请中的技术方案进行描述。The technical solution in this application will be described below in conjunction with the accompanying drawings.

为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In order to facilitate a clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as “first” and “second” are used to distinguish the same or similar items with basically the same functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the number and execution order, and words such as "first" and "second" do not limit the number and execution order.

需要说明的是,本申请中,“示例性地”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性地”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性地”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in this application, words such as "exemplarily" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "such as" is not intended to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of the words "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.

此外,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b和c中的至少一项(个),可以表示:a,或b,或c,或a和b,或a和c,或b和c,或a、b和c,其中a,b,c可以是单个,也可以是多个。In addition, "at least one" means one or more, and "plurality" means two or more. "And/or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and/or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character "/" generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.

在多设备场景中,终端设备被划分为源端设备和对端设备,源端设备是发送端设备,对端设备是接收端设备。当源端设备和对端设备登陆了相同的账号,并且源端设备和对端设备处于同一局域网的情况下,通过用户触发接续条件,源端设备和对端设备上的应用可实现接续。例如,源端设备为电脑,对端设备为手机,用户在电脑和手机登陆了相同的账号,且电脑和手机处于同一局域网,若用户在电脑上的视频播放软件播放视频,用户的手机上的视频播放软件能同步播放该视频,若用户在电脑上正在编辑文本,用户的手机上可以同步显示正在编辑的文本。In a multi-device scenario, the terminal device is divided into a source device and a peer device. The source device is the sending device and the peer device is the receiving device. When the source device and the peer device are logged in with the same account, and the source device and the peer device are in the same LAN, the application on the source device and the peer device can achieve connection by triggering the connection condition by the user. For example, the source device is a computer and the peer device is a mobile phone. The user has logged in to the same account on the computer and mobile phone, and the computer and mobile phone are in the same local area network. If the user plays the video using the video playback software on the computer, the user's mobile phone will The video playback software can play the video synchronously. If the user is editing text on the computer, the text being edited can be displayed simultaneously on the user's mobile phone.

为了便于理解本申请,下面结合图1对本申请实施例所涉及的应用场景进行介绍。To facilitate understanding of the present application, the application scenarios involved in the embodiments of the present application are introduced below in conjunction with FIG. 1 .

图1示出了本申请实施例的应用场景100的示意图。该应用场景包括第一终端设备101和第二终端设备102,其中,第一终端设备101可以作为源端设备,第二终端设备102可以作为对端设备,用户在第一终端设备101和第二终端设备102上登陆了相同的账号,且第一终端设备101和第二终端设备102处于同一局域网,第一终端设备可以将应用的数据接续到第二终端设备102上。Fig. 1 shows a schematic diagram of an application scenario 100 of an embodiment of the present application. The application scenario includes a first terminal device 101 and a second terminal device 102, wherein the first terminal device 101 can be used as a source device, the second terminal device 102 can be used as a peer device, the user logs in to the same account on the first terminal device 101 and the second terminal device 102, and the first terminal device 101 and the second terminal device 102 are in the same local area network, and the first terminal device can connect the application data to the second terminal device 102.

可选地,上述应用场景100还包括第三终端设备103。第三终端设备103可作为对端设备,用户在第一终端设备101和第三终端设备103上登录了相同的账号,且第一终端设备101和第三终端设备103处于同一局域网,第一终端设备101可以将应用的数据接续到第三终端设备103上。Optionally, the above application scenario 100 further includes a third terminal device 103. The third terminal device 103 can be used as a peer device. If the user logs in to the same account on the first terminal device 101 and the third terminal device 103, and the first terminal device 101 and the third terminal device 103 are in the same local area network, the first terminal device 101 can connect the application data to the third terminal device 103.

应理解,在多设备应用接续的场景中,对端设备的数量可以为一个或多个,本申请实施例对此不作限定。It should be understood that in the scenario of multi-device application connection, the number of peer devices may be one or more, which is not limited in this embodiment of the present application.

还应理解,本申请并不要求上述多个对端设备均与源端设备处于同一局域网下,例如,上述第一终端设备101和第二终端设备102可以处于一个局域网(例如WiFi),第一终端设备101和第三终端设备103可以处于另一局域网(例如蓝牙),第一终端设备101可以将应用的数据分别接续到第二终端设备102和第三终端设备103上。It should also be understood that the present application does not require that the above-mentioned multiple opposite-end devices are all in the same local area network as the source-end device. For example, the above-mentioned first terminal device 101 and the second terminal device 102 may be in one local area network (such as WiFi), and the first terminal device 101 and the third terminal device 103 may be in another local area network (such as Bluetooth). The first terminal device 101 may connect the application data to the second terminal device 102 and the third terminal device 103 respectively.

为了更好的理解本申请实施例中的终端设备,下面对本申请实施例的终端设备的硬件结构进行介绍。In order to better understand the terminal device in the embodiment of the present application, the hardware structure of the terminal device in the embodiment of the present application is introduced below.

图2示出了终端设备200的结构示意图。Figure 2 shows a schematic structural diagram of the terminal device 200.

终端设备可以包括处理器210,外部存储器接口220,内部存储器221,通用串行总线(universal serial bus,USB)接口230,充电管理模块240,电源管理模块241,电池242,天线1,天线2,移动通信模块250,无线通信模块260,音频模块270,扬声器270A,受话器270B,麦克风270C,耳机接口270D,传感器模块280,按键290,马达291,指示器292,摄像头293,显示屏294,以及用户标识模块(subscriber identification module,SIM)卡接口295等。其中传感器模块280可以包括压力传感器280A,陀螺仪传感器280B,气压传感器280C,磁传感器280D,加速度传感器280E,距离传感器280F,接近光传感器280G,指纹传感器280H,温度传感器280J,触摸传感器280K,环境光传感器280L,骨传导传感器280M等。The terminal device may include a processor 210, an external memory interface 220, an internal memory 221, a universal serial bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, Mobile communication module 250, wireless communication module 260, audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone interface 270D, sensor module 280, button 290, motor 291, indicator 292, camera 293, display screen 294, and user Identification module (subscriber identification module, SIM) card interface 295, etc. The sensor module 280 may include a pressure sensor 280A, a gyro sensor 280B, an air pressure sensor 280C, a magnetic sensor 280D, an acceleration sensor 280E, a distance sensor 280F, a proximity light sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, and ambient light. Sensor 280L, bone conduction sensor 280M, etc.

可以理解的是,本申请实施例示意的结构并不构成对终端设备的具体限定。在本申请另一些实施例中,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or less components than shown in the figures, or some components may be combined, or some components may be separated, or may be arranged differently. The components illustrated may be implemented in hardware, software, or a combination of software and hardware.

处理器210可以包括一个或多个处理单元,例如:处理器210可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processingunit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 210 may include one or more processing units, for example, the processor 210 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and/or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate operation control signals based on the instruction operation code and timing signals to complete the control of fetching and executing instructions.

处理器210中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器210中的存储器为高速缓冲存储器。该存储器可以保存处理器210刚用过或循环使用的指令或数据。如果处理器210需要再次使用该指令或数据,可从上述存储器中直接调用。避免了重复存取,减少了处理器210的等待时间,因而提高了系统的效率。The processor 210 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in processor 210 is cache memory. This memory may hold instructions or data that have been recently used or recycled by processor 210 . If the processor 210 needs to use the instruction or data again, it can be directly called from the above-mentioned memory. Repeated access is avoided and the waiting time of the processor 210 is reduced, thus improving the efficiency of the system.

在一些实施例中,处理器210可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuitsound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purposeinput/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, processor 210 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuitsound, I2S) interface, a pulse code modulation (PCM) interface, and a universal asynchronous receiver (universal asynchronous receiver) /transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and/or Universal serial bus (USB) interface, etc.

可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对终端设备的结构限定。在本申请另一些实施例中,终端设备也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the terminal device. In other embodiments of the present application, the terminal device may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

终端设备通过GPU,显示屏294,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏294和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器210可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The terminal device implements display functions through the GPU, the display screen 294, and the application processor. The GPU is an image processing microprocessor and is connected to the display screen 294 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information.

终端设备可以通过ISP,摄像头293,视频编解码器,GPU,显示屏294以及应用处理器等实现拍摄功能。The terminal device can realize the shooting function through the ISP, camera 293, video codec, GPU, display screen 294 and application processor.

外部存储器接口220可以用于连接外部存储卡,例如Micro SD卡,实现扩展终端设备的存储能力。外部存储卡通过外部存储器接口220与处理器210通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device. The external memory card communicates with the processor 210 through the external memory interface 220 to implement the data storage function. Such as saving music, videos, etc. files in external memory card.

内部存储器221可以用于存储计算机可执行程序代码,可执行程序代码包括指令。内部存储器221可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储终端设备使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器221可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器210通过运行存储在内部存储器221的指令,和/或存储在设置于处理器中的存储器的指令,执行终端设备的各种功能应用以及数据处理。例如,可以执行本申请实施例的应用接续方法。Internal memory 221 may be used to store computer executable program code, which includes instructions. The internal memory 221 may include a program storage area and a data storage area. Among them, the stored program area can store an operating system, at least one application program required for a function (such as a sound playback function, an image playback function, etc.). The storage data area can store data created during the use of the terminal device (such as audio data, phone book, etc.). In addition, the internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. The processor 210 executes various functional applications and data processing of the terminal device by executing instructions stored in the internal memory 221 and/or instructions stored in a memory provided in the processor. For example, the application connection method in the embodiment of the present application can be executed.

本申请的终端设备可以作为源端设备,也可以作为对端设备。源端设备也可以称为发送端,对端设备也可以称为接收端。终端设备的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例的图3以分层架构的Android系统为例,示例性说明发送端和接收端的软件结构。The terminal device of this application can be used as a source device or as a peer device. The source device can also be called the sender, and the peer device can also be called the receiver. The software system of the terminal device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. Figure 3 of the embodiment of this application takes the Android system with a layered architecture as an example to illustrate the software structure of the sending end and the receiving end.

如图3所示,以发送端为例,分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口进行数据的传输与通信。在一些实施例中,将Android系统分为五层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Androidruntime)和系统库、硬件抽象层(hardware abstract layer,HAL),以及内核层。As shown in Figure 3, taking the sending end as an example, the layered architecture divides the software into several layers, each with clear roles and division of labor. Data transmission and communication are carried out between layers through software interfaces. In some embodiments, the Android system is divided into five layers, from top to bottom, namely, the application layer, the application framework layer, the Android runtime (Androidruntime) and the system library, the hardware abstract layer (HAL), and the kernel layer.

应用程序层可以包括一系列应用程序包。如图3所示,应用程序包可以包括第三方应用、软件开发工具包(software development kit,SDK)、蓝牙、WIFI、备忘录、视频、游戏等应用程序。例如本申请实施例中,在应用程序层中,接续应用可以接入接续服务SDK,接续应用可以为终端设备中的系统应用,也可以为第三方应用,备忘录、视频、游戏等应用也可以为系统应用或第三方应用。The application layer can include a series of application packages. As shown in Figure 3, the application package can include third-party applications, software development kit (SDK), Bluetooth, WIFI, memo, video, games and other applications. For example, in the embodiment of this application, in the application layer, the connection application can access the connection service SDK. The connection application can be a system application in the terminal device or a third-party application. Applications such as memos, videos, and games can also be System applications or third-party applications.

应用程序框架层为应用程序层的应用程序提供应用编程接口(applicationprogramming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。The application framework layer provides an application programming interface (API) and programming framework for applications in the application layer. The application framework layer includes some predefined functions.

如图3所示,应用程序框架层可以包括接续服务管理器、通信服务管理器、鉴权服务管理器、通知管理器、窗口管理器、资源管理器、内容提供器和视图系统等。其中,管理器在一些应用场景中也可以称为模块。As shown in Figure 3, the application framework layer may include a connection service manager, a communication service manager, an authentication service manager, a notification manager, a window manager, a resource manager, a content provider, a view system, etc. Among them, managers can also be called modules in some application scenarios.

接续服务管理器可以负责接续任务的管理,可以为整体接续服务框架的核心。例如本申请实施例中,接续服务管理器可以负责接续应用的接入、接续应用的鉴权、接续应用的图标管理以及接续数据跨设备间的传输。The connection service manager can be responsible for the management of connection tasks and can be the core of the overall connection service framework. For example, in the embodiment of this application, the connection service manager may be responsible for the access of the connection application, the authentication of the connection application, the icon management of the connection application, and the transmission of connection data across devices.

通信服务管理器可以用于实现跨设备间的数据传输,例如本申请实施例中,通信服务管理器可以实现同账号设备的安全认证与账号鉴权、设备的自发现与自组网、设备间的数据传输以及通信服务的接入等。The communication service manager can be used to realize data transmission across devices. For example, in the embodiment of the present application, the communication service manager can realize security authentication and account authentication of devices with the same account, self-discovery and self-organizing networking of devices, data transmission between devices, and access to communication services.

鉴权服务管理器可以负责应用的合法性校验,例如本申请实施例中,在鉴权服务管理器校验通过后可以允许应用接入接续服务。The authentication service manager may be responsible for verifying the validity of the application. For example, in the embodiment of the present application, the application may be allowed to access the connection service after the authentication service manager passes the verification.

通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息、发出提示音、终端设备振动、指示灯闪烁等。例如本申请实施例中,当第二终端设备接收到接续通知时,通知管理器可以在任务栏中显示接续通知。The notification manager allows applications to display notification information in the status bar, which can be used to convey notification-type messages and can automatically disappear after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be notifications that appear in the status bar at the top of the system in the form of charts or scroll bar text, such as notifications for applications running in the background, or notifications that appear on the screen in the form of conversation windows. For example, text information is prompted in the status bar, a prompt sound is emitted, the terminal device vibrates, and the indicator light flashes, etc. For example, in the embodiment of the present application, when the second terminal device receives the connection notification, the notification manager may display the connection notification in the taskbar.

窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏、锁定屏幕、触摸屏幕、拖拽屏幕、截取屏幕等。A window manager is used to manage window programs. The window manager can obtain the display size, determine whether there is a status bar, lock the screen, touch the screen, drag the screen, capture the screen, etc.

资源管理器为应用程序提供各种资源,例如本地化字符串、图标、图片、布局文件、视频文件等等。The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

内容提供器用于在不同的应用程序之间实现数据共享的功能,允许一个程序访问另一个程序中的数据,同时还能保证被访问的数据的安全性。Content providers are used to implement data sharing functions between different applications, allowing one program to access data in another program while ensuring the security of the accessed data.

视图系统可以负责应用程序的界面绘制和事件处理。例如本申请实施例中,视图系统可以用于处理用户点击接续应用的通知图标后的事件处理。The view system can be responsible for the interface drawing and event processing of the application program. For example, in the embodiment of the present application, the view system can be used to process the event processing after the user clicks the notification icon of the subsequent application.

Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。Android runtime includes core libraries and virtual machines. The Android runtime is responsible for the scheduling and management of the Android system.

核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。The core library contains two parts: one is the functional functions that need to be called by the Java language, and the other is the core library of Android.

应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。The application layer and application framework layer run in virtual machines. The virtual machine executes the java files of the application layer and application framework layer into binary files. The virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection and other functions.

系统库可以包括多个功能模块。例如:媒体库(Media Libraries)、函数库(Function Libraries)图形处理库(例如:OpenGL ES)等。System libraries can include multiple functional modules. For example: Media Libraries, Function Libraries, graphics processing libraries (for example: OpenGL ES), etc.

媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

函数库为开发者提供多种服务的API接口,方便开发者快速集成并实现各种功能。The function library provides developers with API interfaces for multiple services, making it easy for developers to quickly integrate and implement various functions.

图形处理库用于实现图形绘图、图像渲染、合成和图层处理等。The graphics processing library is used to implement graphics drawing, image rendering, composition, layer processing, etc.

硬件抽象层是介于内核层和Android runtime之间的抽象出来的一层结构。硬件抽象层可以是对硬件驱动的一个封装,为上层应用的调用提供统一接口。硬件抽象层可以包括蓝牙模块、WIFI模块、硬件配置模块等。例如本申请实施例中,硬件抽象层中的蓝牙模块和WIFI模块可以屏蔽内核层中蓝牙驱动和WIFI驱动的具体硬件实现细节,上层应用在不必知道内核层硬件驱动的具体实现方式的情况下就可以通过调用接口实现蓝牙功能和WIFI功能。The hardware abstraction layer is an abstract layer between the kernel layer and the Android runtime. The hardware abstraction layer can be an encapsulation of the hardware driver and provide a unified interface for calls to upper-layer applications. The hardware abstraction layer can include Bluetooth module, WIFI module, hardware configuration module, etc. For example, in the embodiment of this application, the Bluetooth module and WIFI module in the hardware abstraction layer can shield the specific hardware implementation details of the Bluetooth driver and WIFI driver in the kernel layer. The upper-layer application does not need to know the specific implementation of the kernel layer hardware driver. Bluetooth function and WIFI function can be realized by calling the interface.

内核层是硬件和软件之间的层。内核层可以包括显示驱动、摄像头驱动、音频驱动、蓝牙驱动、WiFi驱动、中央处理器驱动等。例如本申请实施例中,通信服务管理器可以通过蓝牙驱动以及WiFi驱动等相关模块进行跨设备间的连接,实现设备的自发现与自组网。The kernel layer is the layer between hardware and software. The kernel layer can include display drivers, camera drivers, audio drivers, Bluetooth drivers, WiFi drivers, central processing unit drivers, etc. For example, in the embodiment of this application, the communication service manager can perform cross-device connections through related modules such as Bluetooth drivers and WiFi drivers to realize self-discovery and self-organizing networks of devices.

下面结合终端设备之间在应用接续过程中进行接续通知显示的场景,示例性说明Android系统分层框架中的接续数据的传输流程。The following is an example of the connection data transmission process in the layered framework of the Android system based on the scenario where connection notifications are displayed during the application connection process between terminal devices.

如图3所示,在发送端的应用程序层中,应用程序可以通过接入接续服务SDK实现与接续服务的数据传输。接续服务SDK可以向接续服务管理器发送绑定接续服务以及应用注册接续服务请求,进而实现应用程序层与应用程序框架层之间的接续应用注册与绑定的数据传输。As shown in Figure 3, in the application layer of the sending end, the application can realize data transmission with the connection service by accessing the connection service SDK. The connection service SDK can send binding connection service and application registration connection service requests to the connection service manager, thereby realizing data transmission of application registration and binding between the application layer and the application framework layer.

在应用程序框架层中,接续服务管理器可以通过与通信服务管理器进行信令传输与数据传输完成通信服务的绑定。接续服务管理器还可以与鉴权服务管理器进行绑定鉴权服务以及应用鉴权。In the application framework layer, the connection service manager can complete the binding of communication services by performing signaling transmission and data transmission with the communication service manager. The connection service manager can also bind authentication services and application authentication with the authentication service manager.

在接续应用注册成功后,通信服务管理器可以调用硬件抽象层提供的蓝牙模块接口以及WIFI模块接口实现设备的自发现与自组网,并通过内核层中的蓝牙驱动和WIFI驱动实现终端设备间的会话连接、消息传递,以及接续内容的传输等。After the connection application is successfully registered, the communication service manager can call the Bluetooth module interface and WIFI module interface provided by the hardware abstraction layer to realize the self-discovery and self-organizing network of the device, and realize the communication between terminal devices through the Bluetooth driver and WIFI driver in the kernel layer. Session connection, message delivery, and transmission of continued content, etc.

当接收端基于内核层接收到发送端传递过来的接续相关的数据后,可以将数据传输给硬件抽象层中的相关模块。在接收端的应用程序框架层中,通信服务管理器可以通过硬件抽象层中提供的接口获取传输过来的接续数据,并与接续服务管理器进行信令传输与数据传输。接续服务管理器在接收到接续相关的数据后,可以与鉴权服务管理器进行绑定鉴权服务以及应用鉴权。进一步的,接续服务管理器可以指示桌面启动器以图标形式显示接续通知。When the receiving end receives the connection-related data passed by the sending end based on the kernel layer, it can transmit the data to the relevant modules in the hardware abstraction layer. In the application framework layer of the receiving end, the communication service manager can obtain the transmitted connection data through the interface provided in the hardware abstraction layer, and conduct signaling transmission and data transmission with the connection service manager. After receiving the connection-related data, the connection service manager can bind the authentication service and apply authentication with the authentication service manager. Further, the connection service manager can instruct the desktop launcher to display the connection notification in the form of an icon.

可以理解的是,本申请实施例的发送端或接收端也可以采用Windows系统,如图4所示,与Android系统不同的是Windows系统的分层架构主要分为用户态和内核态,用户态可以包括用户应用程序进程,以及系统进程与服务进程等;内核态可以包括内核和设备驱动层,以及硬件抽象层等。It can be understood that the sending end or receiving end of the embodiment of the present application can also use the Windows system, as shown in Figure 4. Different from the Android system, the layered architecture of the Windows system is mainly divided into user mode and kernel mode. The user mode It can include user application processes, as well as system processes and service processes, etc.; the kernel state can include kernel and device driver layers, as well as hardware abstraction layers, etc.

用户应用程序进程可以执行一系列应用程序。具体可执行的应用程序类型可以与Android系统中应用程序层中的应用程序类型相同,在此不再赘述。The user application process can execute a series of applications. The specific executable application types can be the same as the application types in the application layer of the Android system, which will not be repeated here.

系统进程与服务进程中可以包括接续服务管理器、通信服务管理器、鉴权服务管理器、系统进程、通知管理器、窗口管理器等,可以为用户应用程序进程的执行提供相应服务。具体与本申请实施例相关的接续服务管理器、通信服务管理器、鉴权服务管理器等进程的作用可参见Android中的相关管理器描述,在此不再赘述。System processes and service processes can include connection service managers, communication service managers, authentication service managers, system processes, notification managers, window managers, etc., which can provide corresponding services for the execution of user application processes. For the specific functions of processes such as the connection service manager, communication service manager, and authentication service manager related to the embodiments of the present application, please refer to the description of the relevant managers in Android, and will not be described again here.

内核层和设备驱动层可以包括蓝牙驱动、WiFi驱动、显示驱动等,硬件抽象层可以包括蓝牙模块、WIFI模块、硬件配置模块等。具体的功能模块的作用可参见Android中的相关描述,在此不再赘述。The kernel layer and device driver layer can include Bluetooth drivers, WiFi drivers, display drivers, etc., and the hardware abstraction layer can include Bluetooth modules, WIFI modules, hardware configuration modules, etc. For the specific function modules, please refer to the relevant descriptions in Android and will not be repeated here.

下面将结合实现跨设备间的内容接续方法的系统详细说明各模块之间的交互过程。下面的实施例可以相互结合或独立实施,对于相同或相似的概念或过程可能在某些实施例中不再赘述。The interaction process between each module will be described in detail below in conjunction with a system that implements a cross-device content connection method. The following embodiments may be combined with each other or implemented independently, and the same or similar concepts or processes may not be described again in some embodiments.

图5是本申请实施例提供的一种应用接续方法的示意性流程图。该方法可以应用于上述场景100,该方法所涉及的终端设备的硬件结构可以如图2所述,软件结构可以如图3或图4所示。第一终端设备可以对应于图3或图4的发送端,第二终端设备可以对应于图3或图4的接收端。第一终端设备与第二终端设备中均可以包括实现接续服务的各个功能模块,例如,可以包括接续服务SDK、接续服务管理器、通信服务管理器,以及鉴权服务管理器等。Figure 5 is a schematic flow chart of an application connection method provided by an embodiment of the present application. This method can be applied to the above scenario 100. The hardware structure of the terminal device involved in this method can be as shown in Figure 2, and the software structure can be as shown in Figure 3 or Figure 4. The first terminal device may correspond to the sending end of FIG. 3 or FIG. 4 , and the second terminal device may correspond to the receiving end of FIG. 3 or FIG. 4 . Both the first terminal device and the second terminal device may include various functional modules for implementing the connection service. For example, they may include a connection service SDK, a connection service manager, a communication service manager, and an authentication service manager.

为了便于描述,后续将第一终端设备的接续应用称为第一接续应用,第一终端设备的接续服务SDK称为第一接续服务SDK,第一终端设备的接续服务管理器称为第一接续服务管理器,第一终端设备的通信服务管理器称为第一通信服务管理器,第一终端设备的鉴权服务管理器称为第一鉴权服务管理器。For the convenience of description, the connection application of the first terminal device will be called the first connection application, the connection service SDK of the first terminal device will be called the first connection service SDK, and the connection service manager of the first terminal device will be called the first connection Service manager, the communication service manager of the first terminal device is called the first communication service manager, and the authentication service manager of the first terminal device is called the first authentication service manager.

将第二终端设备的接续应用称为第二接续应用,第二终端设备的接续服务SDK称为第二接续服务SDK,第二终端设备的接续服务管理器称为第二接续服务管理器,第二终端设备的通信服务管理器称为第二通信服务管理器,第二终端设备的鉴权服务管理器称为第二鉴权服务管理器。The connection application of the second terminal device is called the second connection application, the connection service SDK of the second terminal device is called the second connection service SDK, and the connection service manager of the second terminal device is called the second connection service manager. The communication service manager of the second terminal device is called the second communication service manager, and the authentication service manager of the second terminal device is called the second authentication service manager.

应理解,第一接续应用和第二接续应用为相同的应用,例如第一接续应用为备忘录,第二接续应用也为备忘录。It should be understood that the first follow-up application and the second follow-up application are the same application. For example, the first follow-up application is a memo, and the second follow-up application is also a memo.

该应用接续方法的实现过程可以分为三个阶段,第一阶段为接续应用的注册与绑定,第二阶段为接续通知的显示,第三阶段为接续数据的获取与加载。下面结合图5分别介绍各阶段。The implementation process of the application connection method can be divided into three phases. The first phase is the registration and binding of the connection application, the second phase is the display of the connection notification, and the third phase is the acquisition and loading of the connection data. Each stage is introduced below in conjunction with Figure 5.

第一阶段、接续应用的注册与绑定。The first stage is to continue the registration and binding of the application.

当第一终端设备的第一接续应用监控到一些用户行为时,第一接续应用可以通过调用第一接续服务SDK的注册接口接入接续服务。可以理解的是,第一接续应用在注册接续服务时可以携带第一接续应用的应用包名等信息。用户行为可以为用户点击第一接续应用图标启动应用,也可以为用户在第一接续应用中进行编辑等操作,还可以为用户在第一接续应用中点击播放按钮进行视频播放、音乐播放或其他媒体播放等操作,具体所监控的用户行为可以由接续应用进行自定义设置,本申请实施例在此不做限制。When the first connection application of the first terminal device monitors some user behaviors, the first connection application can access the connection service by calling the registration interface of the first connection service SDK. It can be understood that the first connection application may carry information such as the application package name of the first connection application when registering for the connection service. The user behavior can be for the user to click on the first connected application icon to start the application, or for the user to perform editing and other operations in the first connected application, or for the user to click the play button in the first connected application for video playback, music playback or other operations. Media playback and other operations, and the specific monitored user behavior can be customized by the subsequent application, and the embodiments of this application are not limited here.

可能的实现中,第一接续服务SDK可以通过第一接续服务管理器与其他功能管理器进行数据交互。示例性的,第一接续服务SDK可以向第一接续服务管理器发送绑定接续服务以及应用注册接续服务的请求,第一接续服务管理器在接收到第一接续服务SDK的请求后,可以与第一通信服务管理器交互进而绑定通信服务,在绑定成功后,第一接续服务管理器则可以接收到第一通信服务管理器回复的绑定成功的消息。In a possible implementation, the first connection service SDK can interact with other function managers through the first connection service manager. For example, the first connection service SDK may send a request to bind the connection service and apply the registration connection service to the first connection service manager. After receiving the request from the first connection service SDK, the first connection service manager may contact the first connection service manager. The first communication service manager interacts and binds the communication service. After the binding is successful, the first connection service manager can receive a binding success message replied by the first communication service manager.

进一步的,第一接续服务管理器可以通过调用第一鉴权服务管理器所提供的接口进行绑定鉴权服务以及应用鉴权。第一鉴权服务管理器在接收到鉴权请求后,可以通过与云端鉴权服务器进行数据交互完成第一接续应用的绑定与鉴权。可以理解的是,在绑定鉴权服务的过程中,云端鉴权服务器可以根据第一接续应用的包名获取用户标识(useridentification,UID),进而根据UID进行应用鉴权。当第一接续应用鉴权成功后,云端鉴权服务器中可以存储第一接续应用的图标等应用信息,并给第一接续服务管理器返回鉴权结果。Further, the first connection service manager can bind the authentication service and apply the authentication by calling the interface provided by the first authentication service manager. After receiving the authentication request, the first authentication service manager can complete the binding and authentication of the first connection application through data interaction with the cloud authentication server. It can be understood that during the process of binding the authentication service, the cloud authentication server can obtain the user identification (UID) based on the package name of the first connected application, and then perform application authentication based on the UID. When the first connection application is successfully authenticated, the cloud authentication server may store application information such as the icon of the first connection application and return the authentication result to the first connection service manager.

在第一接续服务管理器接收到第一接续应用鉴权结果后,会将该消息传递给第一接续应用。其中,鉴权结果可以包括鉴权成功和鉴权失败,如果第一接续应用接收到的结果为鉴权成功,则说明应用注册成功,可以继续执行应用接续的方法;如果第一接续应用接收到的结果为鉴权失败,则说明应用注册失败,不会继续执行应用接续的方法。After receiving the authentication result of the first connection application, the first connection service manager will deliver the message to the first connection application. The authentication results may include authentication success and authentication failure. If the result received by the first connection application is authentication success, it means that the application registration is successful, and the application connection method can continue to be executed; if the first connection application receives the authentication result If the result is authentication failure, it means that the application registration failed and the application connection method will not continue.

在第一终端设备的应用注册成功之后,第一通信服务管理器与第二通信服务管理器可以通过蓝牙或者WIFI进行自发现与自组网,以及进行账号鉴权,进一步的,第一通信服务管理器可以向第一接续服务管理器发送用于表示第二终端设备上线的信息。例如,用于表示第二终端设备上线的信息可以包括第二终端设备的设备标识(deviceidentification,DevID)等信息。After the application registration of the first terminal device is successful, the first communication service manager and the second communication service manager can perform self-discovery and self-organizing network through Bluetooth or WIFI, and perform account authentication. Further, the first communication service The manager may send information indicating that the second terminal device is online to the first connection service manager. For example, the information used to indicate that the second terminal device is online may include information such as a device identification (DeviceIdentification, DevID) of the second terminal device.

在第一接续服务管理器接收到第一通信服务管理器发送的用于表示第二终端设备上线的信息后,可以将第二终端设备的信息进行存储与管理,以便执行进行后续的应用数据接续的流程。After the first connection service manager receives the information sent by the first communication service manager to indicate that the second terminal device is online, it can store and manage the information of the second terminal device in order to perform subsequent application data connection. process.

第二阶段、接续通知的显示。The second stage is the display of the continuation notification.

当第一接续应用注册成功后,则可以周期性向第一接续服务管理器发送广播接续通知。其中,广播接续通知中可以携带第一接续应用的应用标识、接续策略,以及接续内容概要(如标题)等信息。第一接续服务管理器可以根据第一接续应用的接续策略确认可接续的设备。When the first connection application is successfully registered, broadcast connection notifications may be periodically sent to the first connection service manager. The broadcast connection notification may carry information such as the application identifier of the first connection application, the connection strategy, and a summary of the connection content (such as a title). The first connection service manager may confirm connectable devices according to the connection policy of the first connection application.

接续策略用于确定可接续的设备,各应用程序可以对应各自的接续策略。示例性地,应用程序的接续策略可以与下述的一项或多项字段有关:The connection policy is used to determine the devices that can be connected, and each application can correspond to its own connection policy. For example, the application's connection policy can be related to one or more of the following fields:

接续状态标识、应用程序支持的设备类型、第一接续应用的包名或进程名、第一接续应用的应用市场上架策略、浏览器启动参数、支持接续的最小版本等。The connection status identifier, the device type supported by the application, the package name or process name of the first connected application, the application market listing strategy of the first connected application, browser startup parameters, the minimum version that supports the connection, etc.

接续状态标识可以为用于标识接续策略状态的标志位。例如,标志位为0可以表示不支持接续,标志位为1可以表示应用接续,标志位为3可以表示浏览器接续。可以理解的是,标志位的具体值可以任意设置,能够区分不同的状态即可,本申请实施例不作具体限定。The connection status identifier may be a flag bit used to identify the connection policy status. For example, a flag bit of 0 may indicate that the connection is not supported, a flag bit of 1 may indicate an application connection, and a flag bit of 3 may indicate a browser connection. It is understood that the specific value of the flag bit may be set arbitrarily as long as it can distinguish different states, and the present application embodiment does not make specific limitations.

示例性地,当接续策略为包括应用程序所支持的设备类型时,例如,接续策略中包括第一接续应用可以支持在手机、平板电脑、电视、电脑等上实现接续服务,则第一接续服务管理器在确认第二终端设备为手机、平板电脑、电视或电脑等时,第一接续服务管理器可以指示第一通信服务管理器和第二通信服务管理器建立会话通路。Exemplarily, when the connection policy includes the device types supported by the application, for example, the connection policy includes that the first connection application can support the implementation of connection services on mobile phones, tablet computers, televisions, computers, etc., then when the first connection service manager confirms that the second terminal device is a mobile phone, tablet computer, television or computer, etc., the first connection service manager can instruct the first communication service manager and the second communication service manager to establish a session path.

若第一接续应用为Android平台的应用,则接续策略包括第一接续应用在Android平台的包名;若第一接续应用为windows平台的应用,则接续策略包括第一接续应用在windows平台的可接续进程名。应用市场上架策略可以为下列任一种:未上架、海外应用市场1、国内应用市场1、国内应用市场2、海外应用市场2。If the first connection application is an application on the Android platform, the connection policy includes the package name of the first connection application on the Android platform; if the first connection application is an application on the windows platform, the connection policy includes the package name of the first connection application on the windows platform. Continue process name. The application market listing strategy can be any of the following: not listed, overseas application market 1, domestic application market 1, domestic application market 2, overseas application market 2.

支持接续应用的最小版本可以用支持接续应用的最小版本号表示,用于表示第二接续应用可接续时的最小版本。示例性地,接续策略中包括第一接续应用可以支持最小版本号为A,或最小版本为B,则第一接续服务管理器在确认第二接续应用的版本号大于或等于A时,或者第二接续应用的版本大于或等于B时,第一接续服务管理器可以指示第一通信服务管理器和第二通信服务管理器建立会话通路。The minimum version of the application that supports the continuation can be represented by the minimum version number of the application that supports the continuation, which is used to represent the minimum version of the second continuation application that can be continuation. Exemplarily, the continuation policy includes that the first continuation application can support a minimum version number of A, or a minimum version of B. When the first continuation service manager confirms that the version number of the second continuation application is greater than or equal to A, or the version of the second continuation application is greater than or equal to B, the first continuation service manager can instruct the first communication service manager and the second communication service manager to establish a session path.

第一通信服务管理器和第二通信服务管理器之间则可以建立起会话通路,以便进行应用接续相关的消息传递和数据传输。A session path can be established between the first communication service manager and the second communication service manager to facilitate application connection-related messaging and data transmission.

会话通路建立成功后,第一通信服务管理器可以向第一接续服务管理器指示通道建立成功,第一接续服务管理器可以根据第一接续应用发送的广播接续通知,将携带有第一接续应用的包名以及接续内容概要等信息的广播接续通知给到第一通信服务管理器,第一通信服务管理器通过建立好的会话通路将第一接续应用的包名以及接续内容概要等信息发送给第二通信服务管理器,第二通信服务管理器进一步将第一接续应用的包名以及接续内容概要等信息上报到第二接续服务管理器。After the session path is successfully established, the first communication service manager may indicate to the first connection service manager that the channel is successfully established, and the first connection service manager may send the broadcast connection notification carrying the first connection application according to the broadcast connection notification sent by the first connection application. The broadcast connection notification of the package name and the summary of the connection content and other information is sent to the first communication service manager. The first communication service manager sends the package name of the first connection application and the summary of the connection content and other information to the first communication service manager through the established session path. The second communication service manager further reports information such as the package name of the first connection application and the connection content summary to the second connection service manager.

第二接续服务管理器可以解析第一接续应用的包名,并携带第一接续应用的包名信息与第二鉴权服务管理器进行绑定与鉴权,绑定与鉴权相关的实现同第一终端设备中的鉴权步骤类似,在此不再赘述。The second connection service manager can parse the package name of the first connection application, and carry the package name information of the first connection application for binding and authentication with the second authentication service manager. The implementation of binding and authentication is the same. The authentication steps in the first terminal device are similar and will not be described again.

当应用鉴权成功后,第二接续服务管理器可以通过任意可能的实现获取应用图标。When the application authentication is successful, the second connection service manager can obtain the application icon through any possible implementation.

一种可能的实现中,第二接续服务管理器可以根据得到的第一接续应用的包名等应用信息在第二终端设备中查找本地是否存储有第一接续应用的图标。若可以查找到第一接续应用的图标,则第二接续服务管理器可以通知桌面启动器使用第一接续应用的图标显示接续通知;若未查找到第一接续应用的图标,则第二接续服务管理器可以通过云端鉴权服务器获取第一接续应用的图标等相关信息。进一步的,在云端鉴权服务器将第一接续应用的图标发送给第二接续服务管理器时,则第二接续服务管理器可以在第二终端设备的本地存储第一接续应用的图标等相关信息,以及第二接续服务管理器可以通知桌面启动器在第二终端设备上显示接续通知。In one possible implementation, the second connection service manager may search whether the icon of the first connection application is stored locally in the second terminal device based on the obtained application information such as the package name of the first connection application. If the icon of the first connection application can be found, the second connection service manager can notify the desktop launcher to use the icon of the first connection application to display the connection notification; if the icon of the first connection application is not found, the second connection service manager The manager can obtain the icon of the first connected application and other related information through the cloud authentication server. Further, when the cloud authentication server sends the icon of the first connection application to the second connection service manager, the second connection service manager can store the icon of the first connection application and other related information locally on the second terminal device. , and the second connection service manager can notify the desktop launcher to display the connection notification on the second terminal device.

另一种可能的实现中,第二接续服务管理器可以通过云端鉴权服务器获取第一接续应用的图标等相关信息。In another possible implementation, the second connection service manager can obtain the icon and other related information of the first connection application through the cloud authentication server.

再一种可能的实现中,第二接续服务管理器可以在第二终端设备中查找与第一接续应用包名相同的第二接续应用。若可以查找到第二接续应用,则第二接续服务管理器可以通知桌面启动器使用第二终端设备本地存储的第二接续应用的图标显示接续通知;若未查找到第二接续应用,则第二接续服务管理器可以通过上述在第二终端设备的本地或者在云端鉴权服务器中查找应用信息的方式获取第一接续应用的图标等相关信息,并通知桌面启动器使用第一接续应用的图标显示接续通知。In another possible implementation, the second connection service manager may search the second terminal device for a second connection application with the same package name as the first connection application. If the second connection application can be found, the second connection service manager may notify the desktop launcher to display the connection notification using the icon of the second connection application stored locally on the second terminal device; if the second connection application is not found, the second connection application may be found. The second connection service manager can obtain the icon of the first connection application and other related information by searching the application information locally on the second terminal device or in the cloud authentication server, and notify the desktop launcher to use the icon of the first connection application. Display the connection notification.

可以理解的是,桌面启动器控制显示接续通知时,接续通知可以在第二终端设备的最近任务、任务栏、快捷窗口或者其他界面入口中显示,具体显示接续通知的方式,本申请实施例不做限制。接续通知可以以接续应用图标的形式显示,也可以通过应用名称、提示语或者其他形式显示,具体显示接续通知的形式,本申请实施例不做限制。It can be understood that when the desktop launcher controls the display of the connection notification, the connection notification can be displayed in the recent task, taskbar, shortcut window or other interface entry of the second terminal device. The specific method of displaying the connection notification is not specified in the embodiment of this application. Make restrictions. The connection notification may be displayed in the form of a connection application icon, or may be displayed in the form of an application name, a prompt, or other forms. The specific display format of the connection notification is not limited by the embodiments of this application.

第三阶段、接续数据的获取与加载。The third stage is the acquisition and loading of continued data.

当第二终端设备接收到用户点击接续应用图标的事件后,可能的实现中,若第二终端设备中未安装有第二接续应用,则第二终端设备中可以提示用户安装第二接续应用,具体的提示安装应用的方式,本申请实施例在此不做限制。若第二终端设备中已安装有第二接续应用,或基于提示完成第二接续应用的安装,则可以执行下述的步骤。After the second terminal device receives the event that the user clicks the connection application icon, in a possible implementation, if the second connection application is not installed in the second terminal device, the second terminal device may prompt the user to install the second connection application. The specific method of prompting for application installation is not limited in the embodiments of this application. If the second connection application is already installed in the second terminal device, or the installation of the second connection application is completed based on prompts, the following steps can be performed.

第二接续服务管理器可以拉起第二接续应用,并指示第二接续应用加载过渡动画效果,则第二接续应用可以启动并加载过渡动效,过渡动效例如可以包括“加载中…”等提示信息。进一步的,第二接续应用可以通过调用第二接续服务SDK的注册接口接入接续服务,可以理解的是,第二接续应用在注册接续服务时可以携带第二接续应用的应用包名等信息。The second connection service manager can launch the second connection application and instruct the second connection application to load the transition animation effect. Then the second connection application can start and load the transition animation effect. The transition animation effect can include, for example, "Loading..." etc. Prompt information. Further, the second connection application can access the connection service by calling the registration interface of the second connection service SDK. It can be understood that the second connection application can carry information such as the application package name of the second connection application when registering the connection service.

第二接续服务SDK可以向第二接续服务管理器发送绑定接续服务的请求,第二接续服务管理器在接收到绑定接续服务的请求后,可以向第二通信服务管理器发送绑定通信服务的请求。当第二通信服务管理器绑定成功后,第二通信服务管理器可以通过第二接续服务管理器向第二接续服务SDK发送绑定成功的消息。第二接续服务SDK在接收到绑定成功的消息后,向第二接续服务管理器发送注册接续服务的消息,第二接续服务管理器在注册成功后,可以将注册成功的消息通过第二接续服务SDK返回给第二接续应用。The second connection service SDK can send a request to bind the connection service to the second connection service manager. After receiving the request to bind the connection service, the second connection service manager can send a binding communication to the second communication service manager. Service requests. When the second communication service manager is successfully bound, the second communication service manager may send a binding success message to the second connection service SDK through the second connection service manager. After receiving the binding success message, the second connection service SDK sends a registration connection service message to the second connection service manager. After the second connection service manager successfully registers, the second connection service manager can send the registration success message through the second connection service manager. The service SDK is returned to the second connection application.

在第二接续应用启动过程中,第二接续服务管理器还可以通过第一终端设备与第二终端设备之间所建立的会话通路向第一接续服务管理器发送请求接续数据,当第一接续服务管理器接收到请求接续数据后,可以通过第一接续服务SDK将请求接续数据上报给第一接续应用,则第一接续应用可以将接续内容等相关接续数据进行打包和加密,并通过第一接续服务SDK将接续数据发送给第一接续服务管理器,第一接续服务管理器可以通过第一终端设备与第二终端设备之间所建立的会话通路将接续数据发送给第二接续服务管理器。During the startup process of the second connection application, the second connection service manager may also send connection request data to the first connection service manager through the session path established between the first terminal device and the second terminal device. When the first connection service manager After receiving the request connection data, the service manager can report the request connection data to the first connection application through the first connection service SDK. Then the first connection application can package and encrypt the connection content and other related connection data, and pass the first connection service SDK to the first connection application. The connection service SDK sends the connection data to the first connection service manager. The first connection service manager can send the connection data to the second connection service manager through the session path established between the first terminal device and the second terminal device. .

进一步的,第二接续服务管理器通过第二接续服务SDK向第二接续应用通知接续数据,第二接续应用在注册成功之后,可以加载接续数据并控制第二终端设备显示接续数据,以及向第一终端设备的第一接续应用传递用于指示接续成功的信息,进而第一接续应用可以执行退出第一接续应用的页面等流程。Further, the second connection service manager notifies the second connection application of the connection data through the second connection service SDK. After successful registration, the second connection application can load the connection data and control the second terminal device to display the connection data, and send the connection data to the second connection application. The first connection application of a terminal device transmits information indicating successful connection, and then the first connection application can execute processes such as exiting the page of the first connection application.

需要说明的是,在本申请实施例的应用接续方法中,如果第一接续应用已经注册和绑定过接续服务,则当第一终端设备的第一接续应用监控到一些用户行为时,第一接续应用则不需要重新注册和绑定接续服务,或理解为不需要执行上述的第一阶段,第一接续应用可以跳过第一阶段执行第二阶段和第三阶段等,不再赘述。It should be noted that in the application connection method of the embodiment of the present application, if the first connection application has been registered and bound to the connection service, when the first connection application of the first terminal device monitors some user behaviors, the first connection application The connection application does not need to re-register and bind the connection service, or it is understood that it does not need to execute the above-mentioned first phase. The first connection application can skip the first phase and execute the second and third phases, etc., which will not be described again.

上面对应用接续方法的总体流程进行了介绍,下面结合图6至图13,对对端设备上未安装应用的具体接续方法进行详细介绍。The overall process of the application connection method has been introduced above. The specific connection method for applications not installed on the peer device will be introduced in detail below with reference to Figures 6 to 13.

对于某一应用而言,应用接续需要源端设备和对端设备均安装有该应用。当对端设备未安装(或者卸载了)该应用时,源端设备发送该应用的应用接续请求,对端设备无法进行该应用的接续,影响用户体验。有鉴于此,本申请提供了一种应用接续方法,能够实现对端设备上未安装应用的接续,从而提高用户体验。For a certain application, application connection requires that both the source device and the peer device have the application installed. When the application is not installed (or uninstalled) on the peer device, the source device sends an application connection request for the application, and the peer device cannot connect the application, which affects the user experience. In view of this, this application provides an application connection method, which can realize the connection of applications that are not installed on the peer device, thereby improving user experience.

图6是本申请实施例提供的另一种应用接续方法600的示意性流程图。该方法600可应用于上述场景100,该方法所涉及的终端设备的硬件结构可以如图2所示,该方法所涉及的终端设备的软件结构可以如图3或图4所示。该方法600包括下列步骤:Figure 6 is a schematic flow chart of another application connection method 600 provided by an embodiment of the present application. The method 600 can be applied to the above scenario 100. The hardware structure of the terminal device involved in the method can be shown in Figure 2, and the software structure of the terminal device involved in the method can be shown in Figure 3 or Figure 4. The method 600 includes the following steps:

S601,第一终端设备向第二终端设备发送广播接续通知。S601: The first terminal device sends a broadcast connection notification to the second terminal device.

示例性地,当第一终端设备和第二终端设备处于开机状态,第一终端设备和第二终端设备登陆了相同的账号,且第一终端设备和第二终端设备处于同一局域网的情况下,用户在第一终端设备的第一接续应用上正在编辑文本或正在播放视频,第一终端设备向第二终端设备发送广播接续通知,广播接续通知用于表示第一终端设备的第一接续应用请求将数据接续到第二终端设备的第二接续应用上。For example, when the first terminal device and the second terminal device are powered on, the first terminal device and the second terminal device are logged in with the same account, and the first terminal device and the second terminal device are in the same local area network, The user is editing text or playing a video on the first connection application of the first terminal device. The first terminal device sends a broadcast connection notification to the second terminal device. The broadcast connection notification is used to represent the first connection application request of the first terminal device. Connect the data to the second connection application of the second terminal device.

可选地,广播接续通知包括:第一接续应用的应用标识(applicationidentification,APPID)和接续策略;其中,接续策略包括下列至少一种:接续状态标识、第一接续应用的包名或进程名、第一接续应用的应用市场上架策略以及支持接续的最小版本。Optionally, the broadcast connection notification includes: an application identification (APPID) of the first connection application and a connection policy; wherein the connection policy includes at least one of the following: a connection status identification, a package name or process name of the first connection application, an application market listing policy of the first connection application, and a minimum version supporting the connection.

S602,第二终端设备接收该广播接续通知,基于该广播接续通知,获取第二接续应用的图标,并以第二接续应用的图标的形式在桌面上显示触点按钮。S602: The second terminal device receives the broadcast connection notification, obtains the icon of the second connection application based on the broadcast connection notification, and displays a contact button on the desktop in the form of an icon of the second connection application.

具体地,在未安装第二接续应用的情况下,第二终端设备基于广播接续通知,获取第二接续应用的图标,并以图标的形式在桌面显示触点按钮,此时,第二接续应用还未被安装。Specifically, when the second connection application is not installed, the second terminal device obtains the icon of the second connection application based on the broadcast connection notification, and displays the contact button on the desktop in the form of an icon. At this time, the second connection application It has not been installed yet.

可选地,第二终端设备可通过云端服务器获取第二接续应用的图标。Optionally, the second terminal device can obtain the icon of the second connection application through the cloud server.

可选地,上述广播接续通知还包括第一接续应用的图标,第二终端设备可以从第一终端设备获取第一接续应用的图标,并将该图标作为第二接续应用的图标。Optionally, the above broadcast connection notification also includes an icon of the first connection application, and the second terminal device can obtain the icon of the first connection application from the first terminal device and use the icon as the icon of the second connection application.

S603,第二终端设备响应于用户对触点按钮的点击操作,显示第二接续应用的引导安装弹窗。S603: The second terminal device displays a pop-up window for guiding installation of a second follow-up application in response to a user clicking the touch button.

具体地,用户点击第二接续应用的触点按钮,第二终端设备判断是否安装了第二接续应用,由于第二终端设备未安装第二接续应用,第二终端设备显示第二接续应用的引导安装弹窗。Specifically, the user clicks the contact button of the second connection application, and the second terminal device determines whether the second connection application is installed. Since the second connection application is not installed on the second terminal device, the second terminal device displays the guidance of the second connection application. Install pop-ups.

S604,第二终端设备响应于用户对引导安装弹窗的操作,安装第二接续应用。S604: The second terminal device responds to the user's operation on the guidance installation pop-up window and installs the second connection application.

在一种可能的实现方式中,若第二接续应用为系统应用,用户在引导安装弹窗上点击恢复,第二终端设备响应于用户的操作,恢复安装第二接续应用。In a possible implementation, if the second connection application is a system application and the user clicks resume on the guidance installation pop-up window, the second terminal device resumes installation of the second connection application in response to the user's operation.

在另一种可能的实现方式中,若第二接续应用为第三方应用,用户在引导安装弹窗上点击下载,第二终端设备响应于用户的操作,跳转到应用市场页面下载安装。In another possible implementation, if the second connected application is a third-party application, the user clicks download on the guidance installation pop-up window, and the second terminal device responds to the user's operation and jumps to the application market page to download and install.

应理解,上述安装第二接续应用是针对第二终端设备未安装有第二接续应用的情况。It should be understood that the above installation of the second connection application is for the case where the second terminal device does not have the second connection application installed.

还应理解,在第二终端设备上安装有第二接续应用,且第二接续应用的版本大于或等于第二接续应用的支持接续的最小版本的情况下,本申请实施例认为第二终端设备安装了第二接续应用,否则,认为第二终端设备未安装第二接续应用。例如,第二接续应用的支持接续的最小版本为v3.0,若第二终端设备安装了第二接续应用的v2.0,无法实现应用接续,则认为第二终端设备未安装第二接续应用,若第二终端设备安装了第二接续应用的v4.0,则认为第二终端设备安装了第二接续应用。It should also be understood that, if the second continuation application is installed on the second terminal device, and the version of the second continuation application is greater than or equal to the minimum version of the second continuation application that supports continuation, the embodiment of the present application considers that the second terminal device has installed the second continuation application, otherwise, the second terminal device is considered not to have installed the second continuation application. For example, if the minimum version of the second continuation application that supports continuation is v3.0, if the second terminal device has installed v2.0 of the second continuation application and application continuation cannot be achieved, then the second terminal device is considered not to have installed the second continuation application, and if the second terminal device has installed v4.0 of the second continuation application, then the second terminal device is considered to have installed the second continuation application.

S605,第二终端设备向第一终端设备发送接续数据请求消息。S605: The second terminal device sends a data connection request message to the first terminal device.

具体地,在第二终端设备完成第二接续应用的安装之后,第二终端设备向第一终端设备发送接续数据请求消息。Specifically, after the second terminal device completes the installation of the second connection application, the second terminal device sends a connection data request message to the first terminal device.

S606,第一终端设备向第二终端设备发送第一接续应用的接续数据。S606: The first terminal device sends the connection data of the first connection application to the second terminal device.

S607,第二终端设备接收接续数据,并显示接续数据。S607: The second terminal device receives the connection data and displays the connection data.

具体地,第二终端设备接收并显示接续数据,完成应用的接续。Specifically, the second terminal device receives and displays the connection data to complete the application connection.

本申请实施例的应用接续方法,在第二终端设备(即对端设备)未安装第二接续应用的情况下,通过第一终端设备(即源端设备)向对端设备发送广播接续通知,对端设备基于该广播接续通知,获取第二接续应用的图标,并以该图标的形式显示触点按钮,对端设备响应于用户对该触点按钮的点击操作,安装第二接续应用,能够实现对端设备上未安装应用的接续,从而提高用户体验。The application continuation method of the embodiment of the present application sends a broadcast continuation notification to the opposite device through the first terminal device (i.e., the source device) when the second continuation application is not installed on the second terminal device (i.e., the opposite device). The opposite device obtains the icon of the second continuation application based on the broadcast continuation notification and displays a contact button in the form of the icon. The opposite device installs the second continuation application in response to the user clicking the contact button, which can realize the continuation of the application that is not installed on the opposite device, thereby improving the user experience.

下面,以第一终端设备(即源端设备)为平板电脑、第二终端设备(即对端设备)为手机,且接续应用为系统应用(例如备忘录)为例,进行示例性说明。Below, an exemplary explanation will be given, taking the first terminal device (ie, the source device) as a tablet, the second terminal device (ie, the peer device) as a mobile phone, and the connected application as a system application (eg, memo).

图7是本申请实施例提供的源端设备的一种界面示意图,用于介绍平板电脑作为源端设备响应用户操作的界面。在图7所示的界面中,用户正在备忘录中编辑文本,平板电脑相应地显示用户所编辑的文本,光标的位置随用户编辑的位置而改变。由于平板电脑正在备忘录文本编辑中,可向手机发送备忘录接续请求。Figure 7 is a schematic diagram of an interface of a source device provided by an embodiment of the present application, used to introduce a tablet computer as an interface for the source device to respond to user operations. In the interface shown in Figure 7, the user is editing text in the memo, the tablet computer displays the text edited by the user accordingly, and the position of the cursor changes with the position edited by the user. Since the tablet is editing the memo text, a memo connection request can be sent to the mobile phone.

图8是本申请实施例提供的对端设备的一种界面变化示意图,用于介绍手机作为对端设备响应用户操作的界面变化。在图8的界面a中,由于手机接收到平板电脑发送的备忘录接续请求,在最近任务栏上显示备忘录的触点按钮,该触点按钮显示备忘录的图标和标题“一同去远方”。此外,该触点按钮上还显示有亮点(如图8的界面a中的黑色圆点)和来自“平板”,以提示用户来自平板电脑、且标题“一同去远方”的备忘录想要与手机的备忘录接续。用户点击上述触点按钮,手机响应于用户的点击触点按钮操作,显示图8的界面b。在图8的界面b中,手机桌面上显示有引导安装弹窗,用户点击引导安装弹窗中的“恢复”,手机响应于用户的点击恢复操作,恢复安装应用,显示图8的界面c。在图8的界面c中,显示备忘录的页面,并在该备忘录页面上显示“正在加载接续内容”,内容加载之后,显示图8的界面d。在图8的界面d中,显示平板电脑相同的备忘录内容及相同的光标位置。FIG8 is a schematic diagram of an interface change of a peer device provided in an embodiment of the present application, which is used to introduce the interface change of a mobile phone as a peer device in response to a user operation. In interface a of FIG8, since the mobile phone receives a memo continuation request sent by a tablet computer, a contact button of the memo is displayed on the recent taskbar, and the contact button displays the icon of the memo and the title "Let's go far away together". In addition, a bright spot (such as a black dot in interface a of FIG8) and "Tablet" are also displayed on the contact button to prompt the user that the memo from the tablet computer and the title "Let's go far away together" wants to be continued with the memo of the mobile phone. The user clicks the above-mentioned contact button, and the mobile phone responds to the user's click on the contact button operation and displays interface b of FIG8. In interface b of FIG8, a guide installation pop-up window is displayed on the mobile phone desktop. The user clicks "Restore" in the guide installation pop-up window. The mobile phone responds to the user's click restore operation, restores the installation application, and displays interface c of FIG8. In interface c of FIG8, the memo page is displayed, and "Loading the continuation content" is displayed on the memo page. After the content is loaded, interface d of FIG8 is displayed. In interface d of FIG. 8 , the same memo content and the same cursor position are displayed on the tablet computer.

上面结合图7和图8介绍了接续应用为系统应用时的应用接续界面,下面结合图9和图10介绍接续应用为第三方应用(例如WPS Office)时的应用接续界面。The application connection interface when the connected application is a system application is introduced above with reference to Figures 7 and 8. The application connection interface when the connected application is a third-party application (such as WPS Office) is introduced below with reference to Figures 9 and 10.

图9是本申请实施例提供的源端设备的另一种界面示意图,用于介绍平板电脑作为源端设备响应用户操作的界面。在图9的界面中,平板电脑响应于用户的操作,打开WPSOffice,由于WPS Office已经打开,可向手机发送WPS Office接续请求。FIG. 9 is another schematic diagram of an interface of a source device provided by an embodiment of the present application, which is used to introduce a tablet computer as an interface for the source device to respond to user operations. In the interface of Figure 9, the tablet computer opens WPS Office in response to the user's operation. Since WPS Office is already open, it can send a WPS Office connection request to the mobile phone.

图10是本申请实施例提供的对端设备的另一种界面变化示意图,用于介绍手机作为对端设备响应于用户操作的界面变化。在图10的界面a中,由于手机接收到平板电脑发送的WPS Office接续请求,在最近任务栏显示WPS Office的触点按钮,该触点按钮显示WPSOffice的图标和标题“AI创造力培养未来”。此外,该触点按钮上还显示有亮点(如图9的界面a中的黑色圆点)和来自“平板”,以提示用户来自平板电脑、且标题“AI创造力培养未来”的WPS Office想要与手机的WPS Office接续。用户点击上述触点按钮,手机响应于用户的点击触点按钮操作,显示图10的界面b。在图10的界面b中,手机桌面显示引导安装弹窗,用户点击该引导安装弹窗中的“前往下载”按钮,手机响应于用户的点击“前往下载”按钮操作,显示图10的界面c。在图10的界面c中,显示应用市场中的WPS Office页面,并在该页面上显示有“安装”按钮,用户点击“安装”按钮,手机响应于用户的点击“安装”按钮操作,显示图10的界面d。在图10的界面d中,桌面上显示WPS Office的触点按钮,用户点击该触点按钮,手机响应于用户的操作,显示图10的界面e。在图10的界面e中,显示WPS Office主页,并显示“正在加载接续内容”,内容加载之后,显示图10的界面f。在图10的界面f中,显示与平板电脑相同的WPS Office页面。Figure 10 is a schematic diagram of another interface change of the peer device provided by an embodiment of the present application, used to introduce the interface changes of the mobile phone as the peer device in response to user operations. In interface a in Figure 10, since the mobile phone receives the WPS Office connection request sent by the tablet, the contact button of WPS Office is displayed in the recent taskbar. The contact button displays the icon of WPS Office and the title "AI Creativity Cultivates the Future" . In addition, the contact button also displays a bright spot (the black dot in interface a in Figure 9) and "from tablet" to remind the user that the WPS Office idea is from a tablet and titled "AI Creativity Cultivates the Future" To connect with the WPS Office of the mobile phone. The user clicks the above-mentioned contact button, and the mobile phone displays the interface b in Figure 10 in response to the user's operation of clicking the contact button. In interface b in Figure 10, the mobile phone desktop displays a guidance installation pop-up window. The user clicks the "Go to Download" button in the guidance installation pop-up window. In response to the user's click on the "Go to Download" button, the mobile phone displays the interface c in Figure 10. . In interface c in Figure 10, the WPS Office page in the application market is displayed, and an "Install" button is displayed on the page. The user clicks the "Install" button, and the mobile phone responds to the user's click on the "Install" button, and displays the image shown in Figure 10. 10 interface d. In interface d in Figure 10, the WPS Office contact button is displayed on the desktop. The user clicks the contact button, and the mobile phone responds to the user's operation by displaying the interface e in Figure 10. In the interface e in Figure 10, the WPS Office homepage is displayed, and "Loading continued content" is displayed. After the content is loaded, the interface f in Figure 10 is displayed. In interface f in Figure 10, the same WPS Office page as on the tablet is displayed.

应理解,接续应用的触点按钮可以在最近任务栏,也可以在桌面上,本申请实施例对此不作限定。It should be understood that the contact button for connecting the application can be on the recent taskbar or on the desktop, which is not limited in the embodiment of the present application.

下面,结合图11介绍终端设备的接续服务管理器的内部结构。Next, the internal structure of the connection service manager of the terminal device is introduced in conjunction with FIG. 11 .

图11是本申请实施例提供的终端设备的接续服务管理器的结构框图。终端设备的接续服务管理器包括:接续广播管理器、文件传输管理器、应用下载管理器以及接续触点管理器。其中,接续广播管理器用于管理多设备或同一个设备在多窗口场景下多个接续广播的发送。文件传输管理器用于传输图片、文本等数据。应用下载管理器用于管理已下载的应用以及对未安装应用进行引导下载。接续触点管理器用于确定应用的安装和版本信息。11 is a block diagram of the connection service manager of a terminal device provided in an embodiment of the present application. The connection service manager of the terminal device includes: a connection broadcast manager, a file transfer manager, an application download manager, and a connection contact manager. Among them, the connection broadcast manager is used to manage the sending of multiple connection broadcasts of multiple devices or the same device in a multi-window scenario. The file transfer manager is used to transmit data such as pictures and text. The application download manager is used to manage downloaded applications and guide the download of applications that are not installed. The connection contact manager is used to determine the installation and version information of the application.

为了便于描述,后续将第二接续服务管理器中的接续广播管理器称为第二接续广播管理器,将第二接续服务管理器中的文件传输管理器称为第二文件传输管理器,将第二接续服务管理器中的应用下载管理器称为第二应用下载管理器,将第二接续服务管理器中的接续触点管理器称为第二接续触点管理器。For the sake of ease of description, the connection broadcast manager in the second connection service manager will be referred to as the second connection broadcast manager, the file transfer manager in the second connection service manager will be referred to as the second file transfer manager, the application download manager in the second connection service manager will be referred to as the second application download manager, and the connection contact manager in the second connection service manager will be referred to as the second connection contact manager.

下面,以图11所示的内部器件为例,对应用接续方法的具体流程作进一步说明。Next, taking the internal device shown in Figure 11 as an example, the specific process of applying the connection method will be further explained.

图12是本申请实施例提供的另一种应用接续方法的1200的示意性流程图。该方法1200可应用于上述场景100,该方法1200所涉及的终端设备的硬件结构如图2所示,软件结构如图3或图4所示。该方法1200包括下列步骤:Figure 12 is a schematic flow chart of another application connection method 1200 provided by the embodiment of the present application. This method 1200 can be applied to the above scenario 100. The hardware structure of the terminal device involved in this method 1200 is shown in Figure 2, and the software structure is shown in Figure 3 or Figure 4. The method 1200 includes the following steps:

S1201,用户在第一终端设备的第一接续应用中正在编辑文本或正在播放视频,第一终端设备的第一接续应用向第一终端设备的接续服务管理器发送广播接续通知,该广播接续通知包括:第一接续应用的应用标识和接续策略;其中,接续策略包括下列至少一种:接续状态标识、第一接续应用的包名或进程名、第一接续应用的应用市场上架策略以及支持接续的最小版本。S1201. The user is editing text or playing a video in the first connection application of the first terminal device. The first connection application of the first terminal device sends a broadcast connection notification to the connection service manager of the first terminal device. The broadcast connection notification Including: the application identification and connection strategy of the first connection application; wherein the connection strategy includes at least one of the following: connection status identification, package name or process name of the first connection application, application market listing strategy of the first connection application, and support for connection minimal version.

示例性地,广播接续通知携带的消息体如下:For example, the message body carried by the broadcast connection notification is as follows:

{{

"PolicyDescription":"0:mute,或者,1:AppHandoff","PolicyDescription":"0:mute,or,1:AppHandoff",

"Policy":1,"Policy":1,

"Package":"com.phone.app1","Package":"com.phone.app1",

"AppId":220482320,"AppId":220482320,

"AppMarketDescription":"0:未上架,1:海外应用市场1,2:国内应用市场1,3:国内应用市场2,4:海外应用市场2","AppMarketDescription": "0: Not on the shelves, 1: Overseas App Market 1, 2: Domestic App Market 1, 3: Domestic App Market 2, 4: Overseas App Market 2",

"AppMarket":[1,2],"AppMarket":[1,2],

"MinVersionCode":"110100121","MinVersionCode":"110100121",

"MinVersion":"11.1.0.121""MinVersion":"11.1.0.121"

}}

S1202,第一终端设备的接续服务管理器接收到广播接续通知后,向第一终端设备的通信服务管理器发送该广播接续通知。S1202: After receiving the broadcast connection notification, the connection service manager of the first terminal device sends the broadcast connection notification to the communication service manager of the first terminal device.

S1203,第一终端设备的通信服务管理器接收到广播接续通知后,向第二终端设备的通信服务管理器发送该广播接续通知。S1203: After receiving the broadcast connection notification, the communication service manager of the first terminal device sends the broadcast connection notification to the communication service manager of the second terminal device.

S1204,第二终端设备的通信服务管理器接收到广播接续通知后,向第二终端设备的接续广播管理器发送上述广播接续通知。S1204: After receiving the broadcast connection notification, the communication service manager of the second terminal device sends the broadcast connection notification to the broadcast connection manager of the second terminal device.

S1205,第二终端设备的接续广播管理器接收到广播接续通知后,获取第二接续应用的图标。S1205: After receiving the broadcast connection notification, the broadcast connection manager of the second terminal device obtains the icon of the second connection application.

S1206,第二终端设备的接续广播管理器向第二终端设备的桌面启动器发送第二接续应用的图标。S1206: The connection broadcast manager of the second terminal device sends the icon of the second connection application to the desktop launcher of the second terminal device.

S1207,第二终端设备的桌面启动器接收第二接续应用的图标,并以图标的形式显示第二接续应用的接续触点按钮。S1207: The desktop launcher of the second terminal device receives the icon of the second connection application and displays the connection contact button of the second connection application in the form of an icon.

S1208,第二终端设备的桌面启动器响应于用户对触点按钮的点击操作,向第二终端设备的接续触点管理器发送第二接续应用的签名和包名信息。S1208: In response to the user's click operation on the contact button, the desktop launcher of the second terminal device sends the signature and package name information of the second connection application to the contact point manager of the second terminal device.

S1209,第二终端设备的接续触点管理器接收上述签名和包名信息,通过判断是否安装第二接续应用或第二接续应用的版本是否支持接续,来确定第二接续应用是否可接续。S1209: The connection contact manager of the second terminal device receives the signature and package name information, and determines whether the second connection application can be connected by judging whether the second connection application is installed or whether the version of the second connection application supports connection.

在第二接续应用已安装和版本支持接续的情况下,第二终端设备直接跳转到接续界面。When the second connection application has been installed and the version supports connection, the second terminal device directly jumps to the connection interface.

应理解,在第二终端设备上安装有第二接续应用,且第二接续应用的版本大于或等于第二接续应用的支持接续的最小版本的情况下,本申请实施例认为第二终端设备安装了第二接续应用,否则,认为第二终端设备未安装第二接续应用。例如,第二接续应用的支持接续的最小版本为v3.0,若第二终端设备安装了第二接续应用的v2.0,无法实现应用接续,则认为第二终端设备未安装第二接续应用,若第二终端设备安装了第二接续应用的v4.0,则认为第二终端设备安装了第二接续应用。It should be understood that when the second connection application is installed on the second terminal device and the version of the second connection application is greater than or equal to the minimum version of the second connection application that supports connection, the embodiment of the present application considers that the second terminal device is installed The second connection application is installed, otherwise, it is considered that the second terminal device does not have the second connection application installed. For example, the minimum version of the second connection application that supports connection is v3.0. If the second terminal device has v2.0 of the second connection application installed and application connection cannot be realized, it is considered that the second terminal device does not have the second connection application installed. , if the second terminal device has v4.0 of the second connection application installed, it is considered that the second terminal device has installed the second connection application.

S1210,在第二接续应用未安装或版本不支持接续的情况下,第二终端设备的接续触点管理器向第二终端设备的应用下载管理器发送第二接续应用的签名和包名信息。S1210: When the second connection application is not installed or the version does not support connection, the connection contact manager of the second terminal device sends the signature and package name information of the second connection application to the application download manager of the second terminal device.

S1211,第二终端设备的应用下载管理器接收第二接续应用的签名和包名信息,通过查看已下载的应用和已下载应用对应的版本信息,来校验上述第二接续应用的安装和版本信息。S1211. The application download manager of the second terminal device receives the signature and package name information of the second connection application, and verifies the installation and version of the above-mentioned second connection application by checking the downloaded application and the version information corresponding to the downloaded application. information.

S1212,在未安装第二接续应用或版本不支持接续的情况下,第二终端设备的应用下载管理器拉起第二终端设备的应用安装对话框,对第二接续应用进行引导安装。S1212. When the second connection application is not installed or the version does not support connection, the application download manager of the second terminal device brings up the application installation dialog box of the second terminal device to guide the installation of the second connection application.

S1213,第二终端设备的应用安装对话框判断第二接续应用的类型,第二接续应用的类型为系统应用或者第三方应用。S1213. The application installation dialog box of the second terminal device determines the type of the second connected application. The type of the second connected application is a system application or a third-party application.

在第二接续应用为系统应用的情况下,第二终端设备执行S1214~S1224。When the second connection application is a system application, the second terminal device executes S1214 to S1224.

S1214,第二终端设备的应用安装对话框向第二终端设备的管理系统发送调用消息。S1214. The application installation dialog box of the second terminal device sends a calling message to the management system of the second terminal device.

可选地,第二终端设备可以先显示引导安装弹窗,响应于用户的点击恢复操作,再调用第二终端设备的管理系统。Optionally, the second terminal device may first display a pop-up window for guiding installation, and then call the management system of the second terminal device in response to the user's click-to-restore operation.

S1215,第二终端设备的管理系统接收到调用消息后,恢复安装第二接续应用。S1215: After receiving the call message, the management system of the second terminal device resumes installing the second follow-up application.

S1216,第二接续应用安装完成后,第二终端设备的管理系统向第二终端设备的接续广播管理器发送第一安装完成消息,第一安装完成消息用于表示第二接续应用已安装完成。S1216. After the installation of the second connection application is completed, the management system of the second terminal device sends a first installation completion message to the connection broadcast manager of the second terminal device. The first installation completion message is used to indicate that the installation of the second connection application has been completed.

S1217,第二终端设备的接续广播管理器接收到第一安装完成消息后,向第二终端设备的通信服务管理器发送第一接续数据请求消息,请求接续第一接续应用的数据。S1217: After receiving the first installation completion message, the connection broadcast manager of the second terminal device sends a first connection data request message to the communication service manager of the second terminal device, requesting the connection of data of the first connection application.

S1218,第二终端设备的通信服务管理器接收到第一接续请求消息后,向第一终端设备的通信服务管理器发送第一接续请求消息。S1218: After receiving the first connection request message, the communication service manager of the second terminal device sends the first connection request message to the communication service manager of the first terminal device.

S1219,第一终端设备的通信服务管理器接收到第一接续请求消息后,向第一终端设备的接续服务管理器发送第一接续请求消息。S1219: After receiving the first connection request message, the communication service manager of the first terminal device sends the first connection request message to the connection service manager of the first terminal device.

S1220,第一终端设备的接续服务管理器接收到第一接续请求消息后,向第一终端设备的通信服务管理器发送第一接续应用的第一接续数据,第一接续数据为第一接续应用的接续数据。S1220. After receiving the first connection request message, the connection service manager of the first terminal device sends the first connection data of the first connection application to the communication service manager of the first terminal device. The first connection data is the first connection application. Continuation data.

S1221,第一终端设备的通信服务管理器接收到第一接续数据后,向第二终端设备的通信服务管理器发送第一接续数据。S1221: After receiving the first connection data, the communication service manager of the first terminal device sends the first connection data to the communication service manager of the second terminal device.

S1222,第二终端设备的通信服务管理器接收到第一接续数据后,向第二终端设备的文件传输管理器发送第一接续数据。S1222: After receiving the first connection data, the communication service manager of the second terminal device sends the first connection data to the file transfer manager of the second terminal device.

S1223,第二终端设备的文件传输管理器接收到第一接续数据后,向第二终端设备的系统应用发送第一接续数据。S1223: After receiving the first connection data, the file transfer manager of the second terminal device sends the first connection data to the system application of the second terminal device.

S1224,第二终端设备的系统应用接收到第一接续数据后,加载并显示第一接续数据,第二接续应用完成接续。S1224. After receiving the first connection data, the system application of the second terminal device loads and displays the first connection data, and the second connection application completes the connection.

在第二接续应用为第三方应用的情况下,第二终端设备执行S1225~S1237。When the second connected application is a third-party application, the second terminal device executes S1225 to S1237.

S1225,在第二接续应用为第三方应用的情况下,响应于用户的点击下载操作,第二终端设备的应用安装对话框界面跳转到第二终端设备的应用市场界面。S1225, when the second connected application is a third-party application, in response to the user's click download operation, the application installation dialog interface of the second terminal device jumps to the application market interface of the second terminal device.

S1226,在第二终端设备的应用市场界面,响应于用户的点击安装操作,第二终端设备下载安装第三方应用。S1226. In the application market interface of the second terminal device, in response to the user's click installation operation, the second terminal device downloads and installs the third-party application.

S1227,第二接续应用安装完成后,第二终端设备的应用市场向第二终端设备的接续广播管理器发送第二安装完成消息,第二安装完成消息用于表示第三方应用已完成安装。S1227. After the installation of the second connection application is completed, the application market of the second terminal device sends a second installation completion message to the connection broadcast manager of the second terminal device. The second installation completion message is used to indicate that the third-party application has been installed.

S1228,第二终端设备的接续广播管理器接收到第二安装完成消息后,向第二终端设备的桌面启动器发送第二安装完成消息。S1228: After receiving the second installation completion message, the connection broadcast manager of the second terminal device sends the second installation completion message to the desktop launcher of the second terminal device.

S1229,第二终端设备的桌面启动器收到第二安装完成消息后,显示第三方应用的触点按钮。S1229: After receiving the second installation completion message, the desktop launcher of the second terminal device displays the contact button of the third-party application.

S1230,第二终端设备的桌面启动器响应于用户的点击触点按钮操作,向第二终端设备的接续广播管理器发送第二接续数据请求消息,请求接续第一接续应用的数据。S1230. In response to the user's click button operation, the desktop launcher of the second terminal device sends a second connection data request message to the connection broadcast manager of the second terminal device, requesting the connection of data of the first connection application.

在另一种可能的实现方式中,第二终端设备的接续广播管理器接收到第二安装完成消息后,可以直接向第二终端设备的通信服务管理器发送第二接续数据请求消息,可以不需要用户点击触点按钮。In another possible implementation, after receiving the second installation completion message, the connection broadcast manager of the second terminal device can directly send the second connection data request message to the communication service manager of the second terminal device. Requires the user to click a touch button.

S1231,第二终端设备的接续广播管理器接收到第二接续数据请求消息后,向第二终端设备的通信服务管理器发送第二接续数据请求消息。S1231: After receiving the second connection data request message, the connection broadcast manager of the second terminal device sends the second connection data request message to the communication service manager of the second terminal device.

S1232,第二终端设备的通信服务管理器接收到第二接续数据请求消息后,向第一终端设备的通信服务管理器发送第二接续数据请求消息。S1232: After receiving the second connection data request message, the communication service manager of the second terminal device sends the second connection data request message to the communication service manager of the first terminal device.

S1233,第一终端设备的通信服务管理器接收到第二接续数据请求消息后,向第一终端设备的接续服务管理器发送第二接续数据请求消息。S1233: After receiving the second connection data request message, the communication service manager of the first terminal device sends the second connection data request message to the connection service manager of the first terminal device.

S1234,第一终端设备的接续服务管理器接收到第二接续数据请求消息后,向第一终端设备的通信服务管理器发送第一接续应用的第二接续数据,第二接续数据为第一终端设备上第三方应用的接续数据。S1234. After receiving the second connection data request message, the connection service manager of the first terminal device sends the second connection data of the first connection application to the communication service manager of the first terminal device. The second connection data is the first terminal Connection data for third-party applications on the device.

S1235,第一终端设备的通信服务管理器接收到第二接续数据后,向第二终端设备的通信服务管理器发送第二接续数据。S1235: After receiving the second connection data, the communication service manager of the first terminal device sends the second connection data to the communication service manager of the second terminal device.

S1236,第二终端设备的通信服务管理器接收到第二接续数据后,向第二终端设备的文件传输管理器发送第二接续数据。S1236: After receiving the second connection data, the communication service manager of the second terminal device sends the second connection data to the file transfer manager of the second terminal device.

S1237,第二终端设备的文件传输管理器接收到第二接续数据后,向第二终端设备的第三方应用发送第二接续数据。S1237: After receiving the second connection data, the file transfer manager of the second terminal device sends the second connection data to the third-party application of the second terminal device.

S1238,第二终端设备的第三方应用接收到第二接续数据后,加载并显示第二接续数据,第二接续应用完成接续。S1238, after receiving the second connection data, the third-party application of the second terminal device loads and displays the second connection data, and the second connection application completes the connection.

本申请实施例的应用接续方法,在第二终端设备未安装系统应用或第三方应用的情况下,第二终端设备引导用户安装系统应用或第三方应用,并在安装完成后向第一终端设备请求接续数据,能够实现对端设备上未安装应用的接续,从而提高用户体验。In the application connection method of the embodiment of the present application, when the second terminal device does not install the system application or the third-party application, the second terminal device guides the user to install the system application or the third-party application, and after the installation is completed, the second terminal device Requesting connection data can realize the connection of applications that are not installed on the peer device, thus improving the user experience.

在一种可能的实现方式中,第二终端设备可以从第一终端设备处获取第二接续应用的图标。具体地,上述S1205中的广播接续通知还包括第一接续应用的图标,第二终端设备的接续广播管理器可以从广播接续通知中获取第一接续应用的图标,并将该第一接续应用的图标作为第二接续应用的图标发送给桌面启动器。In a possible implementation, the second terminal device can obtain the icon of the second connection application from the first terminal device. Specifically, the broadcast connection notification in S1205 above also includes the icon of the first connection application. The broadcast connection manager of the second terminal device can obtain the icon of the first connection application from the broadcast connection notification and add the icon of the first connection application to the broadcast connection notification. The icon is sent to the desktop launcher as the icon of the second connected application.

在另一种可能的实现方式中,第二终端设备可以从云端服务器处获取第二接续应用的图标。下面,结合图13对第二终端设备从云端服务器处获取第二接续应用的图标的获取方法进行详细介绍。In another possible implementation, the second terminal device can obtain the icon of the second connection application from the cloud server. Next, the method for obtaining the icon of the second connection application from the cloud server by the second terminal device will be introduced in detail with reference to FIG. 13 .

图13是本申请实施例提供的一种第二接续应用的图标的获取方法1300的示意性流程图。该方法1300包括下列步骤:FIG. 13 is a schematic flowchart of a method 1300 for obtaining an icon of a second connected application provided by an embodiment of the present application. The method 1300 includes the following steps:

S1301,第二终端设备的接续广播管理器判断本地是否安装有第二接续应用。S1301. The connection broadcast manager of the second terminal device determines whether the second connection application is installed locally.

S1302,在本地未安装第二接续应用的情况下,第二终端设备的接续广播管理器向云端服务器发送第二接续应用的包名和签名信息。S1302: When the second connection application is not installed locally, the connection broadcast manager of the second terminal device sends the package name and signature information of the second connection application to the cloud server.

S1303,云端服务器接收到第二接续应用的包名和签名信息后,对第二接续应用做白名单校验。S1303: After receiving the package name and signature information of the second follow-up application, the cloud server performs a whitelist check on the second follow-up application.

S1304,第二接续应用的白名单校验通过后,云端服务器将第二接续应用的包名和图标信息发送给第二终端设备的接续广播管理器。S1304. After the whitelist verification of the second connection application passes, the cloud server sends the package name and icon information of the second connection application to the connection broadcast manager of the second terminal device.

应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.

上文结合图6至图13,详细描述了本申请实施例的应用接续方法,下面将结合图14和图15,详细描述本申请实施例的终端设备。The above, in combination with Figures 6 to 13, describes in detail the application continuation method of an embodiment of the present application. The following will describe in detail the terminal device of an embodiment of the present application in combination with Figures 14 and 15.

图14是本申请实施例提供的终端设备1400,该终端设备1400包括:处理模块1401和收发模块1402。该终端设备1400用于实现上述方法600中第二终端设备对应的步骤。Figure 14 is a terminal device 1400 provided by an embodiment of the present application. The terminal device 1400 includes: a processing module 1401 and a transceiver module 1402. The terminal device 1400 is used to implement the steps corresponding to the second terminal device in the above method 600.

收发模块1402用于:接收来自第一终端设备的广播接续通知,基于该广播接续通知,获取第二接续应用的图标,上述广播接续通知用于请求将第一终端设备的第一接续应用接续至第二终端设备;处理模块1401用于:以第二接续应用的图标的形式显示触点按钮;响应于用户对上述触点按钮的点击操作,显示第二接续应用的引导安装弹窗;响应于用户对上述引导安装弹窗的操作,安装所述第二接续应用;收发模块1402还用于:向第一终端设备发送接续数据请求消息;接收来自第一终端设备的第一接续应用的接续数据;处理模块1401还用于:显示上述接续数据。The transceiver module 1402 is configured to: receive a broadcast connection notification from the first terminal device, and obtain an icon of the second connection application based on the broadcast connection notification. The above broadcast connection notification is used to request that the first connection application of the first terminal device be connected to The second terminal device; the processing module 1401 is configured to: display a contact button in the form of an icon of the second connection application; in response to the user's click operation on the above-mentioned contact button, display a guide installation pop-up window of the second connection application; in response to The user operates the above-mentioned guided installation pop-up window to install the second connection application; the transceiver module 1402 is also used to: send a connection data request message to the first terminal device; receive the connection data from the first connection application of the first terminal device ; The processing module 1401 is also used to: display the above-mentioned connection data.

可选地,上述广播接续通知包括:第一接续应用的应用标识和接续策略;其中,接续策略包括下列至少一种:接续状态标识、第一接续应用的包名或进程名、第一接续应用的应用市场上架策略以及支持接续的最小版本。Optionally, the above-mentioned broadcast connection notification includes: an application identifier and a connection policy of the first connection application; wherein the connection policy includes at least one of the following: a connection status identifier, a package name or process name of the first connection application, an application market listing policy of the first connection application, and a minimum version supporting the connection.

可选地,处理模块1401还用于:判断是否安装有第二接续应用;收发模块1402还用于:在未安装第二接续应用的情况下,基于上述广播接续通知,向云端服务器发送第二接续应用的包名和签名信息;接收来自云端服务器的通过白名单校验的第二接续应用的图标。Optionally, the processing module 1401 is also configured to determine whether the second connection application is installed; the transceiver module 1402 is also configured to: if the second connection application is not installed, based on the above broadcast connection notification, send the second connection application to the cloud server. Receive the package name and signature information of the connected application; receive the icon of the second connected application that passes the whitelist verification from the cloud server.

可选地,上述广播接续通知还包括第一接续应用的图标。Optionally, the above broadcast connection notification also includes an icon of the first connection application.

可选地,处理模块1401还用于:在第二接续应用为系统应用的情况下,响应于用户对上述引导安装弹窗的操作,恢复安装第二接续应用。Optionally, the processing module 1401 is also configured to: when the second connected application is a system application, in response to the user's operation on the above-mentioned guide installation pop-up window, resume the installation of the second connected application.

可选地,处理模块1401还用于:在第二接续应用为第三方应用的情况下,响应于用户对上述引导安装弹窗的操作,从应用市场下载第二接续应用的安装包并安装第二接续应用。Optionally, the processing module 1401 is also configured to: when the second connected application is a third-party application, in response to the user's operation on the above-mentioned guided installation pop-up window, download the installation package of the second connected application from the application market and install the third connected application. 2. Continue to apply.

可选地,处理模块1401还用于:以第二接续应用的图标的形式在桌面显示触点按钮;收发模块1402还用于:响应于用户对上述触点按钮的点击操作,向第一终端设备发送接续数据请求。Optionally, the processing module 1401 is also configured to: display the contact button on the desktop in the form of an icon of the second connected application; the transceiver module 1402 is also configured to: in response to the user's click operation on the above-mentioned contact button, send a message to the first terminal The device sends a data connection request.

应理解,这里的终端设备1400以功能模块的形式体现。这里的术语“模块”可以指应用特有集成电路(application specific integrated circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。在一个可选例子中,本领域技术人员可以理解,终端设备1400可以具体为上述实施例中的第二终端设备,终端设备1400可以用于执行上述方法实施例中与第二终端设备对应的各个流程和/或步骤,为避免重复,在此不再赘述。It should be understood that the terminal device 1400 here is embodied in the form of a functional module. The term "module" as used herein may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (such as a shared processor, a dedicated processor, or a group of processors) for executing one or more software or firmware programs. processor, etc.) and memory, merged logic circuitry, and/or other suitable components to support the described functionality. In an optional example, those skilled in the art can understand that the terminal device 1400 may be specifically the second terminal device in the above embodiment, and the terminal device 1400 may be used to perform various steps corresponding to the second terminal device in the above method embodiment. To avoid repetition, the processes and/or steps will not be repeated here.

上述终端设备1400具有实现上述方法中第二终端设备执行的相应步骤的功能;上述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。例如,上述收发模块1402可以包括发送模块和接收模块,该发送模块可以用于实现上述收发模块对应的用于执行发送动作的各个步骤和/或流程,该接收模块可以用于实现上述收发模块对应的用于执行接收动作的各个步骤和/或流程。该发送模块可以由发射器替代,该接收模块可以由接收器替代,分别执行各个方法实施例中的收发操作以及相关的处理操作。The terminal device 1400 has the function of implementing the corresponding steps performed by the second terminal device in the above method; the above function can be implemented by hardware, or by hardware executing the corresponding software. The hardware or software includes one or more modules corresponding to the above function. For example, the transceiver module 1402 may include a sending module and a receiving module, the sending module can be used to implement the various steps and/or processes for performing the sending action corresponding to the above transceiver module, and the receiving module can be used to implement the various steps and/or processes for performing the receiving action corresponding to the above transceiver module. The sending module can be replaced by a transmitter, and the receiving module can be replaced by a receiver, respectively performing the sending and receiving operations and related processing operations in each method embodiment.

在本申请的实施例,图14中的终端设备1400也可以是芯片或者芯片系统,例如:片上系统(system on chip,SOC)。对应的,收发模块1402可以是该芯片的收发电路,在此不做限定。In this embodiment of the present application, the terminal device 1400 in Figure 14 may also be a chip or a chip system, such as a system on chip (SOC). Correspondingly, the transceiver module 1402 may be the transceiver circuit of the chip, which is not limited here.

图15是本申请实施例提供的另一种终端设备1500。该终端设备1500包括处理器1501、收发器1502和存储器1503。其中,处理器1501、收发器1502和存储器1503通过内部连接通路互相通信,该存储器1503用于存储指令,该处理器1501用于执行该存储器1503存储的指令,以控制该收发器1502发送信号和/或接收信号。Figure 15 is another terminal device 1500 provided by an embodiment of the present application. The terminal device 1500 includes a processor 1501, a transceiver 1502 and a memory 1503. Among them, the processor 1501, the transceiver 1502 and the memory 1503 communicate with each other through internal connection paths. The memory 1503 is used to store instructions. The processor 1501 is used to execute the instructions stored in the memory 1503 to control the transceiver 1502 to send signals and /or receive a signal.

应理解,终端设备1500可以具体为上述实施例中的第二终端设备,并且可以用于执行上述方法实施例中与第二终端设备对应的各个步骤和/或流程。可选地,该存储器1503可以包括只读存储器和随机存取存储器,并向处理器提供指令和数据。存储器的一部分还可以包括非易失性随机存取存储器。例如,存储器还可以存储设备类型的信息。该处理器1501可以用于执行存储器中存储的指令,并且当该处理器1501执行存储器中存储的指令时,该处理器1501用于执行上述与该第二终端设备对应的方法实施例的各个步骤和/或流程。该收发器1502可以包括发射器和接收器,该发射器可以用于实现上述收发器对应的用于执行发送动作的各个步骤和/或流程,该接收器可以用于实现上述收发器对应的用于执行接收动作的各个步骤和/或流程。It should be understood that the terminal device 1500 may be specifically the second terminal device in the above embodiment, and may be used to perform various steps and/or processes corresponding to the second terminal device in the above method embodiment. Optionally, the memory 1503 may include read-only memory and random access memory and provide instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store device type information. The processor 1501 may be used to execute instructions stored in the memory, and when the processor 1501 executes the instructions stored in the memory, the processor 1501 is used to execute each step of the above method embodiment corresponding to the second terminal device. and/or process. The transceiver 1502 may include a transmitter and a receiver. The transmitter may be used to implement the steps and/or processes corresponding to the above-mentioned transceiver for performing sending actions. The receiver may be used to implement the functions corresponding to the above-mentioned transceiver. To perform various steps and/or processes of receiving actions.

应理解,在本申请实施例中,该处理器可以是中央处理单元(central processingunit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现场可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that in the embodiment of the present application, the processor may be a central processing unit (CPU), or other general-purpose processor, digital signal processor (DSP), or application specific integrated circuit (ASIC). , field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器执行存储器中的指令,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。During the implementation process, each step of the above method can be completed by instructions in the form of hardware integrated logic circuits or software in the processor. The steps of the methods disclosed in conjunction with the embodiments of the present application can be directly implemented by a hardware processor for execution, or can be executed by a combination of hardware and software modules in the processor. The software module can be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other mature storage media in this field. The storage medium is located in the memory, and the processor executes the instructions in the memory and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.

本申请还提供了一种计算机可读存储介质,该计算机可读存储介质用于存储计算机程序,该计算机程序用于实现上述实施例中与第二终端设备对应的方法。The present application also provides a computer-readable storage medium, which is used to store a computer program, and the computer program is used to implement the method corresponding to the second terminal device in the above embodiment.

本申请还提供了一种计算机程序产品,该计算机程序产品包括计算机程序(也可以称为代码,或指令),当该计算机程序在计算机上运行时,该计算机可以执行上述实施例所示的第二终端设备对应的方法。This application also provides a computer program product. The computer program product includes a computer program (which can also be called a code, or an instruction). When the computer program is run on a computer, the computer can execute the first step shown in the above embodiment. Methods corresponding to the two terminal devices.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的模块及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each specific application, but such implementations should not be considered beyond the scope of this application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or modules, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个地方,或者也可以分布到多个网络模块上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。In addition, each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module.

所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of this application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code. .

以上所述,仅为本申请的具体实施方式,但本申请实施例的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请实施例揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应所述以权利要求的保护范围为准。The above are only specific implementation modes of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any person familiar with the technical field can easily think of changes within the technical scope disclosed in the embodiments of the present application. or replacement, all should be covered by the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of the present application shall be subject to the protection scope of the claims.

Claims (17)

1.一种应用接续方法,其特征在于,应用于包括第一终端设备和第二终端设备的系统,用户在所述第一终端设备和所述第二终端设备上登陆了相同的账号,并且所述第一终端设备和所述第二终端设备处于同一局域网,所述方法包括:1. An application connection method, characterized in that it is applied to a system including a first terminal device and a second terminal device, the user has logged in the same account on the first terminal device and the second terminal device, and The first terminal device and the second terminal device are in the same local area network, and the method includes: 所述第一终端设备向所述第二终端设备发送广播接续通知,所述广播接续通知用于请求将所述第一终端设备的第一接续应用接续至所述第二终端设备;The first terminal device sends a broadcast connection notification to the second terminal device, where the broadcast connection notification is used to request that the first connection application of the first terminal device be connected to the second terminal device; 所述第二终端设备接收所述广播接续通知,基于所述广播接续通知,获取第二接续应用的图标,并以所述第二接续应用的图标的形式显示触点按钮;The second terminal device receives the broadcast connection notification, obtains an icon of the second connection application based on the broadcast connection notification, and displays a contact button in the form of an icon of the second connection application; 所述第二终端设备响应于用户对所述触点按钮的点击操作,显示所述第二接续应用的引导安装弹窗;The second terminal device displays a guidance installation pop-up window for the second connection application in response to the user's click operation on the contact button; 所述第二终端设备响应于用户对所述引导安装弹窗的操作,安装所述第二接续应用,向所述第一终端设备发送接续数据请求消息;The second terminal device responds to the user's operation on the guidance installation pop-up window, installs the second connection application, and sends a connection data request message to the first terminal device; 所述第一终端设备基于所述接续数据请求消息,向所述第二终端设备发送所述第一接续应用的接续数据;The first terminal device sends the connection data of the first connection application to the second terminal device based on the connection data request message; 所述第二终端设备接收所述接续数据,并显示所述接续数据。The second terminal device receives the connection data and displays the connection data. 2.根据权利要求1所述的方法,其特征在于,所述广播接续通知包括:所述第一接续应用的应用标识和接续策略;2. The method according to claim 1, characterized in that the broadcast connection notification comprises: an application identifier and a connection strategy of the first connection application; 其中,所述接续策略包括下列至少一种:Wherein, the connection strategy includes at least one of the following: 接续状态标识、所述第一接续应用的包名或进程名、所述第一接续应用的应用市场上架策略以及支持接续的最小版本。The connection status identifier, the package name or process name of the first connection application, the application market listing policy of the first connection application, and the minimum version supporting the connection. 3.根据权利要求1或2所述的方法,其特征在于,所述基于所述广播接续通知,获取所述第二接续应用的图标,包括:3. The method according to claim 1 or 2, characterized in that, based on the broadcast connection notification, obtaining the icon of the second connection application includes: 所述第二终端设备判断是否安装有所述第二接续应用;The second terminal device determines whether the second connection application is installed; 在未安装所述第二接续应用的情况下,所述第二终端设备基于所述广播接续通知,向云端服务器发送所述第二接续应用的包名和签名信息;In the case where the second connection application is not installed, the second terminal device sends the package name and signature information of the second connection application to the cloud server based on the broadcast connection notification; 所述云端服务器接收所述包名和签名信息,并对所述第二接续应用进行白名单校验;The cloud server receives the package name and signature information, and performs whitelist verification on the second connection application; 在校验通过的情况下,所述云端服务器向所述第二终端设备发送所述第二接续应用的图标;If the verification passes, the cloud server sends the icon of the second connection application to the second terminal device; 所述第二终端设备接收所述第二接续应用的图标。The second terminal device receives the icon of the second connection application. 4.根据权利要求1或2所述的方法,其特征在于,所述广播接续通知还包括所述第一接续应用的图标。4. The method according to claim 1 or 2, wherein the broadcast connection notification further includes an icon of the first connection application. 5.根据权利要求1至4中任一项所述的方法,其特征在于,所述第二终端设备响应于用户对所述引导安装弹窗的操作,安装所述第二接续应用,包括:5. The method according to any one of claims 1 to 4, wherein the second terminal device installs the second connection application in response to the user's operation on the guide installation pop-up window, including: 在所述第二接续应用为系统应用的情况下,所述第二终端设备响应于用户对所述引导安装弹窗的操作,恢复安装所述第二接续应用。When the second connection application is a system application, the second terminal device resumes installation of the second connection application in response to the user's operation on the guidance installation pop-up window. 6.根据权利要求1至4中任一项所述的方法,其特征在于,所述第二终端设备响应于用户对所述引导安装弹窗的操作,安装所述第二接续应用,包括:6. The method according to any one of claims 1 to 4, wherein the second terminal device installs the second connection application in response to the user's operation on the guide installation pop-up window, including: 在所述第二接续应用为第三方应用的情况下,所述第二终端设备响应于用户对所述引导安装弹窗的操作,从应用市场下载所述第二接续应用的安装包并安装所述第二接续应用。In the case where the second connecting application is a third-party application, the second terminal device downloads the installation package of the second connecting application from the application market and installs the installation package in response to the user's operation on the guided installation pop-up window. Describe the second continuation application. 7.根据权利要求1至6中任一项所述的方法,其特征在于,在所述向所述第一终端设备发送接续数据请求消息之前,所述方法还包括:7. The method according to any one of claims 1 to 6, characterized in that, before sending the connection data request message to the first terminal device, the method further includes: 所述第二终端设备以所述第二接续应用的图标的形式在桌面显示所述触点按钮;The second terminal device displays the contact button on the desktop in the form of an icon of the second connection application; 所述向所述第一终端设备发送接续数据请求消息,包括:The sending a data connection request message to the first terminal device includes: 所述第二终端设备响应于用户对所述触点按钮的点击操作,向所述第一终端设备发送接续数据请求。The second terminal device sends a connection data request to the first terminal device in response to a user clicking operation on the contact button. 8.一种应用接续方法,其特征在于,应用于包括第一终端设备和第二终端设备的系统,用户在所述第一终端设备和所述第二终端设备上登陆了相同的账号,并且所述第一终端设备和所述第二终端设备处于同一局域网,所述方法包括:8. An application connection method, characterized in that it is applied to a system including a first terminal device and a second terminal device, the user has logged in the same account on the first terminal device and the second terminal device, and The first terminal device and the second terminal device are in the same local area network, and the method includes: 所述第二终端设备接收来自所述第一终端设备的广播接续通知,基于所述广播接续通知,获取第二接续应用的图标,并以所述第二接续应用的图标的形式显示触点按钮,所述广播接续通知用于请求将所述第一终端设备的第一接续应用接续至所述第二终端设备;The second terminal device receives a broadcast connection notification from the first terminal device, obtains an icon of a second connection application based on the broadcast connection notification, and displays a contact button in the form of the icon of the second connection application, wherein the broadcast connection notification is used to request that the first connection application of the first terminal device be connected to the second terminal device; 所述第二终端设备响应于用户对所述触点按钮的点击操作,显示所述第二接续应用的引导安装弹窗;The second terminal device displays a guidance installation pop-up window for the second connection application in response to the user's click operation on the contact button; 所述第二终端设备响应于用户对所述引导安装弹窗的操作,安装所述第二接续应用,向所述第一终端设备发送接续数据请求消息;The second terminal device responds to the user's operation on the guidance installation pop-up window, installs the second connection application, and sends a connection data request message to the first terminal device; 所述第二终端设备接收来自所述第一终端设备的所述第一接续应用的接续数据,并显示所述接续数据。The second terminal device receives connection data from the first connection application of the first terminal device and displays the connection data. 9.根据权利要求8所述的方法,其特征在于,所述广播接续通知包括:所述第一接续应用的应用标识和接续策略;9. The method according to claim 8, characterized in that the broadcast connection notification comprises: an application identifier and a connection strategy of the first connection application; 其中,所述接续策略包括下列至少一种:The connection strategy includes at least one of the following: 接续状态标识、所述第一接续应用的包名或进程名、所述第一接续应用的应用市场上架策略以及支持接续的最小版本。The connection status identifier, the package name or process name of the first connection application, the application market listing strategy of the first connection application, and the minimum version that supports connection. 10.根据权利要求8或9所述的方法,其特征在于,所述基于所述广播接续通知,获取第二接续应用的图标,包括:10. The method according to claim 8 or 9, characterized in that the acquiring the icon of the second connection application based on the broadcast connection notification comprises: 所述第二终端设备判断是否安装有所述第二接续应用;The second terminal device determines whether the second connection application is installed; 在未安装所述第二接续应用的情况下,所述第二终端设备基于所述广播接续通知,向云端服务器发送所述第二接续应用的包名和签名信息;In the case where the second connection application is not installed, the second terminal device sends the package name and signature information of the second connection application to the cloud server based on the broadcast connection notification; 所述第二终端设备接收来自所述云端服务器的通过白名单校验的所述第二接续应用的图标。The second terminal device receives the icon of the second connection application that passes the whitelist verification from the cloud server. 11.根据权利要求8或9所述的方法,其特征在于,所述广播接续通知还包括所述第一接续应用的图标。11. The method according to claim 8 or 9, wherein the broadcast connection notification further includes an icon of the first connection application. 12.根据权利要求8至11中任一项所述的方法,其特征在于,所述第二终端设备响应于用户对所述引导安装弹窗的操作,安装所述第二接续应用,包括:12. The method according to any one of claims 8 to 11, characterized in that the second terminal device installs the second follow-up application in response to the user's operation on the installation guidance pop-up window, comprising: 在所述第二接续应用为系统应用的情况下,所述第二终端设备响应于用户对所述引导安装弹窗的操作,恢复安装所述第二接续应用。When the second connection application is a system application, the second terminal device resumes installation of the second connection application in response to the user's operation on the guidance installation pop-up window. 13.根据权利要求8至11中任一项所述的方法,其特征在于,所述第二终端设备响应于用户对所述引导安装弹窗的操作,安装所述第二接续应用,包括:13. The method according to any one of claims 8 to 11, wherein the second terminal device installs the second connection application in response to the user's operation on the guide installation pop-up window, including: 在所述第二接续应用为第三方应用的情况下,所述第二终端设备响应于用户对所述引导安装弹窗的操作,从应用市场下载所述第二接续应用的安装包并安装所述第二接续应用。In the case where the second connecting application is a third-party application, the second terminal device downloads the installation package of the second connecting application from the application market and installs the installation package in response to the user's operation on the guided installation pop-up window. Describe the second continuation application. 14.根据权利要求8至13中任一项所述的方法,其特征在于,在所述向所述第一终端设备发送接续数据请求消息之前,所述方法还包括:14. The method according to any one of claims 8 to 13, characterized in that, before sending the connection data request message to the first terminal device, the method further includes: 所述第二终端设备以所述第二接续应用的图标的形式在桌面显示所述触点按钮;The second terminal device displays the contact button on the desktop in the form of an icon of the second connection application; 所述向所述第一终端设备发送接续数据请求消息,包括:The sending a data connection request message to the first terminal device includes: 所述第二终端设备响应于用户对所述触点按钮的点击操作,向所述第一终端设备发送接续数据请求。The second terminal device sends a connection data request to the first terminal device in response to the user's click operation on the contact button. 15.一种终端设备,其特征在于,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储计算机程序,当所述处理器调用所述计算机程序时,使得所述终端设备执行如权利要求8至14中任一项所述的方法。15. A terminal device, characterized in that it includes: a processor, the processor is coupled to a memory, the memory is used to store a computer program, and when the processor calls the computer program, the terminal device causes A method as claimed in any one of claims 8 to 14 is performed. 16.一种计算机可读存储介质,其特征在于,用于存储计算机程序,所述计算机程序包括用于实现如权利要求8至14中任一项所述的方法的指令。16. A computer-readable storage medium, characterized in that it is used to store a computer program, the computer program comprising instructions for implementing the method according to any one of claims 8 to 14. 17.一种计算机程序产品,其特征在于,所述计算机程序产品中包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得所述计算机实现如权利要求8至14中任一项所述的方法。17. A computer program product, characterized in that the computer program product comprises computer program code, and when the computer program code is executed on a computer, the computer is enabled to implement the method according to any one of claims 8 to 14.
CN202211192937.4A 2022-09-28 2022-09-28 Application connection method and terminal equipment Active CN117784988B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211192937.4A CN117784988B (en) 2022-09-28 2022-09-28 Application connection method and terminal equipment
PCT/CN2023/119403 WO2024067205A1 (en) 2022-09-28 2023-09-18 Application continuing method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211192937.4A CN117784988B (en) 2022-09-28 2022-09-28 Application connection method and terminal equipment

Publications (2)

Publication Number Publication Date
CN117784988A true CN117784988A (en) 2024-03-29
CN117784988B CN117784988B (en) 2024-10-01

Family

ID=90385675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211192937.4A Active CN117784988B (en) 2022-09-28 2022-09-28 Application connection method and terminal equipment

Country Status (2)

Country Link
CN (1) CN117784988B (en)
WO (1) WO2024067205A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683469A (en) * 2015-03-10 2015-06-03 苏州天鸣信息科技有限公司 Method and system for immediately sharing and operating application program data
WO2019165931A1 (en) * 2018-02-28 2019-09-06 华为技术有限公司 Management method, terminal and server
US20210250540A1 (en) * 2019-06-11 2021-08-12 Juhaokan Technology Co., Ltd. Method Of Performing Video Call And Display Device
WO2022052878A1 (en) * 2020-09-14 2022-03-17 华为技术有限公司 Method for managing push message, and related apparatus
CN114647350A (en) * 2020-12-18 2022-06-21 华为技术有限公司 Application sharing method, electronic device and storage medium
CN114706698A (en) * 2015-08-31 2022-07-05 苹果公司 Forwarding activity-related information from a source electronic device to a companion electronic device
CN114706664A (en) * 2020-01-08 2022-07-05 华为技术有限公司 Interactive method for cross-device task processing, electronic device and storage medium
CN114924671A (en) * 2022-07-18 2022-08-19 荣耀终端有限公司 Application connection method and device
CN116700552A (en) * 2022-09-28 2023-09-05 荣耀终端有限公司 Application connection method and terminal equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683469A (en) * 2015-03-10 2015-06-03 苏州天鸣信息科技有限公司 Method and system for immediately sharing and operating application program data
CN114706698A (en) * 2015-08-31 2022-07-05 苹果公司 Forwarding activity-related information from a source electronic device to a companion electronic device
WO2019165931A1 (en) * 2018-02-28 2019-09-06 华为技术有限公司 Management method, terminal and server
US20210250540A1 (en) * 2019-06-11 2021-08-12 Juhaokan Technology Co., Ltd. Method Of Performing Video Call And Display Device
CN114706664A (en) * 2020-01-08 2022-07-05 华为技术有限公司 Interactive method for cross-device task processing, electronic device and storage medium
WO2022052878A1 (en) * 2020-09-14 2022-03-17 华为技术有限公司 Method for managing push message, and related apparatus
CN114647350A (en) * 2020-12-18 2022-06-21 华为技术有限公司 Application sharing method, electronic device and storage medium
CN114924671A (en) * 2022-07-18 2022-08-19 荣耀终端有限公司 Application connection method and device
CN116700552A (en) * 2022-09-28 2023-09-05 荣耀终端有限公司 Application connection method and terminal equipment

Also Published As

Publication number Publication date
WO2024067205A9 (en) 2024-06-20
WO2024067205A1 (en) 2024-04-04
CN117784988B (en) 2024-10-01

Similar Documents

Publication Publication Date Title
WO2019178869A1 (en) Method for opening esim card account, and terminal
WO2019227450A1 (en) Application function implementation method and electronic device
CN109933381B (en) Kernel loading method and device
WO2022135156A1 (en) Distributed cross-device collaboration method, and electronic device and communication system
CN117806516A (en) A floating window display method and electronic device
JP5997848B2 (en) Mobile terminal resource processing method, apparatus, client-side computer, server, mobile terminal, program, and recording medium
US20230216732A1 (en) Network Configuration Method and Device
JP7319431B2 (en) Application function implementation method and electronic device
CN116700552B (en) Application connection method and terminal device
CN111078233B (en) Application promotion realization method, device, equipment and storage medium
CN117784988B (en) Application connection method and terminal equipment
CN118585294A (en) Application calling method and electronic device
WO2024067225A1 (en) Application handoff method and terminal device
CN116302295B (en) An interface display method
WO2024114451A1 (en) Cross-system content display method, and device
CN118301402B (en) Method, electronic device and storage medium for playing videos based on quick application cards
CN117724780B (en) Information acquisition method
CN116737404B (en) Method and terminal equipment for application connection
WO2022083477A1 (en) Method for developing mvvm architecture-based application, and terminal
CN115981576B (en) Methods, electronic devices and storage media for sharing data
CN116090032B (en) Display method and related device
CN117827473A (en) Content continuation method and related device
CN118555683A (en) Communication connection method
WO2024164677A1 (en) Data access permission control method and apparatus
WO2024113957A1 (en) Game service management method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040

Patentee after: Honor Terminal Co.,Ltd.

Country or region after: China

Address before: 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong

Patentee before: Honor Device Co.,Ltd.

Country or region before: China