CN111294625B - Method, device, terminal equipment and storage medium for combining equipment service capability - Google Patents

Method, device, terminal equipment and storage medium for combining equipment service capability Download PDF

Info

Publication number
CN111294625B
CN111294625B CN202010020992.XA CN202010020992A CN111294625B CN 111294625 B CN111294625 B CN 111294625B CN 202010020992 A CN202010020992 A CN 202010020992A CN 111294625 B CN111294625 B CN 111294625B
Authority
CN
China
Prior art keywords
equipment
service
capability
combination
capacity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010020992.XA
Other languages
Chinese (zh)
Other versions
CN111294625A (en
Inventor
祁云飞
叶飞
杨一璇
肖亮
陈晓晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010020992.XA priority Critical patent/CN111294625B/en
Publication of CN111294625A publication Critical patent/CN111294625A/en
Application granted granted Critical
Publication of CN111294625B publication Critical patent/CN111294625B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • H04N21/42204User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]

Abstract

The application is applicable to the technical field of equipment control, and provides a method and a device for combining equipment service capability, terminal equipment and a storage medium. The method comprises the following steps: determining a service capacity requirement list under a current scene, wherein the service capacity requirement list comprises at least one item of service capacity requirement; determining at least one target terminal device meeting each service capacity requirement in the service capacity requirement list, wherein each target terminal device corresponds to at least one service capacity requirement; and generating equipment combination information meeting the service capacity requirements, wherein the equipment combination information comprises each service capacity requirement in the service capacity requirement list and information of target terminal equipment corresponding to each service capacity requirement. The equipment combination obtained by the method can contain a plurality of different types of equipment, namely the service capabilities of the plurality of equipment can be fused, and the cooperative work of the plurality of equipment is achieved.

Description

Method, device, terminal equipment and storage medium for combining equipment service capability
Technical Field
The present application belongs to the technical field of device control, and in particular, to a method, an apparatus, a terminal device, and a storage medium for combining device service capabilities.
Background
In some application scenarios, a user needs to combine service capabilities of different devices to perform a task together, so as to improve the task performance. For example, in the process of using a mobile phone to perform a video call, in order to obtain a clearer and better picture, the picture of the video call can be projected to a television for display. For another example, in the process of listening to music by using a mobile phone, in order to improve the effect of audio playing, the user can play sound through the smart speaker.
At present, multimedia data (picture output and audio output) is generally delivered to a certain multimedia peripheral through a screen delivery technology such as Miracast/DLNA/Airplay and the like, for example, a television is delivered, a television screen is used for playing pictures, and a television sound box is used for playing sound; or putting the sound box into the intelligent sound box and playing the sound by the intelligent sound box.
However, the screen projection technology can only realize the projection of a single class of equipment, and cannot realize the cooperative work by utilizing the service capacity of multiple equipment. For example, in a video call scenario, only pictures can be projected to a television or sounds can be projected to a speaker, but pictures cannot be projected to a television and sounds cannot be projected to a speaker at the same time.
Disclosure of Invention
In view of this, embodiments of the present application provide a method, an apparatus, a terminal device, and a storage medium for combining service capabilities of devices, which can combine service capabilities of multiple different types of devices at the same time, so as to achieve cooperative work of multiple devices.
In a first aspect, an embodiment of the present application provides a method for combining device service capabilities, including:
determining a service capacity requirement list under a current scene, wherein the service capacity requirement list comprises at least one item of service capacity requirement;
determining at least one target terminal device meeting each service capacity requirement in the service capacity requirement list, wherein each target terminal device corresponds to at least one service capacity requirement;
and generating equipment combination information meeting the service capacity requirements, wherein the equipment combination information comprises each service capacity requirement in the service capacity requirement list and information of target terminal equipment corresponding to each service capacity requirement.
Under a certain application scene, firstly determining the service capacity required by the scene, namely which service capacity requirements are; then, at least one target terminal device capable of meeting the service capacity requirement is determined, namely more than one target terminal device is selected from the available terminal devices in the scene to be combined into a device combination, and the device combination can provide the service capacity meeting the requirement; finally, information of the device combination is generated, and the user can use the service capability of the device combination to complete the application requirement of the current scene. The equipment combination obtained by the method can contain a plurality of different types of equipment, namely the service capabilities of the plurality of equipment can be fused, and the cooperative work of the plurality of equipment is achieved.
For example, in a video playing scene, the service capability requirements are image display capability and voice playing capability, and if a smart television and a smart sound box are arranged near a video playing mobile phone, the service capability of the smart television is image display capability and voice playing capability, and the service capability of the smart sound box is voice playing capability, a device combination meeting the scene service capability requirements can be generated to be the smart television and the smart sound box. Then, video pictures can be projected to the smart television and video sounds can be projected to the smart loudspeaker box, so that service capability combination of different types of equipment is realized.
In a possible implementation manner of the first aspect, the determining at least one target terminal device that meets each service capability requirement in the service capability requirement list may include:
acquiring attribute information of each terminal device in a preset range, wherein the attribute information comprises service capability which can be provided by the terminal device;
and selecting the terminal equipment meeting the service capacity requirement in the service capacity requirement list from the terminal equipment according to the attribute information of the terminal equipment, and taking the terminal equipment meeting the service capacity requirement in the service capacity requirement list as the target terminal equipment.
In a scene where a user is located, searching can be initiated through a bluetooth protocol, a Hilink protocol and the like, each peripheral terminal device is detected and connected, and then attribute information of each terminal device is read respectively, so that service capabilities provided by each terminal device are determined, for example, profile information of each peripheral terminal device can be read, so that which service capabilities the device has are obtained (the bluetooth protocol specifies a plurality of profiles, each profile describes one service capability; the Hilink protocol is similar). After determining which terminal devices exist around and which service capabilities each terminal device has, one or more terminal devices that can meet all service capability requirements of the current scene, that is, the determined target terminal device, can be selected from the terminal devices.
In a possible implementation manner of the first aspect, the determining at least one target terminal device that meets each service capability requirement in the service capability requirement list may include:
acquiring a pre-stored equipment capacity comparison table, wherein the equipment capacity comparison table records the service capacity which can be provided by each terminal equipment;
and determining the terminal equipment meeting the service capability requirement in a preset range according to the equipment capability comparison table, and taking the terminal equipment meeting the service capability requirement as the target terminal equipment.
In another mode, an equipment capability comparison table may be pre-constructed and stored, where the equipment capability comparison table records service capabilities that can be provided by each known type of terminal equipment, for example, a smart speaker has an audio playing capability, and a smart television has an image display capability and an audio playing capability. After detecting and connecting each peripheral terminal device in a wired or wireless (such as bluetooth) manner, the service capability that each terminal device can provide can be respectively determined in a table look-up manner, and finally, one or more terminal devices that can meet all service capability requirements of the current scene, that is, the determined target terminal device, can be selected from the terminal devices.
Further, after generating the device combination information satisfying the service capability requirement, the method may further include:
counting the number of equipment combinations meeting the service capability requirement according to the equipment combination information;
if the number of the equipment combinations meeting the service capacity requirement is one, displaying the information of the equipment combinations on a preset interface;
and if the number of the equipment combinations meeting the service capacity requirements is multiple, respectively calculating the equipment capacity scores of each equipment combination, and displaying the information of each equipment combination on a preset interface according to the sequence from high to low of the equipment capacity scores.
After generating the equipment combination information meeting the service capability requirement, counting the number of the equipment combinations meeting the service capability requirement according to the equipment combination information, and if the counted number of the equipment combinations is one, directly displaying the information of the equipment combinations on a preset interface; and if the counted number of the equipment combinations is multiple, respectively calculating the equipment capacity scores of each equipment combination, and displaying the information of each equipment combination on a preset interface according to the sequence of the equipment capacity scores from high to low. Through the arrangement, the equipment combination with higher equipment capability can be preferentially recommended to the user, so that the difficulty of user selection is reduced, and the user experience is effectively improved.
Specifically, the device capability score of any one target device combination in each device combination may be calculated in the following manner:
respectively acquiring preset scores of each service capability provided by each target terminal device contained in the target device combination, wherein the preset scores are used for measuring the size of the service capability provided by the target terminal device;
and calculating the equipment capability score of the target equipment combination according to the preset score of each service capability which can be provided by each target terminal equipment and is contained in the target equipment combination.
Assuming that a target terminal device included in a target device combination is an intelligent television and an intelligent sound box, wherein the service capability which can be provided by the intelligent television is an image display capability and a sound playing capability, the preset score of the image display capability is 90, and the preset score of the sound playing capability is 60; the service ability that smart sound box can provide is sound broadcast ability, and the score is 90 for presetting. Then, when calculating the device capability component of the target device combination, the preset scores of the terminal devices included in the target device combination may be added, or the highest service capability score in the terminal devices may be added, for example, in the combination of the smart tv and the smart speaker, the device capability component may be the image display capability of the smart tv plus the sound playing capability of the smart speaker.
Further, the calculating, according to the preset score of each service capability that can be provided by each target terminal device included in the target device combination, the device capability score of the target device combination may include:
respectively determining the weight of each service capability according to the current scene;
for each target terminal device contained in the target device combination, weighting and summing preset values of each service capability which can be provided by each target terminal device according to the weight of the corresponding service capability to obtain respective device capability values;
and adding the equipment capability scores of the target terminal equipment contained in the target equipment combination to obtain the equipment capability score of the target equipment combination.
For example, the target device combination includes a smart television and a smart sound box, where the service capabilities that the smart television can provide are an image display capability and a sound playing capability, a preset score of the image display capability is 90, and a preset score of the sound playing capability is 60; the service ability that smart sound box can provide is sound broadcast ability, and the score is 90 for presetting. The device capability of the smart television may be: 90 × 0.6+60 × 0.4 ═ 78, and the device capacity of the smart speaker is divided into 0 × 0.6+90 × 0.4 ═ 36. After the device capability scores of each target terminal device included in the target device combination are obtained through calculation, the device capability scores may be added to obtain the device capability score of the target device combination.
Further, the weighting and summing the preset scores of the respective service capabilities that can be provided by each device according to the weight of the corresponding service capability to obtain the respective device capability score may include:
weighting and summing the preset values of the service capabilities which can be provided by the equipment according to the weights of the corresponding service capabilities to obtain respective first equipment capability scores;
acquiring respective device usage records, and counting respective usage duration and usage times according to the respective device usage records;
calculating respective second equipment capacity scores according to respective use duration and use times;
and adding the respective first equipment capacity scores and the respective second equipment capacity scores to obtain respective equipment capacity scores.
When the device capability score of a certain terminal device included in the computing device combination is calculated, in addition to the preset score and the corresponding weight of each service capability of the terminal device, the use duration and the use times of the terminal device can be further considered, so that the use habit of the user is considered in combination.
Further, after calculating the device capability score of each device combination, the method may further include:
if more than two equipment combinations with the same equipment capability exist in each equipment combination, respectively detecting the distance between each target terminal equipment contained in each equipment combination in the more than two equipment combinations;
and displaying the information of the more than two equipment combinations on the interface according to the sequence from small to large of the sum of the distances between the contained target terminal equipment.
When a user uses the service capability of the equipment combination in a scene, the positions of the terminal equipment in the equipment combination are usually expected to be close, so that the same task can be more conveniently and cooperatively processed, and therefore the equipment combination with the smaller sum of the distances between the terminal equipment is preferentially recommended to the user for selection.
Further, after determining the list of service capability requirements in the current scenario, the method may further include:
respectively detecting all terminal equipment capable of providing corresponding service capacity in a preset range according to each service capacity requirement of the service capacity requirement list, and selecting one terminal equipment from all terminal equipment capable of providing corresponding service capacity according to a set mode;
and combining the selected terminal devices into a device combination, and displaying the information of the device combination obtained by the combination.
The method is a mode of finding the equipment combination according to the terminal equipment corresponding to each service capability, and can further enhance the flexibility and the practicability of the service capability of the combined equipment.
In a second aspect, an embodiment of the present application provides an apparatus for combining device service capabilities, including:
the service capacity requirement determining module is used for determining a service capacity requirement list under the current scene, and the service capacity requirement list comprises at least one item of service capacity requirement;
the target terminal equipment determining module is used for determining at least one target terminal equipment meeting each service capacity requirement in the service capacity requirement list, wherein each target terminal equipment corresponds to at least one service capacity requirement;
and the equipment combination information generating module is used for generating equipment combination information meeting the service capability requirements, and the equipment combination information comprises each service capability requirement in the service capability requirement list and information of target terminal equipment corresponding to each service capability requirement.
In a third aspect, an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements a method for combining device service capabilities as set forth in the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements a method for combining device service capabilities as set forth in the first aspect of the embodiment of the present application.
In a fifth aspect, the present application provides a computer program product, which when run on a terminal device, causes the terminal device to perform the method for combining device service capabilities of any one of the above first aspects.
Compared with the prior art, the embodiment of the application has the advantages that: the service capabilities of a plurality of different types of equipment can be combined simultaneously, and the cooperative work of the plurality of equipment is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic hardware structure diagram of a mobile phone to which a method for combining device service capabilities provided by an embodiment of the present application is applied;
FIG. 2 is a flowchart of a method for combining device service capabilities provided by an embodiment of the present application;
FIG. 3 is a flow chart of another method for combining device service capabilities provided by an embodiment of the present application;
FIG. 4 is a flow chart of another method for combining device service capabilities provided by embodiments of the present application;
fig. 5 is a system diagram of an application of the method for combining service capabilities of devices in an actual scenario according to an embodiment of the present application;
FIGS. 6(A) and 6(B) are schematic diagrams illustrating an effect of the interface display of the mobile phone in the video call scenario of the system shown in FIG. 5;
FIGS. 7(A) and 7(B) are schematic diagrams illustrating an effect displayed on a mobile phone interface in a video playing scene of the system shown in FIG. 5;
FIG. 8 is a schematic diagram of a mobile phone interface of the system shown in FIG. 5, which selects terminal devices to combine according to service capabilities in a video call scenario;
FIG. 9 is a block diagram of an apparatus for combining device service capabilities according to an embodiment of the present disclosure;
fig. 10 is a schematic diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular device structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
The terminology used in the following examples is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of this application, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, such as "one or more", unless the context clearly indicates otherwise. It should also be understood that in the embodiments of the present application, "one or more" means one, two, or more than two; "and/or" describes the association relationship of the associated objects, indicating that three relationships may exist; for example, a and/or B, may represent: a alone, both A and B, and B alone, where A, B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The method for the service capability of the combined equipment provided by the embodiment of the application can be applied to terminal equipment or servers such as a mobile phone, a tablet personal computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA) and the like, and the embodiment of the application does not limit the specific types of the terminal equipment and the servers at all.
For example, the terminal device may be a Station (ST) in a WLAN, which may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with Wireless communication capability, a computing device or other processing device connected to a Wireless modem, a vehicle-mounted device, a vehicle-mounted networking terminal, a computer, a laptop, a handheld communication device, a handheld computing device, a satellite Wireless device, a Wireless modem card, a television set-top box (STB), a Customer Premises Equipment (CPE), and/or other devices for communicating on a Wireless device and a next generation communication device, such as a Mobile terminal in a 5G Network or a Public Land Mobile Network (future evolved, PLMN) mobile terminals in the network, etc.
By way of example and not limitation, when the terminal device is a wearable device, the wearable device may also be a generic term for intelligently designing daily wearing by applying wearable technology, developing wearable devices, such as glasses, gloves, watches, clothing, shoes, and the like. A wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. The generalized wearable intelligent device has the advantages that the generalized wearable intelligent device is complete in function and large in size, can realize complete or partial functions without depending on a smart phone, such as a smart watch or smart glasses, and only is concentrated on a certain application function, and needs to be matched with other devices such as the smart phone for use, such as various smart bracelets for monitoring physical signs, smart jewelry and the like.
Take the terminal device as a mobile phone as an example. Fig. 1 is a block diagram illustrating a partial structure of a mobile phone according to an embodiment of the present disclosure. Referring to fig. 1, the cellular phone includes: a Radio Frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a processor 180, and a power supply 190. Those skilled in the art will appreciate that the handset configuration shown in fig. 1 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 1:
the RF circuit 110 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 180; in addition, the data for designing uplink is transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 110 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 120 may be used to store software programs and modules, and the processor 180 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating device, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 120 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 130 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 100. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 131 (e.g., operations of the user on or near the touch panel 131 using any suitable object or accessory such as a finger or a stylus pen), and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 131 may include two parts, i.e., a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch panel 131 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 130 may include other input devices 132 in addition to the touch panel 131. In particular, other input devices 132 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 140 may be used to display information input by a user or information provided to the user and various menus of the mobile phone. The Display unit 140 may include a Display panel 141, and optionally, the Display panel 141 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 131 can cover the display panel 141, and when the touch panel 131 detects a touch operation on or near the touch panel 131, the touch operation is transmitted to the processor 180 to determine the type of the touch event, and then the processor 180 provides a corresponding visual output on the display panel 141 according to the type of the touch event. Although the touch panel 131 and the display panel 141 are shown as two separate components in fig. 1 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 131 and the display panel 141 may be integrated to implement the input and output functions of the mobile phone.
The handset 100 may also include at least one sensor 150, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 141 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 141 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 160, speaker 161, and microphone 162 may provide an audio interface between the user and the handset. The audio circuit 160 may transmit the electrical signal converted from the received audio data to the speaker 161, and convert the electrical signal into a sound signal for output by the speaker 161; on the other hand, the microphone 162 converts the collected sound signal into an electrical signal, which is received by the audio circuit 160 and converted into audio data, which is then processed by the audio data output processor 180 and then transmitted to, for example, another cellular phone via the RF circuit 110, or the audio data is output to the memory 120 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 170, and provides wireless broadband Internet access for the user. Although fig. 1 shows the WiFi module 170, it is understood that it does not belong to the essential constitution of the handset 100, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 180 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 120 and calling data stored in the memory 120, thereby integrally monitoring the mobile phone. Alternatively, processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor, which mainly handles operating devices, user interfaces, applications, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 180.
The handset 100 also includes a power supply 190 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 180 via a power management device to manage charging, discharging, and power consumption via the power management device.
Although not shown, the handset 100 may also include a camera. Optionally, the position of the camera on the mobile phone 100 may be front-located or rear-located, which is not limited in this embodiment of the application.
Optionally, the mobile phone 100 may include a single camera, a dual camera, or a triple camera, which is not limited in this embodiment.
For example, the cell phone 100 may include three cameras, one being a main camera, one being a wide camera, and one being a tele camera.
Optionally, when the mobile phone 100 includes a plurality of cameras, the plurality of cameras may be all front-mounted, all rear-mounted, or a part of the cameras front-mounted and another part of the cameras rear-mounted, which is not limited in this embodiment of the present application.
In addition, although not shown, the mobile phone 100 may further include a bluetooth module or the like, which is not described herein.
Fig. 2 is a flowchart illustrating a method for combining device service capabilities provided by the present application, including:
201. determining a service capacity requirement list under a current scene, wherein the service capacity requirement list comprises at least one item of service capacity requirement;
firstly, a terminal device used by a user determines a service capability requirement list under a current scene, wherein the service capability requirement list comprises at least one service capability requirement. For example, if the current scene is a video call scene, the service capability requirement list includes the following service capability requirements: image display capability, image capture capability, sound playback capability, sound capture capability. Assuming that the current scene is a video and audio playing scene, the service capability requirement list includes the following service capability requirements: image display capability, sound playing capability. Assuming that the current scenario is a mobile office scenario, the service capability requirement list includes the following service capability requirements: image display capability, sound playback capability, sound capture capability, and mouse/keyboard/stylus input capability, among others.
In actual practice, the manner of determining the current scene may include, but is not limited to: the method comprises the steps that a certain APP is started by the terminal equipment used by a user, a certain task is executed by the terminal equipment used by the user in the certain APP, and in the process of executing the certain task by using the termination equipment, the user inputs a trigger instruction and the like in a set mode. For example, when a user opens a certain video and audio software, it can be determined that the current scene is a video playing scene. For another example, when a user opens certain social software and clicks a video call, it may be determined that the current scene is a video call scene, and so on.
202. Determining at least one target terminal device meeting each service capacity requirement in the service capacity requirement list, wherein each target terminal device corresponds to at least one service capacity requirement;
then, at least one target terminal device satisfying each service capability requirement in the service capability requirement list is determined. The equipment combination composed of the target terminal equipment can meet each service capacity requirement in the service capacity requirement list, namely all service capacity requirements under the current scene. Each target terminal device corresponds to at least one service capability requirement, that is, has at least one related service capability. The target terminal devices should be devices that can be detected and connected by the terminal devices used by the user, and the combination of the finally obtained target terminal devices meeting the requirements may be 0, 1 or more according to the scene where the user is located. For example, assuming that in a current scenario, service capability requirements are service capability 1, service capability 2, service capability 3, and service capability 4, where devices included in the scenario are device a (having service capability 1 and service capability 2), device B (having service capability 3 and service capability 4), and device C (having service capability 2, service capability 3, and service capability 4), a device combination meeting the current scenario requirements includes 3 combinations of device a + device B, device a + device C, and device a + device B + device C.
Optionally, step 202 may include:
(1) acquiring attribute information of each terminal device in a preset range, wherein the attribute information comprises service capability which can be provided by the terminal device;
(2) and selecting the terminal equipment meeting the service capacity requirement in the service capacity requirement list from the terminal equipment according to the attribute information of the terminal equipment, and taking the terminal equipment meeting the service capacity requirement in the service capacity requirement list as the target terminal equipment.
In a scene where a user is located, searching can be initiated through a bluetooth protocol, a Hilink protocol and the like, each peripheral terminal device is detected and connected, and then attribute information of each terminal device is read respectively, so that service capabilities provided by each terminal device are determined, for example, profile information of each peripheral terminal device can be read, so that which service capabilities the device has are obtained (the bluetooth protocol specifies a plurality of profiles, each profile describes one service capability; the Hilink protocol is similar). In addition, each terminal device in the scene can also actively broadcast the service capability which can be provided by the terminal device. After determining which terminal devices exist around and which service capabilities each terminal device has, one or more terminal devices that can meet all service capability requirements of the current scene, that is, the determined target terminal device, can be selected from the terminal devices.
Optionally, step 202 may include:
(1) acquiring a pre-stored equipment capacity comparison table, wherein the equipment capacity comparison table records the service capacity which can be provided by each terminal equipment;
(2) and determining the terminal equipment meeting the service capability requirement in a preset range according to the equipment capability comparison table, and taking the terminal equipment meeting the service capability requirement as the target terminal equipment.
In another mode, an equipment capability comparison table may be pre-constructed and stored, where the equipment capability comparison table records service capabilities that can be provided by each known type of terminal equipment, for example, a smart speaker has an audio playing capability, and a smart television has an image display capability and an audio playing capability. After detecting and connecting each peripheral terminal device in a wired or wireless (such as bluetooth) manner, the service capability that each terminal device can provide can be respectively determined in a table look-up manner, and finally, one or more terminal devices that can meet all service capability requirements of the current scene, that is, the determined target terminal device, can be selected from the terminal devices.
203. And generating equipment combination information meeting the service capacity requirements, wherein the equipment combination information comprises each service capacity requirement in the service capacity requirement list and information of target terminal equipment corresponding to each service capacity requirement.
And finally, generating equipment combination information meeting the service capability requirement, namely equipment combination information formed by the target terminal equipment. The device combination information includes each service capability requirement in the service capability requirement list and information of a target terminal device corresponding to each service capability requirement, such as device combination information of generating device a + device B, where the device combination information includes information of which service capabilities can be provided by device a and device B, respectively. Through the operation, each independent target terminal device is combined into an integral virtual device for cooperatively processing the task executed under the current scene, and different devices can respectively provide the service capability of each device.
In the embodiment of the application, firstly, the service capability required to be possessed by the current scene is determined, namely, which service capability requirements are; then, at least one target terminal device capable of meeting the service capacity requirement is determined, namely more than one target terminal device is selected from the available terminal devices in the scene to be combined into a device combination, and the device combination can provide the service capacity meeting the requirement; finally, information of the device combination is generated, and the user can use the service capability of the device combination to complete the application requirement of the current scene. The equipment combination obtained by the method can contain a plurality of different types of equipment, namely the service capabilities of the plurality of equipment can be fused, and the cooperative work of the plurality of equipment is achieved.
Fig. 3 is a flowchart illustrating another method for combining device service capabilities provided by the present application, including:
301. determining a service capacity requirement list under a current scene, wherein the service capacity requirement list comprises at least one item of service capacity requirement;
302. determining at least one target terminal device meeting each service capacity requirement in the service capacity requirement list, wherein each target terminal device corresponds to at least one service capacity requirement;
303. generating equipment combination information meeting the service capacity requirements, wherein the equipment combination information comprises each service capacity requirement in the service capacity requirement list and information of target terminal equipment corresponding to each service capacity requirement;
the steps 301-.
304. Counting the number of equipment combinations meeting the service capability requirement according to the equipment combination information;
after generating the device combination information satisfying the service capability requirement, the number of device combinations satisfying the service capability requirement may be counted according to the device combination information. In actual operation, the number of the statistically obtained device combinations may be 0, 1 or more. If the number of the equipment combinations obtained by statistics is 0, the equipment combinations which can meet the requirements of the scene service capability cannot be found in the scene, and at the moment, preset indication information can be output to remind a user.
305. Judging one or more equipment combinations meeting the service capacity requirement;
if the counted number of device combinations is one, step 306 is executed, and if the counted number of device combinations is multiple, step 307 is executed.
306. Displaying the information of the equipment combination on a preset interface;
the counted number of the device combinations is one, and at this time, information of the device combinations can be displayed in an interface of the terminal device held by the user. The user can view the device combination meeting the requirements of the scene service capability, and the name, model and service capability information of each terminal device contained in the device combination in the interface. Furthermore, the user can select whether to connect the equipment combination in the interface, so that the task executed under the current scene is completed by combining the service capability of the equipment combination. For example, in a video playing scene, the determined device combination meeting the service capability requirement is a smart television + a smart sound box, the related information of the smart television + the smart sound box is displayed on the interface of the terminal device held by the user, and the user can click a "connect" button in the interface, so that the video picture of the terminal device held by the user is projected to the smart television and the video sound is projected to the smart sound box, that is, the task of video playing is completed together with the service capability of the device combination, and the picture quality and the audio quality of video playing are effectively improved.
307. And respectively calculating the equipment capacity scores of each equipment combination, and displaying the information of each equipment combination on a preset interface according to the sequence from high to low of the equipment capacity scores.
The counted number of the device combinations is multiple, at this time, information of the device combinations can be displayed in an interface of the terminal device held by the user, and the user can arbitrarily select one device combination from the device combinations to connect, so that the tasks executed under the current scene are completed by combining the selected device combination. In some scenarios, the number of the device combinations obtained through statistics may be large, which may cause confusion to the user, so that the device capability scores of each device combination may be calculated respectively according to the usage habits of the user and the service capabilities of the device capabilities, and the information of each device combination is displayed on a preset interface according to the order of the device capability scores from high to low. The equipment capability score can be used for measuring the user experience or task execution effect of the corresponding equipment combination in the current scene, the equipment combination with the higher equipment capability score is preferentially displayed in the interface, and the difficulty of selection of a user can be effectively reduced.
Specifically, the device capability score of any one target device combination in each device combination may be calculated in the following manner:
(1) respectively acquiring preset scores of each service capability provided by each target terminal device contained in the target device combination, wherein the preset scores are used for measuring the size of the service capability provided by the target terminal device;
(2) and calculating the equipment capability score of the target equipment combination according to the preset score of each service capability which can be provided by each target terminal equipment and is contained in the target equipment combination.
Assuming that a target terminal device included in a target device combination is an intelligent television and an intelligent sound box, wherein the service capability which can be provided by the intelligent television is an image display capability and a sound playing capability, the preset score of the image display capability is 90, and the preset score of the sound playing capability is 60; the service ability that smart sound box can provide is sound broadcast ability, and the score is 90 for presetting. Then, when calculating the device capability component of the target device combination, the preset scores of the terminal devices included in the target device combination may be added, or the highest service capability score in the terminal devices may be added, for example, in the combination of the smart tv and the smart speaker, the device capability component may be the image display capability of the smart tv plus the sound playing capability of the smart speaker.
Further, the step (2) may include:
(2.1) respectively determining the weight of each service capability according to the current scene;
(2.2) for each target terminal device contained in the target device combination, weighting and summing preset values of each service capability which can be provided by each target terminal device according to the weight of the corresponding service capability to obtain respective device capability scores;
and (2.3) adding the equipment capacity scores of the target terminal equipment contained in the target equipment combination to obtain the equipment capacity score of the target equipment combination.
For step (2.1), the weights of the service capabilities are determined according to the current scene, for example, in a video call scene, the required service capabilities are: image display capability, image capture capability, sound playback capability, sound capture capability. Wherein the weight of the image display capability > the weight of the image capturing capability > the weight of the sound playing capability > the weight of the sound collecting capability may be set according to the user experience, such as the weights may be set to 0.4, 0.3, 0.2, and 0.1 in order. Or in the video playing scene, the required service capacity is as follows: image display capability, sound playing capability. Wherein the weight of the image display capability > the weight of the sound playing capability may be set according to the user experience, such as the weights of 0.6 and 0.4 may be set.
And (3) for each target terminal device contained in the target device combination in the step (2.2), weighting and summing the preset values of the service capabilities which can be provided by each target terminal device according to the weight of the corresponding service capability to obtain the respective device capability scores. For example, the target device combination includes a smart television and a smart sound box, where the service capabilities that the smart television can provide are an image display capability and a sound playing capability, a preset score of the image display capability is 90, and a preset score of the sound playing capability is 60; the service ability that smart sound box can provide is sound broadcast ability, and the score is 90 for presetting. The device capability of the smart television may be: 90 × 0.6+60 × 0.4 ═ 78, the equipment capabilities of the smart speaker are divided into 0 × 0.6+90 × 0.4 ═ 36 (since the smart speaker does not have image display capability, the corresponding preset score is 0).
Further, step (2.2) may include:
(2.2.1) weighting and summing the preset values of the service capabilities which can be provided by each equipment according to the weight of the corresponding service capability to obtain respective first equipment capability scores;
(2.2.2) acquiring respective device usage records, and counting respective usage duration and usage times according to the respective device usage records;
(2.2.3) calculating to obtain respective second equipment capacity scores according to respective use duration and use times;
and (2.2.4) adding the respective first equipment capacity scores and the respective second equipment capacity scores to obtain respective equipment capacity scores.
When the device capability score of a certain terminal device included in the computing device combination is calculated, in addition to the preset score and the corresponding weight of each service capability of the terminal device, the use duration and the use times of the terminal device can be further considered, so that the use habit of the user is considered in combination. For example, a terminal device can provide service capabilities of X, Y and Z, respectively, with a weight of W1、W2And W3If the number of times of use is C, the maximum number of times of use is C, the usage duration is T, and the maximum usage duration is T, the device capability Score of the terminal device may be Score ═ (X × W)1+Y*W2+Z*W3) *1000+c/C*100+t/T*10。
For step (2.3), after the device capability score of each target terminal device included in the target device combination is obtained through calculation, the device capability scores may be added, so as to obtain the device capability score of the target device combination.
In step 307, if two or more device combinations having the same device capability exist in each of the device combinations, the distance between the target terminal devices included in each of the two or more device combinations may be detected; and displaying the information of the more than two equipment combinations on the interface according to the sequence from small to large of the sum of the distances between the contained target terminal equipment.
For example, if the device combination 1 includes terminal devices a, B, and C, the device combination 2 includes terminal devices a, C, and D, and the device capabilities of the device combination 1 and the device combination 2 are the same, the distances between the terminal devices a, B, and C (i.e., the distances between a and B, A and C and between B and C) and the distances between the terminal devices a, C, and D may be calculated, and if the sum of the distances between a, B, and C is smaller than the sum of the distances between a, C, and D, the information of the device combination 1 is preferentially displayed. When a user uses the service capability of the equipment combination in a scene, the positions of the terminal equipment in the equipment combination are usually expected to be close, so that the same task can be more conveniently and cooperatively processed, and therefore the equipment combination with the smaller sum of the distances between the terminal equipment is preferentially recommended to the user for selection. Because the positions of the terminal devices in the scene are determined, the position information of the terminal devices can be input in advance, and the distance between the terminal devices can be calculated.
According to the embodiment of the application, after the equipment combination information meeting the service capability requirement is generated, the number of the equipment combinations meeting the service capability requirement is counted according to the equipment combination information, and if the counted number of the equipment combinations is one, the information of the equipment combination is directly displayed on a preset interface; and if the counted number of the equipment combinations is multiple, respectively calculating the equipment capacity scores of each equipment combination, and displaying the information of each equipment combination on a preset interface according to the sequence of the equipment capacity scores from high to low. Through the arrangement, the equipment combination with higher equipment capability can be preferentially recommended to the user, so that the difficulty of user selection is reduced, and the user experience is effectively improved.
Fig. 4 is a flowchart illustrating another method for combining device service capabilities provided by the present application, including:
401. determining a service capacity requirement list under a current scene, wherein the service capacity requirement list comprises at least one item of service capacity requirement;
402. determining at least one target terminal device meeting each service capacity requirement in the service capacity requirement list, wherein each target terminal device corresponds to at least one service capacity requirement;
403. generating equipment combination information meeting the service capacity requirements, wherein the equipment combination information comprises each service capacity requirement in the service capacity requirement list and information of target terminal equipment corresponding to each service capacity requirement;
the steps 401-.
404. Respectively detecting all terminal equipment capable of providing corresponding service capacity in a preset range according to each service capacity requirement of the service capacity requirement list, and selecting one terminal equipment from all terminal equipment capable of providing corresponding service capacity according to a set mode;
405. and combining the selected terminal devices into a device combination, and displaying the information of the device combination obtained by the combination.
The step 401-. Firstly, aiming at each service capability required by the current scene, all terminal devices capable of providing corresponding service capability within a preset range are respectively detected. Then, one terminal device is selected from all terminal devices capable of providing corresponding service capabilities according to a set mode, and the selected terminal devices form a device combination capable of meeting the requirements of scene service capabilities. And displaying the equipment combination obtained by the combination on a preset interface, so that the user can complete the task executed under the current scene according to the service capability of the equipment combination.
For example, the service capability required in a video playing scene is as follows: image display capability, sound playing capability. The terminal device capable of providing image display capability in the scene is as follows: the television 1, the television 2 and the tablet …, the terminal device capable of providing sound playing capability is as follows: television 1, television 2, flat panel, smart speaker …. After detecting the terminal devices in the scene, the terminal held by the user may display, in an interface, each terminal device corresponding to the image display capability and each terminal device corresponding to the sound playing capability, and then may select one device from the terminal devices corresponding to the image display capability and select one device from the terminal devices corresponding to the sound playing capability in a manner of user selection or random selection, so as to obtain a device combination, such as a television 1+ smart speaker, a television 2+ tablet …, and the like.
According to the embodiment of the application, all terminal devices which can provide corresponding service capacity in a preset range can be detected respectively according to each service capacity requirement of a service capacity requirement list, one terminal device is selected from all terminal devices which can provide corresponding service capacity according to a set mode, all the selected terminal devices are combined into one device combination, and information of the device combination obtained through combination is displayed. The method is a mode of finding the equipment combination according to the terminal equipment corresponding to each service capability, and can further enhance the flexibility and the practicability of the service capability of the combined equipment.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
For ease of understanding, the method for combining device service capabilities proposed in the present application is described below in several practical application scenarios.
Fig. 5 is a system diagram of an application of the method for combining service capabilities of devices in an actual scenario according to an embodiment of the present application. In fig. 5, the mobile phone is a terminal device held by a user, and other terminal devices in the scene include a device a, a device B, and a device C. The device A is an intelligent television, is provided with a display screen (the image display capability is 90), is provided with a camera (the image capturing capability is 80), and can also play sound (the sound playing capability is 60); the device B is an intelligent sound box, has a good audio playing effect (the sound playing capacity is 90), and does not have a display screen or a camera (the image display capacity and the image capturing capacity are both 0); device C is a common brand television with a display screen (image display capability of 90) and can play sound (sound playing capability of 60) and no camera (image capture capability of 0).
When a user clicks a video call on a mobile phone, the current scene is determined to be a video call scene, and the required service capabilities of the scene are image display capability, image capturing capability, audio playing capability and audio acquisition capability, wherein the audio acquisition capability is only achieved by using a microphone of the mobile phone. After the current scene is determined to be a video call scene, various terminal devices in the scene, namely device a, device B and device C, are detected and connected. Then, determining and generating a device combination meeting the requirements of the scenario according to the service capabilities of the device a, the device B, and the device C, where the device combination generated in the scenario may include: (1) device A; (2) device a + device B; (3) device a + device C; (4) device a + device B + device C. The 4 equipment combinations can be displayed on the interface of the mobile phone of the user for the user to select. In addition, in order to reduce the difficulty of user selection, the device capability scores of each device combination can be respectively calculated, and the device combination with the higher device capability score can be recommended to the user. For example, the device capabilities of the device combination (1) are divided into an image display capability 90+ an image capture capability 80+ a sound playing capability 60; the device capabilities of the device combination (2) are divided into image display capability 90+ image capture capability 80+ sound playing capability 90, that is, the device capability of the device combination (2) is higher than that of the device combination (1), and the device combination (2) can be preferentially recommended to the user.
A schematic diagram of a mobile phone interface of the video call scene is shown in fig. 6(a) and 6(B), in the process of video call, if a user wants to merge the service capabilities of multiple terminal devices in the scene, a specific key can be clicked on the interface of fig. 6(a), then the interface of fig. 6(B) is displayed, a device combination of device a + device B is recommended to the user, the user can launch the video call picture of the mobile phone to device a (smart television) by clicking a connection key, an image is captured by using a camera of device a, and the sound of the video call is launched to device B (smart speaker), that is, the task of the video call is completed jointly by combining the service capabilities of the device combination, so that the picture quality and the audio quality of the video call are effectively improved.
When a user clicks video playing on a mobile phone, the current scene is determined to be a video playing scene, and the service capacity required by the scene is image display capacity and audio playing capacity. After the current scene is determined to be a video playing scene, various terminal devices in the scene, namely device a, device B and device C, are detected and connected. Then, determining and generating a device combination meeting the requirements of the scenario according to the service capabilities of the device a, the device B, and the device C, where the device combination generated in the scenario may include: (1) a device A; (2) device a + device B; (3) a device C; (4) device B + device C. The 4 equipment combinations can be displayed on the interface of the mobile phone of the user for the user to select. In addition, in order to reduce the difficulty of user selection, the device capability scores of each device combination can be respectively calculated, and the device combination with the higher device capability score can be recommended to the user. If only the service capability score of the equipment combination is considered, the size relationship of the equipment capability scores of the 4 equipment combinations is as follows: device combination (2) > device combination (4) > device combination (1) > device combination (3). In this case, usage records of the respective device combinations may be obtained, for example, if the usage rate of the device combination (2) is higher than that of the device combination (4), it indicates that the user is more accustomed to the device combination of the device a + the device B, and the device combination of the device a + the device B is preferentially recommended to the user.
Fig. 7(a) and 7(B) show schematic diagrams of a mobile phone interface of the video playing scene, in a video playing process, if a user wants to merge service capabilities of a plurality of terminal devices in the scene, a certain key may be clicked in the interface of fig. 7(a), and then the interface of fig. 7(B) is displayed, and a device combination of device a + device B is recommended to the user. The user can put the video playing picture of the mobile phone into the device A (intelligent television) by clicking the connection key, and put the sound of the video playing into the device B (intelligent sound box), namely, the task of the video playing is completed together by combining the service capability of the device combination, so that the picture quality and the audio quality of the video playing are effectively improved.
In addition, when generating the device combination, a mode of selecting the terminal devices according to the service capabilities for combination may also be adopted. Assuming that the service capabilities required by the video call scene are image acquisition capability, image display capability and sound playing capability, all terminal devices capable of providing the image acquisition capability, all terminal devices capable of providing the image display capability, and all terminal devices capable of providing the sound playing capability in the scene are respectively displayed in the device selection interface of the mobile phone shown in fig. 8. The user can select one terminal device from the corresponding terminal devices to combine according to the requirement of each service capability, so that one device combination is obtained. For example, in fig. 8, the selected device combination is smart camera + brand tv + smart speaker.
Corresponding to the method for combining device service capabilities described in the above embodiments, fig. 9 shows a block diagram of a device for combining device service capabilities provided in the embodiments of the present application, and for convenience of description, only the relevant parts of the embodiments of the present application are shown.
Referring to fig. 9, the apparatus includes:
a service capability requirement determining module 501, configured to determine a service capability requirement list in a current scenario, where the service capability requirement list includes at least one service capability requirement;
a target terminal device determining module 502, configured to determine at least one target terminal device that meets each service capability requirement in the service capability requirement list, where each target terminal device corresponds to at least one service capability requirement;
an apparatus combination information generating module 503, configured to generate apparatus combination information that meets the service capability requirement, where the apparatus combination information includes information of each service capability requirement in the service capability requirement list and a target terminal apparatus corresponding to each service capability requirement.
Optionally, the target terminal device determining module may include:
the terminal equipment comprises an attribute information acquisition unit, a service processing unit and a service processing unit, wherein the attribute information acquisition unit is used for acquiring attribute information of each terminal equipment in a preset range, and the attribute information comprises service capability which can be provided by the terminal equipment;
and the first terminal equipment selecting unit is used for selecting the terminal equipment meeting the service capacity requirement in the service capacity requirement list from the terminal equipment according to the attribute information of the terminal equipment, and taking the terminal equipment meeting the service capacity requirement in the service capacity requirement list as the target terminal equipment.
Optionally, the target terminal device determining module may include:
an equipment capability comparison table obtaining unit, configured to obtain a pre-stored equipment capability comparison table, where service capabilities that can be provided by each terminal device are recorded in the equipment capability comparison table;
and the second terminal equipment selecting unit is used for determining the terminal equipment meeting the service capability requirement in a preset range according to the equipment capability comparison table, and taking the terminal equipment meeting the service capability requirement as the target terminal equipment.
Further, the apparatus for combining device service capabilities may further include:
the equipment combination quantity counting module is used for counting the quantity of the equipment combinations meeting the service capability requirements according to the equipment combination information;
the first equipment combination display module is used for displaying the information of the equipment combination on a preset interface if the number of the equipment combinations meeting the service capacity requirement is one;
and the second equipment combination display module is used for respectively calculating the equipment capacity scores of each equipment combination if the number of the equipment combinations meeting the service capacity requirements is multiple, and displaying the information of each equipment combination on a preset interface according to the sequence of the equipment capacity scores from high to low.
Further, the second device combination display module may include:
a preset score obtaining unit, configured to obtain preset scores of service capabilities that can be provided by each target terminal device and are included in a target device combination, where the preset scores are used to measure the size of the service capabilities that can be provided by the target terminal devices, and the target device combination is any one device combination in the device combinations;
and the equipment capacity score calculating unit is used for calculating and obtaining the equipment capacity score of the target equipment combination according to the preset score of each service capacity which can be provided by each target terminal equipment and is contained in the target equipment combination.
Further, the device capability score calculation unit may include:
the weight determining subunit is used for respectively determining the weight of each service capability according to the current scene;
the weighted summation subunit is configured to, for each target terminal device included in the target device combination, perform weighted summation on preset values of the respective service capabilities that can be provided by the target terminal device according to weights of the corresponding service capabilities to obtain respective device capability scores;
and the equipment capability score adding subunit is used for adding the equipment capability scores of the target terminal equipment contained in the target equipment combination to obtain the equipment capability score of the target equipment combination.
Still further, the weighted sum subunit may include:
the weighted summation grandchild unit is used for weighting and summing the preset values of the service capabilities which can be provided by the first equipment according to the weights of the corresponding service capabilities to obtain respective first equipment capability scores;
the device usage record acquiring unit is used for acquiring respective device usage records and counting respective usage duration and usage times according to the respective device usage records;
the first equipment capacity score calculating grandchild unit is used for calculating to obtain respective second equipment capacity scores according to respective use duration and use times;
and the second equipment capacity score calculating grandchild unit is used for adding the respective first equipment capacity scores and the respective second equipment capacity scores to obtain the respective equipment capacity scores.
Further, the second device combination display module may further include:
a device distance detection unit configured to detect a distance between each target terminal device included in each of the two or more device combinations, if two or more device combinations having the same device capability exist in each of the device combinations;
and the information display unit is used for displaying the information of the more than two equipment combinations on the interface according to the sequence from small to large of the sum of the distances between the contained target terminal equipment.
Further, the apparatus for combining device service capabilities may further include:
the terminal equipment selection module is used for respectively detecting all terminal equipment which can provide corresponding service capacity in a preset range according to each service capacity requirement of the service capacity requirement list and selecting one terminal equipment from all terminal equipment which can provide corresponding service capacity according to a set mode;
and the terminal equipment combination module is used for combining the selected terminal equipment into an equipment combination and displaying the information of the equipment combination obtained by the combination.
Embodiments of the present application also provide a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the methods for providing service capability for each combined device as set forth in the present application.
The embodiment of the present application further provides a computer program product, which, when running on a terminal device, enables the terminal device to execute the steps of the method for providing service capability for each combined device provided by the present application.
Fig. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 10, the terminal device 6 of this embodiment includes: at least one processor 60 (only one shown in fig. 6), a memory 61, and a computer program 62 stored in the memory 61 and executable on the at least one processor 60, the processor 60 implementing the steps in any of the above-described method embodiments of combining device service capabilities when executing the computer program 62.
The terminal device 6 may be a mobile phone, a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is only an example of the terminal device 6, and does not constitute a limitation to the terminal device 6, and may include more or less components than those shown, or combine some components, or different components, such as an input/output device, a network access device, and the like.
The Processor 60 may be a Central Processing Unit (CPU), and the Processor 60 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may in some embodiments be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 may also be an external storage device of the terminal device 6 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are equipped on the terminal device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal device 6. The memory 61 is used for storing operating means, applications, bootloaders (bootloaders), data and other programs, such as program codes of the computer programs. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the above-mentioned apparatus may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or apparatus capable of carrying computer program code to a terminal device, recording medium, computer Memory, Read-Only Memory (ROM), Random-Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method of combining device service capabilities, comprising:
determining a service capacity requirement list under a current scene, wherein the service capacity requirement list comprises at least two service capacity requirements;
determining at least one target terminal device meeting each service capacity requirement in the service capacity requirement list, wherein each target terminal device corresponds to at least one service capacity requirement;
generating equipment combination information meeting the service capacity requirements, wherein the equipment combination information comprises each service capacity requirement in the service capacity requirement list and information of target terminal equipment corresponding to each service capacity requirement;
after generating the device combination information meeting the service capability requirement, the method further comprises the following steps:
counting the number of equipment combinations meeting the service capability requirement according to the equipment combination information;
if the number of the equipment combinations meeting the service capacity requirement is one, displaying the information of the equipment combinations on a preset interface;
if the number of the equipment combinations meeting the service capacity requirements is multiple, respectively calculating the equipment capacity scores of each equipment combination, and displaying the information of each equipment combination on a preset interface according to the sequence from high to low of the equipment capacity scores;
the device capability score of any one target device combination in each of the device combinations is calculated by:
respectively acquiring preset scores of each service capability provided by each target terminal device contained in the target device combination, wherein the preset scores are used for measuring the size of the service capability provided by the target terminal device;
and calculating the equipment capability score of the target equipment combination according to the preset score of each service capability which can be provided by each target terminal equipment and is contained in the target equipment combination.
2. The method of combining device service capabilities of claim 1, wherein said determining at least one target terminal device that satisfies each service capability requirement in said list of service capability requirements comprises:
acquiring attribute information of each terminal device in a preset range, wherein the attribute information comprises service capability which can be provided by the terminal device;
and selecting the terminal equipment meeting the service capacity requirement in the service capacity requirement list from the terminal equipment according to the attribute information of the terminal equipment, and taking the terminal equipment meeting the service capacity requirement in the service capacity requirement list as the target terminal equipment.
3. The method of combining device service capabilities of claim 1, wherein said determining at least one target terminal device that satisfies each service capability requirement in said list of service capability requirements comprises:
acquiring a pre-stored equipment capacity comparison table, wherein the equipment capacity comparison table records the service capacity which can be provided by each terminal equipment;
and determining the terminal equipment meeting the service capability requirement in a preset range according to the equipment capability comparison table, and taking the terminal equipment meeting the service capability requirement as the target terminal equipment.
4. The method for combining device service capabilities according to claim 1, wherein the calculating the device capability score of the target device combination according to the preset score of each service capability that can be provided by each target terminal device included in the target device combination comprises:
respectively determining the weight of each service capability according to the current scene;
for each target terminal device contained in the target device combination, weighting and summing preset values of each service capability which can be provided by each target terminal device according to the weight of the corresponding service capability to obtain respective device capability values;
and adding the equipment capability scores of the target terminal equipment contained in the target equipment combination to obtain the equipment capability score of the target equipment combination.
5. The method for combining device service capabilities according to claim 4, wherein the weighting and summing the preset scores of the respective service capabilities that can be provided by the respective devices according to the weights of the corresponding service capabilities to obtain the respective device capability scores comprises:
weighting and summing the preset values of the service capabilities which can be provided by the equipment according to the weights of the corresponding service capabilities to obtain respective first equipment capability scores;
acquiring respective device usage records, and counting respective usage duration and usage times according to the respective device usage records;
calculating respective second equipment capacity scores according to respective use duration and use times;
and adding the respective first equipment capacity scores and the respective second equipment capacity scores to obtain respective equipment capacity scores.
6. The method of combining device service capabilities of claim 1, further comprising, after separately calculating a device capability score that each of the device combinations has:
if more than two equipment combinations with the same equipment capability exist in each equipment combination, respectively detecting the distance between each target terminal equipment contained in each equipment combination in the more than two equipment combinations;
and displaying the information of the more than two equipment combinations on the interface according to the sequence from small to large of the sum of the distances between the contained target terminal equipment.
7. The method of combining device service capabilities of any of claims 1 to 6, further comprising, after determining the list of service capability requirements under the current scenario:
respectively detecting all terminal equipment capable of providing corresponding service capacity in a preset range according to each service capacity requirement of the service capacity requirement list, and selecting one terminal equipment from all terminal equipment capable of providing corresponding service capacity according to a set mode;
and combining the selected terminal devices into a device combination, and displaying the information of the device combination obtained by the combination.
8. An apparatus for combining device service capabilities, comprising:
the service capacity requirement determining module is used for determining a service capacity requirement list under the current scene, and the service capacity requirement list comprises at least two service capacity requirements;
the target terminal equipment determining module is used for determining at least one target terminal equipment meeting each service capacity requirement in the service capacity requirement list, wherein each target terminal equipment corresponds to at least one service capacity requirement;
the equipment combination information generating module is used for generating equipment combination information meeting the service capacity requirements, and the equipment combination information comprises each service capacity requirement in the service capacity requirement list and information of target terminal equipment corresponding to each service capacity requirement;
the device further comprises:
the equipment combination quantity counting module is used for counting the quantity of the equipment combinations meeting the service capability requirements according to the equipment combination information;
the first equipment combination display module is used for displaying the information of the equipment combination on a preset interface if the number of the equipment combinations meeting the service capacity requirement is one;
the second equipment combination display module is used for respectively calculating the equipment capacity scores of each equipment combination if the number of the equipment combinations meeting the service capacity requirements is multiple, and displaying the information of each equipment combination on a preset interface according to the sequence of the equipment capacity scores from high to low;
the second device combination display module includes:
a preset score obtaining unit, configured to obtain preset scores of service capabilities that can be provided by each target terminal device and are included in a target device combination, where the preset scores are used to measure the size of the service capabilities that can be provided by the target terminal devices, and the target device combination is any one device combination in the device combinations;
and the equipment capacity score calculating unit is used for calculating and obtaining the equipment capacity score of the target equipment combination according to the preset score of each service capacity which can be provided by each target terminal equipment and is contained in the target equipment combination.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements a method of combining device service capabilities according to any of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out a method of combining device service capabilities according to any one of claims 1 to 7.
CN202010020992.XA 2020-01-09 2020-01-09 Method, device, terminal equipment and storage medium for combining equipment service capability Active CN111294625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010020992.XA CN111294625B (en) 2020-01-09 2020-01-09 Method, device, terminal equipment and storage medium for combining equipment service capability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010020992.XA CN111294625B (en) 2020-01-09 2020-01-09 Method, device, terminal equipment and storage medium for combining equipment service capability

Publications (2)

Publication Number Publication Date
CN111294625A CN111294625A (en) 2020-06-16
CN111294625B true CN111294625B (en) 2021-12-14

Family

ID=71024197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010020992.XA Active CN111294625B (en) 2020-01-09 2020-01-09 Method, device, terminal equipment and storage medium for combining equipment service capability

Country Status (1)

Country Link
CN (1) CN111294625B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114567619B (en) * 2020-11-27 2023-01-17 荣耀终端有限公司 Equipment recommendation method and electronic equipment
CN114629932B (en) * 2020-12-10 2023-10-20 荣耀终端有限公司 Cooperative method between electronic devices, electronic device and storage medium
CN114006925B (en) * 2021-10-28 2023-10-31 安徽聆思智能科技有限公司 Service collaborative processing method, device, system, equipment and medium for Internet of things equipment cluster
CN115277928A (en) * 2022-07-27 2022-11-01 深圳传音通讯有限公司 Processing method, intelligent terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859544A (en) * 2005-12-01 2006-11-08 华为技术有限公司 System and method for playing medium
CN104104401A (en) * 2013-04-03 2014-10-15 毛奇骅 Media playing method and system
CN104683850A (en) * 2007-09-20 2015-06-03 三星电子株式会社 Method For Inputting User Command And Video Apparatus And Input Apparatus Employing The Same

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BR0114262A (en) * 2000-09-27 2003-08-26 Thomson Licensing Sa Architecture for optimizing audio and video output states for multimedia devices
US8611919B2 (en) * 2002-05-23 2013-12-17 Wounder Gmbh., Llc System, method, and computer program product for providing location based services and mobile e-commerce
US20090261943A1 (en) * 2008-04-16 2009-10-22 Rittwik Jana Method and apparatus for providing premise monitoring
US8464356B2 (en) * 2009-09-02 2013-06-11 Sony Corporation Personal library on net
US20130014141A1 (en) * 2011-07-06 2013-01-10 Manish Bhatia Audience Atmospherics Monitoring Platform Apparatuses and Systems

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859544A (en) * 2005-12-01 2006-11-08 华为技术有限公司 System and method for playing medium
CN104683850A (en) * 2007-09-20 2015-06-03 三星电子株式会社 Method For Inputting User Command And Video Apparatus And Input Apparatus Employing The Same
CN104104401A (en) * 2013-04-03 2014-10-15 毛奇骅 Media playing method and system

Also Published As

Publication number Publication date
CN111294625A (en) 2020-06-16

Similar Documents

Publication Publication Date Title
CN111294625B (en) Method, device, terminal equipment and storage medium for combining equipment service capability
CN110636375B (en) Video stream processing method and device, terminal equipment and computer readable storage medium
CN108200421B (en) White balance processing method, terminal and computer readable storage medium
WO2020147645A1 (en) Link aggregation realization method and related product
CN108718389B (en) Shooting mode selection method and mobile terminal
CN112996042A (en) Network acceleration method, terminal device, server and storage medium
CN112019929A (en) Volume adjusting method and device
CN108594935B (en) Wearable device control method and device and computer readable storage medium
CN108055366A (en) Terminal call interface processing method, mobile terminal and computer readable storage medium
CN108549660B (en) Information pushing method and device
CN110180181A (en) Screenshot method, device and the computer readable storage medium of Wonderful time video
CN108881635A (en) Screen luminance adjustment method, mobile terminal and computer readable storage medium
CN108459803A (en) Picture sending method, mobile terminal and readable storage medium storing program for executing based on double-sided screen
WO2020187065A1 (en) Video evaluation method, terminal, server, and related product
CN107330867B (en) Image synthesis method, image synthesis device, computer-readable storage medium and computer equipment
CN108200327A (en) A kind of filming control method, flexible screen terminal and computer readable storage medium
WO2022062998A1 (en) Device recommendation method, and device
CN109309953B (en) Power consumption detection method, device, terminal and readable storage medium
CN110933293A (en) Shooting method, terminal and computer readable storage medium
CN108260009B (en) Video processing method, mobile terminal and computer readable storage medium
CN114125546B (en) Information sharing method and device, terminal equipment and storage medium
CN107179830B (en) Information processing method for motion sensing application, mobile terminal and storage medium
CN109062678A (en) A kind of Working mode switching method, wearable device and computer storage medium
CN108021315A (en) A kind of control method and mobile terminal
CN108306856A (en) A kind of interface merging method, client, server and computer readable storage medium

Legal Events

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