CN111970188B - Capability forwarding method and device - Google Patents
Capability forwarding method and device Download PDFInfo
- Publication number
- CN111970188B CN111970188B CN202010738554.7A CN202010738554A CN111970188B CN 111970188 B CN111970188 B CN 111970188B CN 202010738554 A CN202010738554 A CN 202010738554A CN 111970188 B CN111970188 B CN 111970188B
- Authority
- CN
- China
- Prior art keywords
- message
- electronic device
- maap
- response
- sent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/56—Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本申请实施例涉及通信技术领域,尤其涉及一种能力转发方法及装置。The embodiments of the present application relate to the field of communications technologies, and in particular, to a method and apparatus for forwarding capabilities.
背景技术Background technique
随着通讯技术的发展,运营商基于融合通信(rich communication suite,RCS)搭建的消息即平台(messaging as a platform,maap),maap是代理服务商对生产消费者提供代理服务(agent service to production of consumer,A2P)信息最新的全球标准,旨在将行业短信升级为RCS消息,并将RCS的高级消息传送功能与标准接口整合于聊天机器人(chatbot)和插件(plug in)中,能够使得企业通过电子设备的短信入口为用户提供快应用、快捷支付、图文、视频、流量红包等多样化的服务形态。支持maap功能的电子设备无需安装种类繁多的应用程序即可体验企业提供的各种服务,在为用户提供便利服务的同时,大大节省了电子设备的存储空间。With the development of communication technology, operators have built messaging as a platform (maap) based on rich communication suite (RCS), and maap is an agent service to production consumers. The latest global standard for consumer (A2P) information, aiming to upgrade industry short messages to RCS messages, and integrate the advanced messaging functions and standard interfaces of RCS into chatbots and plug-ins, enabling enterprises to Provide users with a variety of service forms such as quick application, quick payment, graphics, video, and traffic red envelopes through the SMS portal of electronic devices. Electronic devices that support maap function can experience various services provided by enterprises without installing a wide variety of applications, which greatly saves the storage space of electronic devices while providing convenient services for users.
然而,上述maap功能需要电子设备的支持,对于不支持maap功能的电子设备,则无法享受到maap功能带来的各种便利。However, the above-mentioned maap function requires the support of the electronic device, and the electronic device that does not support the maap function cannot enjoy various conveniences brought by the maap function.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种能力转发方法、装置及电子设备,能够解决在不支持maap功能的电子设备上,无法使用maap功能的问题。The purpose of the embodiments of the present application is to provide a capability forwarding method, apparatus, and electronic device, which can solve the problem that the maap function cannot be used on an electronic device that does not support the maap function.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供一种能力转发方法,该方法包括:在接收到服务器发送的maap消息、且第一电子设备与第二电子设备间通信连接的情况下,向第二电子设备发送的第一消息,第一消息包括maap消息,第二电子设备不具备maap功能;接收第二电子设备基于第一消息发送的第一响应;执行与第一响应对应的目标操作。In a first aspect, an embodiment of the present application provides a capability forwarding method. The method includes: in the case of receiving a maap message sent by a server and a communication connection between a first electronic device and a second electronic device, sending a message to the second electronic device The sent first message includes a maap message, and the second electronic device does not have the maap function; receives a first response sent by the second electronic device based on the first message; and executes a target operation corresponding to the first response.
第二方面,本申请实施例提供另一种能力转发方法,该方法包括:在第一电子设备与第二电子设备间通信连接的情况下,接收第一电子设备发送的第一消息,第一消息包括第一电子设备从服务器接收的maap消息,第二电子设备不具备maap功能;根据第一消息,向第一电子设备发送第一响应,第一响应用于指示一电子设备执行与第一响应对应的目标操作。In a second aspect, the embodiments of the present application provide another capability forwarding method, the method includes: in the case of a communication connection between the first electronic device and the second electronic device, receiving a first message sent by the first electronic device, the first The message includes the maap message received by the first electronic device from the server, and the second electronic device does not have the maap function; according to the first message, a first response is sent to the first electronic device, and the first response is used to instruct an electronic device to perform a communication with the first electronic device. Respond to the corresponding target action.
第三方面,本申请实施例还提供了一种能力转发装置,该装置包括发送模块、接收模块和执行模块;发送模块,用于在接收到服务器发送的maap消息、且第一电子设备与第二电子设备间通信连接的情况下,向第二电子设备发送的第一消息,第一消息包括maap消息,第二电子设备不具备maap功能;接收模块,用于接收第二电子设备基于发送模块发送的第一消息发送的第一响应;执行模块,用于执行与第一响应对应的目标操作。In a third aspect, an embodiment of the present application further provides a capability forwarding device, the device includes a sending module, a receiving module, and an executing module; the sending module is used for receiving the maap message sent by the server, and the first electronic device communicates with the first electronic device. In the case of communication connection between the two electronic devices, the first message sent to the second electronic device, the first message includes a maap message, and the second electronic device does not have the maap function; the receiving module is used to receive the second electronic device based on the sending module. The first response sent by the first message sent; the execution module, configured to execute the target operation corresponding to the first response.
第四方面,本申请实施例还提供了一种能力转发装置,该装置包括接收模块和发送模块;接收模块,用于在第一电子设备与第二电子设备间通信连接的情况下,接收第一电子设备发送的第一消息,第一消息包括第一电子设备从服务器接收的maap消息,第二电子设备不具备maap功能;发送模块,用于根据接收模块接收的第一消息,向第一电子设备发送第一响应,第一响应用于指示一电子设备执行与第一响应对应的目标操作。In a fourth aspect, an embodiment of the present application further provides a capability forwarding device, the device includes a receiving module and a sending module; the receiving module is configured to receive the first electronic device and the second electronic device in the case of a communication connection between the first electronic device and the second electronic device. A first message sent by an electronic device, the first message includes a maap message received by the first electronic device from a server, and the second electronic device does not have the maap function; the sending module is configured to send the first message to the first electronic device according to the first message received by the receiving module. The electronic device sends a first response, where the first response is used to instruct an electronic device to perform a target operation corresponding to the first response.
第五方面,本申请实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的程序或指令,该程序或指令被该处理器执行时实现如第一方面所述的能力转发方法的步骤。In a fifth aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and the program or instruction is implemented when executed by the processor The steps of the capability forwarding method according to the first aspect.
第六方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a sixth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
第七方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a seventh aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
在本申请实施例中,第一电子设备在接收到服务器发送的maap消息、且第一电子设备与第二电子设备间通信连接的情况下,通过向第二电子设备发送携带有该maap消息的第一消息,第二电子设备在接收到该第一消息后,将用户基于该第一消息做出的回应通过第一响应发送给第一电子设备,之后,第一电子设备根据该第一响应,执行与该第一响应对应的目标操作,使得不具备maap功能的电子设备可以使用maap功能,让用户体验到maap功能带来的便利。In this embodiment of the present application, when the first electronic device receives the maap message sent by the server and the first electronic device and the second electronic device are communicatively connected, the first electronic device sends the maap message carrying the maap message to the second electronic device. The first message. After receiving the first message, the second electronic device sends the response made by the user based on the first message to the first electronic device through the first response. After that, the first electronic device sends the first response according to the first message. , and execute the target operation corresponding to the first response, so that the electronic device without the maap function can use the maap function, so that the user can experience the convenience brought by the maap function.
附图说明Description of drawings
图1是本申请实施例提供的一种MaaP系统架构示意图;1 is a schematic diagram of a MaaP system architecture provided by an embodiment of the present application;
图2是本申请实施例提供的一种能力转发方法所应用的界面的示意图;2 is a schematic diagram of an interface to which a capability forwarding method provided by an embodiment of the present application is applied;
图3是本申请实施例提供的一种能力转发系统架构示意图;3 is a schematic diagram of the architecture of a capability forwarding system provided by an embodiment of the present application;
图4是本申请实施例提供的一种能力转发方法流程示意图;FIG. 4 is a schematic flowchart of a capability forwarding method provided by an embodiment of the present application;
图5是本申请实施例提供的另一种能力转发方法流程示意图;FIG. 5 is a schematic flowchart of another capability forwarding method provided by an embodiment of the present application;
图6是本申请实施例提供的一种能力转发装置结构示意图;6 is a schematic structural diagram of a capability forwarding apparatus provided by an embodiment of the present application;
图7是本申请实施例提供的另一种能力转发装置结构示意图;FIG. 7 is a schematic structural diagram of another capability forwarding apparatus provided by an embodiment of the present application;
图8是本申请实施例提供的一种电子设备的结构示意图之一;8 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present application;
图9是本申请实施例提供的一种电子设备的结构示意图之二。FIG. 9 is a second schematic structural diagram of 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 with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
为了方便理解,对本发明实施例中所涉及的部分术语及相关技术进行解释:For the convenience of understanding, some terms and related technologies involved in the embodiments of the present invention are explained:
融合通信(rich communication suite,RCS)是指通信技术和信息技术的融合。通信技术类的业务是指传统电信网的各类业务,例如电话业务、短消信业务、会议电话、呼叫中心等;信息技术类的业务是指网际互连协议(internet protocol,IP)类的各种业务,例如即时通信(instant messenger,IM);视频和应用共享,如视频监控、信息共享、下载业务;以及互联网业务,如电子邮件、语音邮件等。此外还有信息加工类的业务,如电子商务、信息查询等。RCS是新一代消息服务国际标准,电信运营商据此打造的新一代信息服务平台可以让“信息即平台、用户即客户、手机即应用”成为现实。以智能手机上的原生短信按键为入口,支持用户使用图文、音视频、群聊、文件传输、通话中的内容共享等多种富媒体消息,在消息窗口就可以实现搜索、交互、分享和支付等一站式业务体验。Converged communication (rich communication suite, RCS) refers to the integration of communication technology and information technology. Communication technology services refer to various services of traditional telecommunication networks, such as telephone services, short message services, conference calls, call centers, etc.; information technology services refer to internet protocol (IP) services. Various services, such as instant messenger (IM); video and application sharing, such as video surveillance, information sharing, download services; and Internet services, such as e-mail, voice mail, and the like. In addition, there are information processing business, such as e-commerce, information query and so on. RCS is an international standard for a new generation of message services. The new generation of information service platforms built by telecom operators can make "information as a platform, users as customers, and mobile phones as applications" a reality. Using the native SMS button on the smartphone as the entrance, it supports users to use various rich media messages such as graphics, audio and video, group chat, file transfer, and content sharing during calls. In the message window, you can realize search, interaction, sharing and One-stop business experience such as payment.
消息即平台MaaP,是运营商开发的一种连接企业与用户的平台,旨在将短信升级为RCS消息,并将RCS的高级消息传送功能与标准接口整合于聊天机器人(Chatbot)和插件(Plug in)中,能够以无应用程序模式,使用户在消息窗口内就可进行搜索、交互、购物、支付等一站式业务体验。MaaP可以看做一个Chatbot Store,它的核心是聊天机器人(Chatbot),Chatbot是一种可以代替APP的全新人机交互模式,它结合人工智能(artificial intelligence,AI),可以根据聊天场景为用户提供智能的个性化服务,升级用户消息体验。同时,MaaP利用Chatbot平台聚合商户,通过RCS消息通道满足商户与用户的交流。Messaging as a platform MaaP is a platform developed by operators to connect enterprises and users. It aims to upgrade SMS messages to RCS messages, and integrate the advanced messaging functions and standard interfaces of RCS into chatbots (Chatbot) and plug-ins (Plug). in), in an application-free mode, users can conduct one-stop business experience such as search, interaction, shopping, and payment within the message window. MaaP can be regarded as a Chatbot Store. Its core is a chatbot (Chatbot). Chatbot is a new human-computer interaction mode that can replace APP. It combines artificial intelligence (AI) and can provide users with chatting scenarios. Intelligent personalized service to upgrade the user's messaging experience. At the same time, MaaP uses the Chatbot platform to aggregate merchants and satisfy the communication between merchants and users through the RCS message channel.
例如,如图1所示,为相关技术中,一种MaaP系统架构图:电子设备(包括01A、01B和01C)通过基站(包括02A、02B和02C)接收RCS服务器(包括03A、03B和03C)发送的RCS消息,RCS服务器通过交换机(包括04A和04B)与MaaP平台(包括05A、05B和05C)进行数据交换,企业(包括企业A、企业B和企业C)通过MaaP平台提供的应用程序接口(applicationprogramming interface,API),为用户提供各种功能服务。For example, as shown in FIG. 1 , which is an architecture diagram of a MaaP system in the related art: an electronic device (including 01A, 01B and 01C) receives an RCS server (including 03A, 03B and 03C) through a base station (including 02A, 02B and 02C) ), the RCS server exchanges data with the MaaP platform (including 05A, 05B and 05C) through the switch (including 04A and 04B), and the applications provided by the enterprise (including enterprise A, enterprise B and enterprise C) through the MaaP platform The interface (application programming interface, API) provides users with various functional services.
本申请实施例提供的能力转发方法可以应用于用户在电子设备上使用maap功能的场景中。The capability forwarding method provided by the embodiment of the present application can be applied to a scenario where a user uses the maap function on an electronic device.
示例性的,针对用户使用maap功能进行订票的场景,在相关技术中,如图2所示,为用户使用基于maap功能的订票界面20,其中,该界面可以为电子设备中安装的短信应用界面。用户通过在界面20的聊天输入框22中,输入任意文字,例如“你好”,来触发铁路部门提供的订票功能。当用户在聊天输入框22中输入想要查询的车票信息(例如,用户想要查询07号从上海到北京的高铁二等座的车票信息)时,电子设备将用户输入的信息发送至服务器,服务器基于电子设备发送的信息,通过语义识别,确定用户查询的车票信息,之后,将用户查询的车票信息反馈给电子设备。电子设备接收到该车票信息后,将其展示在上述界面20中。例如,服务器查询到07号上海至北京的高铁二等座的所有信息(例如,卡片21中显示的车次的车票信息,以后隐藏未显示的其他车次的车票信息,用户可以通过滑动操作来查看其他车次的车票信息)并发送至电子设备,之后,电子设备将车票信息以卡片的形式展示在界面20中。若用户想要购买车次为G102的二等座,那么,用户可以点击卡片21中的“买这张”控件按钮,之后,用户可以直接在界面20中完成支付操作,方便快捷。Exemplarily, for the scenario where the user uses the maap function to book tickets, in the related art, as shown in FIG. 2 , the user uses a
然而,上述maap功能需要电子设备的系统支持RCS UP 2.4规范,对于不支持该规范的电子设备,则无法使用上述功能。However, the above-mentioned maap function requires that the system of the electronic device supports the RCS UP 2.4 specification, and the above-mentioned function cannot be used for the electronic equipment that does not support the specification.
针对这一问题,在本申请实施例提供的技术方案中,电子设备1为支持maap功能的电子设备,电子设备2为不支持maap功能的电子设备。电子设备1在接收到服务器发送的maap消息后,将该maap消息以图像或文本的形式转发至电子设备2,电子设备2在接收到电子设备1转发的消息1后,将用户基于消息1输入的消息2发送至电子设备1,电子设备1在接收到电子设备2发送的消息2后,若电子设备1接收到的maap消息为文本类型的maap消息,则电子设备1直接将消息2转发至服务器,若电子设备1接收到的maap消息为卡片类型的maap消息,则电子设备1根据消息2中对目标卡片的选择,模拟点击目标卡片,之后,电子设备1将对目标卡片的选择消息,发送至服务器。如此,对于不支持maap功能的电子设备2,便可通过上述方法,使用maap功能。In response to this problem, in the technical solutions provided by the embodiments of the present application, the electronic device 1 is an electronic device that supports the maap function, and the electronic device 2 is an electronic device that does not support the maap function. After receiving the maap message sent by the server, the electronic device 1 forwards the maap message to the electronic device 2 in the form of an image or text. After receiving the message 1 forwarded by the electronic device 1, the electronic device 2 sends the user input based on the message 1 The message 2 sent by the electronic device 1 is sent to the electronic device 1. After the electronic device 1 receives the message 2 sent by the electronic device 2, if the maap message received by the electronic device 1 is a text-type maap message, the electronic device 1 directly forwards the message 2 to The server, if the maap message received by the electronic device 1 is a card-type maap message, the electronic device 1 simulates clicking on the target card according to the selection of the target card in the message 2, and then the electronic device 1 will select the target card in the message, sent to the server. In this way, for the electronic device 2 that does not support the maap function, the maap function can be used by the above method.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的能力转发方法进行详细地说明。The capability forwarding method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
如图3所示,本申请实施例提供的一种能力转发方法系统,该系统包括下服务器301、第一电子设备302和第二电子设备303,其中:第一电子设备302为具备maap功能的电子设备,第二电子设备303为不具备maap功能的电子设备。As shown in FIG. 3 , a capability forwarding method system provided in an embodiment of the present application includes a
在第一电子设备302接收到服务器301发送的maap消息的情况下,第一电子设备302向第二电子设备303发送第一消息,该第一消息包括上述maap消息。When the first
在第一电子设备302与第二电子设备303间通信连接的情况下,第二电子设备303接收第一电子设备302发送的第一消息,该第一消息包括第一电子设备302从服务器301接收的maap消息。In the case of communication connection between the first
第二电子设备303根据上述第一消息,向第一电子设备302发送第一响应,该第一响应用于指示第一电子设备302执行与第一响应对应的目标操作。The second
第一电子设备302接收第二电子设备303基于上述第一消息发送的第一响应。第一电子设备302执行与上述第一响应对应的目标操作。The first
如此,第一电子设备在接收到服务器发送的maap消息后,可以向第二电子设备发送携带有该maap消息的第一消息,第二电子设备在接收到该第一消息后,将用户基于该第一消息做出的回应通过第一响应发送给第一电子设备,之后,第一电子设备根据该第一响应,执行与该第一响应对应的目标操作,使得不具备maap功能的第二电子设备可以使用maap功能,让第二电子设备的用户体验到maap功能带来的便利。In this way, after receiving the maap message sent by the server, the first electronic device can send the first message carrying the maap message to the second electronic device. After receiving the first message, the second electronic device The response made by the first message is sent to the first electronic device through the first response, and then the first electronic device executes the target operation corresponding to the first response according to the first response, so that the second electronic device that does not have the maap function The device can use the maap function, so that the user of the second electronic device can experience the convenience brought by the maap function.
可选地,在本申请实施例中,若第二电子设备303的用户在看到第一电子设备302支持maap功能后,非常想体验maap功能,则第二电子设备303可以向第一电子设备302发送体验请求,之后,第一电子设备302向第二电子设备303发送携带有maap消息的第一消息。Optionally, in this embodiment of the present application, if the user of the second
在第一电子设备302接收到服务器301发送的maap消息、且接收到第二电子设备303发送的第一请求情况下,第一电子设备302向第二电子设备303发送第一消息,其中,上述第一请求用于请求第一电子设备302将服务器301发送的maap消息转发至第二电子设备303。When the first
如此,第二电子设备可以主动请求第一电子设备将服务器发送的maap消息转发至第二电子设备,使得第二电子设备能够间接拥有maap功能。In this way, the second electronic device can actively request the first electronic device to forward the maap message sent by the server to the second electronic device, so that the second electronic device can indirectly possess the maap function.
可选地,在本申请实施例中,在第一电子设备302的用户想要将maap功能分享给其他用户的情况下,则第一电子设备302可以向第二电子设备303发送询问消息,并在得到确认后将maap消息发送至第二电子设备303。Optionally, in this embodiment of the present application, if the user of the first
第一电子设备302向第二电子设备303发送第一消息之前,第一电子设备302向第二电子设备303发送第二消息,该第二消息用于询问第二电子设备303是否需要将服务器301发送的maap消息转发至第二电子设备303。Before the first
第二电子设备303接收第一电子设备发送的第二消息,若上述maap消息为第二电子设备303需要的maap消息,则第二电子设备303向第一电子设备302发送第二响应。The second
第一电子设备302在接收到第二电子设备303发送的第二响应的情况下,向第二电子设备303发送第一消息。When receiving the second response sent by the second
如此,第一电子设备可以主动向第二电子设备分享maap功能,使得第二电子设备能够间接拥有maap功能。In this way, the first electronic device can actively share the maap function with the second electronic device, so that the second electronic device can indirectly possess the maap function.
可选地,在本申请实施例中,第一电子设备302,可以根据服务器301发送的maap消息的类型,确定并执行与第二电子设备303向第一电子设备302发送的第一响应对应的操作。Optionally, in this embodiment of the present application, the first
在第一电子设备302向第二电子设备303发送第一消息之前,第一电子设备302在上述maap消息为卡片类型的maap消息的情况下,将卡片类型的maap消息转换为文本类型的maap消息;上述第一消息中包含文本类型的maap消息;maap消息中包括N个选项,N为正整数。Before the first
第二电子设备303接收用户对上述N个选项中目标选项的选择输入;第二电子设备303响应于上述选择输入,向第一电子设备302发送第一响应。The second
第一电子设备302在第一响应包括文本消息的情况下,向服务器301发送第三消息,该第三消息用于指示用户选中目标选项;上述目标选项为N个选项中上述文本消息指示的选项。When the first response includes a text message, the first
如此,当上述maap消息为卡片类型的maap消息时,第一电子设备可以根据第二电子设备的用户做出的回应,通过模拟点击的方式选择第二电子设备的用户想要选择的卡片。In this way, when the above-mentioned maap message is a card-type maap message, the first electronic device can select the card that the user of the second electronic device wants to select by simulating a click according to the response made by the user of the second electronic device.
如图4所示,为本实施例提供的一种能力转发方法,该能力转发方法主要针对第一电子设备侧,该方法包括以下步骤401至步骤403:As shown in FIG. 4 , a capability forwarding method provided in this embodiment is mainly aimed at the first electronic device side, and the method includes the following
步骤401、在接收到服务器发送的maap消息、且第二电子设备不具备maap能力的情况下,第一电子设备向第二电子设备发送第一消息,该第一消息包括maap消息。Step 401: In the case where the maap message sent by the server is received and the second electronic device does not have the maap capability, the first electronic device sends a first message to the second electronic device, where the first message includes the maap message.
示例性的,上述服务器可以为如图1中所示的系统架构中为电子设备提供maap功能服务的所有服务器及企业(例如,图1中的RCS服务器、MaaP平台以及企业A、企业B和企业C)的统称,以下简称服务器。Exemplarily, the above-mentioned servers can be all servers and enterprises that provide maap function services for electronic devices in the system architecture shown in FIG. C) collectively, hereinafter referred to as the server.
示例性的,第一电子设备可以通过接收用户在如图2所示的功能界面20中的文本输入,来触发服务器向第一电子设备发送maap消息。Exemplarily, the first electronic device may trigger the server to send a maap message to the first electronic device by receiving a text input from the user in the
示例性的,上述maap消息为服务器发送的,可以为电子设备提供maap功能的消息。由于第二电子设备不具备maap功能,因而无法直接解析上述maap消息,因此,上述第一消息包括maap消息,可以理解为,第一电子设备接收到服务器发送的maap消息后,将该消息中用户能够获取的资讯信息等消息内容,以图片或文本等形式发送给第二电子设备。Exemplarily, the above-mentioned maap message is a message sent by the server and can provide the electronic device with the maap function. Since the second electronic device does not have the maap function, it cannot directly parse the above-mentioned maap message. Therefore, the above-mentioned first message includes a maap message. It can be understood that after the first electronic device receives the maap message sent by the server, the user The acquired information and other message contents are sent to the second electronic device in the form of pictures or texts.
示例性的,上述第一电子设备与第二电子设备间可以通过以下至少一种方式建立通信连接,包括:有线(例如,数据线),无线(例如,WIFI、蓝牙、第四代移动通信技术(the4th generation mobile communication technology,4G))等连接方式建立点对点(peer-to-peer,P2P)连接,或者以短信方式建立通信连接。Exemplarily, a communication connection may be established between the above-mentioned first electronic device and the second electronic device in at least one of the following manners, including: wired (for example, a data line), wireless (for example, WIFI, Bluetooth, fourth-generation mobile communication technology) (the4th generation mobile communication technology, 4G)) and other connection methods to establish a point-to-point (peer-to-peer, P2P) connection, or establish a communication connection by means of short messages.
举例说明,结合上述图2,如图2所示,以图2中的电子设备为上述第一电子设备为例。电子设备接收到服务器发送的文本消息23(即上述maap消息)后,可以直接将该消息23转发至第二电子设备,电子设备接收到服务器发送的卡片消息21后,可以将该消息以图片或者转换成文本形式的消息发送给第二电子设备。例如,电子设备可以将卡片21中的车次的详情信息以文本的形式转发至第二电子设备。For example, with reference to the above FIG. 2 , as shown in FIG. 2 , it is taken as an example that the electronic device in FIG. 2 is the above-mentioned first electronic device. After the electronic device receives the
步骤402、第一电子设备接收第二电子设备基于上述第一消息发送的第一响应。Step 402: The first electronic device receives a first response sent by the second electronic device based on the first message.
示例性的,第二电子设备接收到第一电子设备发送的第一消息后,可以在第二电子设备中安装的短信应用的界面中显示该第一消息。第二电子设备的用户可以基于该第一消息做出适当的回应,并通过该短信界面将用户的回应输入到第二电子设备中,之后,第二电子设备向第一电子设备发送第一响应,该第一响应中包括用户对第一消息的回应。Exemplarily, after receiving the first message sent by the first electronic device, the second electronic device may display the first message in the interface of the short message application installed in the second electronic device. The user of the second electronic device can make an appropriate response based on the first message, and input the user's response into the second electronic device through the short message interface, and then the second electronic device sends the first response to the first electronic device , and the first response includes the user's response to the first message.
举例说明,如图2所示,以电子设备为第一电子设备为例,电子设备接收到服务器发送的提示用户如何查询车票信息的提示消息23后,将消息23转发至第二电子设备,第二电子设备的用户在短信界面中查看到该消息后,在短信界面的文本输入框中输入想要查询的车票信息,之后,第二电子设备将用户想要查询的车票信息(即上述第一响应)发送至第一电子设备。For example, as shown in FIG. 2, taking the electronic device as the first electronic device as an example, after receiving the
步骤403、第一电子设备执行与上述第一响应对应的目标操作。Step 403: The first electronic device executes the target operation corresponding to the above-mentioned first response.
示例性的,上述目标操作可以为转发第一响应中包含的文本信息的操作,还可以为用户对第一电子设备接收服务器发送的包含多个选项的maap消息中目标选项的选择操作。进一步的,该选择操作可以为模拟用户点击目标选项的操作。Exemplarily, the above-mentioned target operation may be an operation of forwarding the text information contained in the first response, and may also be an operation of a user selecting a target option in a maap message containing multiple options sent by the first electronic device to receive the server. Further, the selection operation may be an operation of simulating the user clicking on the target option.
举例说明,如图2所示,以上述maap消息为卡片21中的消息,以电子设备为上述第一电子设备为例,电子设备将卡片21中的消息以文本的形式发送给第二电子设备后,第二电子设备的用户在短信界面中输入“G102”,之后,第二电子设备将用户输入的“G102”发送给电子设备。电子设备接收到包含“G102”的消息后,模拟点击卡片21中的“买这张”按钮控件。For example, as shown in FIG. 2 , taking the above-mentioned maap message as the message in the
如此,可以使得不支持maap功能的第二电子设备,使用maap功能,让第二电子设备的用户体验到maap功能带来的便利。In this way, the second electronic device that does not support the maap function can use the maap function, so that the user of the second electronic device can experience the convenience brought by the maap function.
可选地,在本申请实施例中,第一电子设备接收到上述第一响应后,可以根据第一电子设备接收的服务器发送的maap消息的消息类型,来确定与上述第一响应对应的目标操作。Optionally, in this embodiment of the present application, after receiving the first response, the first electronic device may determine the target corresponding to the first response according to the message type of the maap message sent by the server received by the first electronic device. operate.
示例性的,上述步骤401之前,本申请实施例提供的能力转发方法,还可以包括以下步骤401a:Exemplarily, before the foregoing
步骤401a、第一电子设备在上述maap消息为卡片类型的maap消息的情况下,将该卡片类型的maap消息转换为文本类型的maap消息。Step 401a: In the case that the above-mentioned maap message is a card-type maap message, the first electronic device converts the card-type maap message into a text-type maap message.
其中,上述第一消息中包含文本类型的maap消息;上述maap消息中包括N个选项,N为正整数。Wherein, the above-mentioned first message includes a text-type maap message; the above-mentioned maap message includes N options, and N is a positive integer.
示例性的,上述步骤403,可以包括以下步骤403a:Exemplarily, the
步骤403a、在上述第一响应包括文本消息的情况下,第一电子设备向服务器发送第三消息,该第三消息用于指示用户选中目标选项。Step 403a: In the case that the above-mentioned first response includes a text message, the first electronic device sends a third message to the server, where the third message is used to instruct the user to select the target option.
其中,上述目标选项为N个选项中文本消息指示的选项。Wherein, the above-mentioned target option is the option indicated by the text message among the N options.
需要说明的是,第一电子设备还可以将上述卡片类型的maap消息转换为图片,并将该图片发送至第二电子设备。同理,任何以第二电子设备的用户能够识别出该卡片内容的转换都属于本申请实施例的保护范围。It should be noted that, the first electronic device may also convert the above-mentioned card type maap message into a picture, and send the picture to the second electronic device. Similarly, any conversion of the card content that can be identified by the user of the second electronic device falls within the protection scope of the embodiments of the present application.
示例性的,第二电子设备发送的第一响应中,以文本形式携带用户基于第一消息做出的回应。第二电子设备的用户还可以通过语音的形式做出回应。即,上述第一响应中还可以包括语音消息。Exemplarily, the first response sent by the second electronic device carries the response made by the user based on the first message in the form of text. The user of the second electronic device can also respond in the form of voice. That is, the above-mentioned first response may also include a voice message.
示例性的,以上述第一响应中包括语音消息为例,第一电子设备在接收到第一响应后,将该第一响应中的语音消息转换为消息,并对其进行语义识别,之后,根据识别结果,模拟点击第一响应对应的目标选项。Exemplarily, taking the above-mentioned first response including a voice message as an example, after receiving the first response, the first electronic device converts the voice message in the first response into a message, and performs semantic recognition on it, and then, According to the recognition result, simulate clicking on the target option corresponding to the first response.
示例性的,为了减少数据传输量,上述语音转换过程还可以在第二电子设备中进行,即第二电子设备将用户的语音输入转换为文本消息,之后,发送给第一电子设备。Exemplarily, in order to reduce the amount of data transmission, the above voice conversion process can also be performed in the second electronic device, that is, the second electronic device converts the user's voice input into a text message, and then sends it to the first electronic device.
示例性的,第一电子设备在模拟点击目标选项后,触发第一电子设备向服务器发送第三消息,该第三消息用于指示用户选中目标选项。Exemplarily, after simulating clicking on the target option, the first electronic device triggers the first electronic device to send a third message to the server, where the third message is used to instruct the user to select the target option.
如此,当上述maap消息为卡片类型的maap消息时,第一电子设备可以根据第二电子设备的用户做出的回应,通过模拟点击的方式选择第二电子设备的用户想要选择的卡片。In this way, when the above-mentioned maap message is a card-type maap message, the first electronic device can select the card that the user of the second electronic device wants to select by simulating a click according to the response made by the user of the second electronic device.
可选地,在本申请实施例中,若第二电子设备的用户在看到第一电子设备支持maap功能后,非常想体验第一电子设备的maap功能,则第二电子设备可以向第一电子设备发送体验请求,来通过上述方法体验maap功能。Optionally, in this embodiment of the present application, if the user of the second electronic device really wants to experience the maap function of the first electronic device after seeing that the first electronic device supports the maap function, the second electronic device can report to the first electronic device. The electronic device sends an experience request to experience the maap function through the above method.
示例性的,上述步骤401可以包括以下步骤401b:Exemplarily, the
步骤401b、在接收到服务器发送的maap消息、且接收到第二电子设备发送的第一请求情况下,第一电子设备向第二电子设备发送第一消息。Step 401b: In the case of receiving the maap message sent by the server and receiving the first request sent by the second electronic device, the first electronic device sends the first message to the second electronic device.
其中,上述第一请求用于请求将服务器发送的maap消息转发至第二电子设备。The above-mentioned first request is used for requesting to forward the maap message sent by the server to the second electronic device.
示例性的,第一电子设备在接收到第二电子设备发送的第一请求后,向第二电子设备发送携带有maap消息的第一消息。Exemplarily, after receiving the first request sent by the second electronic device, the first electronic device sends the first message carrying the maap message to the second electronic device.
如此,第二电子设备可以主动请求第一电子设备将服务器发送的maap消息转发至第二电子设备,使得第二电子设备能够间接拥有maap功能。In this way, the second electronic device can actively request the first electronic device to forward the maap message sent by the server to the second electronic device, so that the second electronic device can indirectly possess the maap function.
可选地,在本申请实施例中,在第一电子设备的用户想要将maap功能分享给其他用户的情况下,则第一电子设备可以向第二电子设备发送询问消息,并在得到确认后将maap消息发送至第二电子设备。Optionally, in this embodiment of the present application, if the user of the first electronic device wants to share the maap function with other users, the first electronic device may send an inquiry message to the second electronic device, and after getting confirmation and then send the maap message to the second electronic device.
示例性的,上述步骤401之前,本申请实施例提供的能力转发方法,还可以包括以下步骤401c:Exemplarily, before the foregoing
步骤401c、第一电子设备向第二电子设备发送第二消息。Step 401c, the first electronic device sends a second message to the second electronic device.
其中,上述第二消息用于询问第二电子设备,是否需要将服务器发送的maap消息转发至第二电子设备。The above-mentioned second message is used to inquire the second electronic device whether the maap message sent by the server needs to be forwarded to the second electronic device.
示例性的,上述步骤403,可以包括以下步骤403b:Exemplarily, the
步骤403b、在接收到第二电子设备发送的第二响应的情况下,第一电子设备向第二电子设备发送第一消息。Step 403b, in the case of receiving the second response sent by the second electronic device, the first electronic device sends the first message to the second electronic device.
如此,第一电子设备可以主动向第二电子设备分享maap功能,使得第二电子设备能够间接拥有maap功能。In this way, the first electronic device can actively share the maap function with the second electronic device, so that the second electronic device can indirectly possess the maap function.
如图5所示,为本实施例提供的另一种能力转发方法,该能力转发方法主要针对第二电子设备侧,该方法包括以下步骤501至步骤503:As shown in FIG. 5, another capability forwarding method provided in this embodiment is mainly aimed at the second electronic device side, and the method includes the following
步骤501、在第一电子设备与第二电子设备间通信连接的情况下,第二电子设备接收第一电子设备发送的第一消息。Step 501: In the case of communication connection between the first electronic device and the second electronic device, the second electronic device receives the first message sent by the first electronic device.
其中,上述第二电子设备不具备maap功能。Wherein, the above-mentioned second electronic device does not have the maap function.
示例性的,上述第一消息中包含文本类型的maap消息;该maap消息中包括N个选项,N为正整数。上述文本类型的maap消息为第一电子设备将卡片类型的maap消息转换后得到的。Exemplarily, the above-mentioned first message includes a text-type maap message; the maap message includes N options, and N is a positive integer. The above text-type maap message is obtained by the first electronic device after converting the card-type maap message.
步骤502、第二电子设备接收用户对N个选项中目标选项的选择输入。Step 502: The second electronic device receives a user's selection input of a target option among the N options.
步骤503、第二电子设备响应于所述选择输入,向第一电子设备发送第一响应。Step 503: In response to the selection input, the second electronic device sends a first response to the first electronic device.
其中,上述第一响应用于指示所述第一电子设备执行与所述第一响应对应的目标操作。The above-mentioned first response is used to instruct the first electronic device to perform a target operation corresponding to the first response.
示例性的,上述选择输入可以为第二电子设备的用户用于选择目标选择的文本输入或语音输入。Exemplarily, the above-mentioned selection input may be text input or voice input used by the user of the second electronic device to select the target selection.
需要说明的是,上述过程具体实施方式已经在如图4所示的能力转发方法实施例中进行了详细介绍,为了避免重复,在此不再赘述。It should be noted that, the specific implementation manner of the above process has been described in detail in the embodiment of the capability forwarding method shown in FIG.
如此,第二电子设备的用户可以对第一电子设备接收到的含有多个选项的maap消息中的目标选项进行选择,实现maap中的卡片选择功能。In this way, the user of the second electronic device can select the target option in the maap message containing multiple options received by the first electronic device, so as to realize the card selection function in the maap.
本申请实施例提供的能力转发方法,第一电子设备在接收到服务器发送的maap消息后,可以向第二电子设备发送携带有该maap消息的第一消息,第二电子设备在接收到该第一消息后,将用户基于该第一消息做出的回应通过第一响应发送给第一电子设备,之后,第一电子设备根据该第一响应,执行与该第一响应对应的目标操作,使得不具备maap功能的第二电子设备可以使用maap功能,让第二电子设备的用户体验到maap功能带来的便利。In the capability forwarding method provided by this embodiment of the present application, after receiving the maap message sent by the server, the first electronic device can send the first message carrying the maap message to the second electronic device, and the second electronic device can send the first message carrying the maap message to the second electronic device, and the second electronic device receives the maap message. After a message is sent, the response made by the user based on the first message is sent to the first electronic device through the first response, and then the first electronic device performs the target operation corresponding to the first response according to the first response, so that The second electronic device that does not have the maap function can use the maap function, so that the user of the second electronic device can experience the convenience brought by the maap function.
需要说明的是,本申请实施例提供的能力转发方法,执行主体可以为能力转发装置,或者该能力转发装置中的用于执行能力转发方法的控制模块。本申请实施例中以能力转发装置执行能力转发方法为例,说明本申请实施例提供的能力转发装置。It should be noted that, in the capability forwarding method provided by the embodiment of the present application, the execution subject may be a capability forwarding apparatus, or a control module in the capability forwarding apparatus for executing the capability forwarding method. In the embodiment of the present application, the capability forwarding device provided by the embodiment of the present application is described by taking the capability forwarding method performed by the capability forwarding device as an example.
需要说明的是,本申请实施例中,上述各个方法附图所示的。能力转发方法均是以结合本申请实施例中的一个附图为例示例性的说明的。具体实现时,上述各个方法附图所示的能力转发方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiments of the present application, the above methods are shown in the accompanying drawings. The capability forwarding methods are all exemplarily described with reference to a figure in the embodiments of the present application. During specific implementation, the capability forwarding methods shown in the drawings of the above-mentioned methods may also be implemented in combination with any other drawings shown in the above-mentioned embodiments that can be combined, and details are not described herein again.
图6为实现本申请实施例提供的一种能力转发装置的可能的结构示意图,如图6所示,能力转发装置600包括:发送模块601、接收模块602和执行模块603,其中:发送模块601,用于在接收到服务器发送的maap消息、且第二电子设备不具备maap能力的情况下,向第二电子设备发送第一消息,第一消息包括maap消息,第二电子设备不具备maap功能;接收模块602,用于接收第二电子设备基于发送模块601发送的第一消息发送的第一响应;执行模块603,用于执行与接收模块601接收的第一响应对应的目标操作。FIG. 6 is a schematic diagram of a possible structure for implementing a capability forwarding apparatus provided by an embodiment of the present application. As shown in FIG. 6 , the
可选地,发送模块601,具体用于在接收到服务器发送的maap消息、且接收到第二电子设备发送的第一请求情况下,向第二电子设备发送第一消息;其中,第一请求用于请求将服务器发送的maap消息转发至第二电子设备。Optionally, the sending
可选地,发送模块601,还用于向第二电子设备发送第二消息,第二消息用于询问是否需要将服务器发送的maap消息转发至第二电子设备;发送模块601,具体用于在接收到第二电子设备发送的第二响应的情况下,向第二电子设备发送第一消息。Optionally, the sending
可选地,如图6所示,能力转发装置600,还包括:转换模块604;转换模块604,用于在上述maap消息为卡片类型的maap消息的情况下,将卡片类型的maap消息转换为文本类型的maap消息;第一消息中包含文本类型的maap消息;maap消息中包括N个选项,N为正整数;执行模块603,具体用于在接收模块602接收的第一响应包括文本消息的情况下,向服务器发送第三消息,第三消息用于指示用户选中目标选项;目标选项为N个选项中文本消息指示的选项。Optionally, as shown in FIG. 6 , the
需要说明的是,如图6所示,能力转发装置600中一定包括的模块用实线框示意,如发送模块601、接收模块602和执行模块603;能力转发装置600中可能包括的模块用虚线框示意,如转换模块604。It should be noted that, as shown in FIG. 6 , the modules that must be included in the
图7为实现本申请实施例提供的另一种能力转发装置的可能的结构示意图,如图7所示,能力转发装置700包括:接收模块701、发送模块702和用户输入模块703;其中:7 is a schematic diagram of a possible structure for implementing another capability forwarding apparatus provided by an embodiment of the present application. As shown in FIG. 7 , the
接收模块701,用于在第一电子设备与第二电子设备间通信连接的情况下,接收第一电子设备发送的第一消息,第二电子设备不具备maap功能;第一消息中包含文本类型的maap消息;maap消息中包括N个选项,N为正整数;用户输入模块703,用于接收用户对N个选项中目标选项的选择输入;发送模块702,具体用于响应于用户输入模块703接收的选择输入,向第一电子设备发送第一响应;其中,第一响应用于指示一电子设备执行与第一响应对应的目标操作。The receiving
本申请实施例中的能力转发装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personaldigital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(NetworkAttached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The capability forwarding device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). , PDA), etc., the non-mobile electronic device may be a server, a network attached storage (NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc. The embodiments of the present application There is no specific limitation.
本申请实施例中的能力转发装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The capability forwarding device in this embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的能力转发装置能够实现图2至图4的方法实施例实现的各个过程,为避免重复,这里不再赘述。The capability forwarding apparatus provided in this embodiment of the present application can implement each process implemented by the method embodiments in FIG. 2 to FIG. 4 , and to avoid repetition, details are not repeated here.
本申请实施例提供的能力转发装置,第一电子设备在接收到服务器发送的maap消息后,可以向第二电子设备发送携带有该maap消息的第一消息,第二电子设备在接收到该第一消息后,将用户基于该第一消息做出的回应通过第一响应发送给第一电子设备,之后,第一电子设备根据该第一响应,执行与该第一响应对应的目标操作,使得不具备maap功能的第二电子设备可以使用maap功能,让第二电子设备的用户体验到maap功能带来的便利。In the capability forwarding device provided by the embodiment of the present application, after receiving the maap message sent by the server, the first electronic device can send the first message carrying the maap message to the second electronic device, and the second electronic device receives the maap message. After a message is sent, the response made by the user based on the first message is sent to the first electronic device through the first response, and then the first electronic device performs the target operation corresponding to the first response according to the first response, so that The second electronic device that does not have the maap function can use the maap function, so that the user of the second electronic device can experience the convenience brought by the maap function.
可选的,如图8所示,本申请实施例还提供一种电子设备M00,包括处理器M01,存储器M02,存储在存储器M02上并可在所述处理器M01上运行的程序或指令,该程序或指令被处理器M01执行时实现上述能力转发方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 8, an embodiment of the present application also provides an electronic device M00, including a processor M01, a memory M02, a program or instruction stored in the memory M02 and running on the processor M01, When the program or instruction is executed by the processor M01, each process of the above-mentioned embodiment of the capability forwarding method can be achieved, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图9为实现本申请各个实施例的一种电子设备的硬件结构示意图。FIG. 9 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present application.
该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、以及处理器110等部件。The
本领域技术人员可以理解,电子设备100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the
其中,当电子设备100为第一电子设备时,射频单元101,用于在接收到服务器发送的maap消息、且第二电子设备不具备maap能力的情况下,向第二电子设备发送第一消息,第一消息包括maap消息,第二电子设备不具备maap功能;射频单元101,用于接收第二电子设备基于射频单元101发送的第一消息发送的第一响应;处理器110,用于执行与射频单元101接收的第一响应对应的目标操作。Wherein, when the
如此,可以使得不支持maap功能的第二电子设备,使用maap功能,让第二电子设备的用户体验到maap功能带来的便利。In this way, the second electronic device that does not support the maap function can use the maap function, so that the user of the second electronic device can experience the convenience brought by the maap function.
可选地,射频单元101,具体于在接收到服务器发送的maap消息、且接收到第二电子设备发送的第一请求情况下,向第二电子设备发送第一消息;其中,第一请求用于请求将服务器发送的maap消息转发至第二电子设备。Optionally, the
如此,第二电子设备可以主动请求第一电子设备将服务器发送的maap消息转发至第二电子设备,使得第二电子设备能够间接拥有maap功能。In this way, the second electronic device can actively request the first electronic device to forward the maap message sent by the server to the second electronic device, so that the second electronic device can indirectly possess the maap function.
可选地,射频单元101,还用于向第二电子设备发送第二消息,第二消息用于询问是否需要将服务器发送的maap消息转发至第二电子设备;射频单元101,具体用于在接收到第二电子设备发送的第二响应的情况下,向第二电子设备发送第一消息。Optionally, the
如此,第一电子设备可以主动向第二电子设备分享maap功能,使得第二电子设备能够间接拥有maap功能。In this way, the first electronic device can actively share the maap function with the second electronic device, so that the second electronic device can indirectly possess the maap function.
可选地,处理器110,用于在上述maap消息为卡片类型的maap消息的情况下,将卡片类型的maap消息转换为文本类型的maap消息;第一消息中包含文本类型的maap消息;maap消息中包括N个选项;处理器110,具体用于在射频单元101接收的第一响应包括文本消息的情况下,向服务器发送第三消息,第三消息用于指示用户选中目标选项;目标选项为N个选项中文本消息指示的选项。Optionally, the
如此,当上述maap消息为卡片类型的maap消息时,第一电子设备可以根据第二电子设备的用户做出的回应,通过模拟点击的方式选择第二电子设备的用户想要选择的卡片。In this way, when the above-mentioned maap message is a card-type maap message, the first electronic device can select the card that the user of the second electronic device wants to select by simulating a click according to the response made by the user of the second electronic device.
当电子设备100为第二电子设备时,射频单元101,用于在第一电子设备与第二电子设备间通信连接的情况下,接收第一电子设备发送的第一消息,第二电子设备不具备maap功能;第一消息中包含文本类型的maap消息;maap消息中包括N个选项,N为正整数;用户输入单元107,用于接收用户对N个选项中目标选项的选择输入;射频单元101,具体用于响应于用户输入单元107接收的选择输入,向第一电子设备发送第一响应。When the
如此,第二电子设备的用户可以对第一电子设备接收到的含有多个选项的maap消息中的目标选项进行选择,实现maap中的卡片选择功能。In this way, the user of the second electronic device can select the target option in the maap message containing multiple options received by the first electronic device, so as to realize the card selection function in the maap.
本申请实施例提供的电子设备,第一电子设备在接收到服务器发送的maap消息后,可以向第二电子设备发送携带有该maap消息的第一消息,第二电子设备在接收到该第一消息后,将用户基于该第一消息做出的回应通过第一响应发送给第一电子设备,之后,第一电子设备根据该第一响应,执行与该第一响应对应的目标操作,使得不具备maap功能的第二电子设备可以使用maap功能,让第二电子设备的用户体验到maap功能带来的便利。In the electronic device provided by the embodiment of the present application, after receiving the maap message sent by the server, the first electronic device can send the first message carrying the maap message to the second electronic device, and the second electronic device receives the first message. After the message is sent, the response made by the user based on the first message is sent to the first electronic device through the first response, and then the first electronic device performs the target operation corresponding to the first response according to the first response, so that no The second electronic device with the maap function can use the maap function, so that the user of the second electronic device can experience the convenience brought by the maap function.
应理解的是,本申请实施例中,输入单元104可以包括图形处理器(GraphicsProcessing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元106可包括显示面板1061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板1061。用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。It should be understood that, in this embodiment of the present application, the
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述能力转发方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the capability forwarding method is implemented, and the same can be achieved. In order to avoid repetition, the technical effect will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述能力转发方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the capability forwarding method embodiments described above. Each process can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010738554.7A CN111970188B (en) | 2020-07-28 | 2020-07-28 | Capability forwarding method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010738554.7A CN111970188B (en) | 2020-07-28 | 2020-07-28 | Capability forwarding method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111970188A CN111970188A (en) | 2020-11-20 |
CN111970188B true CN111970188B (en) | 2022-09-30 |
Family
ID=73363120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010738554.7A Active CN111970188B (en) | 2020-07-28 | 2020-07-28 | Capability forwarding method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111970188B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112612559A (en) * | 2020-11-23 | 2021-04-06 | 捷德(中国)科技有限公司 | Message processing method and device, electronic equipment and storage medium |
CN112437002B (en) * | 2020-11-23 | 2023-05-12 | 彩讯科技股份有限公司 | Food ordering method, system, equipment and storage medium based on RCS message |
CN113222575A (en) * | 2021-05-17 | 2021-08-06 | 中国银行股份有限公司 | Deposit certificate opening method and device |
CN114979981B (en) * | 2022-03-11 | 2023-07-21 | 中移互联网有限公司 | Message transmission method, device, electronic equipment and storage medium |
CN114979055B (en) * | 2022-04-26 | 2023-09-19 | 中移互联网有限公司 | A method of message transmission |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103582169A (en) * | 2012-08-10 | 2014-02-12 | 财团法人工业技术研究院 | Multilayer network connection communication system, intelligent terminal device and communication method thereof |
CN105959469A (en) * | 2016-04-25 | 2016-09-21 | 奇酷软件(深圳)有限公司 | Short message display method, display device, and terminal |
CN105991354A (en) * | 2015-03-23 | 2016-10-05 | 三星电子株式会社 | Method and apparatus for transmitting integrated messages |
CN111107503A (en) * | 2019-12-30 | 2020-05-05 | 珠海市小源科技有限公司 | Short message fallback method, device and system for converged communication message platform service |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101496649B1 (en) * | 2009-08-21 | 2015-03-02 | 삼성전자주식회사 | Method and apparatus for sharing fuction of external device |
CN105227469B (en) * | 2014-07-01 | 2018-11-23 | 中国移动通信集团公司 | A kind of capacity of equipment discovery method, apparatus and terminal |
US10341810B2 (en) * | 2016-06-23 | 2019-07-02 | T-Mobile Usa, Inc. | Geolocation compatibility for non-RCS devices |
CN107809437B (en) * | 2017-11-15 | 2021-04-13 | Oppo广东移动通信有限公司 | Converged communication logging method, device and computer-readable storage medium |
CN111092802B (en) * | 2018-10-23 | 2022-09-16 | 中国移动通信有限公司研究院 | A message interaction method, sending device and receiving device |
CN110337077B (en) * | 2019-04-10 | 2021-08-17 | 中国联合网络通信集团有限公司 | Method and device for determining RCS terminal service message delivery strategy |
-
2020
- 2020-07-28 CN CN202010738554.7A patent/CN111970188B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103582169A (en) * | 2012-08-10 | 2014-02-12 | 财团法人工业技术研究院 | Multilayer network connection communication system, intelligent terminal device and communication method thereof |
CN105991354A (en) * | 2015-03-23 | 2016-10-05 | 三星电子株式会社 | Method and apparatus for transmitting integrated messages |
CN105959469A (en) * | 2016-04-25 | 2016-09-21 | 奇酷软件(深圳)有限公司 | Short message display method, display device, and terminal |
CN111107503A (en) * | 2019-12-30 | 2020-05-05 | 珠海市小源科技有限公司 | Short message fallback method, device and system for converged communication message platform service |
Non-Patent Citations (2)
Title |
---|
"RCS Universal Profile Service Definition Document Version 2.4";Tom Van Pelt;《GSMA》;20191116;正文第1.2,5章节 * |
《5G消息白皮书》;中国电信 等;《百度》;20200408;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111970188A (en) | 2020-11-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111970188B (en) | Capability forwarding method and device | |
CN108306810B (en) | Group building method, server and terminal | |
AU2012327213B2 (en) | Creating and discovering real-time conversations | |
US20170230326A1 (en) | Integrated Messaging | |
CN106293319B (en) | service object transmission method and device | |
WO2022089568A1 (en) | File sharing method and apparatus, and electronic device | |
CN107040453B (en) | Information processing method and device for instant messaging application | |
CN111880695A (en) | Screen sharing method, device, equipment and storage medium | |
CN112306325B (en) | Interactive control method and device | |
CN102497333B (en) | In order to export the method for contact object Weather information, client and system | |
JP2025522615A (en) | Method, device, and storage medium for displaying conversational messages | |
CN103067557A (en) | A method, device and mobile terminal for displaying information | |
KR101783431B1 (en) | Method for providing funding and consulting information related with entertainment by crowd funding system | |
KR102127336B1 (en) | A method and terminal for providing a function of managing a message of a vip | |
CN110136713A (en) | User's dialogue method and system in multimodal interaction | |
CN113285866B (en) | Information sending method and device and electronic equipment | |
CN104092596A (en) | Music user group management method, device and system | |
CN112511412B (en) | Information sending method and device, electronic equipment and readable storage medium | |
CN105704001A (en) | WeChat server message distribution method and WeChat server message distribution system | |
CN104216982B (en) | A kind of information processing method and electronic equipment | |
CN114051009B (en) | Message sending methods and electronic devices | |
CN109766315A (en) | Document presentation method and terminal, computer storage medium, computer equipment | |
CN113179322B (en) | Remote interaction method, device, electronic device and storage medium | |
WO2025036257A1 (en) | Information processing method and apparatus, electronic device, and computer-readable storage medium | |
CN107770474B (en) | Sound processing method and device, terminal equipment and storage medium |
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 |