WO2021134757A1 - Method and device for exchanging information with user - Google Patents

Method and device for exchanging information with user Download PDF

Info

Publication number
WO2021134757A1
WO2021134757A1 PCT/CN2020/070133 CN2020070133W WO2021134757A1 WO 2021134757 A1 WO2021134757 A1 WO 2021134757A1 CN 2020070133 W CN2020070133 W CN 2020070133W WO 2021134757 A1 WO2021134757 A1 WO 2021134757A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
human
computer interaction
user
user input
Prior art date
Application number
PCT/CN2020/070133
Other languages
French (fr)
Chinese (zh)
Inventor
吕小强
茹昭
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to PCT/CN2020/070133 priority Critical patent/WO2021134757A1/en
Priority to CN202080078066.6A priority patent/CN114651434A/en
Publication of WO2021134757A1 publication Critical patent/WO2021134757A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • This application relates to the field of communications, and in particular to a method and device for information interaction with users.
  • IoT Internet of Things
  • Some IoT devices do not have user input functions and/or user output functions due to factors such as cost or application environment. That is, these IoT devices cannot directly receive information input by users, nor can they directly display output information to users, resulting in user inconvenience. , How to enable users to interact with these IoT devices without increasing costs or changing the application environment is a problem that needs to be resolved.
  • the present application provides a method and device for information interaction with users, which can enable users to interact with the aforementioned IoT devices without increasing costs or changing the application environment.
  • a method for information interaction with a user which is characterized in that it includes: subscribing to a human-computer interaction resource conforming to the OCF protocol; and performing information interaction with the user through the human-computer interaction resource.
  • the subscription device may be a device without user interaction function or a device with user interaction function.
  • the method described above can realize the user interaction function without increasing the cost or changing the application environment; when the subscription device has the user interaction function, if the human-computer interaction resource has more With good input and output performance, the subscription device can implement better user interaction functions through the method described above without increasing the cost or changing the application environment.
  • a device for information interaction with a user can realize the function corresponding to the method in the first aspect.
  • the function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more units or modules corresponding to the above-mentioned functions.
  • the device is a terminal device or a chip.
  • the device may include a processing unit and a transceiving unit.
  • the processing unit may be a processor, and the transceiving unit may be a transceiver;
  • the terminal device may also include a storage unit, and the storage unit may be a memory; the storage unit is used to store instructions, and the processing The unit executes the instructions stored in the storage unit, so that the terminal device executes the method described in the first aspect.
  • the processing unit may be a processor, and the transceiving unit may be an input/output interface, a pin or a circuit, etc.; the processing unit executes the instructions stored in the storage unit to include the
  • the terminal device of the chip executes the method described in the first aspect, and the storage unit may be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit in the terminal device located outside the chip (for example, , Read-only memory, random access memory, etc.).
  • a computer-readable storage medium is provided, and a computer program is stored in the computer-readable storage medium.
  • the processor executes the method described in the first aspect.
  • a computer program product including computer program code, and when the computer program code is executed by a processor, the processor executes the method described in the first aspect.
  • a computer program which when running on a computer, causes the computer to execute the method described in the first aspect.
  • FIG. 1 is a schematic diagram of an IoT system applicable to the present application
  • Figure 2 is a schematic diagram of a method for information interaction with a user provided by the present application
  • Figure 3 is a schematic diagram of another method for information interaction with a user provided by the present application.
  • Fig. 4 is a schematic diagram of a device for information interaction with a user provided by the present application.
  • Fig. 5 is a schematic diagram of an IoT device for information interaction with a user provided by the present application.
  • resources can be used to define the function of the device.
  • OCF Open Connectivity Foundation
  • resources are the logical functional entities of the device, which are exposed by the server to the client for access and operation, and the client can perform resource operations (CRUDN) and the server.
  • CRUDN resource operations
  • OCF is a technical specification of the IoT system, which provides a resource-oriented architecture, and all functional entities are abstracted and described as resources. Under this architecture, OCF provides a communication and interoperability framework to adapt to various IoT applications (such as smart homes, automobiles, wearable devices, etc.), shielding manufacturers, operating systems, hardware, communication networks, etc. Differences; OCF provides a unified model to describe the environment, equipment, etc., in order to achieve the flow of information and semantic interoperability. In addition, OCF also provides protocols and mechanisms related to resource discovery, identification, and security.
  • the core framework of OCF includes three main aspects: resource model, operation, and abstraction.
  • the resource model is the foundation of the OCF architecture. It provides an abstract means for logically modeling and achieving interoperability between IoT applications. OCF defines five operations: create, retrieve, update, delete, and notify. These five operations are referred to as CRUDN for short. Based on these operations, IoT devices do not need to pay attention to the underlying protocols and The realization method can realize the corresponding function.
  • the abstraction layer is used to map resources and operations to specific physical entities.
  • Each resource in the OCF can have its own uniform resource identifier (URI), some resources can have a predefined URI, and IoT devices can obtain resources by accessing the URI.
  • URI uniform resource identifier
  • Each resource in the OCF can also contain attributes, which are used to describe related information about the resource.
  • Attributes exist in the form of key-value pairs ( ⁇ key:value>) and can contain the following:
  • Property title the display name of the property
  • Property name the identifying name of the property, the key in ⁇ key: value>;
  • Value type The type of the attribute value, which can be a simple data type or a complex data type.
  • Value rules constraint conditions for attribute values, for example, the maximum value, minimum value, or the range of enumerated values
  • Unit The unit of the attribute value, such as °C;
  • Access mode The access mode of the attribute value, which can be readable (R), writable (W), or readable and writable (R, W);
  • OCF also defines resource type (resource type, rt), which is used to describe a specific application type of a type of resource.
  • a resource can have multiple resource type definitions, that is, the "rt” attribute can have multiple attribute values, for example, "rt":["oic.wk.d”,”oic.d.light”].
  • Resource types can include the following:
  • Pre-defined URI pre-defined URI
  • OCF is a predefined fixed resource URI for a specific resource, for example, /oic/res;
  • Resource type title optional content, the display name of the resource type
  • Resource type ID the identifier of the resource type, that is, the value of the "rt" attribute
  • Interfaces A list of interfaces supported by this type of resource
  • Properties Properties related to the resource type.
  • Resource type is equivalent to "class”; resource is equivalent to an instance of “class”, that is, "object”; attribute is equivalent to a member of "class” when defined, but is actually a member of "object” when in use.
  • Attributes can contain multiple parameters, for example, resource type name, resource type identification, identification of whether user input is supported, identification of whether user output is supported, user input data, and user output data are all attributes (ie, resource attributes), and also For the members of the above “class”, the specific values of these parameters are attribute values, which will be used when the above "object” is used. Among them, the URI and interface will be used in the communication process.
  • the subscription device and the target device can be devices in the home IoT, such as mobile phones, tablets, routers, wearable devices, air conditioners, lights, water meters, etc., or smart security, air monitoring, and air monitoring. Smart devices in the field. These devices can all work in the IoT environment, that is, they can perform IoT communication.
  • Step 1 The subscribing device sends a subscription request to the target device.
  • the message type of the subscription request may be Retrieve, and the subscription request may include the following parameters:
  • Message originator from, Fr: the device ID of the subscribed device
  • Message identifier (request identifier, Ri): request identifier, used to complete the binding of request and response;
  • Operation type operation type, generally one of CURDN;
  • Step 2 After receiving the subscription request, the target device authenticates the subscription request, establishes a monitoring mechanism, and replies a response message to the subscribing device.
  • the response message is used to notify the subscribing device that the target device has received the subscription request and started to monitor the change of the target resource.
  • Step 3 After the target device detects that the target resource requested by the subscribing device has changed, it will send a notification message to the subscribing device.
  • the Ri of the above three messages are the same.
  • the subscribing device needs to unsubscribe content, it can send the subscription request in step 1 again, and set the Obs parameter to unsubscribe.
  • IoT devices do not have user input functions and/or user output functions due to factors such as cost or application environment. That is, these IoT devices cannot directly receive user input information, nor can they directly display output information to users, resulting in users It is inconvenient to use.
  • the method for information interaction with users provided by this application will be introduced below.
  • the method 200 includes:
  • R means readable and W means writable.
  • the subscription device can read the SI in the attribute to determine whether the human-computer interaction resource supports input. For example, when the value of SI is true, it means that the human-computer interaction resource supports user input; when the value of SI is false, it means the human-computer interaction resource User input is not supported.
  • Human-computer interaction resources that support user input are, for example, a keyboard, a mouse, a touchpad, a camera, and a pickup device.
  • the subscription device can also read the SO in the attribute to determine whether the human-computer interaction resource supports output. For example, when the value of SO is true, it means that the human-computer interaction resource supports user output; when the value of SO is false, it means human-computer interaction.
  • the resource does not support user output.
  • Human-computer interaction resources that support user output are, for example, display screens, printers, voice playback devices, projectors, and so on.
  • the subscription device after the subscription device discovers the human-computer interaction resource, it can first determine whether the human-computer interaction resource supports user input and/or user output, and when the human-computer interaction resource supports user input and/or user output, subscribe to the human-computer interaction resource. Interactive resources, so as not to subscribe to resources that do not support user interaction.
  • the entity corresponding to the aforementioned human-computer interaction resource is a keyboard.
  • “/My/resource/keyboard” is the URI of the human-computer interaction resource;
  • ""rt”:["oic.r.human.io”]” indicates that the resource is a human-computer interaction resource;
  • ""SI”:true” indicates a human-computer interaction resource
  • Interactive resources support user input;
  • ""In”: “xxxxxx”” means user input content;
  • ""SO”: false” means human-computer interactive resources do not support user output.
  • the entity corresponding to the aforementioned human-computer interaction resource is a display screen.
  • “/My/resource/display” is the URI of the human-computer interaction resource;
  • ""rt”:["oic.r.human.io”]” indicates that the resource is a human-computer interaction resource;
  • ""SI”:false” indicates a human-computer interaction resource
  • the interactive resource does not support user input;
  • ""SO”:true” indicates that the human-computer interaction resource supports user output;
  • ""Out”:"xxxxxx”” indicates the content output to the user.
  • the above two examples are situations where the human-computer interaction resource supports user input or user output.
  • the human-computer interaction resource provided in this application can also support both user input and user output, for example, a tablet computer.
  • the resource type of the human-computer interaction resource may include a type identifier for identifying the user input resource.
  • the resource type of the human-computer interaction resource may include a type identifier for identifying the user output resource. as shown in Table 3.
  • oic.r.human.in indicates that human-computer interaction resources include user input resources, that is, human-computer interaction resources support user input; oic.r.human.out indicates that human-computer interaction resources include user output resources, that is, Human-computer interaction resources support user output.
  • the subscription device searches for a resource, it can directly determine whether the human-computer interaction resource supports user input and user output according to the resource type ID, without further reading the attribute value to determine the type of human-computer interaction resource, thereby improving the efficiency of resource subscription .
  • Human-computer interaction resources may include one type of resource, for example, only user input resources or user output resources; human-computer interaction resources may also include multiple resources, for example, user input resources and output resources.
  • the attributes of the user input resources are shown in Table 4.
  • the attributes of the user output resources are shown in Table 5.
  • S220 Perform information interaction with the user through the human-computer interaction resource.
  • Fig. 3 shows a schematic flow chart of another method for information interaction with a user provided by the present application.
  • the subscription device, device A, and device B are all IoT devices, device A has user input resources, and device B has user output resources.
  • the subscription device can scan the resources in the local area network where it is located, and if it finds a human-computer interaction resource, it can query whether the human-computer interaction resource supports user input and/or user output. For example, if the subscribing device determines that the human-computer interaction resource of device A supports user input, it subscribes to the human-computer interaction resource of device A; the subscribing device determines that the human-computer interaction resource of device B supports user output, then it subscribes to the human-computer interaction resource of device B.
  • the dotted arrow in the resource subscription process indicates an optional response message.
  • the subscribing device can generate a personal identification number (PIN), and use the human-computer interaction resource of the device B to display the PIN.
  • PIN personal identification number
  • the device B may notify the subscribing device that the output has changed, and the subscribing device may also notify the mobile phone that the PIN has been displayed.
  • the device A After the user inputs the PIN on the device A, the device A notifies the subscribing device of the PIN, that is, the subscribing device obtains the PIN input by the user through the input resource of the device A.
  • the subscription device verifies the PIN entered by the user, thereby completing the steps of information interaction with the user through human-computer interaction resources.
  • the subscription device may be a device without user interaction function, or a device with user interaction function.
  • the method described above can realize the user interaction function without increasing the cost or changing the application environment; when the subscription device has the user interaction function, if the human-computer interaction resource has more With good input and output performance, the subscription device can implement better user interaction functions through the method described above without increasing the cost or changing the application environment.
  • the device for information interaction with the user includes hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the present application can divide the device for information interaction with the user into functional units according to the above method examples.
  • each function can be divided into each functional unit, or two or more functions can be integrated into one unit.
  • the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in this application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • Fig. 4 is a schematic structural diagram of a device for information interaction with a user provided by the present application.
  • the device 400 includes a processing unit 410 and a communication unit 420, and the communication unit 420 can execute the sending step and/or the receiving step under the control of the processing unit 410.
  • the processing unit 410 is configured to: subscribe to human-computer interaction resources that comply with the OCF protocol;
  • the communication unit 420 is configured to perform information interaction with the user through the human-computer interaction resource.
  • the resource type of the human-computer interaction resource includes: a resource type identifier for identifying the user input resource.
  • the resource type of the human-computer interaction resource includes: a resource type identifier for identifying the user output resource.
  • the processing unit 410 is specifically configured to: discover the human-computer interaction resource; determine whether the human-computer interaction resource supports user input and/or user output; when the human-computer interaction resource supports user input and/or user output When outputting, subscribe to the human-computer interaction resource.
  • processing unit 410 is specifically configured to:
  • the resource type of the human-computer interaction resource includes the resource type identifier of the user input resource, it is determined that the human-computer interaction resource supports user input; and/or,
  • the resource type of the human-computer interaction resource includes the resource type identifier of the user output resource, it is determined that the human-computer interaction resource supports user output.
  • processing unit 410 is specifically configured to:
  • the communication unit 420 is specifically configured to: obtain data input by the user through the human-computer interaction resource; and/or output data to the user through the human-computer interaction resource.
  • Figure 5 shows a schematic structural diagram of an IoT device provided by the present application.
  • the dotted line in Figure 5 indicates that the unit or the module is optional.
  • the device 500 may be used to implement the methods described in the foregoing method embodiments.
  • the device 500 may be a terminal device or a chip.
  • the device 500 includes one or more processors 501, and the one or more processors 501 can support the device 500 to implement the methods in the method embodiments corresponding to FIGS. 1 to 3.
  • the processor 501 may be a general-purpose processor or a special-purpose processor.
  • the processor 501 may be a central processing unit (CPU).
  • the CPU can be used to control the device 500, execute a software program, and process data of the software program.
  • the device 500 may further include a communication unit 505 to implement signal input (reception) and output (transmission).
  • the device 500 may be a chip, and the communication unit 505 may be an input and/or output circuit of the chip, or the communication unit 505 may be a communication interface of the chip, and the chip may be used as a terminal device or a network device or other wireless communication device. made of.
  • the device 500 may be a terminal device, and the communication unit 505 may be a transceiver of the terminal device, or the communication unit 505 may be a transceiver circuit of the terminal device.
  • the device 500 may include one or more memories 502, on which a program 504 is stored.
  • the program 504 can be run by the processor 501 to generate an instruction 503, so that the processor 501 executes the method described in the foregoing method embodiment according to the instruction 503.
  • data may also be stored in the memory 502.
  • the processor 501 may also read data stored in the memory 502. The data may be stored at the same storage address as the program 504, and the data may also be stored at a different storage address from the program 504.
  • the processor 501 and the memory 502 may be provided separately or integrated together, for example, integrated on a system-on-chip (SOC) of the terminal device.
  • SOC system-on-chip
  • the device 500 may also include an antenna 506.
  • the communication unit 505 is used to implement the transceiving function of the device 500 through the antenna 506.
  • the processor 501 may be a CPU, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices , For example, discrete gates, transistor logic devices, or discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • This application also provides a computer program product, which, when executed by the processor 501, implements the method described in any method embodiment in this application.
  • the computer program product may be stored in the memory 502, for example, a program 504, and the program 504 is finally converted into an executable object file that can be executed by the processor 501 through processing processes such as preprocessing, compilation, assembly, and linking.
  • the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the method described in any method embodiment in the present application is implemented.
  • the computer program can be a high-level language program or an executable target program.
  • the computer-readable storage medium is, for example, the memory 502.
  • the memory 502 may be a volatile memory or a non-volatile memory, or the memory 502 may include both a volatile memory and a non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • static random access memory static random access memory
  • dynamic RAM dynamic RAM
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory serial DRAM, SLDRAM
  • direct rambus RAM direct rambus RAM, DR RAM
  • the disclosed system, device, and method may be implemented in other ways. For example, some features of the method embodiments described above may be ignored or not implemented.
  • the device embodiments described above are merely illustrative.
  • the division of units is only a logical function division. In actual implementation, there may be other division methods, and multiple units or components may be combined or integrated into another system.
  • the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the foregoing coupling includes electrical, mechanical, or other forms of connection.
  • the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • system and “network” in this article are often used interchangeably in this article.
  • the term “and/or” in this article is only an association relationship that describes associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, alone There are three cases of B.
  • the character “/" in this text generally indicates that the associated objects before and after are in an "or" relationship.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

Provided in the embodiments of the present application is a method for exchanging information with a user. The method is characterized in comprising: subscribing to a human-machine interaction resource in compliance with an OCF protocol; and exchanging information with a user via the human-machine interaction resource. A subscribing device may be a device provided with no user interaction function and may also be a device provided with a user interaction function. When the subscribing device is provided with no user interaction function, the user interaction function can be implemented without additional costs or altering an application environment; when the subscribing device is provided with the user interaction function, if the human-machine interaction resource has better input/output performance, then the subscribing device is allowed to implement a better user interaction function without additional costs or altering an application environment.

Description

与用户进行信息交互的方法和装置Method and device for information interaction with users 技术领域Technical field
本申请涉及通信领域,具体涉及一种与用户进行信息交互的方法和装置。This application relates to the field of communications, and in particular to a method and device for information interaction with users.
背景技术Background technique
在物联网(internet of things,IoT)中,海量的传感器和智能设备将产生数以百亿计的连接,连接方式和连接数量的变化将极大地改变人类的生活和工作方式。In the Internet of Things (IoT), a large number of sensors and smart devices will generate tens of billions of connections, and changes in connection methods and the number of connections will greatly change the way people live and work.
一些IoT设备由于成本或者应用环境等因素不具备用户输入功能和/或用户输出功能,即,这些IoT设备不能直接接收用户输入的信息,也不能直接向用户展示输出的信息,从而导致用户使用不便,如何在不增加成本或者不改变应用环境的前提下使用户能够与这些IoT设备进行信息交互是当前需要解决的问题。Some IoT devices do not have user input functions and/or user output functions due to factors such as cost or application environment. That is, these IoT devices cannot directly receive information input by users, nor can they directly display output information to users, resulting in user inconvenience. , How to enable users to interact with these IoT devices without increasing costs or changing the application environment is a problem that needs to be resolved.
发明内容Summary of the invention
本申请提供了一种与用户进行信息交互的方法和装置,能够在不增加成本或者不改变应用环境的前提下使用户能够与上述IoT设备进行信息交互。The present application provides a method and device for information interaction with users, which can enable users to interact with the aforementioned IoT devices without increasing costs or changing the application environment.
第一方面,提供了一种与用户进行信息交互的方法,其特征在于,包括:订阅符合OCF协议的人机交互资源;通过所述人机交互资源与用户进行信息交互。In a first aspect, a method for information interaction with a user is provided, which is characterized in that it includes: subscribing to a human-computer interaction resource conforming to the OCF protocol; and performing information interaction with the user through the human-computer interaction resource.
订阅设备可以是无用户交互功能的设备,也可以是具有用户交互功能的设备。当订阅设备无用户交互功能时,通过上文所述的方法能够在不增加成本或者不改变应用环境的前提下实现用户交互功能;当订阅设备具有用户交互功能时,若人机交互资源具有更好的输入输出性能,则订阅设备可以通过上文所述的方法能够在不增加成本或者不改变应用环境的前提下实现更好的用户交互功能。The subscription device may be a device without user interaction function or a device with user interaction function. When the subscription device has no user interaction function, the method described above can realize the user interaction function without increasing the cost or changing the application environment; when the subscription device has the user interaction function, if the human-computer interaction resource has more With good input and output performance, the subscription device can implement better user interaction functions through the method described above without increasing the cost or changing the application environment.
第二方面,提供了一种与用户进行信息交互的装置,该装置可以实现第一方面中的方法所对应的功能,所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元或模块。In the second aspect, a device for information interaction with a user is provided. The device can realize the function corresponding to the method in the first aspect. The function can be realized by hardware, or by hardware executing corresponding software. The hardware or software includes one or more units or modules corresponding to the above-mentioned functions.
在一种可能的设计中,该装置为终端设备或芯片。该装置可以包括处理单元和收发单元。当该装置是终端设备时,该处理单元可以是处理器,该收发单元可以是收发器;该终端设备还可以包括存储单元,该存储单元可以是存储器;该存储单元用于存储指令,该处理单元执行该存储单元所存储的指令,以使该终端设备执行第一方面所述的方法。当该装置是终端设备内的芯片时,该处理单元可以是处理器,该收发单元可以是输入/输出接口、管脚或电路等;该处理单元执行存储单元所存储的指令,以使包含该芯片的终端设备执行第一方面所述的方法,该存储单元可以是该芯片内的存储单元(例如,寄存器、缓存等),也可以是该终端设备内的位于该芯片外部的存储单元(例如,只读存储器、随机存取存储器等)。In one possible design, the device is a terminal device or a chip. The device may include a processing unit and a transceiving unit. When the device is a terminal device, the processing unit may be a processor, and the transceiving unit may be a transceiver; the terminal device may also include a storage unit, and the storage unit may be a memory; the storage unit is used to store instructions, and the processing The unit executes the instructions stored in the storage unit, so that the terminal device executes the method described in the first aspect. When the device is a chip in a terminal device, the processing unit may be a processor, and the transceiving unit may be an input/output interface, a pin or a circuit, etc.; the processing unit executes the instructions stored in the storage unit to include the The terminal device of the chip executes the method described in the first aspect, and the storage unit may be a storage unit in the chip (for example, a register, a cache, etc.), or a storage unit in the terminal device located outside the chip (for example, , Read-only memory, random access memory, etc.).
第三方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储了计算 机程序,该计算机程序被处理器执行时,使得处理器执行第一方面所述的方法。In a third aspect, a computer-readable storage medium is provided, and a computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the processor executes the method described in the first aspect.
第四方面,提供了一种计算机程序产品,包括计算机程序代码,当该计算机程序代码被处理器运行时,使得处理器执行第一方面所述的方法。In a fourth aspect, a computer program product is provided, including computer program code, and when the computer program code is executed by a processor, the processor executes the method described in the first aspect.
第五方面,提供了一种计算机程序,当其在计算机上运行时,使得计算机执行第一方面所述的方法。In a fifth aspect, a computer program is provided, which when running on a computer, causes the computer to execute the method described in the first aspect.
附图说明Description of the drawings
图1是适用于本申请的一种IoT系统的示意图;Figure 1 is a schematic diagram of an IoT system applicable to the present application;
图2是本申请提供的一种与用户进行信息交互的方法的示意图;Figure 2 is a schematic diagram of a method for information interaction with a user provided by the present application;
图3是本申请提供的另一种与用户进行信息交互的方法的示意图;Figure 3 is a schematic diagram of another method for information interaction with a user provided by the present application;
图4是本申请提供的一种与用户进行信息交互的装置的示意图;Fig. 4 is a schematic diagram of a device for information interaction with a user provided by the present application;
图5是本申请提供的一种与用户进行信息交互的IoT设备的示意图。Fig. 5 is a schematic diagram of an IoT device for information interaction with a user provided by the present application.
具体实施方式Detailed ways
下面将结合附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below in conjunction with the accompanying drawings.
IoT系统中可以用资源(resource)定义设备的功能。例如,在开放互联基金会(open connectivity foundation,OCF)体系中,资源作为设备的逻辑功能实体,由服务端公开给客户端进行访问和操作,客户端可以通过资源操作(CRUDN)和服务端进行交互。In the IoT system, resources can be used to define the function of the device. For example, in the Open Connectivity Foundation (OCF) system, resources are the logical functional entities of the device, which are exposed by the server to the client for access and operation, and the client can perform resource operations (CRUDN) and the server. Interactive.
OCF是IoT系统的一个技术规范,其提供了一种面向资源的架构,所有的功能实体均被抽象和描述为资源(resource)。在此架构下,OCF提供了一个通信和互操作性框架,以适应IoT的各种应用领域(如智能家居、汽车、可穿戴设备等),屏蔽厂家、操作系统、硬件、通讯网络等方面的差异;OCF提供了一个统一的模型对环境、设备等进行描述,以实现信息的流动和语义上的互操作。此外,OCF还提供了资源发现、识别、安全等相关的协议和机制。OCF is a technical specification of the IoT system, which provides a resource-oriented architecture, and all functional entities are abstracted and described as resources. Under this architecture, OCF provides a communication and interoperability framework to adapt to various IoT applications (such as smart homes, automobiles, wearable devices, etc.), shielding manufacturers, operating systems, hardware, communication networks, etc. Differences; OCF provides a unified model to describe the environment, equipment, etc., in order to achieve the flow of information and semantic interoperability. In addition, OCF also provides protocols and mechanisms related to resource discovery, identification, and security.
OCF的核心架构(core framework)包括三个主要方面:资源模型、操作和抽象。The core framework of OCF includes three main aspects: resource model, operation, and abstraction.
资源模型是OCF架构的基础,它提供了一种从逻辑上进行建模,并实现IoT应用间互操作的抽象手段。OCF定义了创建(create)、查询(retrieve)、更新(update)、删除(delete)和通知(notify)五种操作,该五种操作简称为CRUDN,IoT设备基于这些操作无需关注底层的协议和实现方式即可实现相应的功能。抽象层用于将资源和操作映射到具体的物理实体上。The resource model is the foundation of the OCF architecture. It provides an abstract means for logically modeling and achieving interoperability between IoT applications. OCF defines five operations: create, retrieve, update, delete, and notify. These five operations are referred to as CRUDN for short. Based on these operations, IoT devices do not need to pay attention to the underlying protocols and The realization method can realize the corresponding function. The abstraction layer is used to map resources and operations to specific physical entities.
OCF中的每个资源可以拥有自己的统一资源标识符(uniform resource identifier,URI),部分资源可以有预定义的URI,IoT设备可以通过访问URI来获取资源。Each resource in the OCF can have its own uniform resource identifier (URI), some resources can have a predefined URI, and IoT devices can obtain resources by accessing the URI.
OCF中的每个资源还可以包含属性,属性用于描述资源的相关信息。Each resource in the OCF can also contain attributes, which are used to describe related information about the resource.
属性以键值对(<key:value>)的形式存在,可以包含以下内容:Attributes exist in the form of key-value pairs (<key:value>) and can contain the following:
属性名称(property title):属性的显示名称;Property title: the display name of the property;
属性名字(property name):属性的标识名称,<key:value>中的key;Property name: the identifying name of the property, the key in <key: value>;
值类型(value type):属性值的类型,可以是简单的数据类型,也可以是复杂的数据类型。Value type: The type of the attribute value, which can be a simple data type or a complex data type.
值规则(value rules):属性值的约束条件,例如,最大值、最小值或枚举值的取值范围;Value rules: constraint conditions for attribute values, for example, the maximum value, minimum value, or the range of enumerated values;
单位(unit):属性值的单位,例如℃;Unit: The unit of the attribute value, such as °C;
强制性(mandatory):表明在某资源类型中,属性是否强制;Mandatory: Indicate whether the attribute is mandatory in a certain resource type;
访问模式(access mode):属性值的访问模式,可以是可读(R)、可写(W)或者可读可写(R,W);Access mode: The access mode of the attribute value, which can be readable (R), writable (W), or readable and writable (R, W);
描述(description):属性的可读性描述信息。Description: The readable description of the attribute.
OCF还定义了资源类型(resource type,rt),用于描述一类资源的特定应用类型。一个资源可以有多个资源类型定义,即,“rt”属性可以有多个属性值,例如,"rt":[“oic.wk.d",“oic.d.light"]。OCF also defines resource type (resource type, rt), which is used to describe a specific application type of a type of resource. A resource can have multiple resource type definitions, that is, the "rt" attribute can have multiple attribute values, for example, "rt":["oic.wk.d","oic.d.light"].
资源类型可以包括以下内容:Resource types can include the following:
预定义URI(pre-defined URI):可选的内容,OCF为特定资源预定义固定的资源URI,例如,/oic/res;Pre-defined URI (pre-defined URI): optional content, OCF is a predefined fixed resource URI for a specific resource, for example, /oic/res;
资源类型名称(resource type title):可选的内容,资源类型的显示名称;Resource type title: optional content, the display name of the resource type;
资源类型标识(resource type ID):资源类型的标识,即“rt”属性的值;Resource type ID (resource type ID): the identifier of the resource type, that is, the value of the "rt" attribute;
接口(interfaces):该类型资源支持的接口列表;Interfaces: A list of interfaces supported by this type of resource;
描述(description):资源类型的可读性描述信息,例如,“oic.r.humidity”用于描述环境湿度;Description: The readable description information of the resource type, for example, "oic.r.humidity" is used to describe the environmental humidity;
强制性(mandatory):表明在OCF体系中,该资源类型是否强制;Mandatory: Indicate whether the resource type is mandatory in the OCF system;
属性(Properties):该资源类型相关的属性。Properties: Properties related to the resource type.
资源类型相当于“类”;资源相当于“类”的实例,即,“对象”;属性在定义时相当于“类”的一个成员,但是在使用时实际是“对象”的成员。属性可以包含多个参数,例如,资源类型名称、资源类型标识、是否支持用户输入的标识、是否支持用户输出的标识、用户输入数据、用户输出数据均为属性(即,资源属性),同时也是上述“类”的成员,这些参数的具体取值为属性值,在使用上述“对象”时会被用到,其中,URI和接口在通信过程中会被用到。Resource type is equivalent to "class"; resource is equivalent to an instance of "class", that is, "object"; attribute is equivalent to a member of "class" when defined, but is actually a member of "object" when in use. Attributes can contain multiple parameters, for example, resource type name, resource type identification, identification of whether user input is supported, identification of whether user output is supported, user input data, and user output data are all attributes (ie, resource attributes), and also For the members of the above "class", the specific values of these parameters are attribute values, which will be used when the above "object" is used. Among them, the URI and interface will be used in the communication process.
下面,介绍适用于本申请的IoT系统。如图1所示,订阅设备和目标设备可以是家庭IoT中的设备,例如手机、平板电脑、路由器、可穿戴设备、空调、灯、水电表等,也可以是智能安防、大气监测、空气监测领域中的智能设备。这些设备均可以在IoT环境下工作,即能够进行IoT通信。Next, the IoT system applicable to this application is introduced. As shown in Figure 1, the subscription device and the target device can be devices in the home IoT, such as mobile phones, tablets, routers, wearable devices, air conditioners, lights, water meters, etc., or smart security, air monitoring, and air monitoring. Smart devices in the field. These devices can all work in the IoT environment, that is, they can perform IoT communication.
步骤1,订阅设备向目标设备发送订阅请求。该订阅请求的消息类型可以是取回(Retrieve),该订阅请求可以包括以下参数:Step 1. The subscribing device sends a subscription request to the target device. The message type of the subscription request may be Retrieve, and the subscription request may include the following parameters:
消息发起方(from,Fr):订阅设备的设备标识;Message originator (from, Fr): the device ID of the subscribed device;
消息接受方(To):订阅设备订阅的资源的标识;Message recipient (To): the identifier of the resource subscribed by the subscribing device;
消息标识(request identifier,Ri):请求标识,用来完成请求和应答的绑定;Message identifier (request identifier, Ri): request identifier, used to complete the binding of request and response;
操作类型(operation,Op):操作类型,一般为CURDN中的一种;Operation type (operation, Op): operation type, generally one of CURDN;
订阅标识(observe,Obs)。Subscription identifier (observe, Obs).
步骤2,目标设备收到上述订阅请求之后,认证该订阅请求并建立监测机制,并回复一个响应消息给订阅设备。该响应消息用于通知订阅设备:目标设备已收到订阅请求,并开始监测目标资源的变化。Step 2: After receiving the subscription request, the target device authenticates the subscription request, establishes a monitoring mechanism, and replies a response message to the subscribing device. The response message is used to notify the subscribing device that the target device has received the subscription request and started to monitor the change of the target resource.
步骤3,当目标设备监测到订阅设备请求订阅的目标资源发生变化之后,会发送通知消息给订阅设备。上述三个消息的Ri是一致的。Step 3: After the target device detects that the target resource requested by the subscribing device has changed, it will send a notification message to the subscribing device. The Ri of the above three messages are the same.
如果订阅设备需要取消订阅内容,则可以再次发送步骤一中的订阅请求,并将Obs参数设定为取消订阅。If the subscribing device needs to unsubscribe content, it can send the subscription request in step 1 again, and set the Obs parameter to unsubscribe.
若订阅设备需要订阅其它内容,可以修改To参数中的查询(Query)部分,Query部分例如是?if=“special Interface”。不同if参数的订阅可以被认为是不同的订阅。If the subscribing device needs to subscribe to other content, you can modify the Query part in the To parameter. For example, what is the Query part? if="special Interface". Subscriptions with different if parameters can be considered as different subscriptions.
当前,一些IoT设备由于成本或者应用环境等因素不具备用户输入功能和/或用户输出功能,即,这些IoT设备不能直接接收用户输入的信息,也不能直接向用户展示输出的信息,从而导致用户使用不便,下面将介绍本申请提供的与用户进行信息交互的方法。Currently, some IoT devices do not have user input functions and/or user output functions due to factors such as cost or application environment. That is, these IoT devices cannot directly receive user input information, nor can they directly display output information to users, resulting in users It is inconvenient to use. The method for information interaction with users provided by this application will be introduced below.
如图2所示,方法200包括:As shown in FIG. 2, the method 200 includes:
S210,订阅符合OCF协议的人机交互资源。S210, subscribing to human-computer interaction resources that comply with the OCF protocol.
符合OCF协议的人机交互资源的资源类型如表1所示。The resource types of human-computer interaction resources that comply with the OCF protocol are shown in Table 1.
表1Table 1
Figure PCTCN2020070133-appb-000001
Figure PCTCN2020070133-appb-000001
人机交互资源的属性如表2所示。The attributes of human-computer interaction resources are shown in Table 2.
表2Table 2
Figure PCTCN2020070133-appb-000002
Figure PCTCN2020070133-appb-000002
Figure PCTCN2020070133-appb-000003
Figure PCTCN2020070133-appb-000003
表2中,R表示可读,W表示可写。In Table 2, R means readable and W means writable.
订阅设备可以读取属性中的SI确定人机交互资源是否支持输入,例如,当SI的值为true时,表示人机交互资源支持用户输入;当SI的值为false时,表示人机交互资源不支持用户输入。支持用户输入的人机交互资源例如是键盘、鼠标、触控板、摄像头、拾音设备等。The subscription device can read the SI in the attribute to determine whether the human-computer interaction resource supports input. For example, when the value of SI is true, it means that the human-computer interaction resource supports user input; when the value of SI is false, it means the human-computer interaction resource User input is not supported. Human-computer interaction resources that support user input are, for example, a keyboard, a mouse, a touchpad, a camera, and a pickup device.
订阅设备还可以读取属性中的SO确定人机交互资源是否支持输出,例如,当SO的值为true时,表示人机交互资源支持用户输出;当SO的值为false时,表示人机交互资源不支持用户输出。支持用户输出的人机交互资源例如是显示屏、打印机、语音播放设备、投影仪等。The subscription device can also read the SO in the attribute to determine whether the human-computer interaction resource supports output. For example, when the value of SO is true, it means that the human-computer interaction resource supports user output; when the value of SO is false, it means human-computer interaction. The resource does not support user output. Human-computer interaction resources that support user output are, for example, display screens, printers, voice playback devices, projectors, and so on.
可选地,订阅设备发现人机交互资源后,可以首先确定人机交互资源是否支持用户 输入和/或用户输出,当人机交互资源支持用户输入和/或用户输出时,再订阅该人机交互资源,以免订阅到不支持用户交互的资源。Optionally, after the subscription device discovers the human-computer interaction resource, it can first determine whether the human-computer interaction resource supports user input and/or user output, and when the human-computer interaction resource supports user input and/or user output, subscribe to the human-computer interaction resource. Interactive resources, so as not to subscribe to resources that do not support user interaction.
下面,给出两个人机交互资源的示例。Below, two examples of human-computer interaction resources are given.
示例一。Example one.
Figure PCTCN2020070133-appb-000004
Figure PCTCN2020070133-appb-000004
上述人机交互资源对应的实体为键盘。“/my/resource/keyboard”为人机交互资源的URI;“"rt":["oic.r.human.io"]”表示该资源为人机交互资源;“"SI":true”表示人机交互资源支持用户输入;“"In":“xxxxxx””表示用户输入的内容;“"SO":false”表示人机交互资源不支持用户输出。The entity corresponding to the aforementioned human-computer interaction resource is a keyboard. "/My/resource/keyboard" is the URI of the human-computer interaction resource; ""rt":["oic.r.human.io"]" indicates that the resource is a human-computer interaction resource; ""SI":true" indicates a human-computer interaction resource Interactive resources support user input; ""In": "xxxxxx"" means user input content; ""SO": false" means human-computer interactive resources do not support user output.
示例二。Example two.
Figure PCTCN2020070133-appb-000005
Figure PCTCN2020070133-appb-000005
上述人机交互资源对应的实体为显示屏。“/my/resource/display”为人机交互资源的URI;“"rt":["oic.r.human.io"]”表示该资源为人机交互资源;“"SI":false”表示人机交互资源不支持用户输入;“"SO":true”表示人机交互资源支持用户输出;“"Out":“xxxxxx””表示向用户输出的内容。The entity corresponding to the aforementioned human-computer interaction resource is a display screen. "/My/resource/display" is the URI of the human-computer interaction resource; ""rt":["oic.r.human.io"]" indicates that the resource is a human-computer interaction resource; ""SI":false" indicates a human-computer interaction resource The interactive resource does not support user input; ""SO":true" indicates that the human-computer interaction resource supports user output; ""Out":"xxxxxx"" indicates the content output to the user.
上述两个示例为人机交互资源支持用户输入或用户输出的情况,本申请提供的人机交互资源还可以同时支持用户输入和用户输出,例如,平板电脑。The above two examples are situations where the human-computer interaction resource supports user input or user output. The human-computer interaction resource provided in this application can also support both user input and user output, for example, a tablet computer.
当人机交互资源包括用户输入资源时,人机交互资源的资源类型可以包括用于标识该用户输入资源的类型标识。当人机交互资源包括用户输出资源时,人机交互资源的资源类型可以包括用于标识该用户输出资源的类型标识。如表3所示。When the human-computer interaction resource includes a user input resource, the resource type of the human-computer interaction resource may include a type identifier for identifying the user input resource. When the human-computer interaction resource includes a user output resource, the resource type of the human-computer interaction resource may include a type identifier for identifying the user output resource. as shown in Table 3.
表3table 3
Figure PCTCN2020070133-appb-000006
Figure PCTCN2020070133-appb-000006
Figure PCTCN2020070133-appb-000007
Figure PCTCN2020070133-appb-000007
表3中,oic.r.human.in表示人机交互资源包括用户输入资源,即,人机交互资源支持用户输入;oic.r.human.out表示人机交互资源包括用户输出资源,即,人机交互资源支持用户输出。这样,订阅设备搜索到资源时可以直接根据资源类型ID确定该人机交互资源是否支持用户输入和用户输出,无需再进一步读取属性值确定人机交互资源的类型,从而提高了资源订阅的效率。In Table 3, oic.r.human.in indicates that human-computer interaction resources include user input resources, that is, human-computer interaction resources support user input; oic.r.human.out indicates that human-computer interaction resources include user output resources, that is, Human-computer interaction resources support user output. In this way, when the subscription device searches for a resource, it can directly determine whether the human-computer interaction resource supports user input and user output according to the resource type ID, without further reading the attribute value to determine the type of human-computer interaction resource, thereby improving the efficiency of resource subscription .
人机交互资源可以包含一种资源,例如,仅包含用户输入资源或用户输出资源;人机交互资源也可以包含多种资源,例如,包含用户输入资源和用于输出资源。Human-computer interaction resources may include one type of resource, for example, only user input resources or user output resources; human-computer interaction resources may also include multiple resources, for example, user input resources and output resources.
当人机交互资源包含用户输入资源时,用户输入资源的属性如表4所示。When the human-computer interaction resources include user input resources, the attributes of the user input resources are shown in Table 4.
表4Table 4
Figure PCTCN2020070133-appb-000008
Figure PCTCN2020070133-appb-000008
当人机交互资源包含用户输出资源时,用户输出资源的属性如表5所示。When the human-computer interaction resources include user output resources, the attributes of the user output resources are shown in Table 5.
表5table 5
Figure PCTCN2020070133-appb-000009
Figure PCTCN2020070133-appb-000009
Figure PCTCN2020070133-appb-000010
Figure PCTCN2020070133-appb-000010
订阅设备订阅了人机交互资源后,可以执行下列步骤。After the subscribing device subscribes to the human-computer interaction resources, you can perform the following steps.
S220,通过所述人机交互资源与用户进行信息交互。S220: Perform information interaction with the user through the human-computer interaction resource.
图3示出了本申请提供的另一种与用户进行信息交互的方法的示意性流程图。Fig. 3 shows a schematic flow chart of another method for information interaction with a user provided by the present application.
图3中,订阅设备、设备A和设备B均为IoT设备,设备A具有用户输入资源,设备B具有用户输出资源。订阅设备可以扫描自身所在的局域网中的资源,若发现人机交互资源,则可以查询该人机交互资源是否支持用户输入和/或用户输出。例如,订阅设备确定设备A的人机交互资源支持用户输入,则订阅设备A的人机交互资源;订阅设备确定设备B的人机交互资源支持用户输出,则订阅设备B的人机交互资源。资源订阅过程中的虚线箭头表示可选的响应消息。In Figure 3, the subscription device, device A, and device B are all IoT devices, device A has user input resources, and device B has user output resources. The subscription device can scan the resources in the local area network where it is located, and if it finds a human-computer interaction resource, it can query whether the human-computer interaction resource supports user input and/or user output. For example, if the subscribing device determines that the human-computer interaction resource of device A supports user input, it subscribes to the human-computer interaction resource of device A; the subscribing device determines that the human-computer interaction resource of device B supports user output, then it subscribes to the human-computer interaction resource of device B. The dotted arrow in the resource subscription process indicates an optional response message.
当手机指示订阅设备执行设备认证流程时,订阅设备可以生成个人身份码(personal identification number,PIN),并使用设备B的人机交互资源显示该PIN。可选地,设备B在显示PIN后可以通知订阅设备输出数据(output)发生变化,订阅设备也可以通知手机已显示PIN。When the mobile phone instructs the subscribing device to perform the device authentication process, the subscribing device can generate a personal identification number (PIN), and use the human-computer interaction resource of the device B to display the PIN. Optionally, after displaying the PIN, the device B may notify the subscribing device that the output has changed, and the subscribing device may also notify the mobile phone that the PIN has been displayed.
用户在设备A上输入该PIN后,设备A将该PIN通知订阅设备,即,订阅设备通过设备A的输入资源获取了用户输入的PIN。After the user inputs the PIN on the device A, the device A notifies the subscribing device of the PIN, that is, the subscribing device obtains the PIN input by the user through the input resource of the device A.
随后,订阅设备验证用户输入的PIN,从而完成了通过人机交互资源与用户进行信 息交互的步骤。Subsequently, the subscription device verifies the PIN entered by the user, thereby completing the steps of information interaction with the user through human-computer interaction resources.
需要说明的是,订阅设备可以是无用户交互功能的设备,也可以是具有用户交互功能的设备。当订阅设备无用户交互功能时,通过上文所述的方法能够在不增加成本或者不改变应用环境的前提下实现用户交互功能;当订阅设备具有用户交互功能时,若人机交互资源具有更好的输入输出性能,则订阅设备可以通过上文所述的方法能够在不增加成本或者不改变应用环境的前提下实现更好的用户交互功能。It should be noted that the subscription device may be a device without user interaction function, or a device with user interaction function. When the subscription device has no user interaction function, the method described above can realize the user interaction function without increasing the cost or changing the application environment; when the subscription device has the user interaction function, if the human-computer interaction resource has more With good input and output performance, the subscription device can implement better user interaction functions through the method described above without increasing the cost or changing the application environment.
上文详细介绍了本申请提供的与用户进行信息交互的方法的示例。可以理解的是,与用户进行信息交互的装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above describes in detail an example of the method for information interaction with the user provided by this application. It can be understood that, in order to realize the above-mentioned functions, the device for information interaction with the user includes hardware structures and/or software modules corresponding to each function. Those skilled in the art should easily realize that in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请可以根据上述方法示例对与用户进行信息交互的装置进行功能单元的划分,例如,可以将各个功能划分为各个功能单元,也可以将两个或两个以上的功能集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The present application can divide the device for information interaction with the user into functional units according to the above method examples. For example, each function can be divided into each functional unit, or two or more functions can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit. It should be noted that the division of units in this application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
图4是本申请提供的一种与用户进行信息交互的装置的结构示意图。该装置400包括处理单元410和通信单元420,通信单元420能够在处理单元410的控制下执行发送步骤和/或接收步骤。Fig. 4 is a schematic structural diagram of a device for information interaction with a user provided by the present application. The device 400 includes a processing unit 410 and a communication unit 420, and the communication unit 420 can execute the sending step and/or the receiving step under the control of the processing unit 410.
所述处理单元410用于:订阅符合OCF协议的人机交互资源;The processing unit 410 is configured to: subscribe to human-computer interaction resources that comply with the OCF protocol;
所述通信单元420用于:通过所述人机交互资源与用户进行信息交互。The communication unit 420 is configured to perform information interaction with the user through the human-computer interaction resource.
可选地,当所述人机交互资源包括用户输入资源时,所述人机交互资源的资源类型包括:用于标识所述用户输入资源的资源类型标识。Optionally, when the human-computer interaction resource includes a user input resource, the resource type of the human-computer interaction resource includes: a resource type identifier for identifying the user input resource.
可选地,当所述人机交互资源包括用户输出资源时,所述人机交互资源的资源类型包括:用于标识所述用户输出资源的资源类型标识。Optionally, when the human-computer interaction resource includes a user output resource, the resource type of the human-computer interaction resource includes: a resource type identifier for identifying the user output resource.
可选地,处理单元410具体用于:发现所述人机交互资源;确定所述人机交互资源是否支持用户输入和/或用户输出;当所述人机交互资源支持用户输入和/或用户输出时,订阅所述人机交互资源。Optionally, the processing unit 410 is specifically configured to: discover the human-computer interaction resource; determine whether the human-computer interaction resource supports user input and/or user output; when the human-computer interaction resource supports user input and/or user output When outputting, subscribe to the human-computer interaction resource.
可选地,处理单元410具体用于:Optionally, the processing unit 410 is specifically configured to:
当所述人机交互资源的资源类型包括用户输入资源的资源类型标识时,确定所述人机交互资源支持用户输入;和/或,When the resource type of the human-computer interaction resource includes the resource type identifier of the user input resource, it is determined that the human-computer interaction resource supports user input; and/or,
当所述人机交互资源的资源类型包括用户输出资源的资源类型标识时,确定所述人机交互资源支持用户输出。When the resource type of the human-computer interaction resource includes the resource type identifier of the user output resource, it is determined that the human-computer interaction resource supports user output.
可选地,处理单元410具体用于:Optionally, the processing unit 410 is specifically configured to:
当所述人机交互资源的资源类型的属性值指示所述人机交互资源支持用户输入时,确定所述人机交互资源支持用户输入;和/或,When the attribute value of the resource type of the human-computer interaction resource indicates that the human-computer interaction resource supports user input, it is determined that the human-computer interaction resource supports user input; and/or,
当所述人机交互资源的资源类型的属性值指示所述人机交互资源支持用户输出时,确定所述人机交互资源支持用户输出。When the attribute value of the resource type of the human-computer interaction resource indicates that the human-computer interaction resource supports user output, it is determined that the human-computer interaction resource supports user output.
可选地,通信单元420具体用于:通过所述人机交互资源获取所述用户输入的数据;和/或,通过所述人机交互资源向所述用户输出数据。Optionally, the communication unit 420 is specifically configured to: obtain data input by the user through the human-computer interaction resource; and/or output data to the user through the human-computer interaction resource.
装置400执行与用户进行信息交互的方法的具体方式以及产生的有益效果可以参见方法实施例中的相关描述。For the specific manner of the method for performing information interaction with the user by the apparatus 400 and the beneficial effects produced, refer to the related description in the method embodiment.
图5示出了本申请提供的一种IoT设备的结构示意图。图5中的虚线表示该单元或该模块为可选的。设备500可用于实现上述方法实施例中描述的方法。设备500可以是终端设备或芯片。Figure 5 shows a schematic structural diagram of an IoT device provided by the present application. The dotted line in Figure 5 indicates that the unit or the module is optional. The device 500 may be used to implement the methods described in the foregoing method embodiments. The device 500 may be a terminal device or a chip.
设备500包括一个或多个处理器501,该一个或多个处理器501可支持设备500实现图1至图3所对应方法实施例中的方法。处理器501可以是通用处理器或者专用处理器。例如,处理器501可以是中央处理器(central processing unit,CPU)。CPU可以用于对设备500进行控制,执行软件程序,处理软件程序的数据。设备500还可以包括通信单元505,用以实现信号的输入(接收)和输出(发送)。The device 500 includes one or more processors 501, and the one or more processors 501 can support the device 500 to implement the methods in the method embodiments corresponding to FIGS. 1 to 3. The processor 501 may be a general-purpose processor or a special-purpose processor. For example, the processor 501 may be a central processing unit (CPU). The CPU can be used to control the device 500, execute a software program, and process data of the software program. The device 500 may further include a communication unit 505 to implement signal input (reception) and output (transmission).
例如,设备500可以是芯片,通信单元505可以是该芯片的输入和/或输出电路,或者,通信单元505可以是该芯片的通信接口,该芯片可以作为终端设备或网络设备或其它无线通信设备的组成部分。For example, the device 500 may be a chip, and the communication unit 505 may be an input and/or output circuit of the chip, or the communication unit 505 may be a communication interface of the chip, and the chip may be used as a terminal device or a network device or other wireless communication device. made of.
又例如,设备500可以是终端设备,通信单元505可以是该终端设备的收发器,或者,通信单元505可以是该终端设备的收发电路。For another example, the device 500 may be a terminal device, and the communication unit 505 may be a transceiver of the terminal device, or the communication unit 505 may be a transceiver circuit of the terminal device.
设备500中可以包括一个或多个存储器502,其上存有程序504,程序504可被处理器501运行,生成指令503,使得处理器501根据指令503执行上述方法实施例中描述的方法。可选地,存储器502中还可以存储有数据。可选地,处理器501还可以读取存储器502中存储的数据,该数据可以与程序504存储在相同的存储地址,该数据也可以与程序504存储在不同的存储地址。The device 500 may include one or more memories 502, on which a program 504 is stored. The program 504 can be run by the processor 501 to generate an instruction 503, so that the processor 501 executes the method described in the foregoing method embodiment according to the instruction 503. Optionally, data may also be stored in the memory 502. Optionally, the processor 501 may also read data stored in the memory 502. The data may be stored at the same storage address as the program 504, and the data may also be stored at a different storage address from the program 504.
处理器501和存储器502可以单独设置,也可以集成在一起,例如,集成在终端设备的系统级芯片(system on chip,SOC)上。The processor 501 and the memory 502 may be provided separately or integrated together, for example, integrated on a system-on-chip (SOC) of the terminal device.
设备500还可以包括天线506。通信单元505用于通过天线506实现设备500的收发功能。The device 500 may also include an antenna 506. The communication unit 505 is used to implement the transceiving function of the device 500 through the antenna 506.
处理器501执行与用户进行信息交互的方法的具体方式可以参见方法实施例中的相关描述。For the specific manner of the processor 501 executing the method for information interaction with the user, reference may be made to the related description in the method embodiment.
应理解,上述方法实施例的各步骤可以通过处理器501中的硬件形式的逻辑电路或者软件形式的指令完成。处理器501可以是CPU、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或者其它可编程逻辑器件,例如,分立门、晶 体管逻辑器件或分立硬件组件。It should be understood that each step of the foregoing method embodiment may be completed by a logic circuit in the form of hardware or instructions in the form of software in the processor 501. The processor 501 may be a CPU, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices , For example, discrete gates, transistor logic devices, or discrete hardware components.
本申请还提供了一种计算机程序产品,该计算机程序产品被处理器501执行时实现本申请中任一方法实施例所述的方法。This application also provides a computer program product, which, when executed by the processor 501, implements the method described in any method embodiment in this application.
该计算机程序产品可以存储在存储器502中,例如是程序504,程序504经过预处理、编译、汇编和链接等处理过程最终被转换为能够被处理器501执行的可执行目标文件。The computer program product may be stored in the memory 502, for example, a program 504, and the program 504 is finally converted into an executable object file that can be executed by the processor 501 through processing processes such as preprocessing, compilation, assembly, and linking.
本申请还提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被计算机执行时实现本申请中任一方法实施例所述的方法。该计算机程序可以是高级语言程序,也可以是可执行目标程序。The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the method described in any method embodiment in the present application is implemented. The computer program can be a high-level language program or an executable target program.
该计算机可读存储介质例如是存储器502。存储器502可以是易失性存储器或非易失性存储器,或者,存储器502可以同时包括易失性存储器和非易失性存储器。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。The computer-readable storage medium is, for example, the memory 502. The memory 502 may be a volatile memory or a non-volatile memory, or the memory 502 may include both a volatile memory and a non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), and synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) ) And direct memory bus random access memory (direct rambus RAM, DR RAM).
本领域的技术人员可以清楚地了解到,为了描述的方便和简洁,上述描述的装置和设备的具体工作过程以及产生的技术效果,可以参考前述方法实施例中对应的过程和技术效果,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, the specific working process and technical effects of the device and equipment described above can refer to the corresponding process and technical effects in the foregoing method embodiments. Here, No longer.
在本申请所提供的几个实施例中,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的方法实施例的一些特征可以忽略,或不执行。以上所描述的装置实施例仅仅是示意性的,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,多个单元或组件可以结合或者可以集成到另一个系统。另外,各单元之间的耦合或各个组件之间的耦合可以是直接耦合,也可以是间接耦合,上述耦合包括电的、机械的或其它形式的连接。In the several embodiments provided in this application, the disclosed system, device, and method may be implemented in other ways. For example, some features of the method embodiments described above may be ignored or not implemented. The device embodiments described above are merely illustrative. The division of units is only a logical function division. In actual implementation, there may be other division methods, and multiple units or components may be combined or integrated into another system. In addition, the coupling between the units or the coupling between the components may be direct coupling or indirect coupling, and the foregoing coupling includes electrical, mechanical, or other forms of connection.
应理解,在本申请的各种实施例中,各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请的实施例的实施过程构成任何限定。It should be understood that in the various embodiments of the present application, the size of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application. The implementation process constitutes any limitation.
另外,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中的术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, the terms "system" and "network" in this article are often used interchangeably in this article. The term "and/or" in this article is only an association relationship that describes associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, alone There are three cases of B. In addition, the character "/" in this text generally indicates that the associated objects before and after are in an "or" relationship.
总之,以上所述仅为本申请技术方案的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。In short, the above descriptions are only preferred embodiments of the technical solutions of the present application, and are not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included in the protection scope of this application.

Claims (21)

  1. 一种与用户进行信息交互的方法,其特征在于,包括:A method for information interaction with users, which is characterized in that it includes:
    订阅符合OCF协议的人机交互资源;Subscribe to human-computer interaction resources that comply with the OCF protocol;
    通过所述人机交互资源与用户进行信息交互。Information interaction with users through the human-computer interaction resources.
  2. 根据权利要求1所述的方法,其特征在于,当所述人机交互资源包括用户输入资源时,所述人机交互资源的资源类型包括:The method according to claim 1, wherein when the human-computer interaction resource comprises a user input resource, the resource type of the human-computer interaction resource comprises:
    用于标识所述用户输入资源的资源类型标识。The resource type identifier used to identify the user input resource.
  3. 根据权利要求1或2所述的方法,其特征在于,当所述人机交互资源包括用户输出资源时,所述人机交互资源的资源类型包括:The method according to claim 1 or 2, wherein when the human-computer interaction resource includes a user output resource, the resource type of the human-computer interaction resource includes:
    用于标识所述用户输出资源的资源类型标识。A resource type identifier used to identify the user output resource.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述订阅符合OCF协议的人机交互资源,包括:The method according to any one of claims 1 to 3, wherein the subscribing to a human-computer interaction resource conforming to the OCF protocol comprises:
    发现所述人机交互资源;Discover the human-computer interaction resource;
    确定所述人机交互资源是否支持用户输入和/或用户输出;Determine whether the human-computer interaction resource supports user input and/or user output;
    当所述人机交互资源支持用户输入和/或用户输出时,订阅所述人机交互资源。When the human-computer interaction resource supports user input and/or user output, subscribe to the human-computer interaction resource.
  5. 根据权利要求4所述的方法,其特征在于,所述确定所述人机交互资源是否支持用户输入和/或用户输出,包括:The method according to claim 4, wherein the determining whether the human-computer interaction resource supports user input and/or user output comprises:
    当所述人机交互资源的资源类型包括用户输入资源的资源类型标识时,确定所述人机交互资源支持用户输入;和/或,When the resource type of the human-computer interaction resource includes the resource type identifier of the user input resource, it is determined that the human-computer interaction resource supports user input; and/or,
    当所述人机交互资源的资源类型包括用户输出资源的资源类型标识时,确定所述人机交互资源支持用户输出。When the resource type of the human-computer interaction resource includes the resource type identifier of the user output resource, it is determined that the human-computer interaction resource supports user output.
  6. 根据权利要求4所述的方法,其特征在于,所述确定所述人机交互资源是否支持用户输入和/或用户输出,包括:The method according to claim 4, wherein the determining whether the human-computer interaction resource supports user input and/or user output comprises:
    当所述人机交互资源的资源类型的属性值指示所述人机交互资源支持用户输入时,确定所述人机交互资源支持用户输入;和/或,When the attribute value of the resource type of the human-computer interaction resource indicates that the human-computer interaction resource supports user input, it is determined that the human-computer interaction resource supports user input; and/or,
    当所述人机交互资源的资源类型的属性值指示所述人机交互资源支持用户输出时,确定所述人机交互资源支持用户输出。When the attribute value of the resource type of the human-computer interaction resource indicates that the human-computer interaction resource supports user output, it is determined that the human-computer interaction resource supports user output.
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述通过所述人机交互资源与用户进行信息交互,包括:The method according to any one of claims 1 to 6, wherein the information interaction with the user through the human-computer interaction resource comprises:
    通过所述人机交互资源获取所述用户输入的数据;和/或,Obtain the data input by the user through the human-computer interaction resource; and/or,
    通过所述人机交互资源向所述用户输出数据。Output data to the user through the human-computer interaction resource.
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述人机交互资源的资源类型包括以下参数中的至少一个:The method according to any one of claims 1 to 7, wherein the resource type of the human-computer interaction resource includes at least one of the following parameters:
    统一资源标识符URI,资源类型名称,资源类型标识,接口,描述,强制性选项,是否支持用户输入的标识,是否支持用户输出的标识,用户输入数据,用户输出数据。Uniform Resource Identifier URI, resource type name, resource type identifier, interface, description, mandatory options, whether to support user input identifier, whether to support user output identifier, user input data, user output data.
  9. 一种与用户进行信息交互的装置,其特征在于,包括处理单元和通信单元,A device for information interaction with a user, characterized in that it comprises a processing unit and a communication unit,
    所述处理单元用于:订阅符合OCF协议的人机交互资源;The processing unit is used to: subscribe to human-computer interaction resources that comply with the OCF protocol;
    所述通信单元用于:通过所述人机交互资源与用户进行信息交互。The communication unit is used to perform information interaction with the user through the human-computer interaction resource.
  10. 根据权利要求9所述的装置,其特征在于,当所述人机交互资源包括用户输入资源时,所述人机交互资源的资源类型包括:The device according to claim 9, wherein when the human-computer interaction resource comprises a user input resource, the resource type of the human-computer interaction resource comprises:
    用于标识所述用户输入资源的资源类型标识。The resource type identifier used to identify the user input resource.
  11. 根据权利要求9或10所述的装置,其特征在于,当所述人机交互资源包括用户输出资源时,所述人机交互资源的资源类型包括:The device according to claim 9 or 10, wherein when the human-computer interaction resource includes a user output resource, the resource type of the human-computer interaction resource includes:
    用于标识所述用户输出资源的资源类型标识。A resource type identifier used to identify the user output resource.
  12. 根据权利要求9至11中任一项所述的装置,其特征在于,所述处理单元具体用于:The device according to any one of claims 9 to 11, wherein the processing unit is specifically configured to:
    发现所述人机交互资源;Discover the human-computer interaction resource;
    确定所述人机交互资源是否支持用户输入和/或用户输出;Determine whether the human-computer interaction resource supports user input and/or user output;
    当所述人机交互资源支持用户输入和/或用户输出时,订阅所述人机交互资源。When the human-computer interaction resource supports user input and/or user output, subscribe to the human-computer interaction resource.
  13. 根据权利要求12所述的装置,其特征在于,所述处理单元具体用于:The device according to claim 12, wherein the processing unit is specifically configured to:
    当所述人机交互资源的资源类型包括用户输入资源的资源类型标识时,确定所述人机交互资源支持用户输入;和/或,When the resource type of the human-computer interaction resource includes the resource type identifier of the user input resource, it is determined that the human-computer interaction resource supports user input; and/or,
    当所述人机交互资源的资源类型包括用户输出资源的资源类型标识时,确定所述人机交互资源支持用户输出。When the resource type of the human-computer interaction resource includes the resource type identifier of the user output resource, it is determined that the human-computer interaction resource supports user output.
  14. 根据权利要求12所述的装置,其特征在于,所述处理单元具体用于:The device according to claim 12, wherein the processing unit is specifically configured to:
    当所述人机交互资源的资源类型的属性值指示所述人机交互资源支持用户输入时,确定所述人机交互资源支持用户输入;和/或,When the attribute value of the resource type of the human-computer interaction resource indicates that the human-computer interaction resource supports user input, it is determined that the human-computer interaction resource supports user input; and/or,
    当所述人机交互资源的资源类型的属性值指示所述人机交互资源支持用户输出时,确定所述人机交互资源支持用户输出。When the attribute value of the resource type of the human-computer interaction resource indicates that the human-computer interaction resource supports user output, it is determined that the human-computer interaction resource supports user output.
  15. 根据权利要求9至14中任一项所述的装置,其特征在于,所述通信单元具体用于:The device according to any one of claims 9 to 14, wherein the communication unit is specifically configured to:
    通过所述人机交互资源获取所述用户输入的数据;和/或,Obtain the data input by the user through the human-computer interaction resource; and/or,
    通过所述人机交互资源向所述用户输出数据。Output data to the user through the human-computer interaction resource.
  16. 根据权利要求9至14中任一项所述的装置,其特征在于,所述人机交互资源的资源类型包括以下参数中的至少一个:The device according to any one of claims 9 to 14, wherein the resource type of the human-computer interaction resource comprises at least one of the following parameters:
    统一资源标识符URI,资源类型名称,资源类型标识,接口,描述,强制性选项,是否支持用户输入的标识,是否支持用户输出的标识,用户输入数据,用户输出数据。Uniform Resource Identifier URI, resource type name, resource type identifier, interface, description, mandatory options, whether to support user input identifier, whether to support user output identifier, user input data, user output data.
  17. 一种物联网设备,其特征在于,包括:处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求1至8中任一项所述的方法。An Internet of Things device, characterized by comprising: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute as claimed in claims 1 to 8. The method of any one of.
  18. 一种芯片,其特征在于,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行:如权利要求1至8中任一项所述的方法。A chip, characterized by comprising: a processor, configured to call and run a computer program from a memory, so that a device installed with the chip executes the method according to any one of claims 1 to 8.
  19. 一种计算机可读存储介质,其特征在于,用于存储计算机程序,所述计算机程序使得计算机执行:如权利要求1至8中任一项所述的方法。A computer-readable storage medium, characterized in that it is used to store a computer program that enables a computer to execute: the method according to any one of claims 1 to 8.
  20. 一种计算机程序产品,其特征在于,包括计算机程序指令,该计算机程序指令使得计算机执行:如权利要求1至8中任一项所述的方法。A computer program product, characterized by comprising computer program instructions, which cause a computer to execute the method according to any one of claims 1 to 8.
  21. 一种计算机程序,其特征在于,所述计算机程序使得计算机执行:如权利要求1至8中任一项所述的方法。A computer program, wherein the computer program causes a computer to execute: the method according to any one of claims 1 to 8.
PCT/CN2020/070133 2020-01-02 2020-01-02 Method and device for exchanging information with user WO2021134757A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2020/070133 WO2021134757A1 (en) 2020-01-02 2020-01-02 Method and device for exchanging information with user
CN202080078066.6A CN114651434A (en) 2020-01-02 2020-01-02 Method and device for information interaction with user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/070133 WO2021134757A1 (en) 2020-01-02 2020-01-02 Method and device for exchanging information with user

Publications (1)

Publication Number Publication Date
WO2021134757A1 true WO2021134757A1 (en) 2021-07-08

Family

ID=76686858

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/070133 WO2021134757A1 (en) 2020-01-02 2020-01-02 Method and device for exchanging information with user

Country Status (2)

Country Link
CN (1) CN114651434A (en)
WO (1) WO2021134757A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017074034A1 (en) * 2015-10-26 2017-05-04 삼성전자 주식회사 Method and apparatus for interworking between heterogeneous systems
CN106775697A (en) * 2016-12-09 2017-05-31 南京邮电大学 A kind of implementation method of the resource model based on WoT
CN108712485A (en) * 2018-05-10 2018-10-26 海信集团有限公司 A kind of resource subscription method and apparatus of internet of things equipment
CN108848159A (en) * 2018-06-14 2018-11-20 电子科技大学 A kind of internet of things equipment interoperability dispatching method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017074034A1 (en) * 2015-10-26 2017-05-04 삼성전자 주식회사 Method and apparatus for interworking between heterogeneous systems
CN106775697A (en) * 2016-12-09 2017-05-31 南京邮电大学 A kind of implementation method of the resource model based on WoT
CN108712485A (en) * 2018-05-10 2018-10-26 海信集团有限公司 A kind of resource subscription method and apparatus of internet of things equipment
CN108848159A (en) * 2018-06-14 2018-11-20 电子科技大学 A kind of internet of things equipment interoperability dispatching method

Also Published As

Publication number Publication date
CN114651434A (en) 2022-06-21

Similar Documents

Publication Publication Date Title
US10320623B2 (en) Techniques for tracking resource usage statistics per transaction across multiple layers of protocols
CN107247597B (en) Abstract representation method of device object for providing uniform abstract representation for intelligent device
US12095872B2 (en) Framework for dynamic brokerage and management of topics and data at the service layer
CN109635019B (en) Request processing method, device, equipment and storage medium
EP1589420A2 (en) Integration architecture for non-integrated tools
US20180084085A1 (en) Cross platform device virtualization for an iot system
US20120158794A1 (en) Techniques to discover object interfaces
US20140095687A1 (en) Method, device, and system for managing mobile broadband device
JP2010501914A (en) Email form engine for mobile devices
WO2019109923A1 (en) Message processing method and system, storage medium and electronic device
US20230045914A1 (en) Method and apparatus for controlling device in internet of things, and gateway device and storage medium
TW201814645A (en) Data processing method, apparatus and device
US20220272171A1 (en) Method and apparatus for subscribing to resource
US9819759B2 (en) Inter-site integration platform for communication between social networking sites
WO2020042973A1 (en) Data processing method for security authentication, server, client device, and medium
US11533596B2 (en) API publish method and apparatus
WO2021134757A1 (en) Method and device for exchanging information with user
WO2020220272A1 (en) Method and system for changing resource state, terminal, and storage medium
WO2023231357A1 (en) Remote calling method, system and apparatus, and electronic device and storage medium
CN109408758B (en) Page display method, device, server and medium based on data processing
Sahni et al. Web apis for internet of things
WO2021232860A1 (en) Communication method, apparatus and system
Alaerjan et al. Modeling functional behaviors of DDS
WO2021134252A1 (en) Inter-device communication method and apparatus, and storage medium
WO2017054530A1 (en) Resource access method, device and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20909024

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20909024

Country of ref document: EP

Kind code of ref document: A1