CN113986492A - Equipment calling method and device - Google Patents

Equipment calling method and device Download PDF

Info

Publication number
CN113986492A
CN113986492A CN202111233618.9A CN202111233618A CN113986492A CN 113986492 A CN113986492 A CN 113986492A CN 202111233618 A CN202111233618 A CN 202111233618A CN 113986492 A CN113986492 A CN 113986492A
Authority
CN
China
Prior art keywords
equipment
updated
identifier
highest priority
priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111233618.9A
Other languages
Chinese (zh)
Inventor
郑羲光
张晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111233618.9A priority Critical patent/CN113986492A/en
Publication of CN113986492A publication Critical patent/CN113986492A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices

Abstract

The disclosure relates to a device calling method and device. The device calling method comprises the following steps: after the predetermined application program is started, determining a device identifier with the highest priority in a device set used for executing predetermined operation of the predetermined application program; and calling the device corresponding to the device identifier with the highest priority as the current device for executing the predetermined operation.

Description

Equipment calling method and device
Technical Field
The present disclosure relates to the field of terminals, and in particular, to a device calling method and apparatus.
Background
Currently, mainstream audio and video communication software selects adopted equipment by setting default equipment, and generally mainly follows operating system policies, for example, if a certain equipment is set as the default equipment by a system, the audio and video communication software always selects the equipment as currently applied equipment. However, the operating system policy is not always in line with expectations, for example, the set default device is no longer the optimal device, at this time, because the default device is set, although the set default device is no longer the optimal device, the default device is still adopted, the optimal device is not selected, and the experience of the user in the audio and video call process is not good. However, in the related art, a good solution is not provided at present for the problem that the current device is determined by setting default devices, which results in that the optimal device cannot be selected as the current device.
Disclosure of Invention
The present disclosure provides a device calling method and apparatus, and an image processing method and apparatus, so as to at least solve a problem that an optimal device cannot be selected as a current device due to a default device being set to determine the current device in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a device calling method, including: after the predetermined application program is started, determining a device identifier with the highest priority in a device set used for executing predetermined operation of the predetermined application program; and calling the device corresponding to the device identifier with the highest priority as the current device for executing the predetermined operation.
Optionally, after invoking a device corresponding to the device identifier with the highest priority as a current device for performing a predetermined operation, the method further includes: detecting that the equipment set is updated, and acquiring an updated equipment set; determining the device identifier with the highest priority in the updated device set; and calling the device corresponding to the device identifier with the highest priority in the updated device set as the current device for executing the predetermined operation.
Optionally, detecting that the device set is updated, and acquiring the updated device set includes: detecting a new device; and adding the equipment identifier of the new equipment and the corresponding priority into the equipment set to obtain an updated equipment set.
Optionally, detecting that the device set is updated, and acquiring the updated device set includes: detecting that the current equipment is pulled out; and deleting the equipment identifier of the current equipment and the corresponding priority from the equipment set to obtain an updated equipment set.
Optionally, detecting that the device set is updated, and acquiring the updated device set includes: receiving an instruction for designating current equipment, wherein the instruction carries an equipment identifier; and setting the priority of the equipment corresponding to the equipment identifier in the equipment set to be the highest to obtain the updated equipment set.
Optionally, before determining the device identifier with the highest priority in the device set for executing the predetermined operation of the predetermined application, the method further includes: determining the priority of the device corresponding to each device identifier in the device set according to the type of the device, wherein the type of the device comprises at least one of the following: the device comprises a device actively selected by a user, a device with a USB interface inserted, a Bluetooth device, a wired device and a terminal built-in device.
Optionally, determining the device identifier with the highest priority in the device set for executing the predetermined operation of the predetermined application includes: acquiring a device set for executing a predetermined operation of a predetermined application, wherein the device set comprises a priority of each device; arranging the equipment identifications in the equipment set from large to small according to the priority of the corresponding equipment; and taking the ranked first equipment identifier as the equipment identifier with the highest priority.
Optionally, the predetermined application comprises an audio-video application and the device comprises a microphone or a player.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for invoking a device, including: a determining unit configured to determine, after starting a predetermined application program, a device identifier having a highest priority in a device set for performing a predetermined operation of the predetermined application program; and the calling unit is configured to call the device corresponding to the device identifier with the highest priority as the current device for executing the predetermined operation.
Optionally, the invoking unit is further configured to, after invoking the device corresponding to the device identifier with the highest priority as a current device for executing a predetermined operation, detect that the device set is updated, and acquire the updated device set; determining the device identifier with the highest priority in the updated device set; and calling the device corresponding to the device identifier with the highest priority in the updated device set as the current device for executing the predetermined operation.
Optionally, the calling unit is further configured to detect a new device; and adding the new equipment and the corresponding priority into the equipment set to obtain an updated equipment set.
Optionally, the invoking unit is further configured to detect that the current device is unplugged; and deleting the equipment identifier of the current equipment and the corresponding priority from the equipment set to obtain an updated equipment set.
Optionally, the invoking unit is further configured to receive an instruction for specifying the current device, where the instruction carries the device identifier; and setting the priority of the equipment corresponding to the equipment identifier in the equipment set to be the highest to obtain the updated equipment set.
Optionally, the determining unit is further configured to, before determining a device identifier with a highest priority in a device set used for performing a predetermined operation of a predetermined application, determine a priority of a device corresponding to each device identifier in the device set according to a type of the device, where the type of the device includes at least one of: the device comprises a device actively selected by a user, a device with a USB interface inserted, a Bluetooth device, a wired device and a terminal built-in device.
Optionally, the determining unit is further configured to obtain a device set for performing a predetermined operation of a predetermined application, wherein the device set includes a priority of each device; arranging the equipment identifications in the equipment set from large to small according to the priority of the corresponding equipment; and taking the ranked first equipment identifier as the equipment identifier with the highest priority.
Optionally, the predetermined application comprises an audio-video application and the device comprises a microphone or a player.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement the device call method according to the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by at least one processor, cause the at least one processor to perform a device call method as described above according to the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer instructions which, when executed by a processor, implement a device invocation method according to the present disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
according to the device calling method and device disclosed by the invention, the device identifier with the highest priority in the device set for executing the preset operation of the preset application program is called, and the device corresponding to the device identifier with the highest priority is called as the current device for executing the preset operation, so that the device with the highest priority in the device set is called as the current device after the preset application program is started every time, namely the optimal device is selected as the current device every time, and a user can have good experience in the audio and video call process. Therefore, the present disclosure solves the problem in the related art that the current device is determined by setting the default device, resulting in a failure to select the optimal device as the current device.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is an implementation scenario diagram illustrating a device invocation method according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flow diagram illustrating a device invocation method in accordance with an exemplary embodiment;
FIG. 3 is a system flow diagram illustrating a device invocation method in accordance with an exemplary embodiment;
FIG. 4 is a schematic diagram illustrating an alternative device set format in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram illustrating a presentation default device, according to an exemplary embodiment;
FIG. 6 is a block diagram illustrating a device invocation apparatus in accordance with an exemplary embodiment;
fig. 7 is a block diagram of an electronic device 700 according to an embodiment of the disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The embodiments described in the following examples do not represent all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In this case, the expression "at least one of the items" in the present disclosure means a case where three types of parallel expressions "any one of the items", "a combination of any plural ones of the items", and "the entirety of the items" are included. For example, "include at least one of a and B" includes the following three cases in parallel: (1) comprises A; (2) comprises B; (3) including a and B. For another example, "at least one of the first step and the second step is performed", which means that the following three cases are juxtaposed: (1) executing the step one; (2) executing the step two; (3) and executing the step one and the step two.
In order to solve the above problems, the present disclosure provides an apparatus calling method, which enables a user to have a good experience in an audio/video call process, and the following description takes an example in which audio call software calls a player.
Fig. 1 is a schematic diagram illustrating an implementation scenario of a device calling method according to an exemplary embodiment of the present disclosure, as shown in fig. 1, the implementation scenario includes a server 100, a user terminal 110, and a user terminal 120, where the number of the user terminals is not limited to 2, and includes devices such as a mobile phone and a personal computer, the user terminal may install audio and video call software, the server may be one server, or a server cluster formed by a plurality of servers, or a cloud computing platform or a virtualization center.
The user terminal 110 or the user terminal 120 starts the audio and video call software, and sends a request for determining a player of the audio and video call software to the server 100, after receiving the request, the server 100 determines a device identifier with the highest priority in a device set for executing the playing operation of the audio and video call software, and feeds back the device identifier with the highest priority to the user terminal 110 or the user terminal 120, and the user terminal 110 or the user terminal 120 calls a device corresponding to the device identifier with the highest priority as the player of the audio and video call software. It should be noted that, the server 100 determines the device with the highest priority as an optional manner, and the process may also be implemented in the user terminal 110 or the user terminal 120, which is not limited by the present disclosure.
Hereinafter, a device call method and apparatus according to an exemplary embodiment of the present disclosure will be described in detail with reference to fig. 2 to 6.
Fig. 2 is a flowchart illustrating a device invocation method according to an exemplary embodiment, as shown in fig. 2, the device invocation method including the steps of:
in step S201, after the predetermined application is started, the device identifier having the highest priority in the device set for performing the predetermined operation of the predetermined application is determined. If the predetermined application enumerates to the device set, the device may be selected according to the priority of the device, i.e. the device identifier with the highest priority is selected. The form of the device set is not limited in the present disclosure, for example, the device set may be in the form of a device list, or may be in any other form that can be applied in the present disclosure, and the presentation of the device set may not have a particular order, or may be sorted by device name, or may be sorted by priority, as long as it is ensured that the device identifier with the highest priority can be selected. It should be noted that the application program related to the device switching may be a predetermined application program of the present disclosure. For example, the audio/video application related to switching of the audio/video device, specifically, the audio/video application related to switching of the microphone, the music application related to switching of the player, and the like.
According to an embodiment of the present disclosure, the predetermined application may include an audio-video application, and the device may include a microphone or a player.
According to an exemplary embodiment of the present disclosure, before determining a device identifier with a highest priority in a device set for executing a predetermined operation of a predetermined application, the method further includes: determining the priority of the device corresponding to each device identifier in the device set according to the type of the device, wherein the type of the device comprises at least one of the following: the device comprises a device actively selected by a user, a device with a USB interface inserted, a Bluetooth device, a wired device and a terminal built-in device. Through the embodiment, the device priority meeting the requirements of the user can be conveniently and quickly determined based on the type of the device. For example, priority order may be set as required, and the priority order is only an optional scheme, and the present disclosure does not limit the priority order, such that a user actively selects a device > a device with a USB interface inserted > a bluetooth device > a wired device > a terminal built-in device > other types of devices.
According to an exemplary embodiment of the present disclosure, determining a device identifier with a highest priority in a device set for performing a predetermined operation of a predetermined application includes: acquiring a device set for executing a predetermined operation of a predetermined application, wherein the device set comprises a priority of each device; arranging the equipment identifications in the equipment set from large to small according to the priority of the corresponding equipment; and taking the ranked first equipment identifier as the equipment identifier with the highest priority. Through the embodiment, the equipment with the highest priority can be quickly and conveniently obtained.
Returning to fig. 2, in step S202, the device corresponding to the device identifier with the highest priority is called as the current device for performing the predetermined operation.
According to an exemplary embodiment of the present disclosure, after invoking a device corresponding to the device identifier with the highest priority as a current device for performing a predetermined operation, the method further includes: detecting that the equipment set is updated, and acquiring an updated equipment set; determining the device identifier with the highest priority in the updated device set; and calling the device corresponding to the device identifier with the highest priority in the updated device set as the current device for executing the predetermined operation. Through the embodiment, after the preset application program is started, if the device set changes, the current device can be determined again according to the latest device set, and the preset application program is ensured to adopt the optimal device in the using process.
According to an exemplary embodiment of the present disclosure, detecting that a device set is updated, and acquiring an updated device set includes: detecting a new device; and adding the equipment identifier of the new equipment and the corresponding priority into the equipment set to obtain an updated equipment set. Through the embodiment, when new equipment is added, the equipment set can be updated in time so as to ensure that the preset application programs all adopt the optimal equipment in the using process, and the problem that the new equipment is not selected due to the fact that the new equipment is not the default equipment during midway insertion is solved.
According to an exemplary embodiment of the present disclosure, detecting that a device set is updated, and acquiring an updated device set includes: detecting that the current equipment is pulled out; and deleting the equipment identifier of the current equipment and the corresponding priority from the equipment set to obtain an updated equipment set. By the embodiment, after the current device is deleted, the device set can be updated in time, so that the optimal devices are adopted in the use process of the preset application program.
According to an exemplary embodiment of the present disclosure, detecting that a device set is updated, and acquiring an updated device set includes: receiving an instruction for designating current equipment, wherein the instruction carries an equipment identifier; and setting the priority of the equipment corresponding to the equipment identifier in the equipment set to be the highest to obtain the updated equipment set. With the present embodiment, when the user actively designates the current device, the designated device can be preferentially selected as the current device so as to meet the user's needs.
For the convenience of understanding the present disclosure, the following description will be made in detail by taking an audio device that selects audio and video call software as an example. Fig. 3 is a system flowchart illustrating a device invoking method according to an exemplary embodiment, where the device set shown in fig. 3 includes all audio devices (mainly a microphone/a speaker of the terminal) of the terminal where the audio and video software is located, and external audio devices (such as a wired headset, a bluetooth headset, a USB headset, and the like). In addition, the priority of the equipment is determined in advance according to the types of different equipment, such as equipment actively selected by a user, USB (universal serial bus) earphone, Bluetooth earphone, wired earphone, built-in audio equipment of a computer and other types of audio equipment.
As shown in fig. 3, before the audio/video software performs an audio/video call, the whole client module of the audio/video software is initialized, such as a network module and a device module, which mainly performs some resource preparation works, such as establishing a network link, applying for an authority, and the like, at this time, a device identifier with the highest priority is selected from an original device set (specifically, taking a device list as an example in the figure), then, the external situation is monitored in real time, when a new device is detected to be inserted, the device identifier of the new device and the corresponding priority are added to the device set, and the device identifier with the highest priority is searched from the device set to which the new device is added; when it is detected that the current device is pulled out, the device identifier and the corresponding priority of the current device are deleted from the device set, the device identifier with the highest priority is searched for from the device set from which the current device is deleted, and when it is detected that a user actively selects a certain device from the device set, as shown in fig. 4, the player selects an external earphone and the microphone selects an external microphone, the priority of the selected external earphone in the player device set is set to be the highest, and the priority of the selected external microphone in the microphone device set is set to be the highest, where the earphone and the microphone belong to different types of devices and therefore belong to different device sets, and after the priorities of the devices in the device set are reset, the device identifier with the highest priority is searched for from the device set from which the device priorities are updated.
It should be noted that when the terminal does not set the selection function, that is, the device calling method of the present disclosure cannot be applied, a mode of setting default devices may be continuously used, which is similar to the concept of a default browser, for example, the terminal has multiple playing devices, if the application program does not provide the device selection function, the application program may use the default devices, for example, the playing of some music application programs is always the default device for system walking, and the terminal may set the default device through system preference, as shown in fig. 5, at this time, the external earphone is the default output device for the system.
Fig. 6 is a block diagram illustrating a device invocation apparatus according to an exemplary embodiment. Referring to fig. 6, the apparatus includes a determination unit 60 and a calling unit 62.
A determining unit 60 configured to determine, after starting the predetermined application program, a device identifier having a highest priority in a device set for performing a predetermined operation of the predetermined application program; and the calling unit 62 is configured to call the device corresponding to the device identifier with the highest priority as the current device for executing the predetermined operation.
According to the embodiment of the present disclosure, the invoking unit 62 is further configured to, after invoking the device corresponding to the device identifier with the highest priority as a current device for performing a predetermined operation, detect that the device set is updated, and obtain an updated device set; determining the device identifier with the highest priority in the updated device set; and calling the device corresponding to the device identifier with the highest priority in the updated device set as the current device for executing the predetermined operation.
According to an embodiment of the present disclosure, the invoking unit 62 is further configured to detect a new device; and adding the equipment identifier of the new equipment and the corresponding priority into the equipment set to obtain an updated equipment set.
According to an embodiment of the present disclosure, the invoking unit 62 is further configured to detect that the current device is unplugged; and deleting the equipment identifier of the current equipment and the corresponding priority from the equipment set to obtain an updated equipment set.
According to an embodiment of the present disclosure, the invoking unit 62 is further configured to receive an instruction for specifying a current device, where the instruction carries a device identifier; and setting the priority of the equipment corresponding to the equipment identifier in the equipment set to be the highest to obtain the updated equipment set.
According to an embodiment of the present disclosure, the determining unit 60 is further configured to, before determining a device identifier with a highest priority in a device set used for executing a predetermined operation of a predetermined application, determine a priority of a device corresponding to each device identifier in the device set according to a type of the device, where the type of the device includes at least one of: the device comprises a device actively selected by a user, a device with a USB interface inserted, a Bluetooth device, a wired device and a terminal built-in device.
According to an embodiment of the present disclosure, the determining unit 60 is further configured to obtain a set of devices for performing a predetermined operation of a predetermined application, wherein the set of devices includes a priority of each device; arranging the equipment identifications in the equipment set from large to small according to the priority of the corresponding equipment; and taking the ranked first equipment identifier as the equipment identifier with the highest priority.
According to an embodiment of the present disclosure, the predetermined application may include an audio-video application, and the device may include a microphone or a player.
According to an embodiment of the present disclosure, an electronic device may be provided. Fig. 7 is a block diagram of an electronic device 700 including at least one memory 701 having a set of computer-executable instructions stored therein that, when executed by the at least one processor, perform a device invocation method according to an embodiment of the present disclosure, and at least one processor 702, according to an embodiment of the present disclosure.
By way of example, the electronic device 700 may be a PC computer, tablet device, personal digital assistant, smartphone, or other device capable of executing the set of instructions described above. The electronic device 1000 need not be a single electronic device, but can be any collection of devices or circuits that can execute the above instructions (or sets of instructions) individually or in combination. The electronic device 700 may also be part of an integrated control system or system manager, or may be configured as a portable electronic device that interfaces with local or remote (e.g., via wireless transmission).
In the electronic device 700, the processor 702 may include a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a programmable logic device, a special purpose processor system, a microcontroller, or a microprocessor. By way of example, and not limitation, processor 702 may also include an analog processor, a digital processor, a microprocessor, a multi-core processor, a processor array, a network processor, or the like.
The processor 702 may execute instructions or code stored in memory, where the memory 701 may also store data. The instructions and data may also be transmitted or received over a network via a network interface device, which may employ any known transmission protocol.
The memory 701 may be integrated with the processor 702, for example, by having RAM or flash memory disposed within an integrated circuit microprocessor or the like. Further, memory 702 may comprise a stand-alone device, such as an external disk drive, storage array, or any other storage device usable by a database system. The memory 701 and the processor 702 may be operatively coupled or may communicate with each other, e.g., through I/O ports, network connections, etc., such that the processor 702 can read files stored in the memory 701.
In addition, the electronic device 700 may also include a video display (such as a liquid crystal display) and a user interaction interface (such as a keyboard, mouse, touch input device, etc.). All components of the electronic device may be connected to each other via a bus and/or a network.
According to an embodiment of the present disclosure, there may also be provided a computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by at least one processor, cause the at least one processor to perform the device call method of the embodiment of the present disclosure. Examples of the computer-readable storage medium herein include: read-only memory (ROM), random-access programmable read-only memory (PROM), electrically erasable programmable read-only memory (EEPROM), random-access memory (RAM), dynamic random-access memory (DRAM), static random-access memory (SRAM), flash memory, non-volatile memory, CD-ROM, CD-R, CD + R, CD-RW, CD + RW, DVD-ROM, DVD-R, DVD + R, DVD-RW, DVD + RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, Blu-ray or compact disc memory, Hard Disk Drive (HDD), solid-state drive (SSD), card-type memory (such as a multimedia card, a Secure Digital (SD) card or a extreme digital (XD) card), magnetic tape, a floppy disk, a magneto-optical data storage device, an optical data storage device, a hard disk, a magnetic tape, a magneto-optical data storage device, a hard disk, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, a magnetic tape, a magnetic data storage device, A solid state disk, and any other device configured to store and provide a computer program and any associated data, data files, and data structures to a processor or computer in a non-transitory manner such that the processor or computer can execute the computer program. The computer program in the computer-readable storage medium described above can be run in an environment deployed in a computer apparatus, such as a client, a host, a proxy device, a server, and the like, and further, in one example, the computer program and any associated data, data files, and data structures are distributed across a networked computer system such that the computer program and any associated data, data files, and data structures are stored, accessed, and executed in a distributed fashion by one or more processors or computers.
According to an embodiment of the present disclosure, there is provided a computer program product including computer instructions that, when executed by a processor, implement the device call method of the embodiment of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A device call method, comprising:
after a predetermined application program is started, determining a device identifier with the highest priority in a device set used for executing predetermined operation of the predetermined application program;
and calling the equipment corresponding to the equipment identifier with the highest priority as the current equipment for executing the preset operation.
2. The device calling method according to claim 1, further comprising, after calling the device corresponding to the device identifier with the highest priority as the current device for performing the predetermined operation:
detecting that the equipment set is updated, and acquiring an updated equipment set;
determining the device identifier with the highest priority in the updated device set;
and calling the device corresponding to the device identifier with the highest priority in the updated device set as the current device for executing the predetermined operation.
3. The device call method according to claim 2, wherein the detecting that the device set is updated and obtaining an updated device set comprises:
detecting a new device;
and adding the equipment identifier of the new equipment and the corresponding priority into the equipment set to obtain an updated equipment set.
4. The device call method according to claim 2, wherein the detecting that the device set is updated and obtaining an updated device set comprises:
detecting that the current device is unplugged;
and deleting the equipment identifier of the current equipment and the corresponding priority from the equipment set to obtain an updated equipment set.
5. The device call method according to claim 2, wherein the detecting that the device set is updated and obtaining an updated device set comprises:
receiving an instruction for designating current equipment, wherein the instruction carries an equipment identifier;
and setting the priority of the equipment corresponding to the equipment identifier in the equipment set to be the highest to obtain an updated equipment set.
6. The device call method according to claim 1, further comprising, before determining a device identification having a highest priority in a set of devices for performing a predetermined operation of the predetermined application program:
determining the priority of the device corresponding to each device identifier in the device set according to the type of the device, wherein the type of the device includes at least one of the following: the device comprises a device actively selected by a user, a device with a USB interface inserted, a Bluetooth device, a wired device and a terminal built-in device.
7. An apparatus for invoking a device, comprising:
the device comprises a determining unit and a judging unit, wherein the determining unit is configured to determine a device identifier with the highest priority in a device set used for executing the predetermined operation of a predetermined application program after the predetermined application program is started;
and the calling unit is configured to call the device corresponding to the device identifier with the highest priority as the current device for executing the predetermined operation.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the device call method of any of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by at least one processor, cause the at least one processor to perform the device call method of any of claims 1 to 6.
10. A computer program product comprising computer instructions, wherein the computer instructions, when executed by a processor, implement the device call method of any of claims 1 to 6.
CN202111233618.9A 2021-10-22 2021-10-22 Equipment calling method and device Pending CN113986492A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111233618.9A CN113986492A (en) 2021-10-22 2021-10-22 Equipment calling method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111233618.9A CN113986492A (en) 2021-10-22 2021-10-22 Equipment calling method and device

Publications (1)

Publication Number Publication Date
CN113986492A true CN113986492A (en) 2022-01-28

Family

ID=79740440

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111233618.9A Pending CN113986492A (en) 2021-10-22 2021-10-22 Equipment calling method and device

Country Status (1)

Country Link
CN (1) CN113986492A (en)

Similar Documents

Publication Publication Date Title
CN107832100B (en) APK plug-in loading method and terminal thereof
US20190190898A1 (en) Methods and systems for managing internet preferences
WO2020207454A1 (en) Information pushing method and device
RU2673697C2 (en) Seamless call transitions
US9614931B2 (en) Identifying a resource set require for a requested application and launching the resource set in a container for execution in a host operating system
US10089152B1 (en) Using scripts to bootstrap applications with metadata from a template
US11252219B2 (en) Method and apparatus for downloading a file
WO2020216204A1 (en) Information acquisition method and apparatus
US11882154B2 (en) Template representation of security resources
US10795747B2 (en) File synchronizing service status monitoring and error handling
EP3890376A1 (en) Managing connections between a user device and peripheral devices
CN111031117B (en) Multimedia file downloading method and related device
CN110324432B (en) Data processing method, device and medium applied to terminal and computing equipment
US9577967B2 (en) Method and system for managing an informational site using a social networking application
CN112363980A (en) Data processing method and device for distributed system
US20170171211A1 (en) Connecting and Retrieving Security Tokens Based on Context
CN113986492A (en) Equipment calling method and device
US9191445B2 (en) Systems and methods for managing emulation sessions
CN115454576A (en) Virtual machine process management method and system and electronic equipment
CN110413800B (en) Method and equipment for providing novel information
CN114327675A (en) Method for starting mini-game application and related device
WO2017096889A1 (en) Method and device for upgrading and downgrading system
CN114095533A (en) Cloud game account login method and device, computer equipment and storage medium
WO2017100065A1 (en) Discovering resource availability across regions
RU2595763C2 (en) Method and apparatus for managing load on basis of android browser

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination