WO2022198989A1 - 实现物联网模块虚拟外设共享的方法、装置、计算机设备 - Google Patents

实现物联网模块虚拟外设共享的方法、装置、计算机设备 Download PDF

Info

Publication number
WO2022198989A1
WO2022198989A1 PCT/CN2021/124339 CN2021124339W WO2022198989A1 WO 2022198989 A1 WO2022198989 A1 WO 2022198989A1 CN 2021124339 W CN2021124339 W CN 2021124339W WO 2022198989 A1 WO2022198989 A1 WO 2022198989A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
peripheral
virtual peripheral
internet
things module
Prior art date
Application number
PCT/CN2021/124339
Other languages
English (en)
French (fr)
Inventor
孙学彬
吴成林
Original Assignee
深圳市广和通无线股份有限公司
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 深圳市广和通无线股份有限公司 filed Critical 深圳市广和通无线股份有限公司
Publication of WO2022198989A1 publication Critical patent/WO2022198989A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present application relates to the technical field of IoT modules, and in particular, to a method, apparatus, computer equipment and storage medium for realizing virtual peripheral sharing of IoT modules.
  • IoT module peripheral sharing technology In order to realize that a single IoT module can share virtual peripheral device information with other IoT modules, and improve the expansion performance of IoT modules to better adapt to the communication needs of various terminal devices, the emergence of IoT module peripheral sharing technology.
  • the virtual peripheral device sharing of the IoT module is generally realized by changing the existing hardware layout, and the virtual peripheral device here may refer to a microphone, a camera, a display screen, and the like. That is, when a virtual peripheral device is required, a corresponding virtual peripheral device will be added to the hardware circuit of the IoT module, and sometimes adding a virtual peripheral device will involve changes in the connection of the entire circuit.
  • a method for realizing virtual peripheral sharing of an Internet of Things module comprising:
  • a virtual peripheral device is added according to the configuration parameters of the first target virtual peripheral.
  • the first Internet of Things module includes an actual drive node, and the actual drive node is used to store configuration parameters of peripheral devices; the receiving the first Internet of Things module in a virtualizable state, responds
  • the configuration parameters of the first target virtual peripheral sent by the first virtual peripheral request include:
  • the configuration parameters of the first target virtual peripheral are obtained from the actual drive node through the data channel, and the configuration parameters of the first target virtual peripheral are stored in the in the virtual device node.
  • the method further includes: acquiring a first sharing denial instruction sent in response to the first virtual peripheral request when the first IoT module is in a non-virtualized state.
  • the method further includes:
  • the local Internet of Things module responds to the second virtual peripheral request, and sends the configuration parameters of the second target virtual peripheral to the second Internet of Things module, and the second Internet of Things module according to A new virtual peripheral device is added to the configuration parameter of the second target virtual peripheral.
  • the method further includes: the second IoT module includes a virtual drive node, where the virtual drive node is used to store configuration parameters of peripheral devices; the local IoT module responds to a virtualized state The second virtual peripheral request sends the configuration parameters of the second target virtual peripheral to the second IoT module, including:
  • the local Internet of Things module sends a second sharing start signal to the second Internet of Things module in response to the second virtual peripheral request, and the second Internet of Things module starts sharing based on the second Signals, create virtual device nodes, and create data channels together with local IoT modules;
  • the method further includes: in a virtualizable state, the local Internet of Things module sends a second denial of sharing instruction to the second Internet of Things module.
  • the method further includes: sending an end sharing signal to the second Internet of Things module, and after obtaining the second Internet of Things module When the consent of the Internet of Things module ends the sharing signal, the virtual peripheral device is turned off.
  • a device for realizing virtual peripheral sharing of an Internet of Things module comprising:
  • a first probe instruction sending module configured to send a probe command to the same cell communication network
  • a first peripheral acquisition module configured to receive a first peripheral sent by the first Internet of Things module in response to the probe command
  • a first target virtual peripheral determining module configured to determine a first target virtual peripheral according to the first peripheral
  • a first virtual peripheral request initiating module configured to initiate a first virtual peripheral request to the first Internet of Things module, where the first virtual peripheral request includes a first target virtual peripheral;
  • a configuration parameter acquisition module configured to receive the configuration parameters of the first target virtual peripheral sent by the first IoT module in a virtualizable state in response to the first virtual peripheral request;
  • a virtual peripheral device adding module is used for adding a virtual peripheral device according to the configuration parameters of the first target virtual peripheral device.
  • a computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
  • a virtual peripheral device is added according to the configuration parameters of the first target virtual peripheral.
  • a virtual peripheral device is added according to the configuration parameters of the first target virtual peripheral.
  • the above-mentioned method, device, computer equipment and storage medium for realizing virtual peripheral sharing of Internet of Things modules by sending a probe command to the communication network of the same community, obtain the first peripheral devices of other Internet of Things modules in the same community, and determine the required first peripheral device.
  • a target virtual peripheral device further initiates a first virtual peripheral device request to the first Internet of Things module, obtains configuration parameters of the first target virtual peripheral device, and locally adds a virtual peripheral device according to the configuration parameters. Therefore, the peripherals of other IoT modules in the same cell can be virtually added as local peripherals by acquiring configuration parameters.
  • the method does not need to change the hardware circuit, and re-plans the layout and welding of the hardware circuit. Between two or more shared IoT modules, the sharing of peripherals can be completed only through simple communication interaction, so the present application can improve the efficiency of sharing the peripherals of the IoT modules.
  • FIG. 1 is an application environment diagram of a method for realizing virtual peripheral device sharing of an Internet of Things module in one embodiment
  • FIG. 2 is a schematic flowchart of a method for realizing virtual peripheral sharing of an Internet of Things module in one embodiment
  • FIG. 3 is a schematic flowchart of a method for realizing virtual peripheral sharing of an Internet of Things module in another embodiment
  • FIG. 4 is a schematic flowchart of a method for implementing virtual peripheral sharing with other Internet of Things modules when the same Internet of Things module is used as a sender and a receiver of a probe command, respectively, in an embodiment
  • FIG. 5 is a structural block diagram of an apparatus for realizing virtual peripheral sharing of an Internet of Things module in one embodiment
  • FIG. 6 is a diagram of the internal structure of a computer device in one embodiment.
  • the method for realizing virtual peripheral sharing of an IoT module can be applied to the application environment shown in FIG. 1 .
  • the communication between the first Internet of Things module 102 and the second Internet of Things module 104 is performed by means of a network, Bluetooth, and infrared.
  • the text portion in FIG. 1 is specially marked as the first IoT module 102 and the second IoT module 104 for distinction.
  • the first IoT module 102 can send a probe command to the communication network of the same cell, and other IoT modules that receive the probe command, if it is the second IoT module 104 , then the second IoT module 104 will find the address of the first IoT module 102 that sent the probe command, so as to send the configuration parameters of the first target virtual peripheral to the first IoT module that needs to add a virtual peripheral device 102.
  • the first IoT module 102 can not only obtain the configuration parameters of the first target virtual peripheral from the second IoT module 104 , but also can send the peripheral information (second peripheral) owned by itself to the second IoT module 104 , so that the second IoT module 104 can acquire the configuration parameters of the second target virtual peripheral from the first IoT module 102 and add a virtual virtual peripheral device.
  • a method for realizing virtual peripheral sharing of an IoT module is provided, and the method is applied to the terminal in FIG. 1 as an example to illustrate, including the following steps:
  • Step S202 sending a first probe instruction to the same cell communication network.
  • the first probe command is a probe command, and through the probe command, the peripheral information actually possessed by the first Internet of Things module can be probed.
  • the two IoT modules need to be in the same serving cell (or cell).
  • the communication network in the same cell refers to the serving cell.
  • Step S204 Receive a first peripheral device sent by the first Internet of Things module in response to the first probe command.
  • the first peripheral device refers to peripheral device information actually possessed by the first Internet of Things, and is descriptive information about the peripheral device information, such as a name, a function description, and the like.
  • the local IoT module needs to share peripherals, so that the IoT module that actively sends the first probe command can send probe commands to other IoT modules (collectively referred to as the first IoT module), and the other IoT modules are receiving the probe. After the command, you can find the address of the IoT module that sent the probe command, and send the peripheral information you actually own according to the address.
  • Step S206 determining a first target virtual peripheral according to the first peripheral.
  • the local Internet of Things module can determine the first target virtual peripheral device from the first peripheral device according to its own requirements. Therefore, the first target virtual peripheral is the peripheral required by the local IoT module. For example, when the local IoT module lacks certain peripheral information, or the quantity of certain peripheral information is insufficient, the local IoT module needs to Obtain the corresponding first target virtual peripheral from the first peripheral.
  • Step S208 Initiating a first virtual peripheral request to the first Internet of Things module, where the first virtual peripheral request includes a first target virtual peripheral.
  • the first virtual peripheral request is sent according to the requirements of the local Internet of Things module. It is not only an electrical signal, but the electrical signal includes the first target virtual peripheral required by the local Internet of Things module.
  • the first IoT module can obtain peripheral information required by the local IoT module, that is, the first target virtual peripheral.
  • the local IoT module After determining the first target virtual peripheral, the local IoT module will establish a module session according to its own needs, and send the first virtual peripheral request to the first IoT module.
  • the module session is a communication mechanism used for communication between modules. Based on this module session, the local IoT module can know the state of the first IoT module.
  • Step S210 receiving the configuration parameters of the first target virtual peripheral sent by the first IoT module in a virtualizable state in response to the first virtual peripheral request.
  • the state of the first Internet of Things module is a virtual state, that is, the first Internet of Things module can share peripherals, and the first peripheral of the Internet of Things module itself is virtualized to the state of the local Internet of Things module.
  • the configuration parameter of the first target virtual peripheral refers to data information of the first target virtual peripheral, including peripheral type, interface attribute, version, transmission/control protocol, and the like.
  • the first IoT module will respond to the first virtual peripheral request sent by the local IoT module, thereby sending the configuration parameters of the first target virtual peripheral to the local IoT module.
  • Step S212 adding a virtual peripheral device according to the configuration parameters of the first target virtual peripheral device.
  • the virtual peripheral devices include a microphone, a camera, a display screen, and the like.
  • the local IoT module adds a corresponding virtual peripheral device to the local IoT module according to the configuration parameters of the first target virtual peripheral.
  • the first peripheral device of other IoT modules in the same community is obtained by sending a probe command to the communication network of the same community, and the required first target virtual peripheral device is determined, and then A first virtual peripheral device request is initiated to the first Internet of Things module, configuration parameters of the first target virtual peripheral device are acquired, and a virtual peripheral device is added locally according to the configuration parameters. Therefore, the peripherals of other IoT modules in the same cell can be virtually added as local peripherals by acquiring configuration parameters.
  • the method does not need to change the hardware circuit, and re-plans the layout and welding of the hardware circuit. Between two or more shared IoT modules, the sharing of peripherals can be completed only through simple communication interaction, so the present application can improve the efficiency of sharing the peripherals of the IoT modules.
  • the first Internet of Things module includes an actual drive node, and the actual drive node is used to store configuration parameters of peripheral devices; the receiving the first Internet of Things module in a virtualized state responds to all the The configuration parameters of the first target virtual peripheral sent by the first virtual peripheral request include:
  • the first start sharing signal is a signal in the form of an electrical signal, and the first start sharing signal is sent by the first IoT module to remind the local IoT module when the first IoT module is in a virtualized state. Then the subsequent peripheral sharing steps can be performed.
  • a virtual device node is created locally, and a data channel is created together with the first Internet of Things module.
  • the local Internet of Things module after receiving the first start sharing signal, the local Internet of Things module will create a virtual device node in the local Internet of Things module module.
  • the role of the virtual device node is equivalent to a file for storing data information, mainly used for storing Configuration parameters for peripherals.
  • the local Internet of Things module also creates a data channel together with the first Internet of Things module, and the data channel is used for the transmission of peripheral information. There are control instructions in the local IoT module to control the opening or closing of the data channel.
  • the peripheral information can be transmitted from the actual drive node to the virtual device node; when the control command controls the peripheral information of the first IoT module to be turned off, the external Device information cannot be transferred from the actual driver node to the virtual device node.
  • the configuration parameters of the first target virtual peripheral are obtained from the actual drive node through the data channel, and the configuration parameters of the first target virtual peripheral are stored in the in the virtual device node.
  • the first target virtual peripheral refers to some peripheral information that the local IoT module lacks, and the first target virtual peripheral is the peripheral information required by the local IoT module to implement related functions. Therefore, , called the first target virtual peripheral.
  • the local Internet of Things module after acquiring the configuration parameters of the first target virtual peripheral, the local Internet of Things module will store the configuration parameters of the first target virtual peripheral in the virtual device node, where the function of the virtual device node is also equivalent to The file storing data information is mainly used to store the configuration parameters of the first target virtual peripheral.
  • the method for implementing virtual peripheral sharing of an IoT module further includes: acquiring a first rejection sent by the first IoT module in response to the first virtual peripheral request when the first IoT module is in a non-virtual state Shared directives.
  • the state in which the first IoT module cannot realize peripheral sharing due to its own reasons is the non-virtual state.
  • the non-virtual state usually occurs in the module session negotiation stage. If the first IoT module is starting the device, it will refuse to share if it cannot be shared. At the same time, it will send a first refusal to share instruction to the local IoT module to temporarily refuse to share peripherals. After the local IoT module receives the first share rejection command, it will wait temporarily. During the waiting time, if the configuration parameters of the first target virtual peripheral obtained at the earliest are not the first IoT module that originally sent the first share rejection command , the local IoT module will share peripherals with the first IoT module that responds earliest within the waiting time.
  • a first sharing rejection instruction is sent to the local IoT module, so that the local IoT module can avoid invalid waiting and improve the efficiency of peripheral sharing .
  • the method for implementing virtual peripheral sharing of an IoT module further includes:
  • Step S302 receiving a second probe instruction sent by the second Internet of Things module.
  • the same IoT module can either be the party that sends the second probe command to obtain the required peripheral information from other IoT modules; it can also be the party that receives the second probe command to send its own actual
  • the possessed peripheral information (to be different from the first peripheral, hereinafter collectively referred to as the second peripheral) is sent to other IoT modules.
  • the IoT module that sends the second probe command is required by other IoT modules to share peripheral information
  • these other IoT modules are regarded as second IoT modules.
  • the IoT module that receives the second probe instruction is hereinafter referred to as the local IoT module.
  • Step S304 based on the second probe instruction, determine the address of the second Internet of Things module, and send a second peripheral device to the second Internet of Things module according to the address.
  • the local Internet of Things module can send the name and function descriptive information of the second peripheral to the address of the second Internet of Things module. the second IoT module.
  • Step S306 Receive a second virtual peripheral request sent by the second IoT module, where the second virtual peripheral request includes a second target virtual peripheral determined according to the second peripheral.
  • the second virtual peripheral request is sent according to the requirements of the second IoT module, it is not only an electrical signal, but the electrical signal includes the second target virtual peripheral required by the second IoT module, According to the second virtual peripheral request, the local IoT module can acquire peripheral information required by the second IoT module, that is, the second target virtual peripheral.
  • the second IoT module After determining the second target virtual peripheral, the second IoT module will establish a module session with the local IoT module according to its own needs, and send the second virtual peripheral request to the local IoT module.
  • the module session is a communication mechanism used for communication between modules. Based on this module session, the second IoT module can know the state of the local IoT module.
  • Step S308 the local Internet of Things module in the virtualized state, in response to the second virtual peripheral request, sends the configuration parameters of the second target virtual peripheral to the second Internet of Things module, and the second virtual peripheral is sent by the second
  • the networking module adds a virtual peripheral device according to the configuration parameter of the second target virtual peripheral.
  • the state of the local Internet of Things module is a virtualized state, that is, the local Internet of Things module can share peripherals, and virtualize the second peripheral of the Internet of Things module itself to the state of the second Internet of Things module.
  • the configuration parameter of the second target virtual peripheral refers to data information of the second target virtual peripheral, including peripheral type, interface attribute, version, transmission/control protocol, and the like.
  • the local IoT module will respond to the second virtual peripheral request sent by the second IoT module, and send the configuration parameters of the second target virtual peripheral to the second IoT module.
  • the networking module obtains the configuration parameters of the second target virtual peripheral, it will add a virtual peripheral device according to the configuration parameters of the second target virtual peripheral.
  • the local Internet of Things module obtains the address of the second Internet of Things module by receiving the second probe command sent by the second Internet of Things module, and then sends the second peripheral device to it according to the address of the second Internet of Things module, and Finally, according to the second virtual peripheral request of the second IoT module, the configuration parameters of the second target virtual peripheral are sent to the second IoT module. Therefore, the same IoT module can not only serve as a party receiving shared peripheral information, but also can serve as a party sending shared peripheral information.
  • the second Internet of Things module includes a virtual drive node, and the virtual drive node is used to store configuration parameters of peripheral devices; the local Internet of Things module responds to the second virtual peripheral device in a virtualizable state request, sending the configuration parameters of the second target virtual peripheral to the second IoT module, including:
  • the local Internet of Things module sends a second sharing start signal to the second Internet of Things module in response to the second virtual peripheral request, and the second Internet of Things module starts sharing based on the second Signals, create virtual device nodes, and create data channels together with local IoT modules;
  • the second start sharing signal is a signal in the form of an electrical signal
  • the second start sharing signal is sent by the local IoT module to remind the second IoT module when the local IoT module is in a virtualized state. Subsequent peripheral sharing steps can be performed.
  • the second IoT module after receiving the second start sharing signal, the second IoT module will create a virtual device node in the local IoT module module.
  • the role of the virtual device node is equivalent to a file for storing data information, mainly used for Stores configuration parameters for peripherals.
  • the local Internet of Things module also creates a data channel together with the second Internet of Things module, and the data channel is used for the transmission of peripheral information.
  • the second Internet of Things module has a control instruction for controlling the opening or closing of the data channel.
  • the peripheral information can be transmitted from the actual drive node to the virtual device node; when the control command controls the peripheral information of the local IoT module to be turned off, the peripheral information It cannot be transferred from the actual driver node to the virtual device node.
  • the second target virtual peripheral refers to some peripheral information that the second IoT module lacks, and the second target virtual peripheral is the peripheral information required by the second IoT module to implement related functions , so it is called the second target virtual peripheral.
  • the second IoT module after acquiring the configuration parameters of the second target virtual peripheral, the second IoT module will store the configuration parameters of the second target virtual peripheral in the virtual device node, where the function of the virtual device node is equivalent to
  • the file for storing data information is mainly used to store configuration parameters of the second target virtual peripheral.
  • the local Internet of Things module and the second Internet of Things module jointly create a data channel, and according to the second target virtual peripheral, the control instruction controls the opening of the data channel, so that the configuration parameters of the second target virtual peripheral can be driven from the actual The node is transmitted to the virtual device node, thereby controlling the second Internet of Things module to obtain the configuration parameters of the second target virtual peripheral.
  • the method for realizing virtual peripheral sharing of an IoT module further includes: in a virtualized state, the local IoT module sends a second refusal to share instruction to the second IoT module.
  • the state in which the local IoT module cannot realize peripheral sharing due to its own reasons is the non-virtual state.
  • the non-virtual state is usually in the module session negotiation stage. If the local IoT module is starting the device and cannot share it, it will refuse to share, and at the same time, it will send a second share rejection command to the second IoT module to temporarily refuse to share peripherals. The second IoT module will wait temporarily after receiving the second sharing rejection command. If the required peripheral information obtained earliest within the waiting time is not the local IoT module that originally sent the second sharing rejection command, the second IoT module will The networking module will share peripherals with the local IoT module that responds earliest within the waiting time.
  • the second Internet of Things module when the state of the peripherals in the local Internet of Things module is in a non-virtual state, the second Internet of Things module sends a second refusal to share instruction, so that the second Internet of Things module can avoid invalid waiting and improve the sharing of peripherals. efficiency.
  • the method further includes: sending an end sharing signal to the second IoT module, and after obtaining the second IoT module When the consent of the networking module ends the sharing signal, the virtual peripheral device is turned off.
  • the local IoT module after the local IoT module has sent the peripheral information it needs to the second IoT module, it will also send an end sharing signal to the second IoT module, if the second IoT module obtains the peripheral information , when it is no longer necessary to obtain additional peripheral information, the local Internet of Things module can send an agreement to end sharing signal to the local Internet of Things module. When the local Internet of Things module obtains the agreement to end the sharing signal, it will close the corresponding virtual peripheral device.
  • a method for implementing virtual peripheral sharing of an IoT module includes:
  • the communication process between the IoT module as the executive body and the first IoT module mainly includes:
  • Step S402 sending a first probe instruction to the same cell communication network.
  • Step S404 Receive a first peripheral device sent by the first Internet of Things module in response to the first probe command, and determine a first target virtual peripheral device according to the first peripheral device.
  • Step S408 Initiating a first virtual peripheral request to the first Internet of Things module, where the first virtual peripheral request includes a first target virtual peripheral.
  • Step S410 Receive the configuration parameters of the first target virtual peripheral sent by the first IoT module in a virtualizable state in response to the first virtual peripheral request.
  • Step S412 adding a virtual peripheral device according to the configuration parameters of the first target virtual peripheral device.
  • the communication process between the IoT module as the executive body and the second IoT module mainly includes:
  • Step S402' receiving a second probe instruction sent by the second Internet of Things module.
  • Step S404' based on the second probe instruction, determine the address of the second Internet of Things module, and send a second peripheral device to the second Internet of Things module according to the address.
  • Step S406' receiving a second virtual peripheral request sent by the second IoT module, where the second virtual peripheral request includes a second target virtual peripheral determined according to the second peripheral.
  • Step S408' in the virtualized state, the local IoT module responds to the second virtual peripheral request, and sends the configuration parameters of the second target virtual peripheral to the second IoT module, and the second The IoT module adds a virtual peripheral device according to the configuration parameters of the second target virtual peripheral.
  • steps in the flowcharts involved in the above embodiments are sequentially displayed according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but may be executed at different times. Alternatively, the order of execution of the stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the steps or stages in the other steps.
  • an apparatus for realizing virtual peripheral sharing of an IoT module including: a first probe instruction sending module 502, a first peripheral acquiring module 504, a first target virtual peripheral Let the determining module 506, the first virtual peripheral request initiating module 508, the configuration parameter acquiring module 510 and the virtual peripheral device adding module 512, wherein:
  • the first probe instruction sending module 502 is configured to send the first probe command to the same cell communication network
  • the first peripheral device obtaining module 504 is configured to receive the first peripheral device sent by the first Internet of Things module in response to the probe command;
  • the first target virtual peripheral determining module 506 is configured to determine a first target virtual peripheral according to the first peripheral;
  • the first virtual peripheral request initiating module 508 is configured to initiate a first virtual peripheral request to the first Internet of Things module, where the first virtual peripheral request includes a first target virtual peripheral;
  • the configuration parameter acquisition module 510 is configured to receive the configuration parameters of the first target virtual peripheral sent by the first IoT module in a virtualizable state in response to the first virtual peripheral request;
  • the virtual peripheral device adding module 512 is configured to add a virtual peripheral device according to the configuration parameters of the first target virtual peripheral device.
  • the configuration parameter acquisition module includes: a first initial shared signal acquisition module, a data channel creation module, and a first configuration parameter storage module, wherein:
  • the first start sharing signal acquisition module is configured to acquire the first start sharing signal sent by the first Internet of Things module in a virtualized state in response to the first virtual peripheral request;
  • the data channel creation module is configured to create a virtual device node locally based on the first start sharing signal, and jointly create a data channel with the first Internet of Things module;
  • the first configuration parameter storage module is used for the peripheral information storage module, and is used to obtain the configuration parameters of the first target virtual peripheral from the actual drive node through the data channel according to the first virtual peripheral request, and The configuration parameters of the first target virtual peripheral are stored in the virtual device node.
  • the device for implementing virtual peripheral sharing of an IoT module further includes: a first refusal to share instruction sending module, configured to obtain a response to the first IoT module in a non-virtualized state The virtual peripheral requests the first deny sharing command sent.
  • the device for realizing virtual peripheral sharing of an IoT module further includes: a second probe instruction receiving module, a peripheral information sending module, and a required peripheral information sending module, wherein:
  • the second probe instruction receiving module is configured to receive the second probe command sent by the second Internet of Things module
  • the second peripheral device sending module is configured to determine the address of the second Internet of Things module based on the second probe instruction, and send the second peripheral device to the second Internet of Things module according to the address;
  • the second virtual peripheral request sending module is configured to receive a second virtual peripheral request sent by the second Internet of Things module, where the second virtual peripheral request includes a second target virtual peripheral determined according to the second peripheral Assume;
  • the configuration parameter sending module is used for the local Internet of Things module to send the configuration parameters of the second target virtual peripheral to the second Internet of Things module in response to the second virtual peripheral request in a virtualized state, and the The second Internet of Things module adds a virtual peripheral device according to the configuration parameter of the second target virtual peripheral.
  • the second Internet of Things module includes a virtual drive node, and the virtual drive node is used to store configuration parameters of peripheral devices;
  • a configuration parameter sending module includes:
  • the second start sharing signal sending module is used for the local Internet of Things module in the virtualized state, in response to the second virtual peripheral request, to send a second start sharing signal to the second Internet of Things module, and the second The networking module creates a virtual device node based on the second start sharing signal, and creates a data channel together with the local IoT module;
  • the sub-configuration parameter sending module is configured to send the configuration parameters of the second target virtual peripheral to the second IoT module through the data channel, and the second IoT module sends the second target virtual peripheral's configuration parameters.
  • Configuration parameters are stored in the virtual device node.
  • the device for realizing virtual peripheral sharing of an IoT module further includes: a second refusal to share instruction sending module, configured to send the second IoT module to the second IoT module in a virtualized state. 2. Refuse to share instructions.
  • the apparatus for implementing virtual peripheral sharing of an IoT module further includes: a virtual peripheral device closing module, configured to send a sharing end signal to the second IoT module, and after obtaining the second IoT module When the module agrees to end the sharing signal, the virtual peripheral device is closed.
  • each module in the above-mentioned apparatus for realizing virtual peripheral sharing of IoT modules may be implemented in whole or in part by software, hardware, and combinations thereof.
  • the above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
  • a computer device is provided, and the computer device may be a terminal, and its internal structure diagram may be as shown in FIG. 6 .
  • the computer equipment includes a processor, memory, a communication interface, a display screen, and an input device connected by a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium, an internal memory.
  • the nonvolatile storage medium stores an operating system and a computer program.
  • the internal memory provides an environment for the execution of the operating system and computer programs in the non-volatile storage medium.
  • the communication interface of the computer device is used for wired or wireless communication with an external terminal, and the wireless communication can be realized by WIFI, operator network, NFC (Near Field Communication) or other technologies.
  • the computer program is executed by the processor, a method for realizing virtual peripheral sharing of an Internet of Things module is realized.
  • the display screen of the computer equipment may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment may be a touch layer covered on the display screen, or a button, a trackball or a touchpad set on the shell of the computer equipment , or an external keyboard, trackpad, or mouse.
  • FIG. 6 is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer equipment to which the solution of the present application is applied. Include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
  • a computer device including a memory and a processor, where a computer program is stored in the memory, and the processor implements the steps in the foregoing method embodiments when the processor executes the computer program.
  • a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, implements the steps in the foregoing method embodiments.
  • Non-volatile memory may include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, or optical memory, and the like.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • the RAM may be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请涉及一种实现物联网模块虚拟外设共享的方法、装置、计算机设备和存储介质。所述方法包括:向同一小区通信网络发送第一探查指令;接收第一物联网模块响应所述第一探查指令发送的第一外设;根据所述第一外设确定第一目标虚拟外设;向所述第一物联网模块发起第一虚拟外设请求,所述第一虚拟外设请求包括第一目标虚拟外设;接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数;根据所述第一目标虚拟外设的配置参数新增虚拟外设设备。采用本方法能够提高物联网模块外设共享效率。

Description

实现物联网模块虚拟外设共享的方法、装置、计算机设备
本申请要求于2021年3月25日提交中国专利局,申请号为2021103178970,申请名称为“实现物联网模块虚拟外设共享的方法、装置、计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及物联网模块的技术领域,特别是涉及一种实现物联网模块虚拟外设共享的方法、装置、计算机设备和存储介质。
背景技术
随着物联网模块技术的发展,为了实现单个的物联网模块能够和其他物联网模块共享虚拟外设设备信息,提升物联网模块的扩展性能以更好的适应各种终端设备的通信需求,从而出现了物联网模块外设共享技术。
传统技术中,一般通过改变现有的硬件布局,实现物联网模块的虚拟外设设备共享,这里的虚拟外设设备可指麦克,摄像头,显示屏等。即在需要某虚拟外设设备时,将在物联网模块的硬件电路中新增对应的虚拟外设设备,有时新增一个虚拟外设设备会牵涉到整个电路连接的更改。
然而,目前的传统方法,通过改变现有硬件布局的方式,在一定程度上降低了物联网模块外设共享的效率。
发明内容
基于此,有必要针对上述技术问题,提供一种能够提高物联网模块外设共享效率的实现物联网模块虚拟外设共享的方法、装置、计算机设备和存储介质。
一种实现物联网模块虚拟外设共享的方法,所述方法包括:
向同一小区通信网络发送第一探查指令;
接收第一物联网模块响应所述第一探查指令发送的第一外设;
根据所述第一外设确定第一目标虚拟外设;
向所述第一物联网模块发起第一虚拟外设请求,所述第一虚拟外设请求包括第一目标虚拟外设;
接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数;
根据所述第一目标虚拟外设的配置参数新增虚拟外设设备。
在其中一个实施例中,所述第一物联网模块包括实际驱动节点,所述实际驱动节点用于存储外设的配置参数;所述接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数,包括:
获取所述第一物联网模块在可虚拟状态下响应所述第一虚拟外设请求所发送的第一开始共享信号;
基于所述第一开始共享信号,在本地创建虚拟设备节点,并和所述第一物联网模块共同创建数据通道;
根据所述第一虚拟外设请求,通过所述数据通道从所述实际驱动节点中获取第一目标虚拟外设的配置参数,并将所述第一目标虚拟外设的配置参数存储于所述虚拟设备节点中。
在其中一个实施例中,所述方法还包括:获取所述第一物联网模块在为不可虚拟状态下,响应所述第一虚拟外设请求所发送的第一拒绝共享指令。
在其中一个实施例中,所述方法还包括:
接收第二物联网模块发送的第二探查指令;
基于所述第二探查指令,确定所述第二物联网模块的地址,根据所述地址向所述第二物联网模块发送第二外设;
接收所述第二物联网模块发送的第二虚拟外设请求,所述第二虚拟外设请求包括根据所述第二外设确定的第二目标虚拟外设;
本地物联网模块在可虚拟状态下,响应所述第二虚拟外设请求,向所述第二物联网模块发送所述第二目标虚拟外设的配置参数,由所述第二物联网模块根据所述第二目标虚拟 外设的配置参数新增虚拟外设设备。
在其中一个实施例中,所述方法还包括:所述第二物联网模块包括虚拟驱动节点,所述虚拟驱动节点用于存储外设的配置参数;本地物联网模块在可虚拟状态下,响应所述第二虚拟外设请求,向所述第二物联网模块发送所述第二目标虚拟外设的配置参数,包括:
本地物联网模块在可虚拟状态下,响应所述第二虚拟外设请求,向所述第二物联网模块发送第二开始共享信号,由所述第二物联网模块基于所述第二开始共享信号,创建虚拟设备节点,并和本地物联网模块共同创建数据通道;
通过所述数据通道,向所述第二物联网模块发送第二目标虚拟外设的配置参数,由所述第二物联网模块将所述第二目标虚拟外设的配置参数存储于虚拟设备节点中。
在其中一个实施例中,所述方法还包括:本地物联网模块在可虚拟状态下,向所述第二物联网模块发送第二拒绝共享指令。
在其中一个实施例中,在向所述第二物联网模块发送第二目标虚拟外设的配置参数之后,还包括:向所述第二物联网模块发送结束共享信号,在获得所述第二物联网模块的同意结束共享信号时,关闭所述虚拟外设设备。
一种实现物联网模块虚拟外设共享的装置,所述装置包括:
第一探查指令发送模块,用于向同一小区通信网络发送探查指令;
第一外设获取模块,用于接收第一物联网模块响应所述探查指令发送的第一外设;
第一目标虚拟外设确定模块,用于根据所述第一外设确定第一目标虚拟外设;
第一虚拟外设请求发起模块,用于向所述第一物联网模块发起第一虚拟外设请求,所述第一虚拟外设请求包括第一目标虚拟外设;
配置参数获取模块,用于接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数;
虚拟外设设备新增模块,用于根据所述第一目标虚拟外设的配置参数新增虚拟外设设备。
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
向同一小区通信网络发送第一探查指令;
接收第一物联网模块响应所述第一探查指令发送的第一外设;
根据所述第一外设确定第一目标虚拟外设;
向所述第一物联网模块发起第一虚拟外设请求,所述第一虚拟外设请求包括第一目标虚拟外设;
接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数;
根据所述第一目标虚拟外设的配置参数新增虚拟外设设备。
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:
向同一小区通信网络发送第一探查指令;
接收第一物联网模块响应所述第一探查指令发送的第一外设;
根据所述第一外设确定第一目标虚拟外设;
向所述第一物联网模块发起第一虚拟外设请求,所述第一虚拟外设请求包括第一目标虚拟外设;
接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数;
根据所述第一目标虚拟外设的配置参数新增虚拟外设设备。
上述实现物联网模块虚拟外设共享的方法、装置、计算机设备和存储介质,通过向同一小区通信网络发送探查指令,获取其同一小区内其它物联网模块的第一外设,确定所需的第一目标虚拟外设,进而向第一物联网模块发起第一虚拟外设请求,获取第一目标虚拟外设的配置参数,根据配置参数在本地新增虚拟外设设备。从而,能够实现将同一小区的其它物联网模块的外设,通过获取配置参数的方式,虚拟增加作为本地的外设。该方法不需要改变硬件电路,对硬件电路重新规划布局、焊制。共享的两个或多个物联网模块之间,只需通过简单的通信交互,即可完成外设的共享,因而本申请能够提高物联网模块外设共享的效率。
附图说明
图1为一个实施例中实现物联网模块虚拟外设共享的方法的应用环境图;
图2为一个实施例中实现物联网模块虚拟外设共享的方法的流程示意图;
图3为另一个实施例中实现物联网模块虚拟外设共享的方法的流程示意图;
图4为一个实施例中实现同一物联网模块分别作为探查指令的发送方和接收方时,与其他物联网模块虚拟外设共享的方法的流程示意图;
图5为一个实施例中实现物联网模块虚拟外设共享的装置的结构框图;
图6为一个实施例中计算机设备的内部结构图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供的实现物联网模块虚拟外设共享的方法,可以应用于如图1所示的应用环境中。其中第一物联网模块102和第二物联网模块104之间通过网络、蓝牙和红外等方式进行通信。为了说明不同的物联网模块之间进行外设共享,因此,图1中文字部分特标注为第一物联网模块102和第二物联网模块104以作区分。
以图1为例,第一物联网模块102在需要增加虚拟外设设备时,可以向同一小区通信网络发送探查指令,接收到该探查指令的其他物联网模块,假如是第二物联网模块104,则第二物联网模块104会找到发送该探查指令的第一物联网模块102的地址,从而将第一目标虚拟外设的配置参数发送给该需要增加虚拟外设设备的第一物联网模块102。
第一物联网模块102不仅可以从第二物联网模块104中获得第一目标虚拟外设的配置参数,还可以将自身拥有的外设信息(第二外设)发送给第二物联网模块104,从而使第二物联网模块104可以从该第一物联网模块102中获取到第二目标虚拟外设的配置参数,新增虚拟的虚拟外设设备。
在一个实施例中,如图2所示,提供了一种实现物联网模块虚拟外设共享的方法,以该方法应用于图1中的终端为例进行说明,包括以下步骤:
步骤S202,向同一小区通信网络发送第一探查指令。
其中,第一探查指令即probe指令,通过该probe指令可以探查到第一物联网模块中实际拥有的外设信息。
具体地,物联网模块在和另一(可以是单个也可以是多个)物联网模块进行外设共享时,需要这两个物联网模块在同一个服务小区(或称蜂窝小区)中。其中,同一小区通信网络即指服务小区。
步骤S204,接收第一物联网模块响应所述第一探查指令发送的第一外设。
其中,第一外设是指第一物联网实际拥有的外设信息,是对外设信息的描述性信息,例如名称、功能描述等。
具体地,本地物联网模块需要进行外设共享,从而主动发送第一探查指令的物联网模块可以向其他物联网模块(统称第一物联网模块)发送probe指令,其他物联网模块在接收该probe指令之后,可以找到发送该probe指令的物联网模块的地址,并根据该地址发送自己实际拥有的外设信息。
步骤S206,根据所述第一外设确定第一目标虚拟外设。
具体地,本地物联网模块在获得第一外设后,能根据自身需求从第一外设中确定第一目标虚拟外设。因此,第一目标虚拟外设是本地物联网模块需要的外设,例如当本地物联网模块缺少某种外设信息、或者某种外设信息数量不足等情况,均会使本地物联网模块需要从第一外设中获取对应的第一目标虚拟外设。
步骤S208,向所述第一物联网模块发起第一虚拟外设请求,所述第一虚拟外设请求包括第一目标虚拟外设。
其中,第一虚拟外设请求是根据本地物联网模块的需求发送的,它不仅是一种电信号,并且该电信号中包括了本地物联网模块所需的第一目标虚拟外设,根据该第一虚拟外设请求,第一物联网模块可以获知本地物联网模块所需的外设信息,即第一目标虚拟外设。
具体地,本地物联网模块在确定好第一目标虚拟外设之后,会根据自身需要建立模块会话,向第一物联网模块发送第一虚拟外设请求。其中模块会话是模块之间进行通信时用到的一种通信机制。基于该模块会话,本地物联网模块可以知道第一物联网模块的状态。
步骤S210,接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数。
其中,第一物联网模块的状态为可虚拟状态,即第一物联网模块可以共享外设,将物联网模块自身的第一外设虚拟给本地物联网模块的状态。第一目标虚拟外设的配置参数,是指第一目标虚拟外设的数据信息,包括外设类型、接口属性、版本、传输/控制协议等。
具体地,第一物联网模块在可虚拟状态下,将响应本地物联网模块发送的第一虚拟外设请求,从而向本地物联网模块发送第一目标虚拟外设的配置参数。
步骤S212,根据所述第一目标虚拟外设的配置参数新增虚拟外设设备。
其中,虚拟外设设备包括麦克,摄像头,显示屏等。
具体地,本地物联网模块在获得第一目标虚拟外设的配置参数后,会根据第一目标虚拟外设的配置参数在本地物联网模块新增对应的虚拟外设设备。
上述实现物联网模块虚拟外设共享的方法中,通过向同一小区通信网络发送探查指令,获取其同一小区内其它物联网模块的第一外设,确定所需的第一目标虚拟外设,进而向第一物联网模块发起第一虚拟外设请求,获取第一目标虚拟外设的配置参数,根据配置参数在本地新增虚拟外设设备。从而,能够实现将同一小区的其它物联网模块的外设,通过获取配置参数的方式,虚拟增加作为本地的外设。该方法不需要改变硬件电路,对硬件电路重新规划布局、焊制。共享的两个或多个物联网模块之间,只需通过简单的通信交互,即可完成外设的共享,因而本申请能够提高物联网模块外设共享的效率。
在一个实施例中,所述第一物联网模块包括实际驱动节点,所述实际驱动节点用于存储外设的配置参数;所述接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数,包括:
获取所述第一物联网模块在可虚拟状态下响应所述第一虚拟外设请求所发送的第一开始共享信号。
其中,第一开始共享信号是一种电信号形式的信号,该第一开始共享信号由第一物联网模块发送,用于在第一物联网模块为可虚拟状态时,提醒本地物联网模块此时可以进行后续的外设共享步骤。
基于所述第一开始共享信号,在本地创建虚拟设备节点,并和所述第一物联网模块共同创建数据通道。
具体地,本地物联网模块在接收到该第一开始共享信号之后,将会在本地物联网模块模块中创建虚拟设备节点,该虚拟设备节点的作用相当于存储数据信息的文件,主要用于存储外设的配置参数。同时,本地物联网模块还和第一物联网模块共同创建数据通道,数据通道用于外设信息的传输。本地物联网模块中有用于控制该数据通道打开或关闭的控制指令。即当该控制指令控制第一物联网模块的外设信息打开时,外设信息可以从实际驱动节点传输至虚拟设备节点;当该控制指令控制第一物联网模块的外设信息关闭时,外设信息则不能从实际驱动节点传输至虚拟设备节点。
根据所述第一虚拟外设请求,通过所述数据通道从所述实际驱动节点中获取第一目标虚拟外设的配置参数,并将所述第一目标虚拟外设的配置参数存储于所述虚拟设备节点中。
其中,第一目标虚拟外设是指本地物联网模块所缺少的某种外设信息,并且该第一目标虚拟外设又是本地物联网模块实现相关功能所需要用到的外设信息,因此,称之为第一目标虚拟外设。
具体地,本地物联网模块在获取到第一目标虚拟外设的配置参数之后,会将该第一目标虚拟外设的配置参数存储于虚拟设备节点中,其中,虚拟设备节点的作用也是相当于存储数据信息的文件,主要用于存储第一目标虚拟外设的配置参数。
在一个实施例中,实现物联网模块虚拟外设共享的方法,还包括:获取所述第一物联网模块在为不可虚拟状态下,响应所述第一虚拟外设请求所发送的第一拒绝共享指令。
其中,第一物联网模块由于自身原因而导致无法实现外设共享的状态,即为不可虚拟状态。不可虚拟状态通常发生在模块会话协商阶段,如果第一物联网模块正在启动该设备,无法共享时就会拒绝,同时将向本地物联网模块发送第一拒绝共享指令,暂时拒绝共享外设。本地物联网模块在接收到第一拒绝共享指令后,会暂时等待,在等待时间内如果最早获得的第一目标虚拟外设的配置参数,不是原先发送第一拒绝共享指令的第一物联网模块,本地物联网模块将会与该等待时间内最早响应的第一物联网模块进行外设共享。
本实施例中,通过在第一物联网模块中外设状态为不可虚拟状态时,向本地物联网模块发送第一拒绝共享指令,从而使本地物联网模块可以避免无效等待,提高外设共享的效率。
在一个实施例中,实现物联网模块虚拟外设共享的方法,还包括:
步骤S302,接收第二物联网模块发送的第二探查指令。
其中,对于同一个物联网模块,它既可以作为发送第二探查指令的一方,从其他物联网模块获取到所需的外设信息;也可以作为接收第二探查指令的一方,将其自身实际拥有的外设信息(为区别于第一外设,下文统称为第二外设)发送给其他物联网模块。当前述的发送第二探查指令的物联网模块,被其他物联网模块需要而共享外设信息时,将这些其他物联网模块视为第二物联网模块。此外,接收第二探查指令的物联网模块,以下简称本地物联网模块。
步骤S304,基于所述第二探查指令,确定所述第二物联网模块的地址,根据所述地址向所述第二物联网模块发送第二外设。
具体地,基于第二探查指令,本地物联网模块在确定了第二物联网模块的地址之后,可以根据该第二物联网模块的地址,将第二外设的名称、功能描述性信息发送给该第二物联网模块。
步骤S306,接收所述第二物联网模块发送的第二虚拟外设请求,所述第二虚拟外设请求包括根据所述第二外设确定的第二目标虚拟外设。
其中,第二虚拟外设请求是根据第二物联网模块的需求发送的,它不仅是一种电信号,并且该电信号中包括了第二物联网模块所需的第二目标虚拟外设,根据该第二虚拟外设请求,本地物联网模块可以获知第二物联网模块所需的外设信息,即第二目标虚拟外设。
具体地,第二物联网模块,在确定好第二目标虚拟外设之后,会根据自身需要和本地物联网模块建立模块会话,向本地物联网模块发送第二虚拟外设请求。其中模块会话是模块之间进行通信时用到的一种通信机制。基于该模块会话,第二物联网模块可以知道本地物联网模块的状态。
步骤S308,本地物联网模块在可虚拟状态下,响应所述第二虚拟外设请求,向所述第二物联网模块发送所述第二目标虚拟外设的配置参数,由所述第二物联网模块根据所述第二目标虚拟外设的配置参数新增虚拟外设设备。
其中,本地物联网模块的状态为可虚拟状态,即本地物联网模块可以共享外设,将物联网模块自身的第二外设虚拟给第二物联网模块的状态。第二目标虚拟外设的配置参数, 是指第二目标虚拟外设的数据信息,包括外设类型、接口属性、版本、传输/控制协议等。
具体地,本地物联网模块在可虚拟状态下,将响应第二物联网模块发送的第二虚拟外设请求,并向第二物联网模块发送第二目标虚拟外设的配置参数,第二物联网模块获得第二目标虚拟外设的配置参数后,将根据该第二目标虚拟外设的配置参数新增虚拟外设设备。
本实施例中,本地物联网模块通过接收第二物联网模块发送的第二探查指令,获取第二物联网模块的地址,再根据第二物联网模块的地址向其发送第二外设,并最终根据第二物联网模块的第二虚拟外设请求,向第二物联网模块发送第二目标虚拟外设的配置参数。从而使同一个物联网模块不仅可以作为接收共享外设信息的一方,还可以作为发送共享外设信息的一方。
在一个实施例中,所述第二物联网模块包括虚拟驱动节点,所述虚拟驱动节点用于存储外设的配置参数;本地物联网模块在可虚拟状态下,响应所述第二虚拟外设请求,向所述第二物联网模块发送所述第二目标虚拟外设的配置参数,包括:
本地物联网模块在可虚拟状态下,响应所述第二虚拟外设请求,向所述第二物联网模块发送第二开始共享信号,由所述第二物联网模块基于所述第二开始共享信号,创建虚拟设备节点,并和本地物联网模块共同创建数据通道;
其中,第二开始共享信号是一种电信号形式的信号,该第二开始共享信号由本地物联网模块发送,用于在本地物联网模块为可虚拟状态时,提醒第二物联网模块此时可以进行后续的外设共享步骤。
具体地,第二物联网模块在接收到该第二开始共享信号之后,将会在本地物联网模块模块中创建虚拟设备节点,该虚拟设备节点的作用相当于存储数据信息的文件,主要用于存储外设的配置参数。同时,本地物联网模块还和第二物联网模块共同创建数据通道,数据通道用于外设信息的传输。第二物联网模块中有用于控制该数据通道打开或关闭的控制指令。即当该控制指令控制本地物联网模块的外设信息打开时,外设信息可以从实际驱动节点传输至虚拟设备节点;当该控制指令控制本地物联网模块的外设信息关闭时,外设信息则不能从实际驱动节点传输至虚拟设备节点。
通过所述数据通道,向所述第二物联网模块发送第二目标虚拟外设的配置参数,由所 述第二物联网模块将所述第二目标虚拟外设的配置参数存储于虚拟设备节点中。
其中,第二目标虚拟外设是指第二物联网模块所缺少的某种外设信息,并且该第二目标虚拟外设又是第二物联网模块实现相关功能所需要用到的外设信息,因此,称之为第二目标虚拟外设。
具体地,第二物联网模块在获取到第二目标虚拟外设的配置参数之后,会将该第二目标虚拟外设的配置参数存储于虚拟设备节点中,其中,虚拟设备节点的作用相当于存储数据信息的文件,主要用于存储第二目标虚拟外设的配置参数。
本实施例中,本地物联网模块通过和第二物联网模块共同创建数据通道,根据第二目标虚拟外设,控制指令控制数据通道打开,使第二目标虚拟外设的配置参数可以从实际驱动节点传输至虚拟设备节点,从而控制第二物联网模块获取到第二目标虚拟外设的配置参数。
在一个实施例中,实现物联网模块虚拟外设共享的方法,还包括:本地物联网模块在可虚拟状态下,向所述第二物联网模块发送第二拒绝共享指令。
其中,本地物联网模块由于自身原因而导致无法实现外设共享的状态,即为不可虚拟状态。不可虚拟状态通常在模块会话协商阶段,如果本地物联网模块正在启动该设备,无法共享时就会拒绝,同时将向第二物联网模块发送第二拒绝共享指令,暂时拒绝共享外设。第二物联网模块在接收到第二拒绝共享指令后,会暂时等待,在等待时间内如果最早获得的需要的外设信息,不是原先发送第二拒绝共享指令的本地物联网模块,第二物联网模块将会与该等待时间内最早响应的本地物联网模块进行外设共享。
本实施例中,通过在本地物联网模块中外设状态为不可虚拟状态时,向第二物联网模块发送第二拒绝共享指令,从而使第二物联网模块可以避免无效等待,提高外设共享的效率。
在一个实施例中,在向所述第二物联网模块发送第二目标虚拟外设的配置参数之后,还包括:向所述第二物联网模块发送结束共享信号,在获得所述第二物联网模块的同意结束共享信号时,关闭所述虚拟外设设备。
具体地,本地物联网模块在向第二物联网模块发送完其需要的外设信息之后,还会向第二物联网模块发送结束共享信号,如果第二物联网模块获得这些外设信息即可,而不需 要再获得另外的外设信息时,则可以向本地物联网模块发送同意结束共享信号,本地物联网模块在获得该同意结束共享信号时,将会关闭相应的虚拟外设设备。
本实施例中,通过向第二物联网模块发送结束共享信号,在获得同意结束共享信号时,关闭自身的虚拟外设设备,从而可以避免非必要的虚拟外设设备被启动,节约物联网模块的耗电。
在一个实施例中,实现物联网模块虚拟外设共享的方法,包括:
物联网模块作为执行主体和第一物联网模块之间的通信过程主要有:
步骤S402,向同一小区通信网络发送第一探查指令。
步骤S404,接收第一物联网模块响应所述第一探查指令发送的第一外设,并根据所述第一外设确定第一目标虚拟外设。
步骤S408,向所述第一物联网模块发起第一虚拟外设请求,所述第一虚拟外设请求包括第一目标虚拟外设。
步骤S410,接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数。
步骤S412,根据所述第一目标虚拟外设的配置参数新增虚拟外设设备。
物联网模块作为执行主体和第二物联网模块之间的通信过程主要有:
步骤S402’,接收所述第二物联网模块发送的第二探查指令。
步骤S404’,基于所述第二探查指令,确定所述第二物联网模块的地址,根据所述地址向所述第二物联网模块发送第二外设。
步骤S406’,接收所述第二物联网模块发送的第二虚拟外设请求,所述第二虚拟外设请求包括根据所述第二外设确定的第二目标虚拟外设。
步骤S408’,本地物联网模块在可虚拟状态下,响应所述第二虚拟外设请求,向所述第二物联网模块发送所述第二目标虚拟外设的配置参数,由所述第二物联网模块根据所述第二目标虚拟外设的配置参数新增虚拟外设设备。
应该理解的是,虽然上述实施例涉及的各流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述实 施例涉及的各流程图中的至少一部分步骤可以包括多个步骤或者多个阶段,这些步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤中的步骤或者阶段的至少一部分轮流或者交替地执行。
在一个实施例中,如图5所示,提供了一种实现物联网模块虚拟外设共享的装置,包括:第一探查指令发送模块502、第一外设获取模块504、第一目标虚拟外设确定模块506、第一虚拟外设请求发起模块508、配置参数获取模块510和虚拟外设设备新增模块512,其中:
第一探查指令发送模块502用于向同一小区通信网络发送第一探查指令;
第一外设获取模块504用于接收第一物联网模块响应所述探查指令发送的第一外设;
第一目标虚拟外设确定模块506用于根据所述第一外设确定第一目标虚拟外设;
第一虚拟外设请求发起模块508用于向所述第一物联网模块发起第一虚拟外设请求,所述第一虚拟外设请求包括第一目标虚拟外设;
配置参数获取模块510用于接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数;
虚拟外设设备新增模块512用于根据所述第一目标虚拟外设的配置参数新增虚拟外设设备。
在一个实施例中,配置参数获取模块,包括:第一开始共享信号获取模块、数据通道创建模块和第一配置参数存储模块,其中:
第一开始共享信号获取模块用于获取所述第一物联网模块在可虚拟状态下响应所述第一虚拟外设请求所发送的第一开始共享信号;
数据通道创建模块用于基于所述第一开始共享信号,在本地创建虚拟设备节点,并和所述第一物联网模块共同创建数据通道;
第一配置参数存储模块用于外设信息存储模块,用于根据所述第一虚拟外设请求,通过所述数据通道从所述实际驱动节点中获取第一目标虚拟外设的配置参数,并将所述第一目标虚拟外设的配置参数存储于所述虚拟设备节点中。
在一个实施例中,实现物联网模块虚拟外设共享的装置,还包括:第一拒绝共享指令 发送模块,用于获取所述第一物联网模块在为不可虚拟状态下,响应所述第一虚拟外设请求所发送的第一拒绝共享指令。
在一个实施例中,实现物联网模块虚拟外设共享的装置,还包括:第二探查指令接收模块、外设信息发送模块和需要的外设信息发送模块,其中:
第二探查指令接收模块用于接收第二物联网模块发送的第二探查指令;
第二外设发送模块用于基于所述第二探查指令,确定所述第二物联网模块的地址,根据所述地址向所述第二物联网模块发送第二外设;
第二虚拟外设请求发送模块用于接收所述第二物联网模块发送的第二虚拟外设请求,所述第二虚拟外设请求包括根据所述第二外设确定的第二目标虚拟外设;
配置参数发送模块用于本地物联网模块在可虚拟状态下,响应所述第二虚拟外设请求,向所述第二物联网模块发送所述第二目标虚拟外设的配置参数,由所述第二物联网模块根据所述第二目标虚拟外设的配置参数新增虚拟外设设备。
在一个实施例中,所述第二物联网模块包括虚拟驱动节点,所述虚拟驱动节点用于存储外设的配置参数;配置参数发送模块,包括:
第二开始共享信号发送模块用于本地物联网模块在可虚拟状态下,响应所述第二虚拟外设请求,向所述第二物联网模块发送第二开始共享信号,由所述第二物联网模块基于所述第二开始共享信号,创建虚拟设备节点,并和本地物联网模块共同创建数据通道;
子配置参数发送模块用于通过所述数据通道,向所述第二物联网模块发送第二目标虚拟外设的配置参数,由所述第二物联网模块将所述第二目标虚拟外设的配置参数存储于虚拟设备节点中。
在一个实施例中,实现物联网模块虚拟外设共享的装置,还包括:第二拒绝共享指令发送模块,用于本地物联网模块在可虚拟状态下,向所述第二物联网模块发送第二拒绝共享指令。
在一个实施例中,实现物联网模块虚拟外设共享的装置,还包括:虚拟外设设备关闭模块,用于向所述第二物联网模块发送结束共享信号,在获得所述第二物联网模块的同意结束共享信号时,关闭所述虚拟外设设备。
关于实现物联网模块虚拟外设共享的装置的具体限定可以参见上文中对于实现物联网模块虚拟外设共享的方法的限定,在此不再赘述。上述实现物联网模块虚拟外设共享的装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机程序被处理器执行时以实现一种实现物联网模块虚拟外设共享的方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。
本领域技术人员可以理解,图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,还提供了一种计算机设备,包括存储器和处理器,存储器中存储有计算机程序,该处理器执行计算机程序时实现上述各方法实施例中的步骤。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现上述各方法实施例中的步骤。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和易失性存储器中的至少一种。非易失性存储器可包括只读存储器 (Read-Only Memory,ROM)、磁带、软盘、闪存或光存储器等。易失性存储器可包括随机存取存储器(Random Access Memory,RAM)或外部高速缓冲存储器。作为说明而非局限,RAM可以是多种形式,比如静态随机存取存储器(Static Random Access Memory,SRAM)或动态随机存取存储器(Dynamic Random Access Memory,DRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (13)

  1. 一种实现物联网模块虚拟外设共享的方法,包括:
    向同一小区通信网络发送第一探查指令;
    接收第一物联网模块响应所述第一探查指令发送的第一外设;
    根据所述第一外设确定第一目标虚拟外设;
    向所述第一物联网模块发起第一虚拟外设请求,所述第一虚拟外设请求包括第一目标虚拟外设;
    接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数;
    根据所述第一目标虚拟外设的配置参数新增虚拟外设设备。
  2. 根据权利要求1所述的方法,其中,所述第一物联网模块包括实际驱动节点,所述实际驱动节点用于存储外设的配置参数;所述接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数,包括:
    获取所述第一物联网模块在可虚拟状态下响应所述第一虚拟外设请求所发送的第一开始共享信号;
    基于所述第一开始共享信号,在本地创建虚拟设备节点,并和所述第一物联网模块共同创建数据通道;
    根据所述第一虚拟外设请求,通过所述数据通道从所述实际驱动节点中获取第一目标虚拟外设的配置参数,并将所述第一目标虚拟外设的配置参数存储于所述虚拟设备节点中。
  3. 根据权利要求2所述的方法,还包括:获取所述第一物联网模块在为不可虚拟状态下,响应所述第一虚拟外设请求所发送的第一拒绝共享指令。
  4. 根据权利要求2所述的方法,还包括:
    接收第二物联网模块发送的第二探查指令;
    基于所述第二探查指令,确定所述第二物联网模块的地址,根据所述地址向所述第二物联网模块发送第二外设;
    接收所述第二物联网模块发送的第二虚拟外设请求,所述第二虚拟外设请求包括根据 所述第二外设确定的第二目标虚拟外设;
    本地物联网模块在可虚拟状态下,响应所述第二虚拟外设请求,向所述第二物联网模块发送所述第二目标虚拟外设的配置参数,由所述第二物联网模块根据所述第二目标虚拟外设的配置参数新增虚拟外设设备。
  5. 根据权利要求4所述的方法,其中,所述第二物联网模块包括虚拟驱动节点,所述虚拟驱动节点用于存储外设的配置参数;本地物联网模块在可虚拟状态下,响应所述第二虚拟外设请求,向所述第二物联网模块发送所述第二目标虚拟外设的配置参数,包括:
    本地物联网模块在可虚拟状态下,响应所述第二虚拟外设请求,向所述第二物联网模块发送第二开始共享信号,由所述第二物联网模块基于所述第二开始共享信号,创建虚拟设备节点,并和本地物联网模块共同创建数据通道;
    通过所述数据通道,向所述第二物联网模块发送第二目标虚拟外设的配置参数,由所述第二物联网模块将所述第二目标虚拟外设的配置参数存储于虚拟设备节点中。
  6. 根据权利要求5所述的方法,还包括:本地物联网模块在可虚拟状态下,向所述第二物联网模块发送第二拒绝共享指令。
  7. 根据权利要求6所述的方法,还包括:在向所述第二物联网模块发送第二目标虚拟外设的配置参数之后,向所述第二物联网模块发送结束共享信号,在获得所述第二物联网模块的同意结束共享信号时,关闭所述虚拟外设设备。
  8. 根据权利要求1所述的方法,还包括:在根据所述第一外设确定第一目标虚拟外设之后,
    建立模块会话;
    基于所述模块会话,获取所述第一物联网模块的状态。
  9. 根据权利要求1所述的方法,其中,所述第一目标虚拟外设的配置参数包括外设类型、接口属性、版本和传输/控制协议。
  10. 根据权利要求1所述的方法,其中,所述虚拟外设设备包括麦克、摄像头和显示屏。
  11. 一种实现物联网模块虚拟外设共享的装置,包括:
    第一探查指令发送模块,用于向同一小区通信网络发送探查指令;
    第一外设获取模块,用于接收第一物联网模块响应所述探查指令发送的第一外设;
    第一目标虚拟外设确定模块,用于根据所述第一外设确定第一目标虚拟外设;
    第一虚拟外设请求发起模块,用于向所述第一物联网模块发起第一虚拟外设请求,所述第一虚拟外设请求包括第一目标虚拟外设;
    配置参数获取模块,用于接收所述第一物联网模块在可虚拟状态下,响应所述第一虚拟外设请求所发送的所述第一目标虚拟外设的配置参数;
    虚拟外设设备新增模块,用于根据所述第一目标虚拟外设的配置参数新增虚拟外设设备。
  12. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其中,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述的方法的步骤。
  13. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1至10中任一项所述的方法的步骤。
PCT/CN2021/124339 2021-03-25 2021-10-18 实现物联网模块虚拟外设共享的方法、装置、计算机设备 WO2022198989A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110317897.0A CN113193979B (zh) 2021-03-25 2021-03-25 实现物联网模块虚拟外设共享的方法、装置、计算机设备
CN202110317897.0 2021-03-25

Publications (1)

Publication Number Publication Date
WO2022198989A1 true WO2022198989A1 (zh) 2022-09-29

Family

ID=76973774

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/124339 WO2022198989A1 (zh) 2021-03-25 2021-10-18 实现物联网模块虚拟外设共享的方法、装置、计算机设备

Country Status (2)

Country Link
CN (1) CN113193979B (zh)
WO (1) WO2022198989A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113193979B (zh) * 2021-03-25 2023-05-09 深圳市广和通无线股份有限公司 实现物联网模块虚拟外设共享的方法、装置、计算机设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103765827A (zh) * 2011-08-26 2014-04-30 布盖斯电信公司 用于管理家用外围设备的系统
US20160117184A1 (en) * 2014-10-27 2016-04-28 Ayla Networks, Inc. Flexible device templates for connected consumer devices
US20190020718A1 (en) * 2017-07-13 2019-01-17 American Megatrends, Inc. System and method for using general software to control internet of things (iot) system
US20190373649A1 (en) * 2018-06-01 2019-12-05 T-Mobile Usa, Inc. Iot module adaptor
CN113193979A (zh) * 2021-03-25 2021-07-30 深圳市广和通无线股份有限公司 实现物联网模块虚拟外设共享的方法、装置、计算机设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9973446B2 (en) * 2009-08-20 2018-05-15 Oracle International Corporation Remote shared server peripherals over an Ethernet network for resource virtualization
CN101771707B (zh) * 2010-02-08 2015-08-12 中兴通讯股份有限公司 实现终端间资源共享的方法、资源处理系统及终端
US9813891B2 (en) * 2013-09-30 2017-11-07 Elwha Llc Mobile device sharing facilitation methods and systems featuring a subset-specific source identification
CN106528289B (zh) * 2015-09-15 2020-10-23 南京中兴软件有限责任公司 资源的操作处理方法及装置
US11055444B2 (en) * 2018-06-20 2021-07-06 NortonLifeLock Inc. Systems and methods for controlling access to a peripheral device
CN109213701A (zh) * 2018-08-28 2019-01-15 郑州云海信息技术有限公司 共享io板的外设的控制方法、系统、设备及存储介质
CN111327758B (zh) * 2018-12-17 2022-08-02 中兴通讯股份有限公司 摄像头共享方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103765827A (zh) * 2011-08-26 2014-04-30 布盖斯电信公司 用于管理家用外围设备的系统
US20160117184A1 (en) * 2014-10-27 2016-04-28 Ayla Networks, Inc. Flexible device templates for connected consumer devices
US20190020718A1 (en) * 2017-07-13 2019-01-17 American Megatrends, Inc. System and method for using general software to control internet of things (iot) system
US20190373649A1 (en) * 2018-06-01 2019-12-05 T-Mobile Usa, Inc. Iot module adaptor
CN113193979A (zh) * 2021-03-25 2021-07-30 深圳市广和通无线股份有限公司 实现物联网模块虚拟外设共享的方法、装置、计算机设备

Also Published As

Publication number Publication date
CN113193979A (zh) 2021-07-30
CN113193979B (zh) 2023-05-09

Similar Documents

Publication Publication Date Title
AU2017427437B2 (en) Pdu type setting method, ue policy setting method, and related entity
JP5749814B2 (ja) プレディケートを用いた動的なデバイス・コンフィグレーション
JP5619182B2 (ja) マルチプロセッサマルチモードネットワークデバイスのための階層的ルーティングおよびインターフェース選択
US20100269120A1 (en) Method, apparatus and computer program product for sharing resources via an interprocess communication
WO2015165298A1 (zh) 计算机,控制设备和数据处理方法
WO2013036261A1 (en) Virtual switch extensibility
WO2022198989A1 (zh) 实现物联网模块虚拟外设共享的方法、装置、计算机设备
WO2021098873A1 (zh) 数据库的权限控制方法、计算机设备及存储介质
WO2023123899A1 (zh) 网络切片接入方法、装置、系统和存储介质
WO2022151768A1 (zh) 配网方法、装置、计算机设备和存储介质
US11630711B2 (en) Access control configurations for inter-processor communications
US20230221997A1 (en) System and method for subscription management using composed systems
CN116301667B (zh) 一种数据库系统,数据访问方法、装置、设备及存储介质
WO2024041335A1 (zh) 一种寻址测试的方法、装置、存储介质及电子设备
CN115774700A (zh) 文件共享方法、装置、计算机设备及存储介质
JP7427775B2 (ja) ストアドプロシージャの実行方法、装置、データベースシステム及び記憶媒体
WO2021259168A1 (zh) 移动终端的网络模式控制方法、装置和计算机设备
JPWO2008047919A1 (ja) 携帯端末、サーバ及びネットワークを利用した携帯端末の機能の実現方法
CN112583873B (zh) 服务发现方法、装置及功能网元
US20200245183A1 (en) Data transmission method, apparatus, network-side device, terminal, and computer-readable storage medium
WO2024027398A1 (zh) 一种通信方法和装置
US11693578B2 (en) Method and system for handoff with portable storage devices
US11853560B2 (en) Conditional role decision based on source environments
US20240106824A1 (en) Hardware identity impersonation for target access control
WO2023274376A1 (zh) 微内核架构的设备驱动方法、装置、电子设备和存储介质

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE