WO2021197139A1 - 一种推荐服务的方法、电子设备和系统 - Google Patents

一种推荐服务的方法、电子设备和系统 Download PDF

Info

Publication number
WO2021197139A1
WO2021197139A1 PCT/CN2021/082394 CN2021082394W WO2021197139A1 WO 2021197139 A1 WO2021197139 A1 WO 2021197139A1 CN 2021082394 W CN2021082394 W CN 2021082394W WO 2021197139 A1 WO2021197139 A1 WO 2021197139A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
task
account
information
user
Prior art date
Application number
PCT/CN2021/082394
Other languages
English (en)
French (fr)
Inventor
张亚男
金焕雄
彭玉卓
周轩
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP21781088.6A priority Critical patent/EP4113415A4/en
Priority to US17/916,631 priority patent/US20230140946A1/en
Publication of WO2021197139A1 publication Critical patent/WO2021197139A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/085Payment architectures involving remote charge determination or related payment systems
    • G06Q20/0855Payment architectures involving remote charge determination or related payment systems involving a third party
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds

Definitions

  • This application relates to the field of terminals, and more specifically, to a method, electronic device, and system for recommending services.
  • terminal devices need to rely on the same account when making cross-device service recommendations. For example, when performing cross-device recommendation services between Apple devices, it is necessary to log in to the same account (Apple ID) on both devices of the device. And currently, the recommended scenarios for cross-device services are relatively limited, including a limited number of scenarios such as payment.
  • the present application provides a method and electronic device for recommending services, which help improve the user's operation efficiency and the degree of intelligence of the electronic device, and help improve the user experience.
  • a system in a first aspect, includes a first electronic device and a second electronic device.
  • the first electronic device is an electronic device with a first account logged in, and a plurality of device types are stored in the first electronic device.
  • the first electronic device determines the second electronic device within a preset distance; the first The electronic device is also used for receiving first information sent by the second electronic device, the first information includes the device identification of the second electronic device and the device type information; the first electronic device is also used for receiving the first information according to the second electronic device
  • the device identification of the electronic device determining that the second account logged in on the second electronic device is associated with the first account, the first electronic device stores the device
  • the first electronic device may store a mapping relationship between multiple device types and the types of tasks that each device type is suitable for performing, and the first electronic device determines that the task currently being performed is not a task suitable for the first electronic device.
  • the first electronic device may determine the second electronic device suitable for performing the first task within the preset range, and send the recommended service corresponding to the first task to the second electronic device. In this way, the user can perform the first task on the second electronic device that is more suitable for performing the first task, which reduces the complexity of user operations, thereby improving the user experience.
  • the first electronic device and the second electronic device do not need to rely on the same account, as long as the second account logged in on the second electronic device is related to the first account logged in on the first electronic device, which also makes the first electronic device
  • devices recommend services across devices a wider range of devices can be selected for recommendation, so that the first electronic device can promptly push the recommended service corresponding to the first task to the appropriate device.
  • the second electronic device is further configured to display the icon of the recommended service on the display screen of the second electronic device, or the second electronic device Before the display screen displays the half-modal card, it is determined that the task type of the first task meets the preset condition; the second electronic device is also used to authenticate the user who is using the second electronic device; the second electronic device , It is also used to confirm that the user is authenticated.
  • the second electronic device may first determine whether the first task meets the preset condition before displaying the corresponding information on the display screen. If it is satisfied, the second electronic device may first authenticate the user, which avoids certain Some special tasks are performed by users other than the user, which improves the safety performance of electronic devices.
  • the task type of the first task satisfies preset conditions, including that the task type of the first task is a private task, and the private task can be payment, authentication, unlocking, or processing notifications, etc., which require higher security levels.
  • Task It should be understood that the electronic device may preset a mapping relationship between a task type and whether the task type belongs to a private task.
  • the first account and the second account are accounts in the same family group; or, the second account is an account authorized by the first account.
  • the first electronic device when a recommendation service is performed between the first electronic device and the second electronic device, it is not necessary that the first electronic device and the second electronic device belong to the same account, so that the first electronic device can choose to perform the recommendation service
  • the increase in the range of electronic devices helps the first electronic device to promptly recommend services to suitable electronic devices, reduces the time delay in the process of recommending services, and improves the user experience.
  • the second electronic device is further configured to determine that it is in the off-screen state or the locked-screen state before displaying the icon on the display screen; or, to determine that it is executing Tasks that are not related to the first task.
  • the second electronic device may determine the presentation mode on the display screen according to its own state.
  • the second electronic device may display an icon, which can avoid causing interference to the user.
  • the second electronic device is further configured to determine that it is in an unlocked state and that the second electronic device is in a non-locked state before displaying the semi-modal card on the display screen. Perform a task related to the first task, or determine that a connection relationship has been established with the first electronic device before receiving the recommended service.
  • the second electronic device may determine the presentation mode on the display screen according to its own state.
  • the second electronic device can execute the display of the semi-modal card, which helps the user to process the first task in time, which improves The speed of the user's processing of the first task saves the user's operation.
  • a method for recommending services is provided.
  • the method is applied to a first electronic device.
  • the first electronic device is an electronic device with a first account logged in.
  • the first electronic device stores a plurality of device types and The mapping relationship of the task type suitable for each of the plurality of device types, the plurality of device types including the device type of the first electronic device and the device type of the second electronic device, and the method includes: When an electronic device determines according to the mapping relationship that the first task being performed is not a task suitable for the device type of the first electronic device, the first electronic device determines the second electronic device within a preset distance; the first electronic device The device receives the first information sent by the second electronic device, the first information includes the device identification of the second electronic device and the device type information; the first electronic device determines the first information according to the device identification of the second electronic device 2.
  • the second account logged in on the electronic device is associated with the first account, the first electronic device stores the device identification information of the electronic device associated with the second account, and the electronic device associated with the second account
  • the device includes the second electronic device; the first electronic device determines that the second electronic device is an electronic device suitable for performing the first task according to the device type of the second electronic device and the mapping relationship; the first electronic device sends the The second electronic device sends the recommended service corresponding to the first task.
  • the first electronic device may store a mapping relationship between multiple device types and the types of tasks that each device type is suitable for performing, and the first electronic device determines that the task currently being performed is not a task suitable for the first electronic device.
  • the first electronic device may determine the second electronic device suitable for performing the first task within the preset range, and send the recommended service corresponding to the first task to the second electronic device. In this way, the user can perform the first task on the second electronic device that is more suitable for performing the first task, which reduces the complexity of user operations, thereby improving the user experience.
  • the first electronic device and the second electronic device do not need to rely on the same account, as long as the second account logged in on the second electronic device is related to the first account logged in on the first electronic device, which also makes the first electronic device
  • devices recommend services across devices a wider range of devices can be selected for recommendation, so that the first electronic device can promptly push the recommended service corresponding to the first task to the appropriate device.
  • the plurality of device types further include the device type of the third device, and the first electronic device sends the recommended service corresponding to the first task to the second electronic device
  • the method further includes: the first electronic device receives second information sent by the third electronic device, the second information includes the device identification of the third electronic device and the device type information; the first electronic device according to the The device identification of the third electronic device, determining that the third account logged in on the third electronic device is associated with the first account, and the first electronic device stores the device identification information of the electronic device associated with the third account ,
  • the electronic device associated with the third account includes the third electronic device; the first electronic device determines that the third electronic device is suitable for performing the first task according to the device type of the third electronic device and the mapping relationship The electronic device; the first electronic device prompts the user through the display screen of the second electronic device and the third electronic device's information; the first electronic device detects the user's operation to select the second electronic device.
  • the first electronic device may prompt the user to select a certain device to perform the first task. This helps the user to know in time which devices around are suitable for performing the first task, so that the user can accurately select the device that performs the first task.
  • the first electronic device may not prompt the user of the information of the second electronic device and the third electronic device, but directly send the recommendation corresponding to the first task to the second electronic device and the third electronic device. service.
  • the first electronic device may also prompt the user with information about the second electronic device and the third electronic device; if the user does not select any one of them within the preset time period, the first electronic device may notify the second electronic device and the third electronic device. The devices all send the recommended service corresponding to the first task.
  • the first account and the second account are accounts in the same family group; or, the second account is an account authorized by the first account.
  • the first electronic device and the second electronic device do not need to rely on the same account, as long as the second account logged in on the second electronic device is related to the first account logged in on the first electronic device.
  • This allows the first electronic device to select a wider range of recommended devices when recommending services across devices, which facilitates the first electronic device to promptly push the recommended service corresponding to the first task to the appropriate device.
  • a method for recommending services is provided, wherein the method is applied to a second electronic device, the second electronic device includes a display screen, and the method includes: the second electronic device receives The recommended service sent by the first electronic device, the recommended service including the task type information and service content corresponding to the first task, the first task is the task being performed by the first electronic device; the second electronic device is determining the first task When the task type of a task meets the preset condition, the user who is using the second electronic device is authenticated; after the second electronic device passes the user authentication, the second electronic device displays the recommended service information on the display screen. Icon, or, the second electronic device displays a half-modal card through the display screen, and the half-modal card includes the service content.
  • the second electronic device may first determine whether the first task meets the preset condition before displaying the corresponding information on the display screen. If it is satisfied, the second electronic device may first authenticate the user, which avoids certain Some special tasks are performed by users other than the user, which improves the safety performance of electronic devices.
  • the second electronic device stores a mapping relationship between the task type of the first task and whether the task type belongs to a private task, wherein the second electronic device determines The task type of the first task meeting the preset condition includes that the second electronic device determines that the task type of the first task belongs to a private task according to the mapping relationship.
  • the second electronic device when the second electronic device determines that the task type of the first task is a private task, it can first authenticate the user, which prevents certain special tasks from being performed by users other than the user, and improves the electronic device The safety performance.
  • the second electronic device after the second electronic device receives a recommendation service for a private task when the screen is off, it can automatically authenticate the user without turning on the screen (automatically turn on the camera to collect the user’s facial information, or collect the user’s face information). Fingerprint information). After the user is authenticated, the icon of the recommended service can be displayed in the off-screen state.
  • the private task may be a task with a higher security level such as payment, authentication, unlocking, or processing notification.
  • the method before the second electronic device displays the icon on the display screen, the method further includes: determining that the second electronic device is in a screen-off state or a screen-locked state; Or, the second electronic device determines that a task that is not related to the first task is being executed.
  • the second electronic device may determine the presentation mode on the display screen according to its own state.
  • the second electronic device may display an icon, which can avoid causing interference to the user.
  • the method before the second electronic device displays the half-modal card on the display screen, the method includes: the second electronic device determines that it is in an unlocked state and the second electronic device 2. The electronic device is performing a task related to the first task, or it is determined that a connection relationship has been established with the first electronic device before receiving the recommended service.
  • the second electronic device may determine the presentation mode on the display screen according to its own state.
  • the second electronic device can execute the display of the semi-modal card, which helps the user to process the first task in time, which improves The speed of the user's processing of the first task saves the user's operation.
  • the method further includes: the second electronic device receives the information of the third electronic device sent by the first electronic device, and the third electronic device receives the recommendation Serving another electronic device; if the first task is not suitable for simultaneous execution of multiple electronic devices, the second electronic device detects that the user clicks on the icon, or the second electronic device detects that the user clicks on the icon After the half-modal card, the second electronic device sends instruction information to the third electronic device, and the instruction information is used to instruct the third electronic device to hide the icon or the half-modal card displayed on the third electronic device.
  • the second electronic device may send a notification to the third electronic device after detecting that the user clicks on the icon or the semi-modal card. Send out instructions to instruct it to hide icons or semi-modal cards. This can prevent the first task from being executed by multiple devices at the same time.
  • the second electronic device stores a mapping relationship between multiple task types and whether each of the multiple task types is suitable for being executed by multiple devices at the same time.
  • the first task is a payment task and there is no payment application in the second electronic device
  • the service content includes information about the name of the product and the amount of the product in the payment task
  • the method further includes: after the second electronic device detects that the user clicks on the icon, or after the second electronic device detects that the user clicks on the half-modal card, the second electronic device displays the The name of the product, the amount of the product, and the payment control; the second electronic device detects that the user clicks on the second operation of the payment control; in response to the second operation, the second electronic device sends the name of the product and the amount of the product to the fourth electronic device Information, the second electronic device and the fourth electronic device are logged in the same account; the second electronic device receives the payment result sent by the fourth electronic device.
  • the second electronic device can also implement the first task on a suitable device based on the distributed AA capability.
  • the second electronic device that does not have the payment application installed can send the payment information to the fourth electronic device that has logged in to the same account as the second electronic device and installed the payment application, and the fourth electronic device replaces the second electronic device. The device completes the payment task.
  • the present technical solution provides an apparatus for recommending services, the apparatus is included in an electronic device, and the apparatus has the function of realizing the behavior of the first electronic device in the foregoing second aspect and possible implementation manners of the foregoing second aspect.
  • the function can be realized by hardware, or the corresponding software can be executed by hardware.
  • the hardware or software includes one or more modules or units corresponding to the above-mentioned functions.
  • the present technical solution provides a device for recommending services, which is included in an electronic device, and the device has the function of realizing the third aspect and the behavior of the second electronic device in the possible implementation manners of the third aspect.
  • the function can be realized by hardware, or the corresponding software can be executed by hardware.
  • the hardware or software includes one or more modules or units corresponding to the above-mentioned functions.
  • an electronic device including one or more processors and one or more memories.
  • the one or more memories are coupled with one or more processors, and the one or more memories are used to store computer program codes.
  • the computer program codes include computer instructions.
  • the electronic device executes A method for recommending services in any one of the possible implementations of the second aspect described above.
  • an electronic device including one or more processors and one or more memories.
  • the one or more memories are coupled with one or more processors, and the one or more memories are used to store computer program codes.
  • the computer program codes include computer instructions.
  • the electronic device executes The method of recommending services in any one of the possible implementations of the above-mentioned third aspect.
  • the present technical solution provides a computer storage medium, including computer instructions, which when the computer instructions run on an electronic device, cause the electronic device to execute the second aspect, the third aspect, and any one of its possible implementations. Recommended service method.
  • this technical solution provides a computer program product that, when the computer program product runs on an electronic device, causes the electronic device to perform the recommendation service in the second aspect, the third aspect, and any one of its possible implementations. method.
  • Fig. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Fig. 2 is a software structure block diagram of an electronic device provided by an embodiment of the present application.
  • Figure 3 is a set of GUIs provided by an embodiment of the present application.
  • Figure 4 is another set of GUIs provided by an embodiment of the present application.
  • Figure 5 is another set of GUIs provided by an embodiment of the present application.
  • Fig. 6 is another set of GUIs provided by an embodiment of the present application.
  • Fig. 7 is another set of GUI provided by an embodiment of the present application.
  • Fig. 8 is another set of GUIs provided by an embodiment of the present application.
  • Figure 9 is another set of GUIs provided by an embodiment of the present application.
  • Fig. 10 is another set of GUI provided by an embodiment of the present application.
  • Fig. 11 is another set of GUI provided by an embodiment of the present application.
  • Fig. 12 is another set of GUIs provided by an embodiment of the present application.
  • Figure 13 is another set of GUIs provided by an embodiment of the present application.
  • FIG. 14 is a schematic flowchart of a method for recommending a service provided by an embodiment of the present application.
  • FIG. 15 is a schematic flowchart of a method for recommending a service provided by an embodiment of the present application.
  • FIG. 16 is a schematic flowchart of a method for recommending a service provided by an embodiment of the present application.
  • FIG. 17 is a schematic flowchart of a method for recommending a service provided by an embodiment of the present application.
  • first and second are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined with “first” and “second” may explicitly or implicitly include one or more of these features. In the description of this embodiment, unless otherwise specified, “plurality” means two or more.
  • the method provided in the embodiments of this application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, ultra-mobile personal computers (ultra mobile personal computers).
  • augmented reality (AR)/virtual reality (VR) devices notebook computers
  • ultra-mobile personal computers ultra mobile personal computers
  • -Mobile personal computer UMPC
  • netbook personal digital assistant
  • PDA personal digital assistant
  • FIG. 1 shows a schematic structural diagram of an electronic device 100.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, and an antenna 2.
  • Mobile communication module 150 wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM Subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or arrange different components.
  • the illustrated components can be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units.
  • the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), and an image signal processor. (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • AP application processor
  • modem processor modem processor
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • the different processing units may be independent devices or integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 100.
  • the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching instructions and executing instructions.
  • a memory may also be provided in the processor 110 to store instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory can store instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. Repeated accesses are avoided, the waiting time of the processor 110 is reduced, and the efficiency of the system is improved.
  • the processor 110 may include one or more interfaces.
  • the interface can include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, and a universal asynchronous transmitter (universal asynchronous) interface.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB Universal Serial Bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to implement the touch function of the electronic device 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through an I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
  • the PCM interface can also be used for audio communication to sample, quantize and encode analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to realize the Bluetooth function.
  • the audio module 170 may transmit audio signals to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 with the display screen 194, the camera 193 and other peripheral devices.
  • the MIPI interface includes a camera serial interface (camera serial interface, CSI), a display serial interface (display serial interface, DSI), and so on.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100.
  • the processor 110 and the display screen 194 communicate through a DSI interface to realize the display function of the electronic device 100.
  • the GPIO interface can be configured through software.
  • the GPIO interface can be configured as a control signal or as a data signal.
  • the GPIO interface can be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and so on.
  • the GPIO interface can also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that complies with the USB standard specification, and specifically may be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect earphones and play audio through earphones. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiment of the present application is merely a schematic description, and does not constitute a structural limitation of the electronic device 100.
  • the electronic device 100 may also adopt different interface connection modes in the foregoing embodiments, or a combination of multiple interface connection modes.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger can be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive the wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160.
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be provided in the processor 110.
  • the power management module 141 and the charging management module 140 may also be provided in the same device.
  • the wireless communication function of the electronic device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.
  • the antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in the electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • Antenna 1 can be multiplexed as a diversity antenna of a wireless local area network.
  • the antenna can be used in combination with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), and the like.
  • the mobile communication module 150 can receive electromagnetic waves by the antenna 1, and perform processing such as filtering, amplifying and transmitting the received electromagnetic waves to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modem processor, and convert it into electromagnetic waves for radiation via the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), and global navigation satellites. System (global navigation satellite system, GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110.
  • the wireless communication module 160 may also receive a signal to be sent from the processor 110, perform frequency modulation, amplify, and convert it into electromagnetic waves to radiate through the antenna 2.
  • the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite-based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like.
  • the GPU is an image processing microprocessor, which is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations and is used for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos, and the like.
  • the display screen 194 includes a display panel.
  • the display panel can adopt liquid crystal display (LCD), organic light-emitting diode (OLED), active matrix organic light-emitting diode or active-matrix organic light-emitting diode (active-matrix organic light-emitting diode).
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • active-matrix organic light-emitting diode active-matrix organic light-emitting diode
  • AMOLED flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (QLED), etc.
  • the electronic device 100 may include one or N display screens 194, and N is a positive integer greater than one.
  • the electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
  • the ISP is used to process the data fed back from the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the photosensitive element of the camera through the lens, the light signal is converted into an electrical signal, and the photosensitive element of the camera transmits the electrical signal to the ISP for processing and is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193.
  • the camera 193 is used to capture still images or videos.
  • the object generates an optical image through the lens and is projected to the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transfers the electrical signal to the ISP to convert it into a digital image signal.
  • ISP outputs digital image signals to DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the electronic device 100 may include one or N cameras 193, and N is a positive integer greater than one.
  • Digital signal processors are used to process digital signals. In addition to digital image signals, they can also process other digital signals. For example, when the electronic device 100 selects the frequency point, the digital signal processor is used to perform Fourier transform on the energy of the frequency point.
  • Video codecs are used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, and so on.
  • MPEG moving picture experts group
  • MPEG2 MPEG2, MPEG3, MPEG4, and so on.
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • applications such as intelligent cognition of the electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, and so on.
  • the external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, where the executable program code includes instructions.
  • the processor 110 executes various functional applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program (such as a sound playback function, an image playback function, etc.) required by at least one function, and the like.
  • the data storage area can store data (such as audio data, phone book, etc.) created during the use of the electronic device 100.
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), and the like.
  • UFS universal flash storage
  • the electronic device 100 can implement audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be provided in the processor 110, or part of the functional modules of the audio module 170 may be provided in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 answers a call or voice message, it can receive the voice by bringing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through the human mouth, and input the sound signal into the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement noise reduction functions in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and realize directional recording functions.
  • the earphone interface 170D is used to connect wired earphones.
  • the earphone interface 170D may be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, and a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA, CTIA
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may include at least two parallel plates with conductive materials.
  • the electronic device 100 determines the intensity of the pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have different touch operation strengths may correspond to different operation instructions. For example: when a touch operation whose intensity of the touch operation is less than the first pressure threshold is applied to the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 100.
  • the angular velocity of the electronic device 100 around three axes ie, x, y, and z axes
  • the gyro sensor 180B can be used for image stabilization.
  • the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to counteract the shake of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the electronic device 100 may use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and apply to applications such as horizontal and vertical screen switching, pedometers, and so on.
  • the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 may use the distance sensor 180F to measure the distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light to the outside through the light emitting diode.
  • the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100.
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, and the pocket mode will automatically unlock and lock the screen.
  • the ambient light sensor 180L is used to sense the brightness of the ambient light.
  • the electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived brightness of the ambient light.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photographs, fingerprint answering calls, and so on.
  • the temperature sensor 180J is used to detect temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the electronic device 100 when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 due to low temperature.
  • the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • Touch sensor 180K also called “touch panel”.
  • the touch sensor 180K may be provided on the display screen 194, and the touch screen is composed of the touch sensor 180K and the display screen 194, which is also called a “touch screen”.
  • the touch sensor 180K is used to detect touch operations acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation can be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the position of the display screen 194.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can obtain the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the human pulse and receive the blood pressure pulse signal.
  • the bone conduction sensor 180M may also be provided in the earphone, combined with the bone conduction earphone.
  • the audio module 170 can parse the voice signal based on the vibration signal of the vibrating bone block of the voice obtained by the bone conduction sensor 180M, and realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal obtained by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the button 190 includes a power-on button, a volume button, and so on.
  • the button 190 may be a mechanical button. It can also be a touch button.
  • the electronic device 100 may receive key input, and generate key signal input related to user settings and function control of the electronic device 100.
  • the motor 191 can generate vibration prompts.
  • the motor 191 can be used for incoming call vibration notification, and can also be used for touch vibration feedback.
  • touch operations applied to different applications can correspond to different vibration feedback effects.
  • Acting on touch operations in different areas of the display screen 194, the motor 191 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminding, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate the charging status, power change, or to indicate messages, missed calls, notifications, and so on.
  • the SIM card interface 195 is used to connect to the SIM card.
  • the SIM card can be inserted into the SIM card interface 195 or pulled out from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
  • the electronic device 100 may support 1 or N SIM card interfaces, and N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of the multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 may also be compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication.
  • the electronic device 100 adopts an eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of the present application takes an Android system with a layered architecture as an example to illustrate the software structure of the electronic device 100 by way of example.
  • FIG. 2 is a block diagram of the software structure of the electronic device 100 according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Communication between layers through software interface.
  • the Android system is divided into four layers, from top to bottom, the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.
  • the application layer can include a series of application packages.
  • the application package can include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include a window manager, a content provider, a view system, a phone manager, a resource manager, and a notification manager.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include videos, images, audios, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call status (including connecting, hanging up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window. For example, text messages are prompted in the status bar, prompt sounds, electronic devices vibrate, and indicator lights flash.
  • Android Runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function functions that the java language needs to call, and the other part is the core library of Android.
  • the application layer and application framework layer run in a virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library can include multiple functional modules. For example: surface manager (surface manager), media library (media libraries), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • surface manager surface manager
  • media library media libraries
  • 3D graphics processing library for example: OpenGL ES
  • 2D graphics engine for example: SGL
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • Fig. 3 is a set of graphical user interfaces (GUI) provided by an embodiment of the present application.
  • GUI graphical user interfaces
  • the smart TV when the user wants to watch a certain paid movie or TV series, the smart TV prompts the user to "watch the full version after purchase”.
  • the mobile phone within the preset distance of the smart TV can The icon 301 is displayed when the screen is off.
  • the mobile phone detects that the user clicks on the icon 301, the mobile phone can display the payment information on the smart TV, where the payment information includes the product name "Super Movies VIP Monthly” and the payment amount "20 yuan”.
  • the mobile phone can also provide users with multiple payment methods. As shown in Figure 3 (a), the payment methods include "Huawei Pay", “Alipay Pay” and "WeChat Pay".
  • the smart TV can play pay movies or pay TV series.
  • the mobile phone when the mobile phone detects the user's operation of clicking the icon 301, the mobile phone can start the camera to perform face recognition or the mobile phone can first recognize the user's fingerprint. If the mobile phone passes the user's face recognition or the mobile phone passes the user's fingerprint recognition, the mobile phone can display the payment information on the smart TV.
  • the user account logged in on the smart TV in Figure 3 (a) can be account A, and the mobile phone in Figures (a), (b) and (c) can also be the mobile phone logged in to account A; or, The mobile phones in Figures (a), (b) and (c) can also be mobile phones logged in to other accounts, for example, account B.
  • the account B can be in the same family group as the account A; or the account B is an account authorized by the account A.
  • Figure 4 is another set of GUIs provided by an embodiment of the present application.
  • the smart TV when the user wants to watch a certain paid movie, the smart TV prompts the user to select "watch after purchase” to watch the full movie.
  • the mobile phone within the preset distance from the smart TV is remotely operating the smart TV.
  • the mobile phone detects that the user has clicked on the control 401, it can display the GUI as shown in (b) in FIG. 4.
  • the payment interface of the paid movie can be directly popped up on the mobile phone. Users can complete the payment through any payment method among Huawei Pay, Alipay or WeChat Pay, so as to watch a complete movie on a smart TV.
  • the mobile phone in Figure 4 (a) is controlling the smart TV, so if the smart TV detects that the user chooses to pay through the mobile phone at this time, then Smart TV can directly send payment information to the mobile phone that controls itself.
  • the mobile phone can directly display the payment interface without popping up the payment reminder icon (for example, the icon 301 mentioned above).
  • Figure 5 is another set of GUIs provided by an embodiment of the present application.
  • the smart TV when the user wants to watch a certain paid movie, the smart TV prompts the user to select "watch after purchase” to watch the full movie.
  • there may be multiple electronic devices within the preset distance from the smart TV for example, including Lee's mobile phone, Laura's mobile phone, and Laura's smart watch.
  • the smart TV detects that the user clicks "5 yuan to buy this film", it can display the GUI shown in (b) of FIG. 5.
  • the smart TV may prompt the user "please select a payment method".
  • the payment methods include scanning code payment and payment using peripheral devices.
  • smart TVs can show users information about surrounding devices, such as "Lee's P30", “Laura's Mate30” and "Laura's HWWatch".
  • the smart TV detects that "Laura's Mate30” is clicked, the smart TV can send payment information to Laura's Mate30. Users can pay for movies through Laura's Mate30.
  • Fig. 6 is another set of GUIs provided by an embodiment of the present application.
  • the car when the user brings the mobile phone close to the car, the car can send a recommendation service to the mobile phone. If the phone is off at this time, the car key icon can be displayed in the lower left corner of the phone. When the mobile phone detects the user's operation of clicking the car key icon, the mobile phone can prompt the user through the display screen to "detect a car close, please select the required function".
  • the functions that users can choose include unlocking the doors, starting the car, and opening the trunk.
  • the mobile phone can display the icon of the car key in the lower left corner.
  • the mobile phone detects the user's operation of clicking the car key icon, the mobile phone can prompt the user "detected approaching the car, please select the required function".
  • the car when the electronic device is close to the car, the car can send a recommendation service to the mobile phone. In this way, the user can avoid the cumbersome operation of looking for the car key and performing corresponding functions through the car key, and the user experience is improved.
  • Fig. 7 is another set of GUI provided by an embodiment of the present application.
  • the login interface of the video application can be displayed on the smart TV.
  • the login interface includes two ways, using the mobile App to scan the code to log in and enter the account password to log in.
  • the smart TV can send a recommendation service to the mobile phone.
  • the mobile phone can automatically pop up the login icon in the lower left corner.
  • the mobile phone detects that the user has clicked the login icon, the mobile phone can display "Help TV log in, recommended for you". Users can choose to log in with Huawei ID.
  • the mobile phone when a mobile phone within a preset distance from the smart TV is in a non-locked state, the mobile phone can display a login icon in the lower left corner of the mobile phone after receiving the recommended service sent by the smart TV.
  • the login interface can be displayed on the display screen.
  • the user can authorize the Huawei ID in the video application, which can also be understood as binding the Huawei ID and the video ID. Then if the mobile phone detects that the user clicks on the control to log in with Huawei ID, the mobile phone can send the account login information of the video application associated with the Huawei ID to the smart TV from the cloud server, thereby completing the video application account login information on the smart TV .
  • the mobile phone can directly prompt the user to log in using the account login information of the video application on the mobile phone.
  • Fig. 8 is another set of GUIs provided by an embodiment of the present application.
  • the smart TV can send recommended services to other electronic devices within the preset distance of Lee.
  • Lee's mobile phone is in the off-screen state at this time.
  • the mobile phone can display the remote control icon in the lower left corner of the off-screen interface.
  • the mobile phone detects that the user clicks on the remote control icon, it can display the channel changing interface on the smart TV on the mobile phone.
  • the user can operate the smart TV to switch channels through the remote control.
  • the smart TV can also send a recommendation service to the tablet, and the tablet can pop up a remote control icon in the lower left corner.
  • the tablet computer detects that the user clicks on the remote control icon, it can display the channel changing interface on the smart TV on the tablet computer.
  • the user can operate the smart TV through the tablet computer to switch channels.
  • Lee's account and Laura's account are two accounts in the same family group.
  • Laura's account is an account authorized by Lee's account.
  • the smart TV may send service recommendations to multiple surrounding devices that meet the conditions. In this way, multiple users watching TV can control the smart TV at the same time, which improves the user experience when watching the smart TV.
  • Figure 9 is another set of GUIs provided by an embodiment of the present application.
  • a smart TV (the smart TV is a smart TV with Lee's account) is playing a certain video.
  • the smart TV can send service recommendations to other electronic devices within a preset distance of Lee.
  • Lee's mobile phone is in the off-screen state at this time.
  • the mobile phone may display the sending barrage icon in the lower left corner of the off-screen interface.
  • the mobile phone detects that the user has clicked the icon of sending a bullet screen reminder, it can display the display interface for editing the bullet screen.
  • the mobile phone detects that the user has entered "He is performing well in martial arts! and clicks send, the mobile phone can send the barrage information to the smart TV.
  • the barrage can be displayed on the smart TV.
  • the smart TV can also send a recommendation service to the tablet, and the tablet can pop up a barrage icon in the lower left corner.
  • the tablet computer detects that the user has clicked the operation of sending the bullet screen icon, it can display the display interface for editing the bullet screen on the tablet computer.
  • the mobile phone can send the barrage information to the smart TV.
  • the barrage can be displayed on the smart TV.
  • the smart TV may send service recommendations to multiple surrounding devices that meet the conditions. In this way, multiple users watching TV can send bullet screens at the same time, which helps to improve the user experience when users watch smart TVs.
  • the smart TV may also send other recommended service information to Lee's mobile phone and Laura's tablet computer.
  • These recommended services may include the corresponding recommended services controlled by the remote control and the recommended services of sending bullet screens.
  • Lee's mobile phone detects that the user clicks the corresponding icon, it can display multiple function options, such as remote control and sending barrage.
  • the corresponding display interface can be displayed.
  • Fig. 10 is another set of GUI provided by an embodiment of the present application.
  • the user when a smart TV (the smart TV is a smart TV with Lee's account) is playing a certain video, the user Lily makes a TV video call.
  • the smart TV can send service recommendations for TV video calls to electronic devices within a preset distance.
  • the mobile phone within the preset distance is in the off-screen state at this time, and after the mobile phone receives the recommendation service of the smart TV, the mobile phone may display a sending reminder icon in the lower left corner of the off-screen interface.
  • the mobile phone detects that the user clicks the reminder icon, it can display the display interface of the TV video call.
  • the user can hang up or answer the TV video call through the mobile phone; or, the user can also use the mobile phone to choose to answer the TV video call.
  • the user can make a video call with the user Lily through the smart TV.
  • the mobile phone can pop up a reminder icon in the lower left corner of the display after receiving the recommended service sent by the smart TV.
  • the mobile phone detects that the user clicks the reminder icon, the mobile phone can display the display interface of the TV video call.
  • the electronic device may push the new task to other electronic devices for execution. This does not affect the simultaneous execution of multiple tasks, which helps to improve the user experience.
  • Fig. 11 is another set of GUI provided by an embodiment of the present application.
  • the user is watching a martial arts video using a mobile phone.
  • a large-screen push reminder icon can automatically pop up in the lower left corner of the video viewing interface.
  • the mobile phone detects that the user clicks on the large-screen push notification icon, the mobile phone can send the recommended service to a smart large-screen device (such as a smart TV) within a preset distance.
  • the martial arts video being played on the mobile phone can be projected onto a smart TV.
  • the smart TV can automatically turn on the camera of the smart TV after receiving the recommended service. Then, while watching the video through the smart TV, the user can also observe his practice screen in the upper left corner of the smart TV.
  • the smart TV can play the sound of the martial arts video through the smart speaker when watching a martial arts video.
  • the content on the mobile phone is cross-device to the large screen through the recommendation service, but also the physical characteristics of the large screen of the peer device are combined to provide some value-added capabilities. For example, if yoga, education, video calls, etc. require multi-party interaction or watching other people’s video content, the hardware capabilities such as the TV’s camera will be automatically invoked after being cast on the TV. If the call tasks such as video calls and voice calls span devices to large screens and other devices, the far-field radio equipment such as speakers connected to the TV is automatically invoked. This helps to improve the user experience.
  • Fig. 12 is another set of GUIs provided by an embodiment of the present application.
  • the smart TV can prompt the user to log in using the account password or scan the QR code to log in.
  • the smart TV can also automatically synchronize family member account information and display it in the account list.
  • the information of family members Laura, Sam, and Lily may be displayed on the smart TV.
  • the smart TV needs to authenticate the user.
  • the smart TV can turn on the camera to collect the user's facial information and verify the user's facial information.
  • the smart TV can display a GUI as shown in (b) in FIG. 12.
  • the smart TV can prompt the user to scan and log in using a QR code. At this time, the smart TV can send a recommendation service to the mobile phone of the user Laura within a preset distance from the smart TV. As shown in (b) in Figure 12, the mobile phone of the user Laura can prompt the user to "Log in with Huawei Smart Screen". When the mobile phone detects that the user clicks the "confirm login” operation, the smart TV can complete the account switch. Thereby switching to Laura's account.
  • the login interface in (b) of FIG. 12 may also include a prompt for account and password login. If the user enters the password of the user's Laura account on the smart TV, the account can be switched on the smart TV; or, the user can also use the mobile phone to scan the QR code on the smart TV and log in to the Laura account; or, The switch can be completed by SMS/security verification code.
  • Fig. 13 is another set of GUIs according to an embodiment of the present application.
  • the mobile phone when the mobile phone receives the recommended service sent by other devices, it can also display the corresponding recommended service icon in the lower right corner.
  • the recommended service icon can also be displayed in other positions in the lower left corner.
  • the user can also drag the icon in the draggable position.
  • the icon can be automatically attached to the lower left corner or the lower right corner.
  • FIG. 14 illustrates a schematic flowchart of a method 1400 for recommending services across devices in an embodiment of the present application. As shown in FIG. 14, the method includes:
  • the first electronic device is executing any a.
  • the first electronic device is a smart TV
  • the task a is a TV payment task.
  • the first electronic device is a smart TV
  • the task a is a TV payment task.
  • the first electronic device is a smart TV
  • the task a is an account login task of a video application.
  • the first electronic device detects whether there is a second electronic device that is more suitable for performing task a within a preset distance.
  • the smart TV detects that there is a mobile phone that is more suitable for performing the payment task within a preset distance.
  • the smart TV detects that there is a mobile phone that is more suitable for performing the payment task within the preset distance.
  • the corresponding relationship between the device type and the task type suitable for execution can be stored in the electronic device.
  • Table 1 shows the correspondence between the physical characteristics of a device and the types of tasks suitable for execution.
  • the first electronic device when the first electronic device detects whether there is a second electronic device that is more suitable for performing task a within the preset distance, it first determines whether task a is suitable for execution by the first electronic device. As shown in Figure 3 (a), when the smart TV is performing a payment task, the smart TV will determine that the task a is not suitable for itself to perform, so the smart TV will look for electronic devices suitable for performing the task a around. First, the first electronic device determines whether there is an electronic device within a preset distance. When the first electronic device determines that there are multiple electronic devices within the preset distance, the first electronic device obtains the device types of the multiple electronic devices and can determine which devices are suitable for performing task a according to Table 1. For example, if a smart TV finds that electronic devices within a preset distance include mobile phones, speakers, and tablets, the smart TV will determine the mobile phones and tablets as electronic devices suitable for performing payment tasks.
  • Table 1 is only illustrative, and the embodiments of the present application do not limit this in any way.
  • some devices may be suitable for performing the same type of tasks, for example, mobile phones, tablets, and watches are all suitable for payment operations.
  • the electronic device can also store the relationship with the priority of the payment operation, for example, the priority of mobile phone payment is higher than the priority of watch payment, and the priority of watch payment is higher than the priority of tablet payment.
  • large-screen devices, speakers, and tablets are all suitable for playing audio, and the relationship of audio playback priority can be stored in the electronic device. For example, the priority of playing audio on a large-screen device is higher than the priority of playing audio on a computer, and the priority of playing audio on a computer is higher than that of speakers playing audio.
  • different types of recommended services can carry different information.
  • Table 2 shows the correspondence between a recommended service and the carried information.
  • the service content carried in the recommended service may be the information of the product name and the amount of the product; in the account login scenario, the service content carried in the recommended service may be the information of the logged-in application; in the remote control In a control scenario, the service content carried in the recommendation service may be control information (for example, control information displayed on a smart TV).
  • the smart TV may carry information on the task type (payment task) of task a, product name, and product amount information in the recommendation service sent to the mobile phone.
  • the mobile phone After the mobile phone receives the corresponding recommended service, it can perform the corresponding display, and the process of performing the display by the mobile phone can be in the following method 1700.
  • the first electronic device if the first electronic device detects that there is a second electronic device that is more suitable to perform task a within the preset distance, the first electronic device continues to determine whether the second electronic device is a portable device. If the second electronic device is a portable device, the first electronic device sends the recommended service to the second electronic device, and prompt information corresponding to the recommended service is displayed on the second electronic device.
  • the portable device may be a mobile phone, a smart watch, and so on.
  • the first electronic device may return to S1401.
  • the first electronic device after the first electronic device detects that there is a second electronic device that is more suitable for performing task a, if the second electronic device is more suitable for performing task a and the second electronic device is a portable device, then the first The electronic device can send a recommendation service to the portable device, so that the user can perform task a on the portable device. This can facilitate user operations and improve user experience.
  • the smart TV determines that the mobile phone and the tablet computer are electronic devices suitable for performing payment tasks, it can continue to determine whether they are portable devices. Eventually, smart TVs can determine the mobile phone as an electronic device for cross-device recommendation services.
  • the first electronic device may not determine whether task a is a portable device, but may determine whether the second electronic device is a large-screen device. For example, when a user is using a mobile phone to browse large images, the mobile phone can determine whether there is an electronic device that is more suitable for performing the task of browsing large images within a preset distance. If the mobile phone determines that there is a large-screen device (for example, a smart TV) within the preset distance, the mobile phone may send a recommendation service to the large-screen device. So you can browse the big picture on the big screen device.
  • a large-screen device for example, a smart TV
  • a recommendation service is performed on the appropriate device to guide Users can better handle tasks through their portable/surrounding devices, which helps to improve user experience.
  • FIG. 15 illustrates a schematic flowchart of a method 1500 for recommending services across devices in an embodiment of the present application. As shown in FIG. 15, the method 1500 includes:
  • S1501 The first electronic device is performing task b.
  • the first electronic device is a smart TV
  • the task b is a TV payment task.
  • the first electronic device is a smart TV
  • the task b is a TV payment task.
  • S1502 The first electronic device determines whether task b is a private task.
  • the electronic device may store a corresponding relationship between the task type and whether it is a private task.
  • Table 3 is a type of task, whether it is a private task and whether it is dependent on the account to select the corresponding relationship of the surrounding electronic devices when recommending across devices.
  • the private tasks in the embodiments of the present application may be selected by the user.
  • the user may set the tasks corresponding to certain applications as private tasks through the display interface of the electronic device;
  • the type of private task for example, payment, authentication or unlocking
  • the smart TV when the smart TV detects that the user clicks on the payment operation, it may first determine that the payment task is a private task. At the same time, the smart TV can also determine that the payment task can rely on the account to select other electronic devices around for cross-device recommendation.
  • the first electronic device recognizes the second electronic device according to one or more of the following conditions:
  • the distance between the second electronic device and the first electronic device is less than or equal to the preset distance
  • the second electronic device is the same account as the first electronic device, or an account within the same family group, or the device where the authorized associated account is located;
  • the second electronic device is available and connected to the network
  • Both the second electronic device and the first electronic device have turned on Bluetooth or connected to the same Wi-Fi router, etc.
  • the smart TV when the smart TV is performing a payment operation, the smart TV may first determine according to Table 3 that the payment operation is an operation that can rely on the account to select surrounding electronic devices for recommending services. Then the smart TV can first determine the electronic devices within the preset distance from the smart TV. For example, a smart TV may first determine that device 1, device 2, and device 3 are included within a preset distance.
  • the manner in which the first electronic device determines the electronic device within the preset distance is not specifically limited.
  • the first electronic device may determine the distance between the surrounding device and itself according to the signal quality or signal strength of the signal sent by the surrounding device to the first electronic device; or, the first electronic device may also determine the surroundings by means of ultrasonic ranging The distance of the device from itself. Then the first electronic device can filter out the electronic devices within the preset distance range.
  • the first electronic device After the first electronic device determines device 1, device 2, and device 3 according to the preset distance, it can continue to determine the association relationship between the accounts logged in by device 1, device 2 and device 3 and the accounts logged in on the first electronic device. If the account logged in on device 1 is the same as the account logged in on the first electronic device, then device 1 meets the condition (2); or, if the account logged in on device 1 and the account logged in on the first electronic device are in the same family group If the account in the device 1 meets the condition (2); or, if the account logged in on the device 1 is an account authorized by the account logged in on the first electronic device, then the device 1 meets the condition (2). If the account logged in on the device 2 and the device 3 is not related to the account logged in on the first electronic device, then the device 2 and the device 3 do not meet the condition (2).
  • the first electronic device can continue to inquire about the device name and device type of device 1, device 2, and device 3. information.
  • the first electronic device may be an electronic device that has logged in the first account, and the first electronic device may also store information of other accounts associated with the first account. For example, the first electronic device stores information of other accounts located in the same family group as the first account and the device names of the electronic devices associated with these accounts. Then, after obtaining the device names of device 1, device 2, and device 3, the first electronic device can determine whether device 1, device 2, and device 3 are electronic devices under the first account or an account associated with the first account. Therefore, the first electronic device can determine whether the device 1, the device 2 and the device 3 meet the condition (2) through the device name.
  • the first electronic device can continue to determine that the device 1 is available and connected to the network, and both the device 1 and the first electronic device have turned on Bluetooth or connected to the same Wi-Fi router, then the first electronic device can finally The device 1 is determined to be an electronic device that can perform a cross-device recommendation service.
  • condition (3) if other devices around the first electronic device are in a shutdown or other non-working state, then the first electronic device will not get information from the surrounding devices when sending information to the surrounding devices. answer.
  • condition (4) the first electronic device can send a Bluetooth BLE data packet to the surrounding devices, and if it gets a response from the surrounding devices, it can be determined that the surrounding devices have also turned on Bluetooth; or, the first electronic device can learn that the Wi-Fi router is connected Information of other connected electronic devices, then the first electronic device can determine whether the first electronic device and the second electronic device are connected to the same Wi-Fi router.
  • the car can be considered to be connected to the Pad and the user's account (such as Huawei account 1) is connected to the Pad. After the car is parked in a certain location, the mobile phone with Huawei account 1 can save the parking location information of the car.
  • the mobile phone can determine the relationship between the user's current location and the parking location of the car. When the user's mobile phone is close to the car, the mobile phone can send a message to the Pad connected to the car, which can indicate that the user's mobile phone is within a preset range from the car. Then, after the car receives the information sent by the mobile phone, it can send the recommended service to the mobile phone, thereby displaying the corresponding prompt information on the mobile phone.
  • electronic devices of other users in the user’s family group for example, a mobile phone with Huawei account 2 logged in, and Huawei account 1 and Huawei account 2 are associated accounts in the same family group
  • electronic equipment of the previous account for example, the mobile phone with the Huawei account 3, and the Huawei account 3 is authorized by the Huawei account 1 can save the parking location information of the car, then when these electronic devices with the associated Huawei account are close to After the car, the recommended service can be completed according to the above-mentioned realization process.
  • the first electronic device may identify the second electronic device within the preset distance without relying on the account.
  • the first electronic device recognizes the second electronic device according to one or more of the following conditions:
  • the distance between the second electronic device and the first electronic device is less than or equal to the preset distance
  • the second electronic device is available and connected to the network
  • Both the second electronic device and the first electronic device have turned on Bluetooth or connected to the same Wi-Fi router.
  • the smart TV may first determine according to Table 2 that the remote control operation is not an operation that can rely on the account to select surrounding electronic devices to perform recommended services. Then the smart TV can first determine the electronic devices within the preset distance from the smart TV. For example, a smart TV may first determine that device 1, device 2, and device 3 are included within a preset distance.
  • the first electronic device After the first electronic device has determined device 1, device 2, and device 3 according to the preset distance, it only needs to continue to determine whether device 1, device 2, and device 3 are available and connected to the network, and device 1, device 2, and device 3 and Whether the first electronic devices have all turned on Bluetooth or are connected to the same Wi-Fi router. Thus, it is finally determined that device 1 (such as a mobile phone with Lee's Huawei account) and device 2 (such as a tablet with Laura's Huawei account) are devices that can send recommended services.
  • device 1 such as a mobile phone with Lee's Huawei account
  • device 2 such as a tablet with Laura's Huawei account
  • S1505 The first electronic device initiates a service recommendation to the second electronic device.
  • an electronic device that is performing a private task recognizes that there is an electronic device around it that is more suitable for performing the task and the accounts logged in to the two electronic devices are associated, a recommendation service is performed on the appropriate device, and guidance Users can better handle tasks through their portable/surrounding devices, which helps to improve user experience and also helps protect users’ privacy.
  • FIG. 16 illustrates a schematic flowchart of a method 1600 for recommending services across devices in an embodiment of the present application. As shown in FIG. 16, the method 1600 includes:
  • S1601 The first electronic device is performing task a.
  • the first electronic device is a smart TV
  • task a is a remote control control task.
  • the first electronic device is a smart TV
  • task a is a task of sending a barrage.
  • the first electronic device detects whether there is an electronic device more suitable for performing task a within a preset distance.
  • the first electronic device determines that there are multiple electronic devices suitable for performing task a within the preset distance, it displays the information of the multiple electronic devices to the user.
  • electronic devices suitable for performing payment tasks within a certain preset distance of a smart TV include Lee's P30, Laura's Mate30, and Laura's HWWatch.
  • the first electronic device determines whether the user designates and selects a certain device to perform task a on the first electronic device.
  • S1605 If the first electronic device determines that the user selects the second electronic device to perform task a, the first electronic device initiates a recommended service to the second electronic device, and the second electronic device may present prompt information of the recommended service through the display screen.
  • the smart TV when the smart TV determines that the user selects Laura’s Mate30 to perform the payment task, the smart TV can send a recommendation service to Laura’s Mate30, so that it is displayed on the display of Laura’s Mate30 A payment prompt message (for example, icon 301) will appear.
  • a payment prompt message for example, icon 301
  • the first electronic device may recommend services to the multiple electronic devices, and the multiple electronic devices may display related recommended services Prompt information.
  • the three mobile phones shown in (a), (b) and (c) in FIG. 3 may all be mobile phones around the smart TV. These three mobile phones can all receive the recommended service sent by the smart TV, so that the payment prompt information is displayed on the lower left corner of the three mobile phones.
  • the smart TV can send a recommendation service to Lee's mobile phone and Laura's tablet computer.
  • the remote control icon can appear in the lower left corner of Lee's mobile phone and Laura's tablet.
  • Table 4 shows the correspondence between task types and suitability for simultaneous processing by multiple devices.
  • Task type Is it suitable for simultaneous processing of multiple electronic devices Pay N Authentication N Unlock N Remote control Y Send barrage Y Switch IoT devices Y Processing notice Y ... ...
  • electronic devices suitable for performing remote control operations on a smart TV within a determined preset range include Lee's mobile phone and Laura's tablet computer. Since remote control operations are suitable for simultaneous processing by multiple electronic devices, smart TVs can send recommendation services to both Lee's mobile phone and Laura's tablet. As a result, the remote control icon can appear on Lee's mobile phone, and the remote control icon can also appear on Laura's tablet.
  • the electronic devices suitable for performing the barrage sending operation of the smart TV within the determined preset range include Lee's mobile phone and Laura's tablet computer. Since the barrage sending operation is suitable for multiple electronic devices to process at the same time, the smart TV can send recommendation services to both Lee's mobile phone and Laura's tablet. As a result, a notification icon for sending a bullet screen can appear on Lee's mobile phone, and a notification icon for sending a bullet screen can also appear on Laura's tablet.
  • the three mobile phones shown in (a), (b) and (c) in FIG. 3 may all be mobile phones around the smart TV. These three mobile phones can all receive the recommended service sent by the smart TV, so that the payment prompt information is displayed on the lower left corner of the three mobile phones. As shown in Table 3, the payment operation is not suitable for multiple electronic devices to handle the task type at the same time. Then if the user clicks on the icon 301 on the mobile phone shown in Figure 3 (a), he can send to (b) in Figure 3 ) And the information sent by the mobile phone shown in (c) in FIG. 3 indicates that the icon 301 has been clicked on its device. The mobile phone shown in Fig. 3(b) and Fig. 3(c) can hide the icon in the lower left corner.
  • the user can also designate a certain device on the original device to process the task, or multiple devices can process the task collaboratively, so that it is convenient for multiple users around to perform a certain task at the same time, which improves multiple users.
  • a certain device on the original device to process the task
  • multiple devices can process the task collaboratively, so that it is convenient for multiple users around to perform a certain task at the same time, which improves multiple users.
  • FIG. 17 illustrates a schematic flowchart of a method 1700 for recommending services across devices in an embodiment of the present application. As shown in FIG. 17, the method 1700 includes:
  • the second electronic device receives the recommended service regarding task a sent by the first electronic device.
  • the mobile phone receives the recommended service sent by the smart TV.
  • S1702 The second electronic device determines whether the screen is in the off-screen state or the screen-locked state.
  • the mobile phone is in the off-screen state.
  • the icon 301 can be displayed in the lower left corner.
  • the mobile phone is in a state of on-screen and locked-screen. After the mobile phone receives the recommended service, it can display a reminder icon in the lower left corner.
  • the prompt message may be displayed all the time.
  • S1705 If the second electronic device is performing an operation related to task a, or the second electronic device has established a connection relationship with the first electronic device before receiving the recommended service, the second electronic device can automatically pop up Semi-modal card for service recommendation.
  • part of the information in the service content shown in Table 2 can be displayed in the semi-modal card.
  • a semi-modal card can display product information, payment amount, and payment controls; for another example, in a scenario where a bullet screen is sent, a semi-modal card can display a bullet screen input box and keyboard Information; for another example, in the remote control scenario, the corresponding control information on the smart TV can be displayed in the half-modal card.
  • the smart TV sends a recommendation service to surrounding mobile phones that meet the conditions
  • the mobile phone determines that it is running a payment application, it can directly prompt the user with the payment information through a semi-modal card.
  • the smart phone is controlling the smart TV through the remote control function, and a connection relationship has been established between the smart phone and the smart TV at this time.
  • the smart phone selects the "5 yuan to buy this film" operation on the smart TV
  • the smart TV determines that payment is required at this time.
  • the smart TV sends the recommendation service corresponding to the payment task to the smart phone. Since the smart phone and the smart TV have established a connection relationship before, the semi-modal card can be directly displayed on the smart phone.
  • the product name, payment amount, and payment control can be displayed on the semi-modal card.
  • the smart phone is controlling the smart TV through the remote control function, and a connection relationship has been established between the smart phone and the smart TV at this time.
  • the smart phone clicks the play video control on the smart TV the smart TV can play the video.
  • the smart TV can send a barrage recommendation service to the smart phone.
  • the smart phone receives the recommended service it can directly pop up the barrage input box shown in Figure 9 through the display screen.
  • the input box contains keyboard.
  • the prompt message may appear for N seconds. If the second electronic device does not detect the user's operation of clicking the prompt information after N seconds, the second electronic device can hide the prompt information.
  • the distributed AA capability can be used to process task a on any suitable device.
  • an application installed on a certain device can be stored on the cloud server through an account, and the AA of the application stored in the cloud can be called on other devices that do not have the application installed. ability.
  • the smart TV when the smart TV is performing a payment task, the smart TV may send a recommendation service to surrounding devices that are more suitable for performing the payment task. If the electronic device within the preset distance includes the user's smart watch and the smart watch does not install any application corresponding to the payment operation, the smart watch can obtain the corresponding application from the cloud server based on the distributed AA capability. Thereby completing the payment operation on the smart watch.
  • a smart TV when a smart TV performs a payment task, it determines that the watch in the surrounding devices is a device suitable for performing the payment task, and the smart TV can send a recommendation service about payment to the watch. After receiving the corresponding recommended service, the watch first authenticates the user's identity, for example, by means of face recognition or fingerprint recognition to determine whether it is the user. After it is determined that it is the user, the watch can display the recommended service corresponding to the payment task. When the watch detects that the user clicks on the icon corresponding to the recommended service, the watch determines that the user wants to perform a payment operation but does not have a payment application (for example, Huawei Pay, WeChat or Alipay, etc.).
  • a payment application for example, Huawei Pay, WeChat or Alipay, etc.
  • the watch can send information in the recommended service (for example, the name of the product and the amount of the product corresponding to the payment task) and the information that the user has passed the authentication to the cloud server.
  • the cloud server can send the corresponding product name and product amount to the mobile phone, so that the mobile phone completes the payment operation.
  • the mobile phone can send the payment result to the cloud server, and the cloud server sends the payment result to the watch.
  • the watch can display the final payment result to the user.
  • the watch can be authorized to pay the limit in advance on the mobile phone. After the watch receives the recommended service sent by the smart TV, if it is determined that the amount of the product carried in the recommended service is within the payment limit, the watch can complete the payment for the product.
  • the disclosed system, device, and method can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components may be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium.
  • the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program code .

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Development Economics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Primary Health Care (AREA)
  • Tourism & Hospitality (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

本申请提供了一种推荐服务的方法、电子设备和系统,该方法包括:第一电子设备根据映射关系确定正在执行的第一任务不是第一电子设备的设备类型适合执行的任务时,第一电子设备确定预设距离内的第二电子设备;第一电子设备接收第二电子设备发送的第一信息,第一信息包括第二电子设备的设备标识以及设备类型的信息;第一电子设备根据第二电子设备的设备标识和设备类型,确定该第二电子设备适合执行该第一任务的电子设备;第一电子设备向第二电子设备发送第一任务对应的推荐服务;第二电子设备通过显示屏显示该推荐服务对应的提示信息。本申请实施例,有助于提升用户的操作效率和电子设备的智能化程度,并且有助于提升用户体验。

Description

一种推荐服务的方法、电子设备和系统
本申请要求于2020年4月2日提交中国专利局、申请号为202010255530.6、申请名称为“一种推荐服务的方法、电子设备和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端领域,并且更具体地,涉及一种推荐服务的方法、电子设备和系统。
背景技术
目前终端设备之间在进行跨设备服务推荐时,需要依赖同一账号。例如,苹果的设备之间进行跨设备推荐服务时,需要设备两个设备上登录同一个账号(Apple ID)。并且目前跨设备服务推荐的场景比较局限,包括支付等有限个场景。
由于设备之间需要依赖同一个账号且跨设备推荐服务的场景比较局限,这样会给用户带来操作复杂等问题,导致用户体验不好。
发明内容
本申请提供了一种推荐服务的方法和电子设备,有助于提升用户的操作效率和电子设备的智能化程度,并且有助于提升用户体验。
第一方面,提供了一种系统,该系统包括第一电子设备和第二电子设备,该第一电子设备为登录了第一账号的电子设备,该第一电子设备中保存有复数个设备类型与该复数个设备类型中每一个设备类型适合执行的任务类型的映射关系,该复数个设备类型包括该第一电子设备的设备类型和第二电子设备的设备类型,其中,该第一电子设备,用于在根据该映射关系确定正在执行的第一任务不是该第一电子设备的设备类型适合执行的任务时,该第一电子设备确定预设距离内的该第二电子设备;该第一电子设备,还用于接收该第二电子设备发送的第一信息,该第一信息包括该第二电子设备的设备标识以及设备类型的信息;该第一电子设备,还用于根据该第二电子设备的设备标识,确定该第二电子设备上登录的第二账号与该第一账号相关联,该第一电子设备保存有与该第二账号相关联的电子设备的设备标识的信息,该与该第二账号相关联的电子设备包括该第二电子设备;该第一电子设备,还用于根据该第二电子设备的设备类型和该映射关系确定该第二电子设备为适合执行该第一任务的电子设备;该第一电子设备,还用于向该第二电子设备发送该第一任务对应的推荐服务,该推荐服务包括第一任务对应的任务类型的信息和服务内容;该第二电子设备,用于通过该第二电子设备的显示屏显示该推荐服务的图标,或者,该第二电子设备通过该显示屏显示半模态卡片,该半模态卡片包括该服务内容。
本申请实施例中,第一电子设备可以保存多个设备类型和每个设备类型适合执行的任务类型的映射关系,在第一电子设备确定当前正在执行的任务不是第一电子设备适合执行 的任务类型时,第一电子设备可以确定预设范围内适合执行第一任务的第二电子设备,并向第二电子设备发送第一任务对应的推荐服务。这样用户可以在更适合执行第一任务的第二电子设备上执行第一任务,减少了用户操作的复杂度,从而提升了用户体验。并且,第一电子设备和第二电子设备不需要依赖于同一账号,只要第二电子设备上登录的第二账号与第一电子设备上登录的第一账号相关即可,这样也使得第一电子设备跨设备推荐服务时可以选择进行推荐的设备范围更广,方便第一电子设备及时将第一任务对应的推荐服务推送给合适的设备。
结合第一方面,在第一方面的可能的实现方式中,该第二电子设备,还用于在通过该第二电子设备的显示屏显示该推荐服务的图标,或者,该第二电子设备通过该显示屏显示半模态卡片之前,确定该第一任务的任务类型满足预设条件;该第二电子设备,还用于对正在使用该第二电子设备的用户进行认证;该第二电子设备,还用于确定对用户认证通过。
本申请实施例中,第二电子设备在通过显示屏显示相应的信息之前,可以先判断第一任务是否满足预设条件,如果满足则第二电子设备可以先对用户进行认证,这样避免了某些特殊任务被除用户以外的其他用户执行,提升了电子设备的安全性能。
在一些可能的实现方式中,该第一任务的任务类型满足预设条件包括该第一任务的任务类型属于私人任务,私人任务可以是支付、鉴权、解锁或者处理通知等安全级别要求较高的任务。应理解,电子设备可以预置任务类型与该任务类型是否属于私人任务的映射关系。
结合第一方面,在第一方面的可能的实现方式中,该第一账号和该第二账号为同一家庭群组中的账号;或者,该第二账号为该第一账号授权过的账号。
本申请实施例中,第一电子设备和第二电子设备之间进行推荐服务时,并不要第一电子设备和第二电子设备属于同一账号,这样可以使得第一电子设备进行推荐服务时可以选择的电子设备的范围增大,有助于第一电子设备及时向合适的电子设备推荐服务,减少了推荐服务过程中的时延,提升了用户的体验。
结合第一方面,在第一方面的可能的实现方式中,该第二电子设备,还用于在通过该显示屏显示该图标之前,确定处于熄屏状态或者锁屏状态;或者,确定正在执行与该第一任务不相关的任务。
本申请实施例中,第二电子设备在接收到推荐服务后可以根据自身的状态确定显示屏上呈现方式。在第二电子设备处于熄屏状态、锁屏状态或者执行与第一任务不相关的任务时,第二电子设备可以显示图标,这样可以避免对用户造成干扰。
结合第一方面,在第一方面的可能的实现方式中,该第二电子设备,还用于在通过该显示屏显示半模态卡片之前,确定处于非锁屏状态且该第二电子设备正在执行与该第一任务相关的任务,或者,确定在接收所述推荐服务之前已经和所述第一电子设备建立了连接关系。
本申请实施例中,第二电子设备在接收到推荐服务后可以根据自身的状态确定显示屏上呈现方式。在第二电子设备处于非锁屏状态且该第二电子设备正在执行与该第一任务相关的任务时可以执行显示半模态卡片,这样有助于用户及时对第一任务进行处理,提升了用户对第一任务处理的速度,节省了用户的操作。
第二方面,提供了一种推荐服务的方法,该方法应用于第一电子设备,该第一电子设 备为登录了第一账号的电子设备,该第一电子设备中保存有复数个设备类型与该复数个设备类型中每一个设备类型适合执行的任务类型的映射关系,该复数个设备类型包括该第一电子设备的设备类型和该第二电子设备的设备类型,该方法包括:在该第一电子设备根据该映射关系确定正在执行的第一任务不是该第一电子设备的设备类型适合执行的任务时,该第一电子设备确定预设距离内的该第二电子设备;该第一电子设备接收该第二电子设备发送的第一信息,该第一信息包括该第二电子设备的设备标识以及设备类型的信息;该第一电子设备根据该第二电子设备的设备标识,确定该第二电子设备上登录的第二账号与该第一账号相关联,该第一电子设备保存有与该第二账号相关联的电子设备的设备标识的信息,该与该第二账号相关联的电子设备包括该第二电子设备;该第一电子设备根据该第二电子设备的设备类型和该映射关系确定该第二电子设备为适合执行该第一任务的电子设备;该第一电子设备向该第二电子设备发送该第一任务对应的推荐服务。
本申请实施例中,第一电子设备可以保存多个设备类型和每个设备类型适合执行的任务类型的映射关系,在第一电子设备确定当前正在执行的任务不是第一电子设备适合执行的任务类型时,第一电子设备可以确定预设范围内适合执行第一任务的第二电子设备,并向第二电子设备发送第一任务对应的推荐服务。这样用户可以在更适合执行第一任务的第二电子设备上执行第一任务,减少了用户操作的复杂度,从而提升了用户体验。并且,第一电子设备和第二电子设备不需要依赖于同一账号,只要第二电子设备上登录的第二账号与第一电子设备上登录的第一账号相关即可,这样也使得第一电子设备跨设备推荐服务时可以选择进行推荐的设备范围更广,方便第一电子设备及时将第一任务对应的推荐服务推送给合适的设备。
结合第二方面,在第二方面的可能的实现方式中,该复数个设备类型还包括第三设备的设备类型,该第一电子设备向该第二电子设备发送该第一任务对应的推荐服务之前,该方法还包括:该第一电子设备接收该第三电子设备发送的第二信息,该第二信息包括该第三电子设备的设备标识以及设备类型的信息;该第一电子设备根据该第三电子设备的设备标识,确定该第三电子设备上登录的第三账号与该第一账号相关联,该第一电子设备保存有与该第三账号相关联的电子设备的设备标识的信息,该与该第三账号相关联的电子设备包括该第三电子设备;该第一电子设备根据该第三电子设备的设备类型和该映射关系确定该第三电子设备为适合执行该第一任务的电子设备;该第一电子设备通过显示屏向用户提示该第二电子设备和该第三电子设备的信息;该第一电子设备检测到用户选择该第二电子设备的操作。
本申请实施例中,当第一电子设备周围有多个适合执行第一任务的电子设备时,第一电子设备可以提示用户选择某一个设备去执行第一任务。这样有助于用户及时了解周围的哪些设备适合执行第一任务,从而用户可以准确的选择执行第一任务的设备。
在一些可能的实现方式中,第一电子设备也可以不向用户提示第二电子设备和第三电子设备的信息,而是直接向第二电子设备和第三电子设备发送第一任务对应的推荐服务。或者,第一电子设备也可以向用户提示第二电子设备和第三电子设备的信息;如果预设时长内用户没有选择其中任何一个设备,第一电子设备可以向第二电子设备和第三电子设备都发送第一任务对应的推荐服务。
结合第二方面,在第二方面的可能的实现方式中,该第一账号和该第二账号为同一家 庭群组中的账号;或者,该第二账号为该第一账号授权过的账号。
本申请实施例中,第一电子设备和第二电子设备不需要依赖于同一账号,只要第二电子设备上登录的第二账号与第一电子设备上登录的第一账号相关即可,这样可以使得第一电子设备跨设备推荐服务时可以选择进行推荐的设备范围更广,方便第一电子设备及时将第一任务对应的推荐服务推送给合适的设备。
第三方面,提供了一种推荐服务的方法,其特征在于,该方法应用于第二电子设备,该第二电子设备包括显示屏,该方法包括:该第二电子设备接收预设距离内的第一电子设备发送的推荐服务,该推荐服务包括第一任务对应的任务类型的信息和服务内容,该第一任务为该第一电子设备正在执行的任务;该第二电子设备在确定该第一任务的任务类型满足预设条件时,对正在使用该第二电子设备的用户进行认证;在该第二电子设备对用户认证通过后,该第二电子设备通过该显示屏显示该推荐服务的图标,或者,该第二电子设备通过该显示屏显示半模态卡片,该半模态卡片包括该服务内容。
本申请实施例中,第二电子设备在通过显示屏显示相应的信息之前,可以先判断第一任务是否满足预设条件,如果满足则第二电子设备可以先对用户进行认证,这样避免了某些特殊任务被除用户以外的其他用户执行,提升了电子设备的安全性能。
结合第三方面,在第三方面的可能的实现方式中,该第二电子设备中保存有第一任务的任务类型与该任务类型是否属于私人任务的映射关系,其中,该第二电子设备确定该第一任务的任务类型满足预设条件包括该第二电子设备根据该映射关系确定该第一任务的任务类型属于私人任务。
本申请实施例中,第二电子设备在确定第一任务的任务类型属于私人任务时,可以先对用户进行认证,这样避免了某些特殊任务被除用户以外的其他用户执行,提升了电子设备的安全性能。
例如,第二电子设备处于熄屏状态下接收到某个私人任务的推荐服务后,可以在不亮屏的情况下自动完成对用户的认证(自动开启摄像头采集用户的人脸信息,或者采集用户的指纹信息)。在对用户认证通过后,可以在熄屏状态下显示推荐服务的图标。
在一些可能的实现方式中,私人任务可以是支付、鉴权、解锁或者处理通知等安全级别要求较高的任务。
结合第三方面,在第三方面的可能的实现方式中,该第二电子设备通过该显示屏显示该图标之前,该方法还包括:该第二电子设备确定处于熄屏状态或者锁屏状态;或者,该第二电子设备确定正在执行与该第一任务不相关的任务。
本申请实施例中,第二电子设备在接收到推荐服务后可以根据自身的状态确定显示屏上呈现方式。在第二电子设备处于熄屏状态、锁屏状态或者执行与第一任务不相关的任务时,第二电子设备可以显示图标,这样可以避免对用户造成干扰。
结合第三方面,在第三方面的可能的实现方式中,该第二电子设备通过该显示屏显示半模态卡片之前,该方法包括:该第二电子设备确定处于非锁屏状态且该第二电子设备正在执行与该第一任务相关的任务,或者,确定在接收所述推荐服务之前已经和所述第一电子设备建立了连接关系。
本申请实施例中,第二电子设备在接收到推荐服务后可以根据自身的状态确定显示屏上呈现方式。在第二电子设备处于非锁屏状态且该第二电子设备正在执行与该第一任务相 关的任务时可以执行显示半模态卡片,这样有助于用户及时对第一任务进行处理,提升了用户对第一任务处理的速度,节省了用户的操作。
结合第三方面,在第三方面的可能的实现方式中,该方法还包括:该第二电子设备接收该第一电子设备发送的第三电子设备的信息,该第三电子设备为接收该推荐服务的另一电子设备;若该第一任务不是适合复数个电子设备同时执行的任务,该第二电子设备在检测到用户点击该图标之后,或者,该第二电子设备在检测到用户点击该半模态卡片之后,该第二电子设备向该第三电子设备发送指示信息,该指示信息用于指示该第三电子设备隐藏在该第三电子设备上显示的图标或者半模态卡片。
本申请实施例中,若第二电子设备确定第一任务不是适合多个电子设备同时执行的任务,那么第二电子设备在检测到用户点击图标或者半模态卡片之后,可以向第三电子设备发出指示信息,指示其隐藏图标或者半模态卡片。这样可以避免第一任务被多个设备同时执行。
在一些可能的实现方式中,该第二电子设备中保存有多个任务类型与多个任务类型中每个任务类型是否适合被多个设备同时执行的映射关系。
结合第三方面,在第三方面的可能的实现方式中,该第一任务为支付任务且该第二电子设备中没有支付应用,该服务内容包括该支付任务中的商品名称以及商品金额的信息,该方法还包括:该第二电子设备在检测到用户点击该图标之后,或者,该第二电子设备在检测到用户点击该半模态卡片之后,该第二电子设备通过该显示屏显示该商品名称、商品金额以及支付控件;该第二电子设备检测到用户点击支付控件的第二操作;响应于该第二操作,该第二电子设备向第四电子设备发送该商品名称以及商品金额的信息,该第二电子设备和该第四电子设备上登录了相同的账号;该第二电子设备接收该第四电子设备发送的支付结果。
本申请实施例中,如果用于没有在第二电子设备上安装执行第一任务的应用,第二电子设备也可以基于分布式的AA能力,实现在合适的设备上执行第一任务。对于上述支付场景,没有安装支付应用的第二电子设备可以将支付的信息发送给与第二电子设备登录了相同账号且安装了支付应用的第四电子设备,由第四电子设备代替第二电子设备完成支付任务。
第四方面,本技术方案提供了一种推荐服务的装置,该装置包含在电子设备中,该装置具有实现上述第二方面及上述第二方面的可能实现方式中第一电子设备行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。
第五方面,本技术方案提供了一种推荐服务的装置,该装置包含在电子设备中,该装置具有实现上述第三方面及上述第三方面的可能实现方式中第二电子设备行为的功能。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。
第六方面,提供了一种电子设备,包括一个或多个处理器和一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得电子设备执行上述第二方面任一项可能的实现中的推荐服务的方法。
第七方面,提供了一种电子设备,包括一个或多个处理器和一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得电子设备执行上述第三方面任一项可能的实现中的推荐服务的方法。
第八方面,本技术方案提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述第二方面、第三方面及其任一项可能的实现中的推荐服务方法。
第九方面,本技术方案提供了一种计算机程序产品,当计算机程序产品在电子设备上运行时,使得电子设备执行上述第二方面、第三方面及其任一项可能的实现中的推荐服务方法。
附图说明
图1是本申请实施例提供的电子设备的结构示意图。
图2是本申请实施例提供的电子设备的软件结构框图。
图3是本申请实施例提供的一组GUI。
图4是本申请实施例提供的另一组GUI。
图5是本申请实施例提供的另一组GUI。
图6是本申请实施例提供的另一组GUI。
图7是本申请实施例提供的另一组GUI。
图8是本申请实施例提供的另一组GUI。
图9是本申请实施例提供的另一组GUI。
图10是本申请实施例提供的另一组GUI。
图11是本申请实施例提供的另一组GUI。
图12是本申请实施例提供的另一组GUI。
图13是本申请实施例提供的另一组GUI。
图14是本申请实施例提供的推荐服务的方法的示意性流程图。
图15是本申请实施例提供的推荐服务的方法的示意性流程图。
图16是本申请实施例提供的推荐服务的方法的示意性流程图。
图17是本申请实施例提供的推荐服务的方法的示意性流程图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“复数个”或者“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多 个”的含义是两个或两个以上。
本申请实施例提供的方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等电子设备上,本申请实施例对电子设备的具体类型不作任何限制。
示例性的,图1示出了电子设备100的结构示意图。电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总 线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,外 部存储器,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以 包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存 储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控面板”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以 确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图2是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。
如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管 理器,资源管理器,通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
图3是本申请实施例提供的一组用户图形界面(graphical user interface,GUI)。
如图3中的(a)所示,当用户希望观看某个付费电影或者电视剧时,智能电视上提示用户“购买后观看完整版”,此时距离智能电视预设距离内的手机上可以在熄屏状态下显示图标301。当手机检测到用户点击图标301的操作后,手机可以显示智能电视上的支付信息,其中支付信息中包括商品名称“超级影视VIP包月”以及支付金额“20元”。手机上还可以为用户提供多种支付方式,如图3中的(a)所示,支付方式包括“华为Pay 支付”,“支付宝支付”以及“微信支付”。当手机检测到用户使用任意一种支付方式进行支付后,智能电视上可以播放付费电影或者付费电视剧。
一个实施例中,当手机检测到用户点击图标301的操作后,手机可以启动摄像头进行人脸识别或者手机可以先对用户的指纹进行识别。若手机对用户的人脸识别通过或者手机对用户的指纹识别通过后,手机可以显示智能电视上的支付信息。
如图3中的(b)所示的GUI,当智能电视上提示用户“购买后观看完整版”后,此时距离智能电视预设距离内的手机在非锁屏状态下,手机的桌面上可以自动图标301。当手机检测到用户点击图标301的操作后,可以显示右边所示的支付界面。
如图3中的(c)所示,当智能电视上提示用户“购买后观看完整版”后,此时距离智能电视预设距离内的手机在非锁屏状态下,手机的桌面上可以自动图标301。但是当手机在预设时长结束后未检测到用户点击图标301的操作后,该图标301可以自动消失。
应理解,上述图3中的(a)中智能电视上登录的用户账号可以是账号A,图(a),(b)和(c)中的手机也可以是登录账号A的手机;或者,图(a),(b)和(c)中的手机也可以是登录其他账号的手机,例如,账号B。而账号B可以是与账号A位于同一家庭群组中;或者,账号B是经过账号A授权的账号。
图4是本申请实施例提供的另一组GUI。
如图4中的(a)所示,当用户希望观看某个付费电影时,智能电视上提示用户选择“购买后观看”从而观看完整电影。此时距离智能电视预设距离内的手机正在遥控操作智能电视。当手机检测到用户点击控件401的操作后,可以显示如图4中的(b)所示的GUI。
如图4中的(b)所示,手机上可以直接弹出付费电影的支付界面。用户可以通过华为Pay支付,支付宝支付或者微信支付中的任意一种支付方式完成支付,从而在智能电视上观看完整的电影。
与上述图3中的(a),(b)或者(c)相比,图4中的(a)中手机正在操控智能电视,所以如果此时智能电视检测到用户通过手机选择进行支付,则智能电视可以直接将支付信息发送给操控自己的手机。手机可以直接显示支付界面,无需弹出支付提醒图标(例如,上述图标301)。
图5是本申请实施例提供的另一组GUI。
如图5中的(a)所示,当用户希望观看某个付费电影时,智能电视上提示用户选择“购买后观看”从而观看完整电影。此时距离智能电视预设距离内的电子设备可能包含多个,例如,包括Lee的手机,Laura的手机以及Laura的智能手表。当智能电视检测到用户点击“5元购买本片”后可以显示如图5中的(b)所示的GUI。
参见图5中的(b)所示,智能电视上可以提示用户“请选择支付方式”。其中的支付方式包括扫码支付和使用周围设备支付两种方式。对于使用周围设备支付的方式,智能电视可以向用户展示周围设备的信息,例如,“Lee的P30”,“Laura的Mate30”以及“Laura的HW Watch”。当智能电视检测到点击“Laura的Mate30”后,智能电视可以向Laura的Mate30发送支付信息。用户可以通过Laura的Mate30完成对电影的支付。
图6是本申请实施例提供的另一组GUI。
如图6中的(a)所示,当用户携带手机靠近汽车,汽车可以向手机发送推荐服务。若手机此时处于熄屏状态,手机的左下角可以显示汽车钥匙的图标。当手机检测到用户点 击汽车钥匙图标的操作后,手机可以通过显示屏提示用户“检测到靠近汽车,请选择需要的功能”。用户可以选择的功能包括车门解锁,发动汽车以及打开后备箱等功能。
如图6中的(b)所示,若手机此时处于非锁屏状态,手机可以在左下角显示汽车钥匙的图标。当手机检测到用户点击汽车钥匙图标的操作后,手机可以提示用户“检测到靠近汽车,请选择需要的功能”。
本申请实施例中,当电子设备靠近汽车后,汽车可以向手机发送推荐服务。这样可以避免用户寻找车钥匙并通过车钥匙执行相应功能的繁琐操作,提升了用户的体验。
图7是本申请实施例提供的另一组GUI。
参见图7中的(a)所示,用户需要在智能电视上登录某个视频应用(application,App)时,智能电视上可以显示该视频应用的登录界面。该登录界面包括两种方式,使用手机App扫码登录以及输入账号密码登录。此时智能电时如果检测到预设距离内存在其他更适合进行登录的手机,那么智能电视可以向手机发送推荐服务。处于熄屏状态下的手机可以在左下角自动弹出登录图标。当手机检测到用户点击登陆图标的操作后,手机上可以显示“帮TV登录,为您推荐”。用户可以选择使用华为ID登录。
参见图7中的(a)所示,当距离智能电视预设距离内的手机处于非锁屏状态时,手机可以在接收到智能电视发送的推荐服务后,在手机左下角显示登录图标。当手机检测到用户点击登录图标时,可以通过显示屏显示登录界面。
一个实施例中,用户可以在视频应用中对华为ID进行授权,也可以理解为华为ID和视频ID进行了绑定。那么如果手机检测到用户点击使用华为ID登录的控件,则手机可以云端服务器向智能电视发送与该华为ID相关联的视频应用的账号登陆的信息,从而在智能电视上完成视频应用账号登录的信息。
另一个实施例中,如果视频应用中未对华为ID进行授权。那么手机上可以直接提示用户使用手机上该视频应用的账号登录信息进行登录。
图8是本申请实施例提供的另一组GUI。
如图8所示,用户Lee正在智能电视上进行换台操作时,智能电视可以向预设距离内Lee的其他电子设备发送推荐服务。示例性的,Lee的手机此时处于熄屏状态,在手机接收到智能电视发送的推荐服务后,手机可以在熄屏界面的左下角显示遥控器图标。当手机检测到用户点击该遥控器图标后,可以在手机上显示智能电视上的换台界面。此时用户可以通过遥控器操作智能电视换台。
与此同时,若距离智能电视预设距离内还有其他电子设备,如Laura的平板电脑。则智能电视还可以向平板电脑发送推荐服务,平板电脑可以在左下角弹出遥控器图标。当平板电脑检测到用户点击遥控器图标的操作后,可以在平板电脑上显示智能电视上的换台界面。用户可以通过平板电脑操作智能电视进行换台。
一个实施例中,Lee的账号和Laura的账号为同一家庭群组内的两个账号。
一个实施例中,Laura的账号为Lee的账号授权的账号。
本申请实施例中,对于某些场景如智能电视的换台场景或者其他功能切换场景,智能电视可以向周围的多个符合条件的设备发送服务推荐。这样观看电视的多个用户可以同时操控智能电视,提升了用户观看智能电视时的用户体验。
图9是本申请实施例提供的另一组GUI。
如图9所示,智能电视(该智能电视为登录了Lee的账号的智能电视)正在播放某个视频。智能电视可以向预设距离内Lee的其他电子设备发送服务推荐。示例性的,Lee的手机此时处于熄屏状态,在手机接收到智能电视的推荐服务后,手机可以在熄屏界面的左下角显示发送弹幕图标。当手机检测到用户点击发送弹幕提醒图标后,可以显示编辑弹幕的显示界面。示例性的,当手机检测到用户输入了“他武术表演的很好呀!”并点击了发送后,手机可以向智能电视发送该弹幕信息。智能电视上可以显示该弹幕。
与此同时,若距离智能电视预设距离内还有其他电子设备,如Laura的平板电脑。则智能电视还可以向平板电脑发送推荐服务,平板电脑可以在左下角弹出发送弹幕图标。当平板电脑检测到用户点击发送弹幕图标的操作后,可以在平板电脑上显示编辑弹幕的显示界面。示例性的,当平板电脑检测到用户输入了“66666”并点击了发送的操作后,手机可以向智能电视发送该弹幕信息。智能电视上可以显示该弹幕。
本申请实施例中,对于某些场景如发送弹幕场景,智能电视可以向周围的多个符合条件的设备发送服务推荐。这样观看电视的多个用户可以同时发送弹幕,这样有助于提升了用户观看智能电视时的用户体验。
一个实施例中,智能电视还可以向Lee的手机和Laura的平板电脑发送其他推荐服务信息。这些推荐服务可以包括遥控器控制对应的推荐服务以及发送弹幕的推荐服务。当Lee的手机检测到用户点击对应的图标后,可以显示多个功能选项,如遥控器控制和发送弹幕。当Lee的手机检测到用户选择其中某一个功能后可以显示对应的显示界面。
图10是本申请实施例提供的另一组GUI。
如图10中的(a)所示,智能电视(该智能电视为登录了Lee的账号的智能电视)正在播放某个视频时,用户Lily发出了TV视频通话。智能电视可以向预设距离内电子设备发送TV视频通话的服务推荐。示例性的,预设距离内的手机此时处于熄屏状态,在手机接收到智能电视的推荐服务后,手机可以在熄屏界面的左下角显示发送提醒图标。当手机检测到用户点击提醒图标后,可以显示TV视频通话的显示界面。示例性的,用户可以通过手机挂断或者接听该TV视频通话;或者,用户也可以使用手机选择TV上接听,此时用户可以通过智能电视与用户Lily进行视频通话。
如图10中的(b)所示,若用户的手机处于锁屏且亮屏状态,那么手机在接收到智能电视发送的推荐服务后,可以在显示屏的左下角弹出提醒图标。当手机检测到用户点击该提醒图标后,手机可以显示TV视频通话的显示界面。
本申请实施例中,若电子设备正在执行某个任务时需要执行另一个任务,为了不影响正在执行的任务,电子设备可以将新来的任务推送给其他电子设备执行。这样可以不影响多个任务同时执行,有助于提升用户的体验。
图11是本申请实施例提供的另一组GUI。
如图11所示,用户在正使用手机观看某个武术视频。此时在视屏观看界面的左下角可以自动弹出大屏推送提醒图标。当手机检测到用户点击大屏推送提醒图标后,手机可以向预设距离内的智能大屏设备(如智能电视)发送该推荐服务。手机上正在播放的武术视频可以投影到智能电视上。
与此同时,智能电视在接收到该推荐服务后,可以自动开启智能电视的摄像头。那么用户通过智能电视观看视频的同时,也可以在智能电视的左上角观察到自己的练习画面。
一个实施例中,若此时智能电视与智能音箱连接,那么智能电视在观看武术视频时,可以通过智能音箱播放该武术视频的声音。
本申请实施例中,不仅通过推荐服务将手机上的内容跨设备到大屏,而且结合对端设备大屏的物理特性,提供一些增值的能力。例如,若瑜伽、教育类、视频通话等需多方互动或看自己看它人的视频内容,投到TV后自动调用TV的摄像头等硬件能力。若视频通话、语音通话等通话类任务跨设备到大屏等设备时,自动调用连接到TV的音箱等远场收音设备。这样有助于提升用户的体验。
图12是本申请实施例提供的另一组GUI。
当用户在智能电视上第一次登录账号时,智能电视可以提示用户使用账号密码进行登录或者扫描二维码的方式进行登录。如图12中的(a),当智能电视上登录了用户Lee的账号时,智能电视上还可以自动同步家庭成员账号信息在账号列表中显示。示例性的,智能电视上可以显示家庭成员Laura,Sam以及Lily的信息(例如,用户头像,用户名等信息)。
当用户希望智能电视上登录的账号从Lee切换到Laura时,用户可以点击Laura的账号头像。此时智能电视需要对用户进行身份认证。示例性的,智能电视可以开启摄像头采集用户的人脸信息并对用户的人脸信息进行验证。当人脸认证通过后,智能电视可以显示如图12中的(b)所示的GUI。
如图12中的(b)所示,智能电视上可以提示用户使用二维码扫描登录。此时智能电视可以向距离智能电视预设距离内用户Laura的手机发送推荐服务。如图12中的(b),用户Laura的手机可以提示用户“华为智慧屏登录”。当手机检测到用户点击“确认登录”的操作后,智能电视可以完成账号切换。从而切换到Laura的账号。
一个实施例中,图12中的(b)中的登录界面中还可以包括账号密码登录的提示。如果用户在智能电视上输入了用户Laura账号的密码即可以在智能电视上完成账号的切换;或者,用户还可以使用手机对智能电视上的二维码进行扫描后登录Laura的账号;或者,还可以通过短信/安全验证码的方式完成切换。
图13是本申请实施例的另一组GUI。
如图13中的(a)所示,当手机接收到其他设备发送的推荐服务后,还可以在右下角显示对应的推荐服务图标。
如图13中的(b)所示,推荐服务图标还可以显示在左下角的其他位置。
如图13中的(c)所示,当手机接收到其他设备发送的推荐服务后,用户还可以在可拖动位置对该图标进行拖拽。当手机检测到用户将图标拖拽到可拖动位置的其他区域并离手后,该图标可以自动吸附到左下角或者右下角。
以上结合图3至图13介绍了本申请实施例的几组GUI。下面结合图附图介绍本申请实施例中跨设备推荐服务的方法。
图14介绍了本申请实施例中跨设备推荐服务的方法1400的示意性流程图,如图14所示,该方法包括:
S1401,第一电子设备正在执行任a。
示例性的,如图3中的(a)所示,该第一电子设备为智能电视,该任务a为TV支付任务。
示例性的,如图4中的(a)所示,该第一电子设备为智能电视,该任务a为TV支付任务。
示例性的,如图7中的(a)所示,该第一电子设备为智能电视,该任务a为视频应用的账号登录任务。
S1402,第一电子设备检测到预设距离内是否有更适合执行任务a的第二电子设备。
示例性的,如图3中的(a)所示,智能电视检测到预设距离内有更适合执行支付任务的手机。
示例性的,如图4中的(b)所示,智能电视检测到预设距离内有更适合执行支付任务的手机。
示例性的,如图7中的(a)所示,智能检测到预设距离内有更适合执行账号登录任务的手机。
一个实施例中,电子设备内部可以保存设备类型与适合执行的任务类型的对应关系。
示例性的,表1为一种设备物理特性和适合执行的任务类型的对应关系。
表1
Figure PCTCN2021082394-appb-000001
示例性的,第一电子设备检测到预设距离内是否有更适合执行任务a的第二电子设备时,首先判断任务a是否适合第一电子设备执行。如图3中的(a),当智能电视正在执行支付任务时,智能电视会判断该任务a不适合自己执行,这样智能电视再去寻找周围是否有适合执行任务a的电子设备。首先,第一电子设备判断在预设距离内是否存在电子设备。当第一电子设备确定预设距离内有多个电子设备时,第一电子设备再获取多个电子设备的设备类型后可以根据表1所示来确定哪些设备适合执行任务a。例如,智能电视发现 预设距离内的电子设备包括手机,音箱和平板电脑,那么智能电视会将手机和平板电脑确定为适合执行支付任务的电子设备。
应理解,表1仅仅是示意性的,本申请实施例对此并不作任何限定。
还应理解,对于某些设备而言,可能会适合执行相同类型的任务,例如,手机,平板和手表都适合进行支付操作。则电子设备中还可以保存对于支付操作优先级的关系,例如手机支付的优先级高于手表支付的优先级,手表支付的优先级高于平板支付的优先级。又例如,大屏设备,音箱和平板都适合播放音频,可以电子设备中保存音频播放优先级的关系。例如,大屏设备播放音频的优先级高于电脑播放音频的优先级,电脑播放音频的优先级高于音箱播放音频的优先级。
S1403,若第一电子设备检测到预设距离内有更适合执行任务a的第二电子设备,第一电子设备向第二电子设备发送对应的推荐服务,第二电子设备显示对应的推荐服务的提示信息。
本申请实施例中,对于不同类型的推荐服务可以携带不同的信息。
示例性的,表2示出了一种推荐服务与携带信息的对应关系。
表2
推荐服务类型 携带信息
支付 任务a的任务类型,商品名称和商品金额
账号登录 任务a的任务类型和登录的应用的信息
输入 任务a的任务类型
遥控器控制 任务a的任务类型以及控件信息
示例性的,在支付场景下,推荐服务中携带的服务内容可以是商品名称和商品金额的信息;在账号登录场景下,推荐服务中携带的服务内容可以是登录的应用的信息;在遥控器控制场景下,推荐服务中携带的服务内容可以是控件信息(例如,智能电视上显示的控件信息)。
示例性的,若任务a为支付任务,那么智能电视在向手机发送的推荐服务中可以携带任务a的任务类型(支付任务)的信息,商品名称以及商品金额的信息。这样手机在接收到对应的推荐服务后,可以执行相应的显示,手机执行显示的过程可以以下方法1700。
一个实施例中,若第一电子设备检测到预设距离内有更合适执行任务a的第二电子设备,则第一电子设备继续判断第二电子设备是否为随身设备。若第二电子设备为随身设备,则第一电子设备向第二电子设备发送推荐服务,第二电子设备上显示推荐服务对应的提示信息。
可选地,随身设备可以为手机,智能手表等等。
一个实施例中,若第一电子设备检测到预设距离内没有更合适执行任务a的第二电子设备,则可以返回S1401。
本申请实施例中,第一电子设备可以在检测到周围有更合适执行任务a的第二电子设备后,如果第二电子设备更适合执行任务a且第二电子设备为随身设备,那么第一电子设备可以向随身设备发送推荐服务,这样可以使得用户在随身设备上执行任务a。这样可以方便用户的操作,提升了用户体验。
示例性的,智能电视将手机和平板电脑确定为适合执行支付任务的电子设备后,可以继续判断其是否为随身设备。最终智能电视可以将手机确定为跨设备推荐服务的电子设备。
如果任务a是不适合随身设备执行的任务,例如视频播放任务或者预览大图任务。则第一电子设备可以不用判断任务a是否为随身设备,而是判断第二电子设备是否为大屏设备。例如,用户正在使用手机浏览大图时,手机可以判断预设距离内是否有更适合执行浏览大图任务的电子设备。如果手机确定预设距离内有大屏设备(例如,智能电视),则手机可以向大屏设备发送推荐服务。从而可以在大屏设备上浏览大图。
一个实施例中
本申请实施例中,若正在执行某个任务的电子设备识别到周围有更适合执行该任务的电子设备或者当两设备靠近且识别到用户的意图时,在合适的设备上进行推荐服务,引导用户通过随身/周围设备更好的处理任务,这样有助于提升用户体验。
图15介绍了本申请实施例中跨设备推荐服务的方法1500的示意性流程图,如图15所示,该方法1500包括:
S1501,第一电子设备正在执行任b。
示例性的,如图3中的(a)所示,该第一电子设备为智能电视,该任务b为TV支付任务。
示例性的,如图4中的(a)所示,该第一电子设备为智能电视,该任务b为TV支付任务。
S1502,第一电子设备判断任务b是否为私人任务。
一个实施例中,电子设备中可以保存有任务类型与是否是私人任务的对应关系。
示例性的,表3是一种任务类型,是否是私人任务以及跨设备推荐时是否依赖账号选择周围电子设备的对应关系。
表3
Figure PCTCN2021082394-appb-000002
应理解,本申请实施例中的私人任务可以是用户选择的,例如,用户可以通过电子设备的显示界面设置某些应用程序对应的任务为私人任务;或者,电子设备也可以在出厂时,电子设备内部可以预置私人任务的类型(例如,支付、鉴权或者解锁)等。
示例性的,如图3中的(a)所示,当智能电视检测到用户点击支付操作后,可以首先确定支付任务为私人任务。同时,智能电视还可以确定该支付任务可以依赖于账号选择周围其他电子设备进行跨设备推荐。
S1503,若该任务b为私人任务,则第一电子设备可以依赖账号识别预设距离内的第二电子设备。
可选地,若该任务b为私人任务,则第一电子设备根据以下条件中的一种或者多种来识别第二电子设备:
(1)第二电子设备距离第一电子设备的距离小于或者等于预设距离;
(2)第二电子设备为与第一电子设备登录同一账号,或者登录同一个家庭群组范围内的账号,或者被授权的关联账号所在的设备;
(3)第二电子设备可用且连接了网络;
(4)第二电子设备与第一电子设备都开启了蓝牙或者连接了同一Wi-Fi路由器等。
示例性的,智能电视正在执行支付操作时,智能电视可以首先根据表3确定支付操作为可以依赖账号选择周围电子设备进行推荐服务的操作。那么智能电视首选可以判断距离智能电视预设距离内的电子设备。例如,智能电视可以首先判断预设距离内包括设备1,设备2和设备3。
本申请实施例中,第一电子设备在判断预设距离内的电子设备时的方式并不作具体限定。示例性的,第一电子设备可以根据周围设备向第一电子设备发送的信号的信号质量或者信号强度确定周围设备距离自己的距离;或者,第一电子设备也可以通过超声波测距的方式确定周围设备距离自己的距离。然后第一电子设备可以将在预设距离范围内的电子设备筛选出来。
第一电子设备在根据预设距离确定了设备1,设备2和设备3之后,可以继续判断设备1,设备2和设备3登录的账号与第一电子设备上登录的账号的关联关系。如果设备1上登录的账号与第一电子设备上登录的账号相同,则设备1符合条件(2);或者,如果设备1上登录的账号与第一电子设备上登录的账号为同一家庭群组内的账号,则设备1符合条件(2);或者,如果设备1上登录的账号为第一电子设备上登录的账号授权过的账号,则设备1符合条件(2)。如果设备2和设备3上登录的账号与第一电子设备上登录的账号无关,那么设备2和设备3不符合条件(2)。
本申请实施例中,第一电子设备在确定预设距离内的设备1,设备2和设备3之后,第一电子设备可以继续向设备1,设备2和设备3询问其设备名称和设备类型的信息。第一电子设备中可以是登录了第一账号的电子设备,同时第一电子设备也可以保存有第一账号相关联的其他账号的信息。例如,第一电子设备中保存有与第一账号位于同一家庭群组内的其他账号的信息以及这些账号所关联的电子设备的设备名称。那么第一电子设备在获取到设备1,设备2和设备3的设备名称之后,可以判断设备1,设备2和设备3是否是与第一账号或者第一账号相关联的账号下的电子设备。从而第一电子设备可以通过设备名称来确定设备1,设备2和设备3是否满足条件(2)。
一个实施例中,第一电子设备可以继续判断设备1可用且连接了网络,并且设备1和第一电子设备都开启了蓝牙或者连接了同一个Wi-Fi路由器,那么最终第一电子设备可以将设备1确定为可以进行跨设备推荐服务的电子设备。
应理解,本申请实施例中,对于条件(3)如果第一电子设备周围的其他设备处于关机或者其他不工作的状态,那么第一电子设备在向周围设备发送信息时不会得到周围设备的应答。对于条件(4),第一电子设备可以向周围设备发送蓝牙BLE数据包,如果得到周围设备的应答,则可以确定周围设备也开启了蓝牙;或者,第一电子设备可以获知Wi-Fi路由器下连接的其他电子设备的信息,那么第一电子设备可以确定第一电子设备和第二电子设备是否连接了同一Wi-Fi路由器。
一个实施例中,对于图6中的(a)和(b)所示的场景。汽车上可以认为是连接着Pad且Pad上连接着用户的账号(例如华为账号1)。当汽车在某个位置停放好后,登录了华为账号1的手机可以保存汽车停放的位置信息。手机可以判断用户当前所处位置与汽车停放位置的关系。当用户的手机靠近汽车后,手机可以向汽车上连接的Pad发送信息,该信息可以指示用户的手机已经距离汽车在预设范围内。那么汽车在接收到手机发送的信息后,可以向手机发送推荐服务,从而在手机上显示对应的提示信息。
应理解,以上图6中的(a)和(b)所示的场景还可以是门锁解锁场景等等。
还应理解,用户家庭群组内的其他用户的电子设备(例如,登录了华为账号2的手机,华为账号1和华为账号2为同一家庭群组内的关联账号)或者登录了华为账号1授权过的账号的电子设备(例如,登录了华为账号3的手机,华为账号3被华为账号1授权过)都可以保存汽车停放位置的信息,那么当这些登录了相关联的华为账号的电子设备靠近汽车后都可以按照上述实现过程完成推荐服务。
S1504,若该任务b不是私人任务,则第一电子设备可以不依赖账号识别预设距离内的第二电子设备。
可选地,若该任务b不是私人任务,则第一电子设备根据以下条件中的一种或者多种来识别第二电子设备:
(1)第二电子设备距离第一电子设备的距离小于或者等于预设距离;
(2)第二电子设备可用且连接了网络;
(3)第二电子设备与第一电子设备都开启了蓝牙或者连接了同一Wi-Fi路由器等。
示例性的,如图8所示,当用户操作智能电视进行换台操作时,智能电视可以首先根据表2确定遥控器操作不是可以依赖账号选择周围电子设备进行推荐服务的操作。那么智能电视首选可以判断距离智能电视预设距离内的电子设备。例如,智能电视可以首先判断预设距离内包括设备1,设备2和设备3。
第一电子设备在根据预设距离确定了设备1,设备2和设备3之后,只需要继续判断设备1,设备2和设备3是否可用且连接了网络,并且设备1,设备2和设备3和第一电子设备是否都开启了蓝牙或者连接了同一个Wi-Fi路由器。从而最终确定设备1(如登录了Lee的华为账号的手机)和设备2(如登录了Laura的华为账号的平板电脑)为可以发送推荐服务的设备。
S1505,第一电子设备向第二电子设备发起服务推荐。
本申请实施例中,若正在执行某个私人任务的电子设备识别到周围有更适合执行该任务的电子设备且两个电子设备所登录的账号相关联,在合适的设备上进行推荐服务,引导用户通过随身/周围设备更好的处理任务,这样有助于提升用户体验,并且也有助于保护用户的隐私安全。
图16介绍了本申请实施例中跨设备推荐服务的方法1600的示意性流程图,如图16所示,该方法1600包括:
S1601,第一电子设备正在执行任务a。
示例性的,如图8所示,第一电子设备为智能电视,任务a为遥控器控制任务。
示例性的,如图9所示,第一电子设备为智能电视,任务a为发送弹幕任务。
S1602,第一电子设备检测到预设距离内是否有更适合执行任务a的电子设备。
应理解,S1602的过程可以参考上述方法1400中的S1402,为了简介,在此不再赘述。
S1603,若第一电子设备确定预设距离内有多个适合执行任务a的电子设备,则向用户展示该多个电子设备的信息。
示例性的,如图5中的(b)所示,智能电视在确定预设距离内适合执行支付任务的电子设备包括Lee的P30,Laura的Mate30和Laura的HW Watch。
S1604,第一电子设备判断用户是否在第一电子设备上指定选择某个设备执行任务a。
S1605,若第一电子设备确定用户选择了第二电子设备执行任务a,则第一电子设备向第二电子设备发起推荐服务,第二电子设备可以通过显示屏呈现该推荐服务的提示信息。
示例性的,如图5中的(b)所示,当智能电视确定用户选择Laura的Mate30执行该支付任务时,智能电视可以向Laura的Mate30发送推荐服务,这样在Laura的Mate30的显示屏上会出现支付提示信息(例如,图标301)。
S1606,若第一电子设备确定用户没有从多个电子设备中选择一个设备去执行任务a,那么第一电子设备可以向多个电子设备推荐服务,多台电子设备上可以显示相关的推荐服务的提示信息。
示例性的,如图3中的(a),(b)和(c)所示的三个手机可以都是智能电视周围的手机。这3台手机可以都接收到智能电视发送的推荐服务,从而在三台手机的左下角显示支付提示的信息。
示例性的,如图8所示,智能电视可以向Lee的手机以及Laura的平板电脑发送推荐服务。Lee的手机以及Laura的平板电脑的左下角可以出现遥控器图标。
S1607,若第一电子设备确定用户没有从多个电子设备中选择一个设备去执行任务a,那么第一电子设备继续判断任务a是否适合多个电子设备同时处理。
示例性的,表4示出了任务类型与是否适合多个设备同时处理的对应关系。
表4
任务类型 是否适合多个电子设备同时处理
支付 N
鉴权 N
解锁 N
遥控器控制 Y
发送弹幕 Y
开关IoT设备 Y
处理通知 Y
S1608,若该任务a适合多个电子设备同时处理,当多个电子设备中第二电子设备上检测到用户点击了相应的提示信息后,其他电子设备依然显示对应的提示信息。
示例性的,如图8所示,智能电视在确定预设范围内适合执行遥控器操作的电子设备包括Lee的手机以及Laura的平板电脑。由于遥控器操作适合多个电子设备同时处理,那么智能电视可以向Lee的手机以及Laura的平板电脑都发送推荐服务。从而Lee的手机上可以出现遥控器图标,Laura的平板电脑上也可以出现遥控器图标。
示例性的,如图9所示,智能电视在确定预设范围内适合执行发送弹幕操作的电子设备包括Lee的手机以及Laura的平板电脑。由于发送弹幕操作适合多个电子设备同时处理,那么智能电视可以向Lee的手机以及Laura的平板电脑都发送推荐服务。从而Lee的手机上可以出现发送弹幕提示图标,Laura的平板电脑上也可以出现发送弹幕提示图标。
S1609,若该任务a不适合多个电子设备同时处理,那么当多个电子设备中的第二电子设备上检测到用户点击相应的提示信息(或者图标)后,其他电子设备上的提示信息(或者图标)隐藏。
示例性的,如图3中的(a),(b)和(c)所示的三个手机可以都是智能电视周围的手机。这3台手机可以都接收到智能电视发送的推荐服务,从而在三台手机的左下角显示支付提示的信息。如表3所示支付操作不是适合多个电子设备同时处理的任务类型,那么如果用户在图3中的(a)所示的手机上点击了图标301后,其可以向图3中的(b)以及图3中的(c)所示的手机发送信息指示用于已经在其设备上点击了图标301。图3中的(b)以及图3中的(c)所示的手机可以将左下角的图标隐藏。
本申请实施例中,用户也可以在原始设备上指定某个设备处理该任务,或者还可以是由多个设备协同处理任务,这样方便周围多个用户同时执行某个任务,提升了多个用户的体验。
图17介绍了本申请实施例中跨设备推荐服务的方法1700的示意性流程图,如图17所示,该方法1700包括:
S1701,第二电子设备接收到第一电子设备发送的关于任务a的推荐服务。
示例性的,如图3中的(a),(b)和(c)所示,手机接收到智能电视发送的推荐服务。
S1702,第二电子设备判断是否处于熄屏状态或者锁屏状态。
S1703,若第二电子设备处于熄屏状态或者锁屏状态,那么第二电子设备在显示屏的相应位置显示推荐服务对应的提示信息。
示例性的,如图3中的(a)所示,手机处于熄屏状态。手机在接收到推荐服务后,可以在左下角显示图标301。
示例性的,如图10中的(b)所示,手机处于亮屏和锁屏状态。手机在接收到推荐服务后,可以在左下角显示提醒图标。
一个实施例中,若第二电子设备处于熄屏状态或者锁屏状态,该提示信息可以一直显示。
S1704,若第二电子设备不是处于熄屏状态且不是处于锁屏状态,则第二电子设备继续判断是否正在与任务a相关的操作。
S1705,若第二电子设备正在执行与任务a相关的操作,或者,第二电子设备在接收 到推荐服务之前已经和第一电子设备之间已经建立了连接关系,那么第二电子设备可以自动弹出半模态卡片进行服务推荐。
本申请实施例中,半模态卡片中可以显示表2所示的服务内容中的部分信息。例如,在支付场景下,半模态卡片中可以显示商品信息、支付金额以及支付控件等;又例如,在发送弹幕的场景下,半模态卡片可以显示发弹幕的输入框以及键盘的信息;又例如,在遥控器场景下,半模态卡片中可以显示智能电视上的相应的控件信息。
示例性的,智能电视在向周围满足条件的手机发送推荐服务后,如果手机确定自己正在运行支付应用,则可以直接通过半模态卡片提示用户该支付信息。
示例性的,智能手机通过遥控器功能正在操控智能电视,此时智能手机和智能电视之间已经建立了连接关系。当智能手机选择智能电视上的“5元购买本片”的操作后,智能电视确定此时需要进行支付。则智能电视将支付任务对应的推荐服务发送给智能手机,由于此前智能手机和智能电视已经建立了连接关系,那么在智能手机上可以直接显示半模态卡片。示例性的,半模态卡片上可以显示商品名称、支付金额以及支付控件。
示例性的,智能手机通过遥控器功能正在操控智能电视,此时智能手机和智能电视之间已经建立了连接关系。当智能手机点击智能电视上的播放视频控件后,智能电视可以进行视频播放。此时,智能电视可以向智能手机发送发弹幕的推荐服务,智能手机在接收到该推荐服务后,可以直接通过显示屏弹出如图9中的发弹幕的输入框,输入框中包含了键盘。
S1706,若第二电子设备当前没有执行与任务a相关的操作,那么第二电子设备在显示屏的相应位置显示推荐服务对应的提示信息。
一个实施例中,若第二电子设备当前没有执行与任务a相关的操作且第二电子设备处于非锁屏状态,那么该提示信息可以出现N秒。若N秒后第二电子设备没有检测到用户的点击该提示信息的操作,那么第二电子设备可以对该提示信息进行隐藏。
一个实施例中,即使用户在随身设备、适合任务a的电子设备上未安装任务a对应的应用,也能通过基于分布式的AA能力,实现在合适的任意设备上处理任务a。
基于同一个ID或有群组管理的关联ID,在某一台设备上安装的应用,能通过账号存储到云端服务器,并在其他未安装该应用的设备上调用存储在云端的该应用的AA能力。
示例性的,智能电视正在执行支付任务时,智能电视可以将向周围更适合执行支付任务的设备发送推荐服务。如果预设距离内的电子设备包括用户的智能手表且智能手表未安装任何支付操作对应的应用,此时智能手表可以基于分布式AA能力从云端服务器获取对应的应用。从而在智能手表上完成支付操作。
例如,智能电视在执行支付任务时确定周围设备中手表为适合执行支付任务的设备,智能电视可以向手表发送关于支付的推荐服务。手表在接收到对应的推荐服务后,首先对用户的身份进行认证,例如通过人脸识别或者指纹识别的方式来确定是否为用户本人。在确定是用户本人后,手表可以显示支付任务对应的推荐服务。当手表检测到用户点击推荐服务对应的图标后,手表确定用户希望进行支付操作但是自己没有支付应用(例如,华为Pay,微信或者支付宝等等)。此时,手表可以向云端服务器发送推荐服务中的信息(例如,支付任务对应的商品名称以及商品金额)以及用户认证通过的信息。云端服务器在接收到这些信息后,可以将对应的商品名称和商品金额等信息发送给手机,从而由手机完成 支付操作。手机在完成支付操作后可以向云端服务器发送支付结果,并由云端服务器将支付结果发送给手表。手表可以向用户显示最终的支付结果。
又例如,手机上可以提前向手表授权支付限额。当手表接收到智能电视发送的推荐服务后,如果确定推荐服务中携带的商品金额在支付限额内,则手表可以完成对该商品的支付。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (23)

  1. 一种系统,所述系统包括第一电子设备和第二电子设备,其特征在于,所述第一电子设备为登录了第一账号的电子设备,所述第一电子设备中保存有复数个设备类型与所述复数个设备类型中每一个设备类型适合执行的任务类型的映射关系,所述复数个设备类型包括所述第一电子设备的设备类型和第二电子设备的设备类型,其中,
    所述第一电子设备,用于在根据所述映射关系确定正在执行的第一任务不是所述第一电子设备的设备类型适合执行的任务时,所述第一电子设备确定预设距离内的所述第二电子设备;
    所述第一电子设备,还用于接收所述第二电子设备发送的第一信息,所述第一信息包括所述第二电子设备的设备标识以及设备类型的信息;
    所述第一电子设备,还用于根据所述第二电子设备的设备标识,确定所述第二电子设备上登录的第二账号与所述第一账号相关联,所述第一电子设备保存有与所述第二账号相关联的电子设备的设备标识的信息,所述与所述第二账号相关联的电子设备包括所述第二电子设备;
    所述第一电子设备,还用于根据所述第二电子设备的设备类型和所述映射关系确定所述第二电子设备为适合执行所述第一任务的电子设备;
    所述第一电子设备,还用于向所述第二电子设备发送所述第一任务对应的推荐服务,所述推荐服务包括第一任务对应的任务类型的信息和服务内容;
    所述第二电子设备,用于通过所述第二电子设备的显示屏显示所述推荐服务的图标,或者,所述第二电子设备通过所述显示屏显示半模态卡片,所述半模态卡片包括所述服务内容。
  2. 根据权利要求1所述的系统,其特征在于,所述第二电子设备,还用于在通过所述第二电子设备的显示屏显示所述推荐服务的图标,或者,所述第二电子设备通过所述显示屏显示半模态卡片之前,确定所述第一任务的任务类型满足预设条件;
    所述第二电子设备,还用于对正在使用所述第二电子设备的用户进行认证;
    所述第二电子设备,还用于确定对用户认证通过。
  3. 根据权利要求1或2所述的系统,其特征在于,所述第一账号和所述第二账号为同一家庭群组中的账号;或者,所述第二账号为所述第一账号授权过的账号。
  4. 根据权利要求1至3中任一项所述的系统,其特征在于,所述第二电子设备,还用于在通过所述显示屏显示所述图标之前,确定处于熄屏状态或者锁屏状态;或者,确定正在执行与所述第一任务不相关的任务。
  5. 根据权利要求1至3中任一项所述的系统,其特征在于,所述第二电子设备,还用于在通过所述显示屏显示半模态卡片之前,确定处于非锁屏状态且所述第二电子设备正在执行与所述第一任务相关的任务,或者,确定在接收所述推荐服务之前已经和所述第一电子设备建立了连接关系。
  6. 一种推荐服务的方法,其特征在于,所述方法应用于第一电子设备,所述第一电子设备为登录了第一账号的电子设备,所述第一电子设备中保存有复数个设备类型与所述 复数个设备类型中每一个设备类型适合执行的任务类型的映射关系,所述复数个设备类型包括所述第一电子设备的设备类型和第二电子设备的设备类型,所述方法包括:
    在所述第一电子设备根据所述映射关系确定正在执行的第一任务不是所述第一电子设备的设备类型适合执行的任务时,所述第一电子设备确定预设距离内的所述第二电子设备;
    所述第一电子设备接收所述第二电子设备发送的第一信息,所述第一信息包括所述第二电子设备的设备标识以及设备类型的信息;
    所述第一电子设备根据所述第二电子设备的设备标识,确定所述第二电子设备上登录的第二账号与所述第一账号相关联,所述第一电子设备保存有与所述第二账号相关联的电子设备的设备标识的信息,所述与所述第二账号相关联的电子设备包括所述第二电子设备;
    所述第一电子设备根据所述第二电子设备的设备类型和所述映射关系确定所述第二电子设备为适合执行所述第一任务的电子设备;
    所述第一电子设备向所述第二电子设备发送所述第一任务对应的推荐服务。
  7. 根据权利要求6所述的方法,其特征在于,所述复数个设备类型还包括第三设备的设备类型,所述第一电子设备向所述第二电子设备发送所述第一任务对应的推荐服务之前,所述方法还包括:
    所述第一电子设备接收所述第三电子设备发送的第二信息,所述第二信息包括所述第三电子设备的设备标识以及设备类型的信息;
    所述第一电子设备根据所述第三电子设备的设备标识,确定所述第三电子设备上登录的第三账号与所述第一账号相关联,所述第一电子设备保存有与所述第三账号相关联的电子设备的设备标识的信息,所述与所述第三账号相关联的电子设备包括所述第三电子设备;
    所述第一电子设备根据所述第三电子设备的设备类型和所述映射关系确定所述第三电子设备为适合执行所述第一任务的电子设备;
    所述第一电子设备通过显示屏向用户提示所述第二电子设备和所述第三电子设备的信息;
    所述第一电子设备检测到用户选择所述第二电子设备的操作。
  8. 根据权利要求6或7所述的方法,其特征在于,所述第一账号和所述第二账号为同一家庭群组中的账号;或者,所述第二账号为所述第一账号授权过的账号。
  9. 一种推荐服务的方法,其特征在于,所述方法应用于第二电子设备,所述第二电子设备包括显示屏,所述方法包括:
    所述第二电子设备接收预设距离内的第一电子设备发送的推荐服务,所述推荐服务包括第一任务对应的任务类型的信息和服务内容,所述第一任务为所述第一电子设备正在执行的任务;
    所述第二电子设备在确定所述第一任务的任务类型满足预设条件时,对正在使用所述第二电子设备的用户进行认证;
    在所述第二电子设备对用户认证通过后,所述第二电子设备通过所述显示屏显示所述推荐服务的图标,或者,所述第二电子设备通过所述显示屏显示半模态卡片,所述半模态 卡片包括所述服务内容。
  10. 根据权利要求9所述的方法,其特征在于,所述第二电子设备中保存有第一任务的任务类型与所述任务类型是否属于私人任务的映射关系,
    其中,所述第二电子设备确定所述第一任务的任务类型满足预设条件包括所述第二电子设备根据所述映射关系确定所述第一任务的任务类型属于私人任务。
  11. 根据权利要求9或10所述的方法,其特征在于,所述第二电子设备通过所述显示屏显示所述图标之前,所述方法还包括:
    所述第二电子设备确定处于熄屏状态或者锁屏状态;或者,所述第二电子设备确定正在执行与所述第一任务不相关的任务。
  12. 根据权利要求9或10所述的方法,其特征在于,所述第二电子设备通过所述显示屏显示半模态卡片之前,所述方法包括:
    所述第二电子设备确定处于非锁屏状态且所述第二电子设备正在执行与所述第一任务相关的任务,或者,所述第二电子设备确定在接收所述推荐服务之前已经和所述第一电子设备建立了连接关系。
  13. 根据权利要求9至12中任一项所述的方法,其特征在于,所述方法还包括:
    所述第二电子设备接收所述第一电子设备发送的第三电子设备的信息,所述第三电子设备为接收所述推荐服务的另一电子设备;
    若所述第一任务不是适合复数个电子设备同时执行的任务,所述第二电子设备在检测到用户点击所述图标之后,或者,所述第二电子设备在检测到用户点击所述半模态卡片之后,所述第二电子设备向所述第三电子设备发送指示信息,所述指示信息用于指示所述第三电子设备隐藏在所述第三电子设备上显示的图标或者半模态卡片。
  14. 根据权利要求9至13中任一项所述的方法,其特征在于,所述第一任务为支付任务且所述第二电子设备中没有支付应用,所述服务内容包括所述支付任务中的商品名称以及商品金额的信息,所述方法还包括:
    所述第二电子设备在检测到用户点击所述图标之后,或者,所述第二电子设备在检测到用户点击所述半模态卡片之后,所述第二电子设备通过所述显示屏显示所述商品名称、商品金额以及支付控件;
    所述第二电子设备检测到用户点击支付控件的第二操作;
    响应于所述第二操作,所述第二电子设备向第四电子设备发送所述商品名称以及商品金额的信息,所述第二电子设备和所述第四电子设备上登录了相同的账号;
    所述第二电子设备接收所述第四电子设备发送的支付结果。
  15. 一种电子设备,其特征在于,所述电子设备为登录了第一账号的电子设备,所述电子设备中保存有复数个设备类型与所述复数个设备类型中每一个设备类型适合执行的任务类型的映射关系,所述复数个设备类型包括所述电子设备的设备类型和另一电子设备的设备类型,所述电子设备包括:
    一个或多个处理器;
    一个或多个存储器;
    所述一个或多个存储器存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:
    在根据所述映射关系确定正在执行的第一任务不是所述电子设备的设备类型适合执行的任务时,所述电子设备确定预设距离内的所述另一电子设备;
    接收所述另一电子设备发送的第一信息,所述第一信息包括所述另一电子设备的设备标识以及设备类型的信息;
    根据所述另一电子设备的设备标识,确定所述另一电子设备上登录的第二账号与所述第一账号相关联,所述电子设备保存有与所述第二账号相关联的电子设备的设备标识的信息,所述与所述第二账号相关联的电子设备包括所述另一电子设备;
    根据所述另一电子设备的设备类型和所述映射关系确定所述另一电子设备为适合执行所述第一任务的电子设备;
    向所述另一电子设备发送所述第一任务对应的推荐服务。
  16. 根据权利要求15所述的电子设备,其特征在于,所述复数个设备类型还包括第三设备的设备类型,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:
    在向所述另一电子设备发送所述第一任务对应的推荐服务之前,接收所述第三电子设备发送的第二信息,所述第二信息包括所述第三电子设备的设备标识以及设备类型的信息;
    根据所述第三电子设备的设备标识,确定所述第三电子设备上登录的第三账号与所述第一账号相关联,所述电子设备保存有与所述第三账号相关联的电子设备的设备标识的信息,所述与所述第三账号相关联的电子设备包括所述第三电子设备;
    根据所述第三电子设备的设备类型和所述映射关系确定所述第三电子设备为适合执行所述第一任务的电子设备;
    通过显示屏向用户提示所述另一电子设备和所述第三电子设备的信息;
    检测到用户选择所述另一电子设备的操作。
  17. 根据权利要求15或16所述的电子设备,其特征在于,所述第一账号和所述第二账号为同一家庭群组中的账号;或者,所述第二账号为所述第一账号授权过的账号。
  18. 一种电子设备,其特征在于,包括:
    显示屏;
    一个或多个处理器;
    一个或多个存储器;
    所述一个或多个存储器存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:
    接收预设距离内的另一电子设备发送的推荐服务,所述推荐服务包括第一任务对应的任务类型的信息和服务内容,所述第一任务为所述另一电子设备正在执行的任务;
    在确定所述第一任务的任务类型满足预设条件时,对正在使用所述电子设备的用户进行认证;
    在对用户认证通过后,通过所述显示屏显示所述推荐服务的图标,或者,通过所述显示屏显示半模态卡片,所述半模态卡片包括所述服务内容。
  19. 根据权利要求18所述的电子设备,其特征在于,所述电子设备中保存有第一任务的任务类型与所述任务类型是否属于私人任务的映射关系,
    其中,所述第一任务的任务类型满足预设条件包括所述电子设备根据所述映射关系确定所述第一任务的任务类型属于私人任务。
  20. 根据权利要求18或19所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:
    在通过所述显示屏显示所述图标之前,确定处于熄屏状态或者锁屏状态;或者,确定正在执行与所述第一任务不相关的任务。
  21. 根据权利要求18或19所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:
    在通过所述显示屏显示半模态卡片之前,确定处于非锁屏状态且所述电子设备正在执行与所述第一任务相关的任务,或者,确定在接收所述推荐服务之前已经和所述另一电子设备建立了连接关系。
  22. 根据权利要求18至21中任一项所述的电子设备,其特征在于,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:
    接收所述另一电子设备发送的第三电子设备的信息,所述第三电子设备为接收所述推荐服务的电子设备;
    若所述第一任务不是适合复数个电子设备同时执行的任务,在检测到用户点击所述图标之后,或者,在检测到用户点击所述半模态卡片之后,向所述第三电子设备发送指示信息,所述指示信息用于指示所述第三电子设备隐藏在所述第三电子设备上显示的图标或者半模态卡片。
  23. 根据权利要求18至22中任一项所述的电子设备,其特征在于,所述第一任务为支付任务且所述电子设备中没有支付应用,所述服务内容包括所述支付任务中的商品名称以及商品金额的信息,当所述指令被所述一个或多个处理器执行时,使得所述电子设备执行以下步骤:所述方法还包括:
    在检测到用户点击所述图标之后,或者,在检测到用户点击所述半模态卡片之后,通过所述显示屏显示所述商品名称、商品金额以及支付控件;
    检测到用户点击支付控件的第二操作;
    响应于所述第二操作,向第四电子设备发送所述商品名称以及商品金额的信息,所述电子设备和所述第四电子设备上登录了相同的账号;
    接收所述第四电子设备发送的支付结果。
PCT/CN2021/082394 2020-04-02 2021-03-23 一种推荐服务的方法、电子设备和系统 WO2021197139A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21781088.6A EP4113415A4 (en) 2020-04-02 2021-03-23 SERVICE RECOMMENDATION PROCEDURE, ELECTRONIC DEVICE AND SYSTEM
US17/916,631 US20230140946A1 (en) 2020-04-02 2021-03-23 Method for Recommending Service, Electronic Device, and System

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010255530.6A CN113496426A (zh) 2020-04-02 2020-04-02 一种推荐服务的方法、电子设备和系统
CN202010255530.6 2020-04-02

Publications (1)

Publication Number Publication Date
WO2021197139A1 true WO2021197139A1 (zh) 2021-10-07

Family

ID=77927268

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/082394 WO2021197139A1 (zh) 2020-04-02 2021-03-23 一种推荐服务的方法、电子设备和系统

Country Status (4)

Country Link
US (1) US20230140946A1 (zh)
EP (1) EP4113415A4 (zh)
CN (1) CN113496426A (zh)
WO (1) WO2021197139A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024101916A1 (ko) * 2022-11-10 2024-05-16 삼성전자 주식회사 장치 설정 방법 및 이를 지원하는 전자 장치

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116257201A (zh) * 2021-12-10 2023-06-13 华为技术有限公司 内容协同方法、电子设备及计算机可读存储介质
CN114265662B (zh) * 2022-03-03 2022-08-12 荣耀终端有限公司 一种信息推荐方法、电子设备及可读存储介质
CN116932181A (zh) * 2022-03-30 2023-10-24 华为技术有限公司 一种能力调用方法、系统及电子设备
US20230334279A1 (en) * 2022-04-13 2023-10-19 Ford Global Technologies, Llc Vehicle access card with an integrated display
CN116956311A (zh) * 2022-04-15 2023-10-27 华为技术有限公司 异步授权方法、系统、电子设备及计算机可读存储介质
CN117762281A (zh) * 2022-09-19 2024-03-26 华为终端有限公司 管理服务卡片的方法和电子设备
CN116700553B (zh) * 2022-09-28 2024-09-03 荣耀终端有限公司 应用接续方法、电子设备及应用接续系统
CN117850989A (zh) * 2022-09-30 2024-04-09 华为技术有限公司 一种服务调用方法、系统和电子设备
US20240193102A1 (en) * 2022-12-08 2024-06-13 Universidade De Vigo Procedure and system to improve the user experience using capabilities of a different electronic device
CN117711236B (zh) * 2024-02-06 2024-05-17 深圳风向标教育资源股份有限公司 新能源三电系统实训平台

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108541378A (zh) * 2015-04-30 2018-09-14 三星电子株式会社 服务共享设备和方法
US20180300391A1 (en) * 2017-04-12 2018-10-18 Verizon Patent And Licensing Inc. System and method for providing media identifiers associated with enterprise messages
US20190324703A1 (en) * 2018-04-20 2019-10-24 International Business Machines Corporation Method and system for multiple display device projection
CN110868640A (zh) * 2019-11-18 2020-03-06 北京小米移动软件有限公司 资源转移方法、装置、设备及存储介质

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9936329B2 (en) * 2012-03-09 2018-04-03 Nokia Technologies Oy Methods, apparatuses, and computer program products for operational routing between proximate devices
WO2015167504A1 (en) * 2014-04-30 2015-11-05 Hewlett-Packard Development Company, L.P. Extending features of one device to another
EP3009972A1 (en) * 2014-10-14 2016-04-20 Gemalto SA A method for ensuring the genuine user has approved a payment transaction

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108541378A (zh) * 2015-04-30 2018-09-14 三星电子株式会社 服务共享设备和方法
US20180300391A1 (en) * 2017-04-12 2018-10-18 Verizon Patent And Licensing Inc. System and method for providing media identifiers associated with enterprise messages
US20190324703A1 (en) * 2018-04-20 2019-10-24 International Business Machines Corporation Method and system for multiple display device projection
CN110868640A (zh) * 2019-11-18 2020-03-06 北京小米移动软件有限公司 资源转移方法、装置、设备及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4113415A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024101916A1 (ko) * 2022-11-10 2024-05-16 삼성전자 주식회사 장치 설정 방법 및 이를 지원하는 전자 장치

Also Published As

Publication number Publication date
CN113496426A (zh) 2021-10-12
EP4113415A1 (en) 2023-01-04
EP4113415A4 (en) 2023-08-09
US20230140946A1 (en) 2023-05-11

Similar Documents

Publication Publication Date Title
WO2021197139A1 (zh) 一种推荐服务的方法、电子设备和系统
WO2021129688A1 (zh) 显示方法及相关产品
US12058145B2 (en) Device control method and device
WO2020238871A1 (zh) 一种投屏方法、系统及相关装置
WO2021213164A1 (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021023032A1 (zh) 设备解锁方法、系统和相关设备
CN114173204B (zh) 一种提示消息的方法、电子设备和系统
WO2020238728A1 (zh) 智能终端的登录方法及电子设备
WO2022100610A1 (zh) 投屏方法、装置、电子设备及计算机可读存储介质
WO2020224447A1 (zh) 一种在联系人中添加智能家居设备的方法及系统
WO2021023035A1 (zh) 一种镜头切换方法及装置
WO2022037407A1 (zh) 一种回复消息的方法、电子设备和系统
WO2021253975A1 (zh) 应用程序的权限管理方法、装置和电子设备
WO2021052204A1 (zh) 基于通讯录的设备发现方法、音视频通信方法及电子设备
WO2022042770A1 (zh) 控制通信服务状态的方法、终端设备和可读存储介质
WO2022160991A1 (zh) 权限控制方法和电子设备
US20240094972A1 (en) Page Display Method and Apparatus, Electronic Device, and Readable Storage Medium
WO2021143391A1 (zh) 基于视频通话的共享屏幕方法及移动设备
WO2021052408A1 (zh) 一种电子设备显示方法及电子设备
WO2021052388A1 (zh) 一种视频通信方法及视频通信装置
WO2023011289A1 (zh) 一种基于位置信息的Wi-Fi连接方法及装置
WO2021147483A1 (zh) 数据分享的方法和装置
CN114489876A (zh) 一种文本输入的方法、电子设备和系统
WO2024022307A1 (zh) 一种投屏方法及电子设备
EP4428667A1 (en) Application card display method and apparatus, terminal device, and readable storage medium

Legal Events

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

Ref document number: 21781088

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021781088

Country of ref document: EP

Effective date: 20220927

WWE Wipo information: entry into national phase

Ref document number: 202217057233

Country of ref document: IN

NENP Non-entry into the national phase

Ref country code: DE