CN113190363B - Remote control method, remote control device, computer readable storage medium and electronic equipment - Google Patents

Remote control method, remote control device, computer readable storage medium and electronic equipment Download PDF

Info

Publication number
CN113190363B
CN113190363B CN202110438054.6A CN202110438054A CN113190363B CN 113190363 B CN113190363 B CN 113190363B CN 202110438054 A CN202110438054 A CN 202110438054A CN 113190363 B CN113190363 B CN 113190363B
Authority
CN
China
Prior art keywords
information
slice
remote
resource identifier
slices
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.)
Expired - Fee Related
Application number
CN202110438054.6A
Other languages
Chinese (zh)
Other versions
CN113190363A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110438054.6A priority Critical patent/CN113190363B/en
Publication of CN113190363A publication Critical patent/CN113190363A/en
Application granted granted Critical
Publication of CN113190363B publication Critical patent/CN113190363B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Selective Calling Equipment (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application provides a remote control method, a remote control device, a computer readable storage medium and electronic equipment. The method comprises the steps of obtaining information of a plurality of slices on a remote device and displaying the information of the plurality of slices; receiving a first operation of a user on information of a plurality of slices, wherein the first operation is used for selecting information of a target slice from the information of the plurality of slices; acquiring the crown information of the universal resource identifier of the target slice and acquiring the path information of the universal resource identifier of the target slice; generating a universal resource identifier of the target slice according to the crown information and the path information; a universal resource identifier is sent to the remote device, the universal resource identifier being used to cause the remote device to access the target slice. According to the technical scheme, the user can remotely control the remote equipment, so that the operation of the user on a plurality of electronic equipment is simplified, and the operation efficiency of the user is improved.

Description

远程控制方法、装置、计算机可读存储介质及电子设备Remote control method, device, computer-readable storage medium, and electronic device

技术领域technical field

本申请涉及计算机技术领域,具体涉及一种远程控制方法、装置、计算机可读存储介质及电子设备。The present application relates to the field of computer technology, and in particular to a remote control method, device, computer-readable storage medium and electronic equipment.

背景技术Background technique

随着技术的发展,用户通常可以使用多个电子设备,如手机、平板、手表以及智能家居设备等,但是每个设备的能力都有差异,能够给用户的服务也不完全相同。因此,用户在使用某一电子设备的同时,若需要使用其他电子设备的功能,则必须要对其他的电子设备进行操作才能够实现。With the development of technology, users can usually use multiple electronic devices, such as mobile phones, tablets, watches, and smart home devices, but the capabilities of each device are different, and the services that can be provided to users are not exactly the same. Therefore, if a user needs to use the functions of other electronic devices while using a certain electronic device, the user must operate the other electronic devices to achieve this.

然而,用户在多个电子设备之间进行来回的切换,以实现所需的不同功能时,既使得用户操作繁琐,又降低了对多个电子设备的操作效率。However, when the user switches back and forth between multiple electronic devices to achieve different required functions, the user's operations are cumbersome and the operation efficiency of the multiple electronic devices is reduced.

发明内容Contents of the invention

本申请实施例提供一种远程控制方法、装置、存储介质及电子设备,使用户能够通过控制端设备控制远端设备,从而简化用户对多个电子设备的操作,并且提高用户的操作效率。Embodiments of the present application provide a remote control method, device, storage medium, and electronic device, enabling a user to control a remote device through a control device, thereby simplifying user operations on multiple electronic devices and improving user operation efficiency.

本申请实施例提供一种远程控制方法,应用于控制端设备,所述远程控制方法包括:An embodiment of the present application provides a remote control method, which is applied to a control terminal device, and the remote control method includes:

获取远端设备上的多个切片的信息,并展示所述多个切片的信息;Acquiring information about multiple slices on the remote device, and displaying information about the multiple slices;

接收用户对所述多个切片的信息的第一操作,所述第一操作用于从所述多个切片的信息中选取目标切片的信息;receiving a first user operation on the information of the plurality of slices, the first operation being used to select information of a target slice from the information of the plurality of slices;

获取所述目标切片的通用资源标识符的冠名信息以及获取所述目标切片的通用资源标识符的路径信息;Obtaining the title information of the URI of the target slice and obtaining the path information of the URI of the target slice;

根据所述冠名信息和所述路径信息生成所述目标切片的通用资源标识符;generating a universal resource identifier of the target slice according to the title information and the path information;

将所述通用资源标识符发送给所述远端设备,所述通用资源标识符用于使所述远端设备访问所述目标切片。sending the universal resource identifier to the remote device, where the universal resource identifier is used to enable the remote device to access the target slice.

本申请实施例提供一种远程控制装置,应用于控制端设备,所述远程控制装置包括:An embodiment of the present application provides a remote control device, which is applied to a control terminal device, and the remote control device includes:

信息展示模块,用于获取远端设备上的多个切片的信息,并展示所述多个切片的信息;An information display module, configured to obtain information on multiple slices on the remote device, and display information on the multiple slices;

接收模块,用于接收用户对所述多个切片的信息的操作,所述操作用于从所述多个切片的信息中选取目标切片的信息;A receiving module, configured to receive a user's operation on the information of the plurality of slices, and the operation is used to select information of a target slice from the information of the plurality of slices;

获取模块,用于获取所述目标切片的通用资源标识符的冠名信息以及路径信息;An acquisition module, configured to acquire the title information and path information of the universal resource identifier of the target slice;

生成模块,用于根据所述冠名信息和所述路径信息生成所述目标切片的通用资源标识符;A generating module, configured to generate the universal resource identifier of the target slice according to the title information and the path information;

发送模块,用于将所述通用资源标识符发送给所述远端设备,所述通用资源标识符用于使所述远端设备访问所述目标切片。A sending module, configured to send the universal resource identifier to the remote device, where the universal resource identifier is used to enable the remote device to access the target slice.

本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如上述的远程控制方法。An embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is run on a computer, the computer is made to execute the remote control method as described above.

本申请实施例提供一种电子设备,包括处理器和存储器,所述存储器存储有计算机程序,所述处理器通过调用所述计算机程序,用于执行如上述的远程控制方法。An embodiment of the present application provides an electronic device, including a processor and a memory, the memory stores a computer program, and the processor invokes the computer program to execute the above-mentioned remote control method.

本申请实施例又提供一种电子设备,包括依次连接的显示模块、预置切片集合模块、切片设备服务模块以及传输模块;The embodiment of the present application further provides an electronic device, including a display module, a preset slice collection module, a slice device service module, and a transmission module connected in sequence;

所述切片设备服务模块用于获取远端设备上的多个切片的信息;The slicing device service module is used to acquire information of multiple slices on the remote device;

所述显示模块用于展示所述多个切片的信息;The display module is used to display the information of the plurality of slices;

所述预置切片集合模块还用于接收用户对所述多个切片的信息的操作,并根据所述操作用于从所述多个切片的信息中选取目标切片的信息;The preset slice collection module is further configured to receive user operations on the information of the plurality of slices, and select information of a target slice from the information of the plurality of slices according to the operation;

所述切片设备服务模块用于获取所述目标切片的通用资源标识符的冠名信息以及获取所述目标切片的通用资源标识符的路径信息,并根据所述冠名信息和所述路径信息生成所述目标切片的通用资源标识符;The slice device service module is used to obtain the title information of the universal resource identifier of the target slice and the path information of the universal resource identifier of the target slice, and generate a universal resource identifier for the target slice;

所述传输模块用于将所述通用资源标识符发送给所述远端设备,所述通用资源标识符用于使所述远端设备访问所述目标切片。The transmission module is configured to send the universal resource identifier to the remote device, and the universal resource identifier is used to enable the remote device to access the target slice.

本申请实施例提供的技术方案,控制端设备通过获取远端设备上多个切片的信息,并向用户展示多个切片的信息。用户通过第一操作在多个切片的信息中选取目标切片的信息。其中,目标切片的信息的选取确定了通用资源标识符的冠名信息以及路径信息,通过该冠名信息和路径信息生成了目标切片的通用资源标识符,将通用资源标识符发送给远端设备,远端设备接收该通用资源标识符就可以访问目标切片。本申请实施例中,控制端设备只需要根据用户的操作确定目标切片的通用资源标识符的冠名信息和路径信息就可以确定目标切片的通用资源标识符,再将该通用资源标识符发送给远端设备,就可使得远端设备访问目标切片,从而实现对远端设备的远程控制,从而简化用户对多个电子设备的操作,并且提高用户的操作效率。In the technical solution provided by the embodiment of the present application, the control device obtains the information of multiple slices on the remote device, and displays the information of the multiple slices to the user. The user selects information of a target slice from information of multiple slices through a first operation. Among them, the selection of the information of the target slice determines the title information and path information of the universal resource identifier, generates the universal resource identifier of the target slice through the title information and path information, and sends the universal resource identifier to the remote device , the remote device can access the target slice after receiving the universal resource identifier. In the embodiment of this application, the control device only needs to determine the title information and path information of the URI of the target slice according to the user's operation, and then send the URI to the The remote device can enable the remote device to access the target slice, thereby realizing remote control of the remote device, thereby simplifying the user's operation of multiple electronic devices and improving the user's operating efficiency.

附图说明Description of drawings

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings that need to be used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can also obtain other drawings according to these drawings without creative efforts.

图1为本申请实施例提供的远程控制方法的第一种流程示意图。FIG. 1 is a schematic flowchart of a first remote control method provided by an embodiment of the present application.

图2为本申请实施例提供的远程控制方法的第二种流程示意图。FIG. 2 is a schematic flowchart of a second remote control method provided by an embodiment of the present application.

图3为本申请实施例提供的远程控制方法的第三种流程示意图。FIG. 3 is a schematic flowchart of a third remote control method provided by an embodiment of the present application.

图4为本申请实施例提供的远程控制方法的第四种流程示意图。FIG. 4 is a schematic flowchart of a fourth remote control method provided by an embodiment of the present application.

图5为本申请实施例提供的远程控制方法中第一种场景的示意图。Fig. 5 is a schematic diagram of the first scenario in the remote control method provided by the embodiment of the present application.

图6为本申请实施例提供的远程控制方法中第二种场景的示意图。FIG. 6 is a schematic diagram of a second scenario in the remote control method provided by the embodiment of the present application.

图7为本申请实施例提供的远程控制方法的装置的结构示意图。FIG. 7 is a schematic structural diagram of an apparatus for a remote control method provided by an embodiment of the present application.

图8为本申请实施例提供的电子设备的第一种结构示意图。FIG. 8 is a schematic diagram of a first structure of an electronic device provided by an embodiment of the present application.

图9为本申请实施例提供的电子设备的第二种结构示意图。FIG. 9 is a schematic diagram of a second structure of an electronic device provided by an embodiment of the present application.

图10为本申请实施例提供的远程控制方法中的控制端设备与远端设备的设计方案示意图。FIG. 10 is a schematic diagram of a design scheme of a control terminal device and a remote device in a remote control method provided by an embodiment of the present application.

图11为本申请实施例提供的电子设备的第三种结构示意图。FIG. 11 is a schematic diagram of a third structure of an electronic device provided by an embodiment of the present application.

图12为本申请实施例提供的电子设备中的显示模块的结构示意图。FIG. 12 is a schematic structural diagram of a display module in an electronic device provided by an embodiment of the present application.

图13为本申请实施例提供的电子设备中的预置切片集合模块的结构示意图。FIG. 13 is a schematic structural diagram of a preset slice collection module in an electronic device provided by an embodiment of the present application.

图14为本申请实施例提供的电子设备中的切片设备服务模块的结构示意图。FIG. 14 is a schematic structural diagram of a slicing device service module in an electronic device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本申请的保护范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are only some of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of this application.

本申请实施例提供一种远程控制方法,应用于控制端设备,该控制端设备可以为计算机、智能手机、平板电脑、智能手表、智能头盔以及智能家居设备等。请参阅图1,图1为本申请实施例提供的远程控制方法的第一种流程示意图,具体流程如下:An embodiment of the present application provides a remote control method, which is applied to a control terminal device, and the control terminal device may be a computer, a smart phone, a tablet computer, a smart watch, a smart helmet, and a smart home device. Please refer to Figure 1. Figure 1 is a schematic flow diagram of the first remote control method provided by the embodiment of the present application. The specific flow is as follows:

100、获取远端设备上多个切片的信息,并展示多个切片的信息。100. Acquire the information of multiple slices on the remote device, and display the information of the multiple slices.

本申请中,控制端设备与远端设备基于相同的切片访问协议。例如,当控制端设备和远端设备的操作系统都为安卓(Android)操作系统时,控制端设备和远端设备提供的切片访问服务遵循相同的协议。在本申请中的设备主要分为控制端设备和远端设备,其中控制端设备指的是用户正在控制的设备,远端设备为可以执行控制端设备的查询、访问、控制等指令。其中,其中,远端设备可以为计算机、智能手机、平板电脑、电视、智能手表、智能头盔以及智能家居设备等。In this application, the control device and the remote device are based on the same slice access protocol. For example, when the operating systems of the control terminal device and the remote device are both Android (Android) operating systems, the slice access services provided by the control terminal device and the remote device follow the same protocol. The devices in this application are mainly divided into control device and remote device, wherein the control device refers to the device being controlled by the user, and the remote device can execute commands such as query, access, and control of the control device. Wherein, the remote device may be a computer, a smart phone, a tablet computer, a TV, a smart watch, a smart helmet, a smart home device, and the like.

其中,安卓操作系统提供一种切片机制,该切片机制中主要存在三个角色:切片消费者、切片生产者和安卓框架。Among them, the Android operating system provides a slicing mechanism, and there are three main roles in the slicing mechanism: a slice consumer, a slice producer, and an Android framework.

可以理解的是,切片可以用于表示远端设备上的功能,每一切片对应于一个功能,通过控制端设备对切片的访问,实现控制端设备对远端设备的远程控制。It can be understood that a slice can be used to represent a function on a remote device, each slice corresponds to a function, and the remote control of the remote device by the control device is realized through the access of the control device to the slice.

例如,切片可以用于表示远端设备上的本地资源,例如图片,备忘录等,也可以表示远端设备的系统设置能力或者硬件模块,例如WIFI(无线通信技术)开关、移动数据开关、蓝牙开关、静音开关、手电筒开关或显示亮度开关等,还可以表示远端设备中的应用或者是远端设备对应用提供的业务进行二次封装得到的功能,例如天气预报应用、股票行情应用或者音乐播放器,等等。For example, slices can be used to represent local resources on remote devices, such as pictures, memos, etc., and can also represent system setting capabilities or hardware modules of remote devices, such as WIFI (wireless communication technology) switches, mobile data switches, and Bluetooth switches. , mute switch, flashlight switch or display brightness switch, etc., can also represent the application in the remote device or the function obtained by re-encapsulating the services provided by the application by the remote device, such as weather forecast application, stock market application or music player device, and so on.

另外,切片消费者主要指的是用户,控制端设备通过用户输入的条件,转化成通用资源标识符,或者控制端设备根据预置程序中存储的通用资源标识符在安卓框架中查询对应的切片并展示给用户,例如控制端设备上展现查询某只股票的概略信息的切片。In addition, slice consumers mainly refer to users. The control device converts the conditions entered by the user into a universal resource identifier, or the control device queries the corresponding slice in the Android framework according to the universal resource identifier stored in the preset program. And display it to the user, for example, displaying a slice of the general information of a certain stock on the control terminal device.

切片生产者也就是切片提供者,该切片生产者向系统注册具有服务的切片,可以理解的是,任何应用都可以向系统注册切片,暴露自身提供的服务能力,例如远端设备上一个股票查询软件向外暴露用户请求查询的某只股票的概略信息。A slice producer is also a slice provider. The slice producer registers slices with services to the system. It is understandable that any application can register slices with the system to expose the service capabilities it provides, such as a stock query on a remote device. The software exposes to the outside the general information of a certain stock requested by the user.

其中,远端设备提供一种XML(EXtensible Markup Language,可扩展标记语言)描述文件,这种可扩展标记语言描述文件是用于标记电子文件使其具有结构性的标记语言描述文件。可以理解的是,该XML描述文件将切片消费者产生的通用资源标识符与对应的切片生产者中的切片关联。例如,控制端设备接受用户查询某只股票的概略信息的请求,控制端设备继续将该请求转化成通用资源标识符,并将通用资源标识符传入远端设备。远端设备根据可扩展标记语言将通用资源标识符与远端设备上的切片关联,并访问有关股票的概略信息的切片。Wherein, the remote device provides an XML (EXtensible Markup Language, Extensible Markup Language) description file, and the Extensible Markup Language description file is a markup language description file used to mark an electronic file to have a structure. It can be understood that the XML description file associates the universal resource identifier generated by the slice consumer with the corresponding slice in the slice producer. For example, the control terminal device accepts the user's request to inquire about the general information of a certain stock, and the control terminal device continues to convert the request into a universal resource identifier, and transmits the universal resource identifier to the remote device. The remote device associates the universal resource identifier with the slice on the remote device according to the extensible markup language, and accesses the slice of summary information about the stock.

可以理解的是,上述实施例中的安卓系统仅仅是一种实施方式,本申请的实施方式包括但不局限于安卓系统。其中,上述实施方式也可以为基于iOS(iPhone OperationSystem,苹果手机操作系统)以及MacOS(MacbookOperationSystem,苹果电脑操作系统)等操作系统实施的,凡是使得控制端设备和远端设备处于相同的切片访问协议中相适应的操作系统都属于本申请保护的范围内。It can be understood that the Android system in the foregoing embodiments is only an implementation manner, and the implementation manners of the present application include but are not limited to the Android system. Wherein, the above-mentioned implementation mode can also be implemented based on operating systems such as iOS (iPhone OperationSystem, Apple mobile phone operating system) and MacOS (MacbookOperationSystem, Apple computer operating system). All compatible operating systems are within the protection scope of this application.

其中,有显示能力的控制端设备可以向用户提供切片的信息,没有显示能力的控制端设备可以向用户提供切片的信息对应的按键等可操作硬件设施。Among them, the control terminal device with display capability can provide the user with sliced information, and the control terminal device without display capability can provide the user with operable hardware facilities such as keys corresponding to the sliced information.

当有显示能力的控制端提供的切片的信息,操作系统提供切片的信息的显示模板,其中,切片的信息由清单建立器(listbuilder)构建,基本元素为切片动作(sliceaction),包含一个标签与待定意向(pendingintent),然后使用标题生成器(headerbuilder)来构造切片的信息的标头,使用行生成器(rowbuilder)、网格生成器(gridbuilder)以及范围生成器(rangebuilder)构建模板进行不同风格展示,也可以与其他切片的信息进行组合展示。其中,用户可以自定义切片的信息的显示颜色、字体、图像格式以及视频格式等。切片的信息支持实时数据、滚动内容、内嵌动作以及用过深层链接进入的应用,切片的信息还可以包括切换开关和滑块之类的互动控件。When the slice information is provided by the control terminal capable of displaying, the operating system provides a display template of the slice information, where the slice information is constructed by the list builder (listbuilder), and the basic element is slice action (sliceaction), which includes a label and Pending intent, and then use the header builder (headerbuilder) to construct the header of the sliced information, use the row builder (rowbuilder), grid builder (gridbuilder) and range builder (rangebuilder) to build templates for different styles It can also be displayed in combination with the information of other slices. Among them, the user can customize the display color, font, image format, video format, etc. of the information of the slice. Slices of information support real-time data, scrolling content, embedded actions, and applications accessed through deep links. Slices of information can also include interactive controls such as toggle switches and sliders.

当没有显示能力的控制端设备向用户展示切片的信息时,可以事先告知用户多个按键与远端设备服务能力之间的对应关系。例如,提前告知用户控制端设备的第一按键可以控制远端设备音乐播放器播放音乐的开始和暂停服务能力、第二按键可以控制端远端设备音乐播放器的选择前一首音乐的播放能力,第一按键以及第二按键可以共同控制远端设备音乐播放器的选择后一首音乐的播放能力。其中,本申请实施例中包括但不限于选择第一按键或第二按键来控制远端设备音乐播放器的播放能力,还可以有其他控制方式,例如单击或者双击等。When the control terminal device without display capability displays sliced information to the user, the user may be notified in advance of the correspondence between multiple keys and the service capabilities of the remote device. For example, inform the user in advance that the first button of the control terminal device can control the music player of the remote device to play music and the ability to suspend the service, and the second button can control the playback ability of the music player of the remote device to select the previous music , the first button and the second button can jointly control the music player of the remote device to play the next selected music. Among them, the embodiment of the present application includes but is not limited to selecting the first button or the second button to control the playback capability of the music player of the remote device, and there may also be other control methods, such as single-click or double-click.

比如,控制端设备获取远端设备上多个切片的信息,并展示多个切片的信息。控制端设备与远端设备具有相同的切片机制,控制端设备与远端设备连接后,可以获取远端设备上多个切片的信息,并向用户展示获取的多个切片的信息。其中,所述获得的远端设备上的多个切片的信息可以为远端设备愿意暴露的切片的信息,用户可以根据需求限定远端设备向外暴露自身切片的信息。For example, the control device obtains information of multiple slices on the remote device, and displays the information of multiple slices. The control device and the remote device have the same slicing mechanism. After the control device is connected to the remote device, it can obtain the information of multiple slices on the remote device and display the obtained information of multiple slices to the user. Wherein, the obtained information of multiple slices on the remote device may be information of slices that the remote device is willing to expose, and the user may limit the information of the remote device to expose its own slices to the outside according to requirements.

200、接受用户对多个切片的信息的第一操作,第一操作用于从多个切片的信息中选取目标切片的信息。200. Accept a first user operation on information of multiple slices, where the first operation is used to select information of a target slice from information of multiple slices.

其中,用户对多个切片的信息的操作包括按键输入、语音控制或者文字输入,按键输入操作包括对显示屏幕内的切片的信息进行点击操作,也包括对显示屏幕外的按钮进行点击操作。语音控制操作是先对用户的语音信息进行采集,后对用户的语音信息进行特征提取得到用户意图,该用户意图可以为从多个切片中选取目标切片的信息。文字输入操作包括用户在搜索框内输入文字信息。Wherein, the user's operation on the information of multiple slices includes key input, voice control or text input, and the key input operation includes clicking the information of the slices in the display screen, and also includes clicking the buttons outside the display screen. The voice control operation is to first collect the user's voice information, and then perform feature extraction on the user's voice information to obtain the user's intention. The user's intention can be the information of selecting a target slice from multiple slices. The text input operation includes the user inputting text information in the search box.

其中,目标切片的信息指的是用户想要控制远端设备的服务功能所对应的切片的信息。Wherein, the information of the target slice refers to the information of the slice corresponding to the service function of the remote device that the user wants to control.

比如,控制端设备接受用户对多个切片的信息的操作,该操用于从多个切片的信息中选取目标切片的信息。例如,控制端设备显示有远端设备的视频切片和图库切片的信息,用户通过点击图库切片的信息,该图库切片的信息即为目标切片的信息。For example, the control terminal device accepts a user's operation on information of multiple slices, and the operation is used to select information of a target slice from information of multiple slices. For example, the control terminal device displays the information of the video slice and the gallery slice of the remote device, and the user clicks the information of the gallery slice, and the information of the gallery slice is the information of the target slice.

300、获取目标切片的通用资源标识符的冠名信息以及获取目标切片的通用资源标识符的路径信息。300. Acquire the title information of the URI of the target slice and acquire the path information of the URI of the target slice.

其中,通用资源标识符(URI,UniversalResourceIdentifier)是一个用于标识某一互联网资源的字符串,这种标识允许用户对任何(包括本地和互联网)的资源通过特定的协议进行交互操作。可以理解的是,通用资源标识符可以将多个电子设备中的切片的信息进行规整,使得其他电子设备通过读取切片的通用资源标识符就可以找到对应切片或者对应的切片的信息。Wherein, the Universal Resource Identifier (URI, UniversalResourceIdentifier) is a character string used to identify a certain Internet resource, which allows users to perform interactive operations on any (including local and Internet) resources through a specific protocol. It can be understood that the URI can organize the slice information in multiple electronic devices, so that other electronic devices can find the corresponding slice or the corresponding slice information by reading the URI of the slice.

其中,通用资源标识符由包括确定语法和相关协议的方案所定义。一个通用资源标识符主要包含名称(scheme)、冠名信息(authority)以及路径信息(path)。格式如下:scheme://authority/path。对于切片的信息而言,scheme为切片标题(slice-content),authority一般代表着切片生产者的信息或者切片生产者的子集的信息,切片生产者的信息的子集代表着切片生产者的功能集合,例如控制集合、播放集合等。例如,一个通用资源标识符可以为slice-content://com.example.android.myslice/hello,可以理解的是,slice-content为切片的标题、com.example.android.myslice为切片的冠名信息以及hello为切片的路径信息。又例如,冠名信息可以为切片生产者的信息,即computer、TV或者watch,冠名信息也可以是切片生产者的子集的信息,即computer.control、TV.play等。Among them, the Universal Resource Identifier is defined by a scheme including certain syntax and related protocols. A universal resource identifier mainly includes a name (scheme), title information (authority) and path information (path). The format is as follows: scheme://authority/path. For slice information, scheme is the slice title (slice-content), authority generally represents the information of the slice producer or a subset of the slice producer, and the subset of slice producer information represents the slice producer’s Collection of functions, such as control collection, playback collection, etc. For example, a universal resource identifier can be slice-content://com.example.android.myslice/hello, understandably, slice-content is the title of the slice, and com.example.android.myslice is the title of the slice information and hello are the path information of the slice. For another example, the title information may be information of a slice producer, namely computer, TV, or watch, and the title information may also be information of a subset of slice producers, namely computer.control, TV.play, and so on.

其中,远端设备作为切片生产者决定切片的冠名信息,而路径信息是通过用户的操作对应生成。Among them, the remote device, as the slice producer, determines the title information of the slice, and the path information is correspondingly generated through the user's operation.

比如,控制端设备获取目标切片的通用资源标识符的冠名信息以及获取目标切片的通用资源符的路径信息。例如,用户在视频切片和图库切片的信息中选择图库切片的信息,由于图库切片的信息已经确定了冠名信息,而用户在选择图库切片的信息就可以确定图库切片的路径信息。For example, the control terminal device obtains the title information of the URI of the target slice and obtains the path information of the URI of the target slice. For example, the user selects the information of the gallery slice from the information of the video slice and the gallery slice, since the information of the gallery slice has determined the title information, and the user can determine the path information of the gallery slice after selecting the information of the gallery slice.

400、根据冠名信息和路径信息生成目标切片的通用资源标识符。400. Generate a universal resource identifier of the target slice according to the title information and the path information.

正如上述可知,控制端设备将得到的冠名信息和路径信息进行组合就可以生成目标切片的通用资源标识符。比如,控制端设备根据冠名信息和路径信息生成目标切片的通用资源标识符。例如,在用户选择图库切片之后,控制端设备得到目标切片的冠名信息与路径信息,将该冠名信息以及路径信息生成通用资源标识符。As can be seen above, the control terminal device can generate the universal resource identifier of the target slice by combining the obtained title information and path information. For example, the control terminal device generates the universal resource identifier of the target slice according to the naming information and path information. For example, after the user selects a gallery slice, the control device obtains title information and path information of the target slice, and generates a universal resource identifier from the title information and path information.

需要说明的是,对于切片的通用资源标识符而言,名称通常都为slice-content。也即,每一个切片的名称都相同,都为slice-content。因此,在确定了通用资源标识符的冠名信息和路径信息后,即可根据冠名信息和路径信息来确定切片的通用资源标识符,而无需单独确定通用资源标识符的名称。It should be noted that, for the universal resource identifier of a slice, the name is usually slice-content. That is, each slice has the same name, slice-content. Therefore, after the title information and path information of the URI are determined, the URI of the slice can be determined according to the title information and the path information, without separately determining the name of the URI.

500、将通用资源标识符发送给远端设备,通用资源标识符用于使远端设备访问目标切片。500. Send the universal resource identifier to the remote device, where the universal resource identifier is used to enable the remote device to access the target slice.

比如,控制端设备将通用资源标识符发送给远端设备之后,通用资源标识符用于使远端设备访问目标切片。例如用户选择图库切片的信息后确定图库切片的通用资源标识符,将通用资源标识符发送给远端设备,远端设备接收该通用资源标识符后,使得远端设备访问该图库切片,从而可以在远端设备上查看该图库切片。For example, after the control terminal device sends the universal resource identifier to the remote device, the universal resource identifier is used to enable the remote device to access the target slice. For example, after the user selects the information of the gallery slice, the user determines the universal resource identifier of the gallery slice, sends the universal resource identifier to the remote device, and after receiving the universal resource identifier, the remote device enables the remote device to access the gallery slice, so that View the gallery slice on the remote device.

具体实施时,本申请不受所描述的各个步骤的执行顺序的限制,在不产生冲突的情况下,某些步骤还可以采用其它顺序进行或者同时进行。During specific implementation, the present application is not limited by the execution order of the described steps, and certain steps may be performed in other orders or simultaneously if no conflict arises.

本申请实施例提供的技术方案,控制端设备通过获取远端设备上多个切片的信息,并向用户展示多个切片的信息。用户通过第一操作在多个切片的信息中选取目标切片的信息。其中,目标切片的信息的选取确定了通用资源标识符的冠名信息以及路径信息,通过该冠名信息和路径信息生成了目标切片的通用资源标识符,将通用资源标识符发送给远端设备,远端设备接收该通用资源标识符就可以访问目标切片。本申请实施例中,控制端设备只需要根据用户的操作确定目标切片的通用资源标识符的冠名信息和路径信息就可以确定目标切片的通用资源标识符,再将该通用资源标识符发送给远端设备,就可使得远端设备访问目标切片,从而实现对远端设备的远程控制。In the technical solution provided by the embodiment of the present application, the control device obtains the information of multiple slices on the remote device, and displays the information of the multiple slices to the user. The user selects information of a target slice from information of multiple slices through a first operation. Among them, the selection of the information of the target slice determines the title information and path information of the universal resource identifier, generates the universal resource identifier of the target slice through the title information and path information, and sends the universal resource identifier to the remote device , the remote device can access the target slice after receiving the universal resource identifier. In the embodiment of this application, the control device only needs to determine the title information and path information of the URI of the target slice according to the user's operation, and then send the URI to the The remote device can enable the remote device to access the target slice, thereby realizing remote control of the remote device.

根据前面实施例所描述的方法,以下将举例作进一步详细说明。According to the methods described in the previous embodiments, examples will be given below for further detailed description.

本申请实施例提供一种远程控制方法,应用于控制端设备中,请参阅图2,图2为本申请实施例提供的远程控制方法的第二种流程示意图,具体流程如下:The embodiment of the present application provides a remote control method, which is applied to the control terminal device. Please refer to FIG. 2. FIG. 2 is a schematic flowchart of the second remote control method provided by the embodiment of the present application. The specific process is as follows:

在一些实施例中,步骤“获取目标切片的通用资源标识符的冠名信息”可以包括以下步骤:In some embodiments, the step of "obtaining the naming information of the URI of the target slice" may include the following steps:

310、获取切片与切片的通用资源标识符的冠名信息之间的对应关系。310. Obtain the correspondence between the slice and the title information of the universal resource identifier of the slice.

320、根据目标切片的信息以及对应关系确定目标切片的通用资源标识符的冠名信息。320. Determine the title information of the universal resource identifier of the target slice according to the information of the target slice and the corresponding relationship.

正如上述可知,切片和通用资源标识符的冠名信息之间是一一对应的。远端设备在获取切片与切片的通用资源标识符的冠名信息之间的对应关系后,根据目标切片的信息已经对应关系确定目标切片的通用资源标识符。比如,控制端设备获取远端设备的切片的同时也获得了该切片的通用资源标识符的冠名信息的对应关系表。当用户在选择目标切片的信息之后,控制端设备根据目标切片的信息在对应关系表中得到目标切片的冠名信息。例如,用户选择目标切片的切片为图库切片的信息,控制端设备根据图库切片的信息获取与该图库切片的信息对应的通用资源标识符对应的冠名信息。As can be seen above, there is a one-to-one correspondence between slices and URI naming information. After obtaining the corresponding relationship between the slice and the title information of the universal resource identifier of the slice, the remote device determines the universal resource identifier of the target slice according to the corresponding relationship of the information of the target slice. For example, when the control device obtains the slice of the remote device, it also obtains the correspondence table of the title information of the universal resource identifier of the slice. After the user selects the information of the target slice, the control device obtains the title information of the target slice in the correspondence table according to the information of the target slice. For example, the user selects the slice of the target slice as the information of the gallery slice, and the control terminal device obtains the title information corresponding to the universal resource identifier corresponding to the information of the gallery slice according to the information of the gallery slice.

在一些实施例中,请参阅图3,步骤“获取目标切片的通用资源标识符的路径信息”可以包括以下步骤:In some embodiments, referring to FIG. 3 , the step "obtaining the path information of the URI of the target slice" may include the following steps:

330、接收用户对目标切片的信息的第二操作。330. Receive a second user operation on information about the target slice.

340、根据第二操作确定目标切片的通用资源标识符的路径信息。340. Determine path information of the URI of the target slice according to the second operation.

正如上述可知,用户操作对应着目标切片的通用资源符的路径信息。当控制端设备接收用户对多个切片的信息的第一操作之后,第一操作用于从所述多个切片的信息中选取目标切片的信息。当用户对目标切片进行第二操作时,该第二操作是在目标切片中更为具体的操作。例如目标切片为图库切片时,当用户从多个切片的信息中选择图库切片的信息时,可以在控制端设备中浏览远端设备的图库切片中的多个图片缩略图,用户根据多个图片缩略图可以选择想让远端设备显示的图片即为用户对目标切片的信息的第二操作。又例如,目标切片为控制切片时,当用户从多个切片的信息中选择控制切片的信息时,可以在控制端中选择蓝牙切片的信息即为用户对目标切片的信息的第二操作,该第二操作可以控制远端设备中蓝牙的开关。As can be seen above, the user operation corresponds to the path information of the universal resource symbol of the target slice. After the control terminal device receives the user's first operation on the information of multiple slices, the first operation is used to select the information of the target slice from the information of the multiple slices. When the user performs a second operation on the target slice, the second operation is a more specific operation on the target slice. For example, when the target slice is a gallery slice, when the user selects the information of the gallery slice from the information of multiple slices, he can browse the thumbnails of multiple pictures in the gallery slice of the remote device on the control device. The thumbnail can select the picture that the remote device wants to display, which is the second operation of the user on the information of the target slice. For another example, when the target slice is a control slice, when the user selects the information of the control slice from the information of multiple slices, the information of the Bluetooth slice can be selected in the control terminal, which is the user's second operation on the information of the target slice. The second operation can control the switch of Bluetooth in the remote device.

在一些实施例中,请继续参阅图3,图3为本申请实施例提供的远程控制方法的第三种流程示意图。当目标切片包括多级目录,第二操作包括对目标切片的信息的第一子操作以及依次对每一级目录的第二子操作,根据第二操作确定目标切片的通用资源标识符的路径信息。步骤“根据第二操作确定目标切片的通用资源标识符的路径信息”可以包括以下步骤:In some embodiments, please continue to refer to FIG. 3 , which is a third schematic flowchart of the remote control method provided by the embodiment of the present application. When the target slice includes a multi-level directory, the second operation includes the first sub-operation on the information of the target slice and the second sub-operation on each level of directory in turn, and determines the path information of the universal resource identifier of the target slice according to the second operation . The step of "determining the path information of the URI of the target slice according to the second operation" may include the following steps:

341、根据第一子操作以及每一第二子操作确定目标切片的通用资源标识符的路径信息。341. Determine the path information of the URI of the target slice according to the first sub-operation and each second sub-operation.

比如,控制端设备根据第一子操作以及每一第二子操作确定目标切片的通用资源标识符的路径信息。例如,目标切片为远端设备中的文件夹中的第一图片的切片,该文件夹中有多级目录,例如第一文件夹、第二文件夹以及第三文件夹等。其中第一文件夹中包含第一子文件、第二子文件以及第三子文件,其中第一子文件中包含第一图片、第二图片以及第三图片等。在控制端显示文件夹的切片的信息,用户通过第一子操作选择第一文件夹,用户通过第二子操作从第一文件夹中选择第一子文件,再从第一子文件中选择第一图片。控制端设备根据用户的第一子操作和第二子操作确定文件夹切片的通用资源标识符的路径信息。For example, the control terminal device determines the path information of the URI of the target slice according to the first sub-operation and each second sub-operation. For example, the target slice is a slice of the first picture in a folder in the remote device, and the folder has multiple levels of directories, such as a first folder, a second folder, and a third folder. The first folder includes a first sub-file, a second sub-file and a third sub-file, and the first sub-file includes a first picture, a second picture, a third picture and so on. The folder slice information is displayed on the control terminal, the user selects the first folder through the first sub-operation, the user selects the first sub-file from the first folder through the second sub-operation, and then selects the second sub-file from the first sub-file a picture. The control terminal device determines the path information of the universal resource identifier of the folder slice according to the first sub-operation and the second sub-operation of the user.

在一些实施例中,请参阅图4,图4为本申请实施例提供的远程控制方法的第四种流程示意图。步骤“展示所述多个切片的信息”可以包括以下步骤:In some embodiments, please refer to FIG. 4 , which is a schematic flowchart of a fourth remote control method provided by an embodiment of the present application. The step "displaying the information of the plurality of slices" may include the following steps:

110、根据多个切片的功能对多个切片进行分类,以确定每一切片所属的类别;110. Classify the multiple slices according to the functions of the multiple slices, so as to determine the category to which each slice belongs;

120、根据每一切片所属的类别对多个切片的信息进行展示。120. Display information of multiple slices according to the category to which each slice belongs.

其中,切片对应的功能可以为本地资源的相关功能、硬件资源的相关功能以及软件资源的相关功能。本地资源的相关功能为本地应用列表、图片以及文档等资源的查询、调用以及查阅功能。硬件资源的相关功能包括控制远端设备的硬件功能,包括背光的调节、WiFi的开关、蓝牙的开关、移动网络的开关以及音量的调节,以及智能家居作为远端设备时,包括电灯的开关、空调的开关等。软件资源的相关功能包括控制远端设备的软件功能,包括远端设备的音乐播放器、股票信息查询、打车、车片、门票预定信息等,一般是由远端设备的第三方应用提供的能力。Wherein, the functions corresponding to the slices may be related functions of local resources, related functions of hardware resources, and related functions of software resources. The relevant functions of the local resources are the functions of querying, invoking and viewing resources such as local application lists, pictures and documents. Related functions of hardware resources include controlling the hardware functions of remote devices, including backlight adjustment, WiFi switch, Bluetooth switch, mobile network switch and volume adjustment, and when smart home is used as a remote device, including light switch, Air conditioner switch etc. The related functions of software resources include controlling the software functions of remote devices, including the music player of remote devices, stock information query, taxi, car photos, ticket reservation information, etc., which are generally provided by third-party applications of remote devices. .

控制端设备可以将远端设备的功能预设成上述三个类别,根据获取的远端设备的切片所属的类别对多个切片的信息进行分类展示。The control terminal device may preset the functions of the remote device into the above three categories, and classify and display the information of multiple slices according to the category to which the obtained slices of the remote device belong.

比如,控制端设备根据多个切片的功能对多个切片进行分类,以确定每一切片所属的类别,在根据每一切片所属的类别对多个切片的信息进行展示。例如,控制端设备接收多个切片的信息,根据每一切片的信息中所描述的功能进行分类,将接收的多个切片的信息根据预设的类别进行分类展示。For example, the control terminal device classifies the multiple slices according to the functions of the multiple slices to determine the category to which each slice belongs, and displays the information of the multiple slices according to the category to which each slice belongs. For example, the control terminal device receives information of multiple slices, classifies according to the function described in the information of each slice, and classifies and displays the received information of multiple slices according to preset categories.

例如,控制端设备接收远端设备发送的图库切片、蓝牙开关切片以及查阅股票信息切片,控制端设备判定上述三个切片可以分别分为本地资源的相关功能、硬件资源的相关功能以及软件资源的相关功能,可以根据上述三个类别显示切片的信息。For example, the control device receives the gallery slice, the bluetooth switch slice, and the stock information slice sent by the remote device. The control device determines that the above three slices can be divided into related functions of local resources, related functions of hardware resources, and related functions of software resources. Related functions can display slice information according to the above three categories.

可以理解的是,还可以通过远端设备与控制端设备的连接方式进行分类显示,因为控制端设备只有一个,但是远端设备可以有无数个,远端设备和控制端设备之间的连接方式是不同的,所以远端设备和控制端设备之间的连接方式也可以是作为分类显示的方式的一个标准。It is understandable that it can also be classified and displayed by the connection method between the remote device and the control terminal device, because there is only one control terminal device, but there can be countless remote devices, and the connection mode between the remote device and the control terminal device are different, so the connection method between the remote device and the control device can also be a standard for the classification display method.

需要说明的是,控制端设备中的切片的信息的显示方式并不是仅仅只有上述两种分类方式,凡是可以使得控制端接收的切片的信息进行分类显示的方式都包含本实施例的保护范围内。It should be noted that the display methods of slice information in the control terminal device are not limited to the above two classification methods, and any method that can make the slice information received by the control terminal be classified and displayed falls within the scope of protection of this embodiment .

在一些实施例中,请继续参阅图4,步骤“接收用户对多个切片的信息的第一操作”可以包括以下步骤:In some embodiments, please continue to refer to FIG. 4 , the step "the first operation of receiving user information on multiple slices" may include the following steps:

210、接收用户输入的语音信息或者文本信息;210. Receive voice information or text information input by the user;

220、对语音信息或者文本信息进行分析,以确定语音信息或者文本信息包含的指令。220. Analyze the voice information or the text information to determine an instruction contained in the voice information or the text information.

其中,语音控制操作是先对用户的语音信息进行采集,后对用户的语音信息进行特征提取得到用户意图,该用户意图可以为从多个切片中选取目标切片的信息。文字输入操作包括用户在搜索框内输入文字信息。控制端设备对语音信息或者文字输入操作后的信息进行分析,以确定语音信息或者文本信息包含的指令。Among them, the voice control operation is to first collect the user's voice information, and then perform feature extraction on the user's voice information to obtain the user intention, and the user intention may be the information of selecting a target slice from multiple slices. The text input operation includes the user inputting text information in the search box. The control terminal device analyzes the voice information or the information after the text input operation to determine the instructions contained in the voice information or the text information.

例如,控制端设备接收用户的语音信息“打开XXXTV的音乐播放器”,控制端设备对语音信息进行分析之后,确定语音信息包含的指令为第一操作,该第一操作是点击控制端设备上的XXXTV的音乐播放器对应的切片的信息。For example, the control terminal device receives the user's voice information "turn on XXXTV's music player", and after the control terminal device analyzes the voice information, it determines that the instruction contained in the voice information is the first operation, and the first operation is to click on the Information about slices corresponding to XXXTV's music player.

又例如,控制端设备接收用户的输入的文本信息:“点击XXXTV的相册”,控制端设备对输入的文本信息进行分析之后,确定输入的文本信息包含的指令为第一操作,该第一操作是点击控制端设备上的XXXTV的相册对应的切片的信息。For another example, the control terminal device receives the user's input text information: "click on XXXTV's photo album", after the control terminal device analyzes the input text information, it determines that the instruction contained in the input text information is the first operation, and the first operation It is the information of clicking the slice corresponding to the album of XXXTV on the control terminal device.

在一些实施例中,在获取远端设备上的多个切片的信息之前,可以包括以下步骤:In some embodiments, before obtaining the information of multiple slices on the remote device, the following steps may be included:

检测控制端设备与远端设备的距离。Detect the distance between the control terminal device and the remote device.

若距离小于预设距离,则控制端设备与远端设备通过近距离通信方式建立连接。If the distance is less than the preset distance, the control terminal device and the remote device establish a connection through short-distance communication.

其中,控制端设备检测与远端设备的距离,其中,控制端设备可以使用无线通信协议来检测远端设备的存在或者靠近。当控制端设备检测到远端设备时,控制端设备可以经由无线通信协议与远端设备以近距离通信方式进行连接。Wherein, the control terminal device detects the distance from the remote device, wherein, the control terminal device may use a wireless communication protocol to detect the existence or approach of the remote device. When the control-end device detects the remote device, the control-end device can connect with the remote device in a short-distance communication manner via a wireless communication protocol.

在一些实施例中,远端设备可以周期性的广播连接请求符,控制端设备可以接受连接请求符,控制端设备将接受的连接请求符的信号强度与预定阈值进行比较。如果连接请求符具有在阈值以上的信号强度,则标识控制端设备与远端设备之间的距离足够靠近,则控制端设备与远端设备通过近距离通信方式建立连接。In some embodiments, the remote device may periodically broadcast the connection request symbol, the control device may accept the connection request symbol, and the control device compares the signal strength of the received connection request symbol with a predetermined threshold. If the connection requester has a signal strength above the threshold, it indicates that the distance between the control terminal device and the remote device is close enough, and the control terminal device and the remote device establish a connection through short-distance communication.

在一些实施例中,当控制端设备无法通过近距离通信方式与远端设备建立连接是,获取远端设备的网络地址;根据远端设备的网络地址与远端设备建立连接。In some embodiments, when the control device cannot establish a connection with the remote device through short-distance communication, obtain the network address of the remote device; and establish a connection with the remote device according to the network address of the remote device.

例如,用户在外出时,想用手机控制家中的空调的开关。此时,手机作为控制端设备与远端设备空调之间的距离已经无法满足近距离通信的条件。此时,手机通过查询空调的网络地址,利用该网络地址与空调进行连接,从而后续可以对空调进一步的控制。For example, when the user is out, he wants to use his mobile phone to control the switch of the air conditioner at home. At this time, the distance between the mobile phone as the control terminal device and the air conditioner of the remote device cannot meet the conditions for short-distance communication. At this time, the mobile phone queries the network address of the air conditioner, and uses the network address to connect to the air conditioner, so that the air conditioner can be further controlled subsequently.

请参阅图5,图5为本申请实施例提供的远程控制方法中第一种场景的示意图。Please refer to FIG. 5 . FIG. 5 is a schematic diagram of the first scenario in the remote control method provided by the embodiment of the present application.

图5所示在手机上对XXXTV进行远端控制。其中,手机为控制端设备,XXXTV为远端设备。手机获取多个远端设备上的多个切片的信息,其中手机上显示的XXXTV的多个切片的信息为视频切片的信息、图库切片的信息以及音乐播放器的切片的信息。用户对手机进行第一操作,第一操作为用户对手机发出“打开XXXTV的音乐播放控制器”的指令,此时手机从多个切片的信息中选取“XXXTV的音乐播放控制器”为目标切片的信息。此时手机根据目标切片与该目标切片的通用资源标识符的对应关系得到该目标切片的冠名信息,根据用户的第一操作对应的路径信息得到目标切片的通用标识符的路径信息,根据冠名信息和路径信息得到通用资源标识符。将该通用资源标识符发送给远端设备,也就是本实施例中的XXXTV,XXXTV通过该通用资源标识符打开对应的音乐播放控制器的切片。Figure 5 shows the remote control of XXXTV on the mobile phone. Among them, the mobile phone is the control device, and XXXTV is the remote device. The mobile phone obtains information of multiple slices on multiple remote devices, wherein the information of multiple slices of XXXTV displayed on the mobile phone includes information of video slices, information of gallery slices, and information of slices of music players. The user performs the first operation on the mobile phone. The first operation is the user sends an instruction to the mobile phone to "open the music player controller of XXXTV". At this time, the mobile phone selects "the music player controller of XXXTV" as the target slice from the information of multiple slices Information. At this time, the mobile phone obtains the title information of the target slice according to the correspondence between the target slice and the universal resource identifier of the target slice, and obtains the path information of the universal identifier of the target slice according to the path information corresponding to the first operation of the user, and obtains the path information of the universal identifier of the target slice according to the crown name information and path information to obtain a universal resource identifier. The universal resource identifier is sent to the remote device, that is, XXXTV in this embodiment, and XXXTV opens the corresponding slice of the music playing controller through the universal resource identifier.

请参阅图6,图6为本申请实施例提供的远程控制方法中第二种场景的示意图。图6所示在手机上对XXXTV进行远端控制。其中,手机为控制端设备,XXXTV为远端设备。用户在手机的搜索框中搜索“相册”,手机的显示器在显示切片的信息时可以根据切片的信息的来源显示多个电子设备的不同的切片的信息。用户对多个切片的信息进行第一操作,所述第一操作为点击屏幕中XXXTV下面的图库的切片,可以理解的,图库的切片就是目标切片。手机通过图库的切片和用户的操作可以得到图库切片的通用资源标识符的冠名信息和路径信息,根据冠名信息和路径信息可以得到图库切片对应的通用资源标识符,将该通用资源标识符发送给XXXTV,可以使得XXXTV访问图库切片,显示图库切片的内容。Please refer to FIG. 6 . FIG. 6 is a schematic diagram of a second scenario in the remote control method provided by the embodiment of the present application. Figure 6 shows the remote control of XXXTV on the mobile phone. Among them, the mobile phone is the control device, and XXXTV is the remote device. The user searches for "album" in the search box of the mobile phone, and the display of the mobile phone may display different sliced information of multiple electronic devices according to the source of the sliced information when displaying the sliced information. The user performs a first operation on the information of multiple slices, and the first operation is to click a slice of the gallery below XXXTV on the screen. It can be understood that the slice of the gallery is the target slice. The mobile phone can obtain the title information and path information of the universal resource identifier of the gallery slice through the slice of the gallery and the operation of the user. According to the title information and path information, the corresponding universal resource identifier of the gallery slice can be obtained, and the universal resource identifier Sending it to XXXTV can make XXXTV access the gallery slice and display the content of the gallery slice.

在一些实施例中还提供一种远程控制装置。请参阅图7,图7为本申请实施例提供的远程控制方法的装置的结构示意图。In some embodiments, a remote control device is also provided. Please refer to FIG. 7 . FIG. 7 is a schematic structural diagram of a device for a remote control method provided by an embodiment of the present application.

其中,该远程控制装置600的结构示意图。其中该远程控制装置600包括信息展示模块601、接收模块602、获取模块603、生成模块604以及发送模块605,如下:Wherein, the structure diagram of the remote control device 600 is shown. Wherein the remote control device 600 includes an information display module 601, a receiving module 602, an acquiring module 603, a generating module 604 and a sending module 605, as follows:

信息展示模块601,用于获取远端设备上的多个切片的信息,并展示多个切片的信息。The information presentation module 601 is configured to acquire information of multiple slices on the remote device, and display the information of the multiple slices.

接收模块602,用于接收用户对多个切片的信息的操作,操作用于从多个切片的信息中选取目标切片的信息。The receiving module 602 is configured to receive a user's operation on information of multiple slices, and the operation is used to select information of a target slice from information of multiple slices.

获取模块603,用于获取目标切片的通用资源标识符的冠名信息以及路径信息。The obtaining module 603 is configured to obtain the title information and path information of the universal resource identifier of the target slice.

生成模块604,用于根据冠名信息和路径信息生成目标切片的通用资源标识符。A generating module 604, configured to generate a universal resource identifier of a target slice according to the title information and path information.

发送模块605,用于将所述通用资源标识符发送给所述远端设备,所述通用资源标识符用于使所述远端设备访问所述目标切片。A sending module 605, configured to send the universal resource identifier to the remote device, where the universal resource identifier is used to enable the remote device to access the target slice.

在一些实施例中,获取模块603还可以用于获取切片与切片的通用资源标识符的冠名信息之间的对应关系;根据目标切片的信息以及对应关系确定目标切片的通用资源标识符的冠名信息。In some embodiments, the acquiring module 603 can also be used to acquire the corresponding relationship between the slice and the title information of the universal resource identifier of the slice; determine the title of the universal resource identifier of the target slice according to the information of the target slice and the corresponding relationship. name information.

在一些实施例中,获取模块603还可以用于接收用户对目标切片的信息的第二操作;根据第二操作确定目标切片的通用资源标识符的路径信息。In some embodiments, the acquiring module 603 may also be configured to receive a second operation of the user on the information of the target slice; determine the path information of the universal resource identifier of the target slice according to the second operation.

在一些实施例中,目标切片包括多级目录,第二操作包括对目标切片的信息的第一子操作以及依次对每一级目录的第二子操作,根据第二操作确定目标切片的通用资源标识符的路径信息,获取模块603还可以用于根据第一子操作以及每一第二子操作确定目标切片的通用资源标识符的路径信息。In some embodiments, the target slice includes a multi-level directory, the second operation includes the first sub-operation on the information of the target slice and the second sub-operation on each level of directory in turn, and the general resource of the target slice is determined according to the second operation The path information of the identifier, the obtaining module 603 may also be configured to determine the path information of the universal resource identifier of the target slice according to the first sub-operation and each second sub-operation.

在一些实施例中,信息展示模块601还可以用于根据多个切片的功能对多个切片进行分类,以确定每一切片所属的类别,并根据每一切片所属的类别对多个切片的信息进行展示。In some embodiments, the information display module 601 can also be used to classify multiple slices according to the functions of multiple slices, so as to determine the category to which each slice belongs, and classify the information of multiple slices according to the category to which each slice belongs. to show.

在一些实施例中,接收模块602还可以用于接收用户输入的语音信息或者文本信息;对语音信息或者文本信息进行分析,以确定语音信息或者文本信息包含的指令;根据指令确定指令对应的目标切片的信息。In some embodiments, the receiving module 602 can also be used to receive voice information or text information input by the user; analyze the voice information or text information to determine the instruction contained in the voice information or text information; determine the target corresponding to the instruction according to the instruction slice information.

在一些实施例中,信息展示模块601还可以用于检测控制端设备与远端设备的距离;若距离小于预设距离,则控制端设备与远端设备通过近距离通信方式建立连接。In some embodiments, the information display module 601 can also be used to detect the distance between the control terminal device and the remote device; if the distance is less than the preset distance, the control terminal device and the remote device establish a connection through short distance communication.

在一些实施例中,信息展示模块601还可以用于当控制端设备无法通过近距离通信方式与远端设备建立连接时,获取远端设备的网络地址;根据远端设备的网络地址与远端设备建立连接。In some embodiments, the information display module 601 can also be used to obtain the network address of the remote device when the control device cannot establish a connection with the remote device through short-distance communication; according to the network address of the remote device and the remote The device establishes a connection.

本申请实施例还提供一种电子设备。电子设备可以是智能手机、平板电脑等设备。请参阅图8,图8为本申请实施例提供的电子设备的第一种结构示意图。电子设备700包括处理器701和存储器702。其中,处理器701与存储器702电性连接。The embodiment of the present application also provides an electronic device. The electronic device may be a smart phone, a tablet computer, or the like. Please refer to FIG. 8 . FIG. 8 is a schematic diagram of a first structure of an electronic device provided by an embodiment of the present application. The electronic device 700 includes a processor 701 and a memory 702 . Wherein, the processor 701 is electrically connected with the memory 702 .

处理器701是电子设备700的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或调用存储在存储器702内的计算机程序,以及调用存储在存储器702内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。The processor 701 is the control center of the electronic device 700. It uses various interfaces and lines to connect various parts of the entire electronic device. Various functions and processing data of the equipment, so as to monitor the electronic equipment as a whole.

存储器702可用于存储计算机程序和数据。存储器702存储的计算机程序中包含有可在处理器中执行的指令。计算机程序可以组成各种功能模块。处理器701通过调用存储在存储器702的计算机程序,从而执行各种功能应用以及数据处理。Memory 702 may be used to store computer programs and data. The computer program stored in the memory 702 includes instructions executable by the processor. Computer programs can be composed of various functional modules. The processor 701 executes various functional applications and data processing by calling computer programs stored in the memory 702 .

在本实施例中,电子设备700中的处理器701会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器702中,并由处理器701来运行存储在存储器702中的计算机程序,从而实现各种功能:In this embodiment, the processor 701 in the electronic device 700 will follow the steps below to load the instructions corresponding to the process of one or more computer programs into the memory 702, and the instructions stored in the memory 702 will be executed by the processor 701. The computer program in, thereby realizes various functions:

获取远端设备上的多个切片的信息,并展示多个切片的信息;Get the information of multiple slices on the remote device, and display the information of multiple slices;

接收用户对多个切片的信息的第一操作,第一操作用于从多个切片的信息中选取目标切片的信息;receiving a first user operation on information of multiple slices, the first operation is used to select information of a target slice from information of multiple slices;

获取目标切片的通用资源标识符的冠名信息以及获取目标切片的通用资源标识符的路径信息;Obtain the title information of the URI of the target slice and obtain the path information of the URI of the target slice;

根据冠名信息和路径信息生成目标切片的通用资源标识符;Generate a universal resource identifier for the target slice according to the naming information and path information;

将通用资源标识符发送给远端设备,通用资源标识符用于使远端设备访问目标切片。The universal resource identifier is sent to the remote device, and the universal resource identifier is used to enable the remote device to access the target slice.

在一些实施例中,请参阅图9,图9为本申请实施例提供的电子设备的第二种结构示意图。电子设备700还包括:射频电路703、显示屏704、输入单元705以及电源706。其中,处理器701分别与射频电路703、显示屏704、输入单元705以及电源706电性连接。In some embodiments, please refer to FIG. 9 , which is a second schematic structural diagram of an electronic device provided in an embodiment of the present application. The electronic device 700 also includes: a radio frequency circuit 703 , a display screen 704 , an input unit 705 and a power supply 706 . Wherein, the processor 701 is electrically connected with the radio frequency circuit 703 , the display screen 704 , the input unit 705 and the power supply 706 respectively.

射频电路703用于收发射频信号,以通过无线通信与网络设备或其他电子设备进行通信。例如,电子设备700可以通过射频电路703与其他电子设备之间建立连接。The radio frequency circuit 703 is used to send and receive radio frequency signals to communicate with network equipment or other electronic equipment through wireless communication. For example, the electronic device 700 can establish a connection with other electronic devices through the radio frequency circuit 703 .

显示屏704可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图像、文本、图标、视频和其任意组合来构成。例如,显示屏704可以用于显示多个切片的信息。The display screen 704 can be used to display information input by or provided to the user and various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of images, texts, icons, videos and any combination thereof. For example, display screen 704 may be used to display information for multiple slices.

输入单元705可用于接收输入的数字、字符信息或用户特征信息(例如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入、麦克风、指纹模组等。例如,输入单元705可以用于接收用户输入的文本信息或者语音信息。The input unit 705 can be used to receive input numbers, character information or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal input, microphone, fingerprint module related to user settings and function control wait. For example, the input unit 705 may be used to receive text information or voice information input by the user.

电源706用于给电子设备700的各个部件供电。在一些实施例中,电源706可以通过电源管理系统与处理器701逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The power supply 706 is used to supply power to various components of the electronic device 700 . In some embodiments, the power supply 706 may be logically connected to the processor 701 through a power management system, so as to implement functions such as managing charging, discharging, and power consumption through the power management system.

虽然图中未示出,电子设备700还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in the figure, the electronic device 700 may also include a camera, a Bluetooth module, etc., which will not be repeated here.

在一些实施例中,请参阅图10,图10为本申请实施例提供的远程控制方法中的控制端设备与远端设备的设计方案示意图。In some embodiments, please refer to FIG. 10 . FIG. 10 is a schematic diagram of a design scheme of a control terminal device and a remote device in a remote control method provided by an embodiment of the present application.

其中,第一电子设备和第二电子设备均将自身的功能通过设备能力抽象模块进行分析,得到多个切片。当第一电子设备作为控制端设备、第二电子设备作为远端设备时,第一电子设备获得第二电子设备发送过来的多个切片的信息,通过切片设备服务模块进行切片的信息收集、分类操作,再将分类好的切片的信息发送给第一电子设备的预置切片集合模块中,通过显示模块显示给用户。Wherein, both the first electronic device and the second electronic device analyze their own functions through the device capability abstraction module to obtain multiple slices. When the first electronic device is used as the control terminal device and the second electronic device is used as the remote device, the first electronic device obtains the information of multiple slices sent by the second electronic device, and collects and classifies slice information through the slice device service module operation, and then send the classified slice information to the preset slice collection module of the first electronic device, and display it to the user through the display module.

当用户的对第一电子设备进行第一操作时,通过点击显示模块中的切片的信息确定目标切片的信息,第一电子设备通过切片设备服务模块得到目标切片的通用资源标识符的冠名信息和路径信息,并根据冠名信息和路径信息得到目标切片的通用资源标识符,再将通用资源标识符通过传输通道传输给第二电子设备,第二电子设备通过自身的切片设备服务模块可知通用资源标识符对应的目标切片,并访问该目标切片。When the user performs the first operation on the first electronic device, the information of the target slice is determined by clicking on the slice information in the display module, and the first electronic device obtains the title information of the universal resource identifier of the target slice through the slice device service module and path information, and obtain the universal resource identifier of the target slice according to the title information and path information, and then transmit the universal resource identifier to the second electronic device through the transmission channel, and the second electronic device can know the universal resource identifier through its own slice device service module. The target slice corresponding to the resource identifier, and access the target slice.

可以理解的是,第一电子设备和第二电子设备的角色可以发生互换。也就是说,在一些情况下,第一电子设备可作为控制端设备,第二电子设备可作为远端设备;在另一些情况下,第一电子设备可作为远端设备,第二电子设备可作为控制端设备。It can be understood that the roles of the first electronic device and the second electronic device may be interchanged. That is to say, in some cases, the first electronic device can be used as a control terminal device, and the second electronic device can be used as a remote device; in other cases, the first electronic device can be used as a remote device, and the second electronic device can be used as a as a control device.

其中,第一电子设备和第二电子设备是用于展示远程控制方法的流程,单不仅仅限于两个电子设备。在大多数情况下,多个电子设备的连接属于分布式拓扑结构,连接属于去中心化的。每一个电子设备属于一个节点,每一节点之间直接建立数据链路,整个分布式拓扑结构都可以共享电子设备上的功能。Wherein, the first electronic device and the second electronic device are used to demonstrate the process of the remote control method, and are not limited to only two electronic devices. In most cases, the connection of multiple electronic devices belongs to a distributed topology, and the connection is decentralized. Each electronic device belongs to a node, and a data link is directly established between each node, so that the entire distributed topology can share the functions on the electronic device.

在一些实施例中,请参阅图11,图11为本申请实施例提供的电子设备的第三种结构示意图。In some embodiments, please refer to FIG. 11 , which is a schematic diagram of a third structure of an electronic device provided in an embodiment of the present application.

电子设备800包括依次连接的显示模块810、预置切片集合模块820、切片设备服务模块830以及传输模块840。The electronic device 800 includes a display module 810 , a preset slice collection module 820 , a slice device service module 830 and a transmission module 840 which are sequentially connected.

切片设备服务模块830用于获取远端设备上的多个切片的信息;The slicing device service module 830 is used to acquire information of multiple slices on the remote device;

显示模块810用于展示多个切片的信息;The display module 810 is used to display information of multiple slices;

预置切片集合模块820用于接收用户对多个切片的信息的第一操作,并根据第一操作用于从多个切片的信息中选取目标切片的信息;The preset slice collection module 820 is configured to receive a user's first operation on information of multiple slices, and to select information of a target slice from information of multiple slices according to the first operation;

切片设备服务模块830还用于获取目标切片的通用资源标识符的冠名信息以及获取目标切片的通用资源标识符的路径信息,并根据所述冠名信息和所述路径信息生成所述目标切片的通用资源标识符;The slice device service module 830 is further configured to acquire the title information of the URI of the target slice and the path information of the URI of the target slice, and generate the target slice according to the title information and the path information Universal Resource Identifier for ;

传输模块840用于将通用资源标识符发送给远端设备,通用资源标识符用于使远端设备访问目标切片。The transmission module 840 is configured to send the universal resource identifier to the remote device, and the universal resource identifier is used to enable the remote device to access the target slice.

在一些实施例中,请参阅图12,图12为本申请实施例提供的电子设备中的显示模块的结构示意图。In some embodiments, please refer to FIG. 12 , which is a schematic structural diagram of a display module in an electronic device provided by an embodiment of the present application.

显示模块810还包括多个子显示模块811,每一所述子显示模块811均与所述预置切片集合模块连接,每一子显示模块811均能够展示多个切片的信息。The display module 810 also includes a plurality of sub-display modules 811, each of which is connected to the preset slice collection module, and each of the sub-display modules 811 can display information of multiple slices.

在一些实施例中,请参阅图13,图13为本申请实施例提供的电子设备中的预置切片集合模块的结构示意图。In some embodiments, please refer to FIG. 13 , which is a schematic structural diagram of a preset slice collection module in an electronic device according to an embodiment of the present application.

预置切片集合模块820还包括多个子集合模块821,每一所述子集合模块821均与所述显示模块以及所述切片设备服务模块连接,每一子集合模块821用于存储一种类别的切片与类别的切片的通用资源标识符的冠名信息之间的对应关系。The preset slice collection module 820 also includes a plurality of sub-collection modules 821, each of which is connected to the display module and the slice device service module, and each sub-collection module 821 is used to store a category of Correspondence between slices and URI naming information of slices of the category.

在一些实施例中,请参阅图14,图14为本申请实施例提供的电子设备中的切片设备服务模块的结构示意图。In some embodiments, please refer to FIG. 14 , which is a schematic structural diagram of a slice device service module in an electronic device according to an embodiment of the present application.

切片设备服务模块830包括依次连接的服务发现子模块831、策略子模块832、切片提取子模块833以及连接子模块834。The slice device service module 830 includes a service discovery submodule 831 , a policy submodule 832 , a slice extraction submodule 833 , and a connection submodule 834 , which are sequentially connected.

服务发现子模块831用于检测所述电子设备与所述远端设备的距离;The service discovery submodule 831 is configured to detect the distance between the electronic device and the remote device;

策略子模块832用于判断所述距离是否小于预设距离,并获取切片与切片的通用资源标识符的冠名信息之间的对应关系,并根据目标切片的信息以及对应关系确定目标切片的通用资源标识符的冠名信息。The policy sub-module 832 is used to judge whether the distance is less than a preset distance, obtain the corresponding relationship between the slice and the title information of the common resource identifier of the slice, and determine the universal resource identifier of the target slice according to the information of the target slice and the corresponding relationship. The naming information of the resource identifier.

切片提取子模块833用于接收用户对目标切片的信息的第二操作,并根据第二操作确定目标切片的通用资源标识符的路径信息。The slice extracting sub-module 833 is configured to receive the second operation of the user on the information of the target slice, and determine the path information of the URI of the target slice according to the second operation.

所述策略子模块832还用于根据所述冠名信息和所述路径信息生成所述目标切片的通用资源标识符。The policy submodule 832 is further configured to generate a universal resource identifier of the target slice according to the title information and the path information.

连接子模块834用于当所述距离小于所述预设距离,则根据近距离通信方式与所述远端设备建立连接,当所述电子设备无法通过近距离通信方式与所述远端设备建立连接时,则获取所述远端设备的网络地址,根据所述远端设备的网络地址与所述远端设备建立连接。The connection sub-module 834 is used to establish a connection with the remote device according to the short-range communication method when the distance is less than the preset distance, and when the electronic device cannot establish a connection with the remote device through the short-range communication method When connecting, obtain the network address of the remote device, and establish a connection with the remote device according to the network address of the remote device.

本申请实施例还提供一种存储介质,存储介质中存储有计算机程序,当计算机程序在计算机上运行时,计算机执行上述任一实施例的远程控制方法。An embodiment of the present application further provides a storage medium, in which a computer program is stored, and when the computer program runs on the computer, the computer executes the remote control method of any one of the above embodiments.

需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过计算机程序来指令相关的硬件来完成,计算机程序可以存储于计算机可读存储介质中,存储介质可以包括但不限于:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. The storage medium may include but not limited to: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.

此外,本申请中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或模块的过程、方法、系统、产品或设备没有限定于已列出的步骤或模块,而是某些实施例还包括没有列出的步骤或模块,或某些实施例还包括对于这些过程、方法、产品或设备固有的其它步骤或模块。In addition, the terms "first", "second" and "third" in the present application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules, but some embodiments also include steps or modules that are not listed, or some embodiments Other steps or modules inherent to these processes, methods, products or devices are also included.

以上对本申请实施例所提供的远程控制方法、装置、计算机可读存储介质及电子设备进行了详细介绍。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The remote control method, device, computer-readable storage medium, and electronic device provided in the embodiments of the present application have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the application. The description of the above embodiments is only used to help understand the method and core idea of the application; meanwhile, for those skilled in the art, according to the application Thoughts, specific implementation methods and application ranges all have changes. In summary, the content of this specification should not be construed as limiting the application.

Claims (15)

1. A remote control method applied to a control end device, the remote control method comprising:
acquiring information of a plurality of slices on a remote device and displaying the information of the plurality of slices, wherein the control end device and an operating system of the remote device are both android operating systems and are based on the same slice access protocol, and the slices are used for representing local resources on the remote device, or representing system setting capacity or a hardware module of the remote device, or representing applications in the remote device or functions obtained by secondary encapsulation of services provided by the applications of the remote device;
receiving a first operation of a user on the information of the plurality of slices, wherein the first operation is used for selecting information of a target slice from the information of the plurality of slices;
acquiring the crown information of the universal resource identifier of the target slice and acquiring the path information of the universal resource identifier of the target slice;
generating a universal resource identifier of the target slice according to the crown information and the path information;
and transmitting the universal resource identifier to the remote device, wherein the universal resource identifier is used for enabling the remote device to access the target slice.
2. The remote control method according to claim 1, wherein the acquiring the crown information of the universal resource identifier of the target slice includes:
acquiring the corresponding relation between the slice and the crown information of the universal resource identifier of the slice;
and determining the crown information of the universal resource identifier of the target slice according to the information of the target slice and the corresponding relation.
3. The remote control method according to claim 1, wherein the obtaining path information of the universal resource identifier of the target slice includes:
receiving a second operation of the information of the target slice by a user;
and determining path information of the universal resource identifier of the target slice according to the second operation.
4. The remote control method of claim 3, wherein the target slice comprises a multi-level directory, the second operation comprises a first sub-operation on information of the target slice and a second sub-operation on each level of the directory in turn, and determining path information of a universal resource identifier of the target slice according to the second operation comprises:
and determining path information of the universal resource identifier of the target slice according to the first sub-operation and each second sub-operation.
5. The remote control method of claim 1, wherein the presenting information of the plurality of slices comprises:
classifying the plurality of slices according to the functions of the plurality of slices to determine the category to which each slice belongs;
and displaying the information of the plurality of slices according to the category to which each slice belongs.
6. The remote control method according to claim 1, wherein the receiving a first operation of the information of the plurality of slices by the user includes:
receiving voice information or text information input by a user;
analyzing the voice information or the text information to determine instructions contained in the voice information or the text information;
and determining the information of the target slice corresponding to the instruction according to the instruction.
7. The remote control method of claim 1, wherein prior to obtaining information for a plurality of slices on a remote device, further comprising:
detecting the distance between the control end equipment and the remote end equipment;
and if the distance is smaller than the preset distance, the control end equipment and the remote end equipment are connected in a short-distance communication mode.
8. The remote control method of claim 7, wherein prior to obtaining information for a plurality of slices on a remote device, further comprising:
when the control terminal equipment cannot establish connection with the remote terminal equipment in a short-range communication mode, acquiring a network address of the remote terminal equipment;
and establishing connection with the remote equipment according to the network address of the remote equipment.
9. A remote control apparatus applied to a control end device, the remote control apparatus comprising:
the information display module is used for acquiring information of a plurality of slices on the remote equipment and displaying the information of the plurality of slices, wherein the control end equipment and an operating system of the remote equipment are both android operating systems and are based on the same slice access protocol, and the slices are used for representing local resources on the remote equipment, or representing system setting capacity or a hardware module of the remote equipment, or representing applications in the remote equipment or functions obtained by secondary encapsulation of services provided by the applications by the remote equipment;
the receiving module is used for receiving a first operation of a user on the information of the plurality of slices, wherein the first operation is used for selecting information of a target slice from the information of the plurality of slices;
The acquisition module is used for acquiring the crown information and the path information of the universal resource identifier of the target slice;
the generation module is used for generating a universal resource identifier of the target slice according to the crown information and the path information;
and the sending module is used for sending the universal resource identifier to the remote equipment, and the universal resource identifier is used for enabling the remote equipment to access the target slice.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when run on a computer, causes the computer to perform the remote control method according to any one of claims 1 to 8.
11. An electronic device comprising a processor and a memory, the memory storing a computer program, characterized in that the processor is adapted to execute the remote control method according to any of claims 1 to 8 by invoking the computer program.
12. The electronic equipment is characterized by comprising a display module, a preset slice collection module, a slice equipment service module and a transmission module which are connected in sequence;
the slice equipment service module is used for acquiring information of a plurality of slices on the remote equipment, wherein an operating system of the electronic equipment is an android operating system, and based on a slice access protocol, the slices are used for representing local resources on the remote equipment, or representing system setting capacity or a hardware module of the remote equipment, or representing applications in the remote equipment or functions obtained by secondarily packaging services provided by the applications by the remote equipment;
The display module is used for displaying information of the plurality of slices;
the preset slice collection module is used for receiving a first operation of a user on the information of the plurality of slices and selecting information of a target slice from the information of the plurality of slices according to the first operation;
the slicing device service module is further used for acquiring the crown information of the universal resource identifier of the target slice and acquiring the path information of the universal resource identifier of the target slice, and generating the universal resource identifier of the target slice according to the crown information and the path information;
the transmission module is configured to send the universal resource identifier to the remote device, where the universal resource identifier is used to enable the remote device to access the target slice.
13. The electronic device of claim 12, wherein the display module comprises a plurality of sub-display modules, each of the sub-display modules being coupled to the preset slice collection module, each of the sub-display modules being capable of displaying information for the plurality of slices.
14. The electronic device of claim 12, wherein the preset slice aggregation module comprises a plurality of sub-aggregation modules, each of the sub-aggregation modules being coupled to the display module and the slice device service module, each of the sub-aggregation modules being configured to store a correspondence between a category of slices and the nomination information of the generic resource identifier of the category of slices.
15. The electronic device of claim 12, wherein the slicing device service module comprises a service discovery sub-module, a policy sub-module, a slice extraction sub-module, and a connection sub-module connected in sequence;
the service discovery sub-module is used for detecting the distance between the electronic equipment and the remote equipment;
the strategy submodule is used for judging whether the distance is smaller than a preset distance, acquiring a corresponding relation between the slice and the crown information of the universal resource identifier of the slice, and determining the crown information of the universal resource identifier of the target slice according to the information of the target slice and the corresponding relation;
the slice extraction submodule is used for receiving a second operation of the information of the target slice by a user and determining path information of a universal resource identifier of the target slice according to the second operation;
the policy sub-module is further configured to generate a universal resource identifier of the target slice according to the crown information and the path information;
and the connection submodule is used for establishing connection with the remote equipment according to a short-range communication mode when the distance is smaller than the preset distance, acquiring a network address of the remote equipment when the electronic equipment cannot establish connection with the remote equipment through the short-range communication mode, and establishing connection with the remote equipment according to the network address of the remote equipment.
CN202110438054.6A 2021-04-22 2021-04-22 Remote control method, remote control device, computer readable storage medium and electronic equipment Expired - Fee Related CN113190363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110438054.6A CN113190363B (en) 2021-04-22 2021-04-22 Remote control method, remote control device, computer readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110438054.6A CN113190363B (en) 2021-04-22 2021-04-22 Remote control method, remote control device, computer readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113190363A CN113190363A (en) 2021-07-30
CN113190363B true CN113190363B (en) 2023-05-30

Family

ID=76978621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110438054.6A Expired - Fee Related CN113190363B (en) 2021-04-22 2021-04-22 Remote control method, remote control device, computer readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113190363B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI900026B (en) * 2024-05-24 2025-10-01 奧圖碼股份有限公司 Remote control method and remote control system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10187474B2 (en) * 2012-08-08 2019-01-22 Samsung Electronics Co., Ltd. Method and device for resource sharing between devices
GB2504725B (en) * 2012-08-08 2017-01-11 Samsung Electronics Co Ltd Resource sharing between devices
CN103561014A (en) * 2013-10-29 2014-02-05 深圳创维数字技术股份有限公司 Method for resource access processing and control server
CN107015996A (en) * 2016-01-28 2017-08-04 阿里巴巴集团控股有限公司 A kind of resource access method, apparatus and system
CN106254572A (en) * 2016-09-05 2016-12-21 深圳Tcl新技术有限公司 Resource share method, Apparatus and system
CN108632945B (en) * 2017-03-20 2020-11-06 华为技术有限公司 Network slice selection method, user equipment and network equipment

Also Published As

Publication number Publication date
CN113190363A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN110737840B (en) Voice control method and display device
CN112000820A (en) Media asset recommendation method and display device
CN111405318B (en) Video display method, device and computer storage medium
KR20130090947A (en) Method for interoperably performing service and system supporting the same
CN111949782B (en) Information recommendation method and service device
CN113784200B (en) Communication terminal, display device and screen projection connection method
KR102503329B1 (en) Image classification method and electronic device
WO2022012271A1 (en) Display device and server
US9361787B2 (en) Information processing apparatus, information processing method, program control target device, and information processing system
WO2021147785A1 (en) Mind map display method and electronic device
CN109597929A (en) Methods of exhibiting, device, terminal and the readable medium of search result
CN113590059A (en) Screen projection method and mobile terminal
CN112055240A (en) Display device and operation prompt display method for pairing display device with remote controller
CN113220954A (en) Information display method and device and projection equipment
CN102483766B (en) For providing the searching method of pre-review information, equipment and system
CN111885400A (en) Media data display method, server and display equipment
CN114007117B (en) Control display method and device
CN113784186A (en) Terminal device, server, and communication control method
CN113190363B (en) Remote control method, remote control device, computer readable storage medium and electronic equipment
US12056326B2 (en) Display apparatus
CN117806746A (en) Display equipment and audio playing interface display method
CN112052376A (en) Resource Recommendation Methods, Apparatus, Servers, Devices and Media
CN111984167B (en) Quick naming method and display device
CN115291829A (en) Display device and subscription message reminding method
CN114566144A (en) Voice recognition method and device, server and electronic equipment

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20230530

CF01 Termination of patent right due to non-payment of annual fee