The present application claims priority from the chinese patent office, application number 202210603553.0, application name "method and apparatus for presentation of atomic services", filed 30 months 2022, the entire contents of which are incorporated herein by reference.
Disclosure of Invention
The embodiment of the application provides a presentation method and device of an atomic service. In one embodiment, the method of presentation of atomic services has the following effects: the method can push the controls of the multiple atomic services which are frequently and continuously used when the user enters the specific scene, simplify the step of opening the multiple atomic services by the user, and promote the use experience of the user.
In a first aspect, an embodiment of the present application provides a method for presenting an atomic service, which is applied to an electronic device having a display screen, where the method includes: when the electronic equipment determines to enter a specific scene, displaying a first control on a display screen; and the first control displays icons of a plurality of atomic services, wherein the atomic services are continuously used in a preset time period when a user enters the specific scene.
Illustratively, the electronic device determining to enter a particular scene includes: the electronic device determines to perform subway fencing, office fencing, airport fencing, and the like. The first control may be a control of the composite icon 201 shown in fig. 3 a, or a control of the composite icon 206 shown in fig. 3 b, or a control of the composite icon 209 shown in fig. 3 c. Alternatively, the first control may display icons of two atomic services, for example, the composite icon 201 includes an icon 202 of a health code service and an icon 203 of a ride code service. The first control may also display icons of three or more atomic services.
By the method, when a user enters a specific scene, the electronic equipment directly pushes icon controls of a plurality of atomic services frequently used by the user on the display screen, and the icon controls display icons of each atomic service in the plurality of atomic services. Therefore, a user does not need to sequentially start a plurality of atomic services on the interface, the user operation is simplified, and the use experience of the user is improved.
In a second aspect, an embodiment of the present application provides a method for presenting an atomic service, which is applied to an electronic device having a display screen, where the method includes: when the electronic equipment determines to enter a specific scene, displaying a first control on a display screen; the first control displays icons of a plurality of atomic services, wherein the atomic services are continuously used in a preset time period when a user enters the specific scene; responsive to operation of the first control, the electronic device displays interfaces of the plurality of atomic services in a split screen. Further, the plurality of atomic services includes a first atomic service, which may be a health code service, and a second atomic service, which may be a ride code service. It can be appreciated that the user enters a different scenario, and the electronic device can push and display on the display screen two atomic services that are most commonly used by the user when entering the scenario.
The operation for the first control may be a click operation for the first control. Optionally, clicking the first control by the user at any position may trigger the electronic device to display a plurality of atomic services on a split screen.
An electronic device split screen display interface for a plurality of atomic services, comprising: the electronic equipment split screen displays interfaces of two atomic services, or the electronic equipment split screen displays interfaces of three atomic services. In one case, the electronic device displays interfaces of two atomic services on an up-down split screen, for example, the electronic device shown in fig. 3 b displays interfaces of a health code service and a riding code service on a split screen. In this case, the electronic device displays an interface of two atomic services on left and right split screens, as shown in fig. 4 b. In one case, the electronic device displays an interface of three atomic services in a split screen manner as shown in fig. 4 c.
Through the method, a user can click on the icon control by one click, so that interfaces of a plurality of atomic services can be displayed in a split screen mode, and more contents are displayed on the interfaces.
With reference to the first aspect or the second aspect, in a possible implementation manner, the first control displays icons of a plurality of atomic services, including: the first control displays a first icon of a first atomic service and a second icon of a second atomic service; the response to the operation of the first control, the electronic device split-screen displaying an interface of the plurality of atomic services includes: responsive to an operation for the first control, the electronic device displays an interface of the first atomic service and the second atomic service in a split screen.
The first icon of the first atomic service may be icon 1 in the combined icon 101 shown in fig. 2 a, and the second icon of the second atomic service may be icon 2 in the combined icon 101 shown in fig. 2 a. The interface of the first atomic service may be the interface of the sub-service 1 shown in fig. 2 b, and the interface of the second atomic service may be the interface of the sub-service 2 shown in fig. 2 b. That is, icon 1 on the first control indicates that the user may open sub-service 1, and icon 2 indicates that the user may open sub-service 2.
Through the method, when a user reaches any scene, the user can click the icon control pushed on the display screen by one key, the interface of two atomic services which the user wants to display is quickly called, the user operation is simplified, and the user experience is improved.
With reference to the first aspect or the second aspect, in a possible implementation manner, the method further includes: in response to an operation on the first icon, the electronic device displays an interface of the first atomic service.
The first icon may be icon 1 in the combined icon shown in fig. 9 a, the interface of the first atomic service may be the interface of the sub-service 1 shown in fig. 9 b, the user clicks the icon 1, and the electronic device displays the interface of the sub-service 1 corresponding to the icon 1.
Through the method, the user can select to start the atomic service corresponding to one of the icons in the icon control according to the actual demand. The icon control of the two atomic services pushed by the electronic device on the display screen has a partition control function, and a user can select to start any one of the two atomic services, for example, click any one icon in the icon control, or can select to start the two atomic services at the same time, for example, click the middle position of the two icons of the icon control.
With reference to the first aspect or the second aspect, in a possible implementation manner, the interface of the first atomic service further displays the first control; the method further comprises the steps of: in response to an operation of the second icon on the interface to the first atomic service, the electronic device displays the interfaces of the first atomic service and the second atomic service or displays the interface of the second atomic service in a split screen manner.
The interface of the first atomic service may be the interface of the sub-service 1 shown in b of fig. 9, and the first control may be a combined icon shown in b of fig. 9, where the combined icon is the same as the combined icon shown in a of fig. 9. The operation for the second icon on the interface of the first atomic service may be a click operation for the icon 2 on the interface of the sub-service 1 shown in fig. 9 b, triggering the electronic device to display the interface of the sub-service 2 corresponding to the icon 2, in which case, the electronic device displays the interface of the sub-service 1 and the interface of the sub-service 2 on a split screen, as shown in fig. 9 d; in case the electronic device only displays the interface of sub-service 2, i.e. jumps from the interface of sub-service 1 to the interface of sub-service 2, as shown in fig. 9 c. Optionally, the interface of the sub-service 2 shown in fig. 9 c also displays a combined icon, i.e. the combined icon remains suspended for a certain period of time.
Through the method, after the user selects to start the atomic service corresponding to one icon in the icon control, the user can also select to start the atomic service corresponding to the other icon in the same icon control on the interface of the atomic service which is started before. The icon controls of the two atomic services pushed by the electronic equipment on the display screen can be kept in a suspended state within a period of time and cannot disappear along with the change of the interface, so that the user can conveniently and independently select the sequence of opening the two atomic services pushed. In addition, when the user selects to open the atomic service corresponding to another icon in the same icon control, the interface can jump to the interface of the atomic service opened later, and the interfaces of two atomic services in the icon control can be displayed in a split screen mode, so that the diversification of the interface display modes is realized.
With reference to the first aspect or the second aspect, in a possible implementation manner, a second control is further displayed on an interface of the first atomic service and the second atomic service, which are displayed on a split screen of the electronic device, where an icon of a third atomic service is displayed on the second control; the third atomic service is an atomic service used in association with the first atomic service and the second atomic service. Further, if the first atomic service is a health code service, the second atomic service is a ride code service, and the third atomic service may be a travel card service.
The interface of the first atomic service and the second atomic service displayed on the split screen of the electronic device may be an interface shown in b of fig. 10, where an interface of the sub-service 1 and an interface of the sub-service 2 are displayed, where an icon of the sub-service 1 may be an icon 1 shown in a of fig. 10, and an icon of the sub-service 2 may be an icon 2 shown in a of fig. 10. The second control may be a control of icon 3 shown in fig. 10 b, and icon 3 is an icon of sub-service 3 used in association with sub-service 1 and sub-service 2. That is, the electronic device may push the combined icon of the sub-service 1 and the sub-service 2 to the user first, and then push the single icon of the sub-service 3 used in association with the sub-service 1 and the sub-service 3 at the split screen interface of the sub-service 1 and the sub-service 2.
By the method, the electronic equipment pushes a plurality of atomic services twice, for example, when the electronic equipment determines that three atomic services need to be pushed, two atomic services which are pushed preferentially are determined from the three atomic services, icon controls of the two atomic services are pushed on a display screen, and then icon controls of a third atomic service are pushed. Therefore, after the user opens the interfaces of the first two atomic services, the interface of the third atomic service can be quickly opened based on the icon control pushed for the second time, and the method is applicable to the scene that three or more atomic services need to be continuously used.
With reference to the first aspect or the second aspect, in a possible implementation manner, the method further includes: and responding to the operation for the second control, the electronic equipment displays the interface of the third atomic service, or displays the interface of the third atomic service and the first atomic service in a split screen mode, or displays the interface of the third atomic service and the second atomic service in a split screen mode, or displays the interface of the third atomic service in a floating window mode at the upper layer of the interface of the first atomic server and the second atomic service.
The interface of the first atomic service may be an interface of the sub-service 1, the interface of the second atomic service may be an interface of the sub-service 2, and the interface of the third atomic service may be an interface of the sub-service 3.
In a case, the operation for the second control may be a click operation for the control of the icon 3 shown in fig. 10 b, where the electronic device displays the interface of the sub-service 3, as shown in fig. 10 c, or the electronic device displays the interface of the sub-service 3 and the interface of the sub-service 2 in a split screen, as shown in fig. 10 d, or displays the interface of the sub-service 3 in a floating window form at the upper layer of the interface of the sub-service 1 and the sub-service 2 displayed in a split screen, as shown in fig. 10 e.
In a case, the operation for the second control may be a drag operation for the control of the icon 3 shown in fig. 11 b, where the control of the icon 3 is directly dragged to the interface of the sub-service 2, and the electronic device replaces the interface of the sub-service 2 with the interface of the sub-service 3, that is, the electronic device displays the interface of the sub-service 1 and the interface of the sub-service 3 on a split screen, as shown in fig. 11 c.
In a case where the operation for the second control includes two operations, the first operation may be a drag operation for the control of the icon 3 shown in fig. 12 b, drag the control of the icon 3 to the right boundary of the interface of the sub-service 2 shown in fig. 12 c, and the second operation may be a click operation for the control of the icon 3 shown in fig. 12 c, the electronic device replaces the interface of the sub-service 2 with the interface of the sub-service 3, that is, the electronic device displays the interface of the sub-service 1 and the interface of the sub-service 3 on a split screen, as shown in fig. 12 d.
Through the method, based on different operations of users, the diversification of interface display is realized.
With reference to the first aspect or the second aspect, in a possible implementation manner, the method further includes: and if the electronic equipment determines that the specific scene is entered, displaying an interface of the first atomic service on the display screen, and displaying a third control on the interface of the first atomic service, wherein the third control displays an icon of the second atomic service.
With reference to the first aspect or the second aspect, in a possible implementation manner, the method further includes: and responding to the operation of the third control, the electronic equipment displays the interface of the second atomic service, or displays the interfaces of the first atomic service and the second atomic service in a split screen manner.
With reference to the first aspect or the second aspect, in a possible implementation manner, the method further includes: and if the electronic equipment determines to enter the specific scene, the display screen displays a first interface of one of the atomic services, and a fifth control is displayed on the display screen, wherein the fifth control displays icons of at least one atomic service except the one of the atomic services.
If the electronic device determines that the specific scene is entered, the display screen displays a first interface of one of the two atomic services to be pushed, and a fifth control is displayed on the display screen, wherein the fifth control is an icon control of the other atomic service of the two atomic services to be pushed. As shown in fig. 15 a, the first interface is an interface of the sub-service 1, the user has opened the interface of the sub-service 1 when entering a specific scene, and it is assumed that two atomic services to be pushed by the electronic device are the sub-service 1 and the sub-service 2 respectively, and at this time, the electronic device pushes the icon control of the sub-service 2 only at the interface of the sub-service 1, as the control of the icon 2 shown in fig. 15 a.
If the electronic device determines that the specific scene is entered, the display screen displays a first interface of one of three atomic services to be pushed, and a fifth control is displayed on the display screen, wherein the fifth control is a combined icon control of the other two atomic services of the three atomic services to be pushed. As shown in fig. 16 a, the first interface is an interface of the sub-service 1, when a user enters a specific scene, the user has opened the interface of the sub-service 1, and it is assumed that three atomic services to be pushed by the electronic device are respectively sub-service 1, sub-service 2 and sub-service 3, and at this time, the electronic device pushes a combined icon control of the sub-service 2 and the sub-service 3 at the interface of the sub-service 1, as the controls of the icon 2 and the icon 3 shown in fig. 16 a.
By the method, when the electronic device determines the pushed multiple atomic services, the electronic device can also combine the display data of the current interface of the electronic device to determine which atomic services are pushed finally, and the number of the atomic services which are pushed finally can be one or more. Accordingly, the control displayed on the display screen may be a single icon control of one atomic service or a combined icon control of two atomic services. Therefore, pushing of the icon control is enabled to be more in line with the actual demands of users.
With reference to the first aspect or the second aspect, in a possible implementation manner, the method further includes: and responding to the operation of the fifth control, the electronic equipment displays a second interface of at least one atomic service except the displayed atomic service in the plurality of atomic services, or displays the first interface and the second interface in a split screen mode.
The operation for the fifth control may be a click operation for the fifth control. In the case that the first interface is the interface of the sub-service 1, the second interface is the interface of the sub-service 2, for the clicking operation of the control of the icon 2 shown in fig. 15 a, the electronic device displays the interface of the sub-service 2 corresponding to the icon 2, as shown in fig. 15 b, or the electronic device displays the interface of the sub-service 1 and the interface of the sub-service 2 in a split screen, as shown in fig. 15 c. In the case that the first interface is the interface of the sub-service 1, the second interface is the interface of the sub-service 2 and the sub-service 3, for the clicking operation of the combined icon control shown in fig. 16 a, the electronic device displays the interface of the sub-service 2 corresponding to the icon 2 and the interface of the sub-service 3 corresponding to the icon 3 on a split screen, as shown in fig. 16 b. In the case that the first interface is an arbitrary interface opened by the user, the second interface is an interface of the sub-service 1 and the sub-service 2, and aiming at the clicking operation of the combined icon control shown in fig. 4 a, the electronic device displays the arbitrary interface, the interface of the sub-service 1 corresponding to the icon 1 and the interface of the sub-service 2 corresponding to the icon 2 in a split screen manner.
Through the method, the user can click the icon control pushed by the electronic equipment on the interface of the atomic service which is automatically opened, so that the interfaces of other atomic services which the user needs to open can be quickly opened, the user operation is simplified, and the user experience is improved.
With reference to the first aspect or the second aspect, in a possible implementation manner, the method further includes: and the electronic equipment determines the plurality of atomic services according to at least one of the use frequency, the use interval and the use sequence of the atomic services continuously used in the preset time period when the user enters the specific scene.
In one embodiment, there may be multiple groups of atomic services that are used continuously for a preset period of time when a user enters a specific scenario, where each group of atomic services may include two atomic services, or may include three or more atomic services. The electronic equipment can determine a group of atomic services with highest use frequency from a plurality of groups of atomic services according to the use frequency of the atomic services continuously used in a preset time period when a user enters a specific scene. The most frequently used atomic services may include two atomic services or three or more atomic services.
In one embodiment, the atomic services that have been continuously used in the preset time period when the user enters the specific scene may have three or more atomic services, and the electronic device may determine, from the three or more atomic services, two atomic services that have the shortest continuous use interval according to the use interval of the atomic services that have been continuously used in the preset time period when the user enters the specific scene.
In one embodiment, the atomic services that have been continuously used in the preset time period when the user enters the specific scene may have three or more atomic services, and the electronic device may select the first two or the first three atomic services that are used first from the three or more atomic services according to the use sequence of the atomic services that have been continuously used in the preset time period when the user enters the specific scene.
It may be appreciated that in one embodiment, the electronic device may determine a plurality of atomic services according to a usage frequency and a usage interval of atomic services that are continuously used for a preset period of time when a user enters a specific scenario. In one embodiment, the electronic device may determine a plurality of atomic services according to a usage frequency and a usage sequence of atomic services that are continuously used for a preset period of time when a user enters a specific scenario. In one embodiment, the electronic device may determine the plurality of atomic services according to a usage interval and a usage order of atomic services continuously used for a preset period of time when the user enters a specific scene. In one embodiment, the electronic device determines a plurality of atomic services according to a frequency of use, an interval of use, and an order of use of atomic services that are continuously used for a preset period of time when a user enters a specific scene.
The preset time length can be reasonably set according to actual requirements, for example, the preset time length is 5 minutes, which is not limited in the embodiment of the application.
By the method, the historical behavior data of the user in the specific scene is learned, a plurality of atomic services which are most likely to be used by the user when the user enters the specific scene are determined, and the accuracy of the control of the combined icon pushed for the user is ensured.
With reference to the first aspect or the second aspect, in a possible implementation manner, the method further includes: if the electronic equipment determines that the user enters the specific scene for the first time, sending a push request to a server; the electronic equipment receives a push response from the server, wherein the push response is used for indicating a plurality of atomic services, and the atomic services are continuously used in a preset time period when a user group enters the specific scene; and the electronic equipment displays a fourth control on the display screen, and the fourth control displays icons of the plurality of atomic services.
Wherein the push request is used to instruct the electronic device to enter a specific scenario, as shown in S2303 in fig. 23 to instruct the electronic device to enter a certain geofence. Optionally, the push request includes an identification of the geofence, e.g., the push request includes an identification of the subway fence. The push response is used for indicating a plurality of atomic services to be pushed, which are determined by the server. Optionally, the push response includes the identities of the plurality of atomic services to be pushed, and the server sends the identity of the two atomic services to be pushed to the electronic device as shown in S2305 in fig. 23. The fourth control is similar to the first control, and may be, for example, a control of the combined icon 101 shown in fig. 2 a.
According to the method, through the big data behavior analysis of the user group in the specific scene by the server, a plurality of atomic services which are most likely to be used by the user when entering the scene are pushed to the electronic equipment, and the accuracy of the control of the combined icon pushed to the user is ensured. The method is suitable for the first time that the user enters a certain scene, namely, when the user does not have historical behavior data in the scene.
With reference to the first aspect or the second aspect, in one possible implementation manner, the control for displaying the atomic service icon is a capsule-type control or a card-type control.
The control for displaying the atomic service icon can be a single-icon control or a combined-icon control, and the combined-icon control can display two or more icons. The single icon control may be the control shown in fig. 15 a and displayed with icon 2, the combined icon control shown in fig. 2 a and displayed with icon 1 and icon 2, and the combined icon control shown in fig. 2 a and displayed with three icons may be the control shown in fig. 1, icon 2 and icon 3 (not shown).
The capsule type control is usually displayed in a suspended state at any position of the electronic device, as shown in a, b, and c of fig. 5 or 6. The card-type controls are typically displayed in a floating window, as shown by d, e in fig. 5, or in a main interface, as shown by f in fig. 5 and d in fig. 6.
In a third aspect, an embodiment of the present application provides a presentation device for an atomic service, including: a display unit and a processing unit.
When the processing unit determines to enter a specific scene, the display unit displays a first control; and the first control displays icons of a plurality of atomic services, wherein the atomic services are continuously used in a preset time period when a user enters the specific scene.
In a fourth aspect, an embodiment of the present application provides a presentation device for an atomic service, including: a display unit and a processing unit. When the processing unit determines to enter a specific scene, the display unit displays a first control; the first control displays icons with a plurality of atomic services, wherein the atomic services are continuously used in a preset time period when a user enters the specific scene, the atomic services comprise a first atomic service and a second atomic service, the first atomic service is a health code service, and the second atomic service is a riding code service; and responding to the operation of the first control, and displaying interfaces of the atomic services in a split screen mode by a display unit.
In one possible implementation, the first control displays a first icon of a first atomic service and a second icon of a second atomic service; and responding to the operation of the first control, and displaying the interfaces of the first atomic service and the second atomic service in a split screen mode by a display unit.
In one possible implementation, the display unit displays an interface of the first atomic service in response to an operation on the first icon.
In one possible implementation manner, the interface of the first atomic service further displays the first control; in response to an operation of the second icon on the interface of the first atomic service, the display unit displays the interfaces of the first atomic service and the second atomic service in a split screen manner, or displays the interface of the second atomic service.
In a possible implementation manner, a second control is further displayed on the interface of the first atomic service and the second atomic service, which are displayed by the display unit in a split screen manner, and the second control is displayed with an icon of a third atomic service; the third atomic service is an atomic service used in association with the first atomic service and the second atomic service.
Optionally, the third atomic service is a travel card service.
In one possible implementation manner, in response to an operation for the second control, a display unit displays an interface of the third atomic service, or displays an interface of the third atomic service and the first atomic service in a split screen manner, or displays an interface of the third atomic service and the second atomic service in a split screen manner, or displays an interface of the third atomic service in a floating window form at an upper layer of an interface of the first atomic server and the second atomic service.
In one possible implementation manner, if the processing unit determines that the specific scene is entered, the display unit displays the interface of the first atomic service, and displays a third control on the interface of the first atomic service, where the third control displays an icon of the second atomic service.
In one possible implementation, in response to an operation for the third control, the display unit displays an interface of the second atomic service, or displays interfaces of the first atomic service and the second atomic service in a split screen manner.
In one possible implementation manner, if the processing unit determines that the specific scene is entered, the display unit already displays a first interface of one of the atomic services, and the display unit displays a fifth control, where the fifth control displays an icon of at least one atomic service except for the one of the atomic services.
In one possible implementation, in response to an operation for the fifth control, the display unit displays a second interface of at least one atomic service other than the displayed atomic service among the plurality of atomic services, or displays the first interface and the second interface in a split screen.
In one possible implementation manner, the processing unit determines the plurality of atomic services according to at least one of a use frequency, a use interval and a use sequence of atomic services continuously used in a preset duration when a user enters the specific scene.
In a possible implementation, the presentation device of the atomic service further comprises a communication unit. If the determining unit determines that the user enters the specific scene for the first time, the communication unit sends a push request to the server;
the communication unit receives a push response from the server, wherein the push response is used for indicating a plurality of atomic services, and the atomic services are continuously used in a preset time period when a user group enters the specific scene;
and the display unit displays a fourth control on the display screen, wherein icons of the plurality of atomic services are displayed on the fourth control.
In one possible implementation, the control that displays the atomic service icon is a capsule-type control or a card-type control.
In a fifth aspect, embodiments of the present application provide an electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, when executing the computer program, causing the electronic device to perform the method as described in the first aspect or the second aspect, or any implementation manner of the first aspect or the second aspect.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium storing instructions that, when executed, cause a computer to perform a method as described in the first aspect or the second aspect, or any implementation of the first aspect or the second aspect.
A seventh aspect, a computer program product comprising a computer program which, when run, causes a computer to perform the method as described in any implementation of the first or second aspect.
It should be understood that, in the third aspect to the seventh aspect of the present application, corresponding to the technical solutions of the first aspect or the second aspect of the present application, the beneficial effects obtained by each aspect and the corresponding possible embodiments are similar, and are not repeated.
Detailed Description
In order to clearly describe the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish the same item or similar items having substantially the same function and effect. For example, the first value and the second value are merely for distinguishing between different values, and are not limited in their order. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
In this application, the terms "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b, or c may represent: a, b, c, a and b, a and c, b and c, or a, b and c, wherein a, b, c may be single or plural.
The following is a description of some of the terms involved in this application to facilitate understanding by those skilled in the art.
1) The atomic service (may be simply referred to as a sub-service) refers to a functional operation or information content extracted from an application program according to a certain rule, which can help a user to realize his intention, for example, a scan service (including services such as acquiring a user health code by scanning a location code, and paying a scan code), a travel card service, a riding code service, a payment code service, and an office card service, which are not limited in this embodiment. In one embodiment, the atomic service is also referred to as an application sub-service.
2) Geofencing (geo-fencing) is one application of location based services (location based services, LBS) that uses a virtual fence to enclose a virtual geographic boundary. The electronic device may receive informational prompts such as automatic notifications and warnings when the electronic device enters, leaves, or is active within a particular geographic area. With geofencing technology, a location social networking site can help users automatically register when they enter a certain area. Geofences may be named differently based on different scenarios, e.g., a geofence near a subway station may be referred to as a subway fence, a geofence near an office building may be referred to as an office fence, and a geofence near an airport may be referred to as an airport fence. In embodiments of the present application, the geofence may be a common fence of a public area, and the electronic device may need to be authorized by a user of the electronic device to detect whether to enter the geofence or not.
3) Three physical states of a folding screen mobile phone: a collapsed state, an intermediate state, and an expanded state. Wherein the intermediate state may also be referred to as a scaffold state. The non-expanded state described herein includes a collapsed state and an intermediate state.
The atomic service presentation method provided by the embodiment of the application can be applied to any electronic equipment with a display function. The following description will take an electronic device as an example of a terminal device.
In order to better understand the embodiments of the present application, the structure of the terminal device of the embodiments of the present application is described below. Fig. 1 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 1, the terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, an indicator 192, a camera 193, a display 194, and the like.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
It is understood that the terminal device may also be referred to as a terminal (terminal), a User Equipment (UE), a Mobile Station (MS), a Mobile Terminal (MT), etc. The terminal device may be a mobile phone (mobile phone) with a display screen, a smart tv, a wearable device, a tablet (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an augmented reality (augmented reality, AR) terminal device, a wireless terminal in an industrial control (industrial control), a wireless terminal in an unmanned (self-driving), a wireless terminal in a teleoperation (remote medical surgery), a wireless terminal in a smart grid (smart grid), a wireless terminal in a transportation security (transportation safety), a wireless terminal in a smart city (smart city), a wireless terminal in a smart home (smart home), or the like. The embodiment of the application does not limit the specific technology and the specific equipment form adopted by the terminal equipment.
Currently, in some specific scenarios, a user has a need to continuously use multiple atomic services for a short period of time, for example, when entering a subway station, the user has a need to continuously open a health code and a riding code. In general, a user needs to access the health code interface by scanning a service, and after the health code interface is displayed, the user needs to exit the health code interface and access the riding code interface. The operation process is complicated, and the use experience of the user is poor. In this regard, the embodiment of the application provides a method for presenting an atomic service, which can optimize the above operation process and simplify the user operation.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be implemented independently or combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
In the embodiment of the present application, a terminal device is taken as an example of a mobile phone for illustration, and the example does not constitute a limitation of the embodiment of the present application.
In one embodiment of the present application, when the terminal device determines that a specific scene is entered, if the terminal device determines that the user has an operation intention to use two atomic services, the terminal device displays a combined icon on a display screen, where the combined icon includes icons corresponding to the two atomic services, and the combined icon is used to trigger the two atomic services to be opened quickly.
The push display of the combined icon by the terminal device is described below by taking an interface of the terminal device as a straight mobile phone or a folding screen mobile phone in a non-unfolded state as an example. As shown in fig. 2 a, when the terminal device determines that the terminal device enters a specific scene, and determines that the user has an operation intention to call the atomic service 1 and the atomic service 2 according to the historical behavior data of the user entering the specific scene, the terminal device displays a combined icon 101 on a display screen, and the combined icon 101 includes an icon 1 corresponding to the atomic service 1 and an icon 2 corresponding to the atomic service 2. In one example, the user clicks on any position of the combined icon 101, and the terminal device invokes the atomic service 1 and the atomic service 2, and displays the interfaces of the atomic service 1 and the atomic service 2 on the display screen in a split screen manner. By the method, the combined icon is pushed to the user, and when the user reaches a specific scene, the user can quickly call the interfaces of two atomic services corresponding to the combined icon by clicking the combined icon on the display screen, so that the user operation is simplified, and the user experience is improved.
In order to facilitate understanding, the process of pushing the combined icon by the terminal device is exemplified below through several specific scenarios.
In one possible scenario, when the terminal device determines to enter the subway fence, the terminal device pushes the combined icon on, for example, a lock screen interface, where the combined icon may be displayed in a suspended state on, for example, a right boundary of the lock screen interface. If the terminal equipment determines that the user has the following behavior habits according to the historical behavior data of the user in the subway fence: when a user arrives at a subway station, firstly, a user scans and opens a health code, arrives near a subway gate, and then opens a riding code, and scans and enters the subway fence, and when the terminal equipment determines to enter the subway fence, a combined icon 201 comprising a health code service and a riding code service is displayed on a screen locking interface, and as shown in fig. 3 a, the combined icon 201 comprises an icon 202 corresponding to the health code service and an icon 203 corresponding to the riding code service. In one example, the user clicks any position of the combined icon 201 on the lock screen interface, and the terminal device invokes the health code service and the riding code service, and displays the interfaces of the health code service and the riding code service on the display screen in a manner of split screen up and down. As shown in fig. 3 a, after the user clicks on the combined icon 201 of the left lock screen interface, the terminal device displays an interface 204 of the health code service above the display screen and an interface 205 of the ride code service below the display screen. According to the method, when a user arrives at a subway station, the user can quickly call the interface of the health code and the riding code by clicking the combined icon pushed by the terminal equipment, so that the user operation is simplified.
In one possible scenario, when the terminal device determines to enter the office fence, the terminal device pushes the combined icon on, for example, a lock screen interface, where the combined icon may be displayed in a suspended state on, for example, a right boundary of the lock screen interface. If the terminal equipment determines that the user has the following behavior habits according to the historical behavior data of the user in the office fence: when a user arrives at a company downstairs, office software is firstly opened for punching a card, then a health code is scanned and opened, and when the terminal equipment determines that the user enters an office fence, a combined icon 206 comprising a card punching service and a health code service can be displayed on a screen locking interface, and as shown in b in fig. 3, the combined icon 206 comprises an icon 207 corresponding to the card punching service and an icon 202 corresponding to the health code service. In one example, a user clicks an arbitrary position of the combined icon on the lock screen interface, and the terminal device invokes an interface of the card punching service and the health code service, and displays the interface of the card punching service and the health code service on the display screen in a mode of splitting the screen up and down. As shown in fig. 3 b, after clicking the combined icon 206 of the left lock screen interface, the terminal device displays the interface 208 of the card punching service above the display screen and the interface 204 of the health code service below. According to the method, when a user arrives at an office place, the user can quickly call the interface of the card punching and health code by clicking the combined icon pushed by the terminal equipment, so that the user operation is simplified.
In one possible scenario, when the terminal device determines to enter the airport fence, the terminal device pushes the composite icon on, for example, the lock screen interface, which may be displayed in suspension on, for example, the right boundary of the lock screen interface. If the terminal equipment determines that the user has the following behavior habits according to the historical behavior data of the user in the airport fence: when the user arrives at the airport terminal building, the user first scans a health code to open the health code, and then presents the travel card, and when the terminal device determines that the user enters the airport fence, a combined icon 209 corresponding to the health code service and the travel card service can be displayed on a display screen, as shown in fig. 3 c, and the combined icon 209 comprises an icon 202 corresponding to the health code service and an icon 2010 corresponding to the travel card service. In one example, the user clicks any position of the combined icon on the screen locking interface, the terminal device invokes the interfaces of the health code service and the travel card service, and displays the interfaces of the health code service and the travel card service in a manner of splitting the screen above and below the display screen, as shown in fig. 3 c, after the user clicks the combined icon 209 of the left screen locking interface, the terminal device displays the interface 204 of the health code service above the display screen, and displays the interface 2011 of the riding code service below the display screen. According to the method, when a user arrives at an airport terminal, the user can quickly call the interface of the health code and the travel card by clicking the combined icon pushed by the terminal equipment, so that the user operation is simplified.
The following describes pushing and displaying a combined icon by using a folding screen mobile phone with a terminal device as an unfolding state as an example. As shown in fig. 4 a, when the terminal device determines that the terminal device enters a specific scene, and determines that the user has an operation intention to call the atomic service 1 and the atomic service 2 according to the historical behavior data of the user entering the specific scene, the terminal device displays a combined icon 401 on a display screen, and the combined icon 401 includes an icon 1 corresponding to the atomic service 1 and an icon 2 corresponding to the atomic service 2. The user clicks on any position of the combined icon 401, and the terminal device invokes the atomic service 1 and the atomic service 2. In the case, as shown in fig. 4 b, the interfaces of the atomic service 1 and the atomic service 2 are displayed on the display screen in a left-right split manner; in another case, as shown in fig. 4 c, the interfaces of the atomic service 1 and the atomic service 2 are displayed on the upper and lower screens of the right half of the display screen, and the original interface (i.e., the interface shown in fig. 4 a) is displayed on the left half of the display screen. In the second case, the display screen is divided into three parts for displaying the interface content, so that the original interface is not influenced by the user, and simultaneously, two atomic service interfaces possibly used by the user in a specific scene are opened by one key, thereby simplifying the user operation and improving the user experience.
For the subway fence scene, the combined icon 401 may include an icon corresponding to the health code service and an icon corresponding to the riding code service, the user clicks any position of the combined icon 401, and the terminal device displays the interface of the health code service and the interface of the riding code service on the display screen in a left-right split screen manner.
For the office fence scene, the combined icon 401 may include an icon corresponding to the card punching service and an icon corresponding to the health code, the user clicks any position of the combined icon 401, and the terminal device displays the interface of the card punching service and the interface of the health code service on the display screen in a left-right split screen manner.
For the airport fence scene, the combined icon 401 may include an icon corresponding to the health code service and an icon corresponding to the travel card service, the user clicks any position of the combined icon 401, and the terminal device displays the interface of the health code service and the interface of the travel card service on the display screen in a left-right split screen manner.
Based on the above embodiment, when the terminal device determines to enter a specific scene, the terminal device may determine, according to the historical behavior data of the user in the specific scene, two atomic services that the user is most likely to open, and push and display a combined icon on the display screen, where the combined icon is used to trigger the two atomic services to be simultaneously opened. The interface display mode of the combined icon is exemplified below with reference to the accompanying drawings. Fig. 5 shows an interface schematic of a combined icon of a bar phone or a folding screen phone in a non-unfolded state, and fig. 6 shows an interface schematic of a combined icon of a folding screen phone in an unfolded state.
In a possible display manner, the terminal device detects that the currently opened interface is the main interface, and the terminal device may display the pushed combined icon in a suspended state at the right boundary of the main interface, as shown in fig. 5 a or fig. 6 a.
One possible display manner is that the terminal device detects that the currently opened interface is a screen locking interface, and the terminal device can display the pushed combined icon in a suspended state on the right boundary of the screen locking interface, as shown in b in fig. 5 or b in fig. 6.
One possible display manner is that the terminal device detects that the currently opened interface is an interface of a third party application or a system application, for example, a chat interface of a short message application or a social application, and the terminal device may display the pushed combined icon in a suspended state at a right boundary of the interface of the third party application or the system application, as shown in fig. 5 c or fig. 6 c.
One possible display manner is that the terminal device detects a control center interface that is called by a user through, for example, a pull-down operation, and the terminal device may display a pushed combined icon on the control center interface, as shown in d in fig. 5, where the control center interface includes, for example, a switch button such as WLAN, bluetooth, mobile data, mute, auto-rotate, etc., a brightness adjustment slider, a music playing control, a combined icon, etc.
One possible display manner is that the terminal device detects a global search interface that is invoked by a user through, for example, a pull-down operation, and the terminal device may display a pushed combined icon on the global search interface, where the global search interface includes, for example, a search box, a to-do query, a news heat list, a combined icon, and so on, as shown in fig. 5 e.
One possible display mode is that the terminal equipment detects that an interface which is currently opened by a user is a main interface, and the terminal equipment can display pushed combined icons in an APP suggestion area of the main interface in an APP icon mode. As shown by f in fig. 5, a combined icon displayed in the APP advice area 501, or as shown by d in fig. 6, a combined icon displayed in the APP advice area 601.
Based on the above several display modes, the interface for displaying the combined icon may be a screen locking interface, a main interface, a display interface of a third party application or a system application of the terminal device, and the like. In one case, the combined icon can be displayed on any interface of the terminal equipment in a suspended state, and belongs to a capsule type control, and the combined icon can also be called a combined suspended ball, a combined suspended capsule, a split-screen suspended ball or a split-screen suspended capsule. In another case, the combined icon may be displayed on the main interface or the floating window in the form of a card control, which belongs to the card control and may be called as a combined control, and the combined icon has the same property as other icons or controls on the main interface or the floating window, except that the combined icon can trigger to open two atomic services at the same time.
It should be noted that, if the combined icon is displayed in a suspended state on any interface of the terminal device, the combined icon may be displayed in a suspended state on a left boundary, a right boundary, an upper boundary, a lower boundary of the interface, and may also be displayed in a suspended state on a central position of the interface, which is not limited in this application. The user can drag the combined icon to any position on the interface according to personal operation habits.
The design pattern of the combination icon is described below with reference to fig. 7 and 8. The combined icon comprises an icon 1 and an icon 2, wherein the icon 1 corresponds to one atomic service, the icon 2 corresponds to another atomic service, and the icon 1 and the icon 2 can be horizontally or vertically arranged.
As shown in fig. 7, the icons 1 and 2 in the first group of combined icons are horizontally arranged, i.e., left and right arranged: a vertical line is added between the icon 1 and the icon 2 to indicate that the combined icon has a split screen function (a left split screen and a right split screen or an upper split screen and a lower split screen can be triggered) to a user; in another design, a character 'split screen' is arranged between the icon 1 and the icon 2 to indicate to a user that the combined icon has a split screen function; in yet another design, a split screen indication may not be provided between the icon 1 and the icon 2. The combined icons of the first group may be displayed in the form of a card control on the main interface or a floating window.
Unlike the first group of composite icons, the composite icons of the second group may be displayed in a suspended state at the boundary of any interface of the terminal device, and the right side of the composite icons of the second group shown in fig. 7 is a straight line, may be suspended at the right boundary of the interface, and may be configured in the same manner as the composite icons suspended at the left boundary of the interface.
In the third group of combined icons, the icons 1 and 2 are vertically arranged, namely, vertically arranged, the design of the middle parts of the icons 1 and 2 is similar to that of the first group, and a horizontal line or a character split screen can be added between the icons 1 and 2 to indicate that a user has a split screen function, and particularly, the upper split screen and the lower split screen can be indicated.
Through the design of the combined icon style, a user knows that the pushed combined icon has a split screen function, and is guided to acquire the split screen interface content by using the combined icon.
In practical application, the sub-icons (i.e. icon 1 and icon 2) in the combined icon shown in fig. 7 correspond to different atomic services, and different sub-icon patterns can be designed for different atomic services. Fig. 8 illustrates various types of atomic service corresponding icons, such as travel card icons, ride code icons, office punch-card icons, swipe icons, payment code icons, and the like. According to different application programs, the identification of the application program can be further added to the right lower corner of the icon corresponding to each atomic service.
In one example, the identification of the application may be an icon of the application, such as a graph8, comprisesThe travel card icon, the riding code icon and the sweep-scan icon of the icon comprise +.>The travel card icon, the sweep icon, and the payment code icon of the icon include +.>A ride code icon of the icon. The terminal device determines two atomic services pushed to the user, which may be two atomic services of an application program frequently used by the user (e.g.)>Application sweep service and ride code service), or atomic services of two applications frequently used by the user (e.g. +.>Applied one-sweep service and +.>The riding code service of the application), after the icons corresponding to the two atomic services are acquired, generating a combined icon according to the icons corresponding to the two atomic services, and displaying the combined icon on a display screen.
Through the style design of sub-icons in the combined icon, a user is enabled to acquire the application program corresponding to the pushed combined icon and the sub-service corresponding to the application program, and the user experience is improved.
Based on the above embodiment, the combined icon may be an integrated icon, that is, the user clicks any position of the combined icon, for example, the user clicks the icon 1 or the icon 2 on the combined icon, or the intermediate position of the icon 1 and the icon 2, which can trigger the terminal device to simultaneously open the atomic service 1 corresponding to the icon 1 and the atomic service 2 corresponding to the icon 2.
Alternatively, in one embodiment, the composite icon may be a zone controlled icon. Fig. 9 shows an operation schematic of the combined icon partition control. As shown in fig. 9 a, the user clicks the icon 1 on the combined icon, triggers the terminal device to start the atomic service 1 corresponding to the icon 1, and switches the interface of the terminal device to the interface of the atomic service 1. Optionally, the combined icon is still displayed on the interface of the atomic service 1, as shown in fig. 9 b, at this time, the user may click on the icon 2 on the combined icon, and trigger the terminal device to start the atomic service 2 corresponding to the icon 2:
in case the interface of the terminal device is switched from the interface of the atomic service 1 to the interface of the atomic service 2 as shown in fig. 9 c. Optionally, the combined icon is still displayed on the interface of the atomic service 2;
in another case, the terminal device displays the interface of the atomic service 1 and the interface of the atomic service 2 on the upper and lower split screens, as shown in d of fig. 9. Optionally, the terminal device may display the interface of the atomic service 2 above the display screen, and display the interface of the atomic service 1 below the display screen, where the display manner is based on the attention of the interface, and displays the interface of the atomic service that is not yet used by the user in a significant position, for example, above the split screen interface, so as to better conform to the use habit of the user.
Similarly, the user may click on icon 2 on the combined icon, and the implementation principle is similar to that of the above example, and will not be repeated here.
Based on the above embodiment, the combined icon has a function of partition control, and the user can autonomously select whether to sequentially open two atomic services or simultaneously open two atomic services. Specifically, the user can click on the region corresponding to the icon 1 or the icon 2 in the combined icon, and select to only open the atomic service corresponding to the icon 1 or the icon 2; the user may also click on the region between icon 1 and icon 2 in the combined icon (e.g., the vertical line between icon 1 and icon 2) to select to turn on two atomic services simultaneously. Through the setting, the user can select the opening mode of the atomic service in the combined icon according to the actual demand, and the use experience of the user is improved.
Based on the above embodiments, when the terminal device determines to enter a specific scene, the terminal device displays a combined icon on the display screen, where the display situation of the combined icon includes two kinds of following: one is that the user clicks any position of the combined icon, and triggers the split screen to display interfaces of two atomic services corresponding to the combined icon, so that the combined icon disappears; and the other is that after the user clicks any sub-icon in the combined icon, the interface for displaying the atomic service corresponding to the sub-icon is triggered, and the combined icon is kept in a suspended state, namely the combined icon does not disappear. That is, the combined icon may disappear based on the touch of the user, and may remain displayed for a preset period of time after the touch of the user. Optionally, if the user does not touch the combined icon all the time, for example, the user only passes by an office place or near a subway station, the user does not intend to click the combined icon, in one case, the combined icon is kept in a suspended state on the display screen, and when the terminal device determines that the user leaves a specific scene, the display of the combined icon is canceled; in another case, the user can drag the combined icon into the trash can hidden at the bottom of the interface, and manually cancel the display of the combined icon.
In the above-described embodiments, the explanation is made taking the case where the terminal device judges that the user has an operation intention of using two atomic services when entering a specific scene as an example. In practical applications, a user may have more than three operational intents when entering a particular scene, i.e., the user may use more than three atomic services when entering a particular scene. For example, when a user arrives at a subway station, the user first scans a scan to open a health code, then displays a travel card, and then opens a riding code to scan the code to enter the station. For another example, when the user arrives under the company building, he first opens the office software to punch a card, then opens the payment code to purchase breakfast, and then scans the open health code to enter the office building. Based on the above application scenario, how the terminal device pushes the combined icon is described below in connection with several specific embodiments.
In one embodiment of the present application, when the terminal device determines to enter a specific scenario, the terminal device determines three or more atomic services to be pushed from a plurality of atomic services according to historical behavior data of a user entering the specific scenario, wherein the three or more atomic services include two atomic services that are pushed preferentially and at least one atomic service that is pushed next preferentially. In one case, only a combined icon of two atomic services which are preferentially pushed is displayed; in another case, a combined icon of two atomic services which are preferentially pushed is displayed, and after a user triggers the combined icon and displays an interface of the two atomic services in a split screen, icons of other atomic services except the two atomic services which are preferentially pushed in the multiple atomic services are displayed on the interface, wherein the icons of the other atomic services comprise icons of single atomic services or new combined icons.
The terminal equipment is taken as an interface of a straight mobile phone or a folding screen mobile phone in a non-unfolded state as an example, and the icon is pushed twice by the terminal equipment for illustration.
For example, assuming that the terminal device determines that the user has an operation intention to use three atomic services (atomic service 1, atomic service 2, and atomic service 3) in a specific scenario, the terminal device determines to preferentially push the atomic service 1 and the atomic service 2 from the three atomic services, as shown in fig. 10 a, the terminal device displays a combined icon on a display screen, and the combined icon includes an icon 1 corresponding to the atomic service 1 and an icon 2 corresponding to the atomic service 2. The user clicks any position of the combined icon, and the terminal device invokes the atomic service 1 and the atomic service 2 and displays the interfaces of the atomic service 1 and the atomic service 2 on the display screen in a split screen mode, as shown in b in fig. 10.
Alternatively, after icon 3 corresponding to atomic service 3 is displayed on the interface shown in fig. 10 b and the user clicks on icon 3, in one case, the interface of atomic service 1 above the interface shown in fig. 10 b is replaced with the interface of atomic service 3, as shown in fig. 10 c; in another case, the interface shown in fig. 10 is jumped to the interface of the atomic service 3, as shown in d of fig. 10. The first situation is based on the attention of the interface, and the interface of the atomic service which is not used by the user is displayed in a remarkable position, so that the use habit of the user is more met. The second case described above mainly takes into account that the user may no longer use the opened interface, and thus interface jumps directly.
Based on the pushing procedure of the combined icon shown in fig. 10, the operation of the user on the interface is not limited to the click operation, but may be a drag operation. The following describes the user operation mode of the user in the combined icon pushing process through two specific examples.
An alternative example is shown in fig. 11 a, where the user clicks on the combined icon on the display screen, displays the interfaces of the atomic service 1 and the atomic service 2 on the interface shown in fig. 11 b in a manner of splitting up and down, simultaneously displays the icon 3 corresponding to the atomic service 3, and releases the icon 3 after dragging the icon 3 into the interface of the atomic service 2 (such as the center position of the interface), and replaces the interface of the atomic service 2 below the interface shown in fig. 11 b with the interface of the atomic service 3, as shown in fig. 11 c. Similarly, the user may drag the icon 3 to the center of the interface of the atomic service 1 and release the icon, and replace the interface of the atomic service 1 with the interface of the atomic service 3.
An alternative example is shown in fig. 12 a, where the user clicks on the combined icon on the display screen, displays the interfaces of the atomic service 1 and the atomic service 2 in a manner of split screen up and down on the interface shown in fig. 12 b, simultaneously displays the icon 3 corresponding to the atomic service 3, and releases the icon 3 after dragging the icon 3 to the interface boundary of the atomic service 2, where the icon 3 is suspended on the right boundary of the interface of the atomic service 2, as shown in fig. 12 c, and then clicks on the icon 3, and replaces the interface of the atomic service 2 with the interface of the atomic service 3, as shown in fig. 12 d.
In the above examples, the terminal device may implement interface jump or interface replacement based on different touch operations of the user, so as to satisfy the use habits of different users and improve the user operation experience.
By way of example, assuming that the terminal device determines that the user has an operation intention to use four atomic services (atomic service 1, atomic service 2, atomic service 3, atomic service 4) into a specific scenario, the terminal device determines to preferentially push atomic service 1 and atomic service 2 from among the four atomic services, and then pushes atomic service 3 and atomic service 4. As shown in fig. 13 a, the terminal device displays a first combined icon 1301 on the display screen, where the first combined icon 1301 includes an icon 1 corresponding to an atomic service 1 and an icon 2 corresponding to an atomic service 2. The user clicks the first combined icon 1301, displays the interfaces of the atomic service 1 and the atomic service 2 in a manner of dividing the screen up and down, and simultaneously displays the second combined icon 1302, as shown in fig. 13 b, the second combined icon 1302 including the icon 3 corresponding to the atomic service 3 and the icon 4 corresponding to the atomic service 4. The user clicks on the second combined icon 1302, and the interfaces of the atomic service 3 and the atomic service 4 are displayed on the display screen in a split screen manner.
Based on the above examples, after determining two atomic services to be pushed preferentially, the terminal device pushes the combined icon of the two atomic services first, and on the split screen display interface after the user triggers the combined icon, the icon of the third atomic service or the combined icon of the two atomic services to be pushed remaining may be pushed further. The two atomic services to be pushed may be two atomic services that are pushed preferentially among the plurality of atomic services to be pushed.
The terminal equipment is illustrated by pushing icons twice by taking an interface of the folding screen mobile phone with the terminal equipment as an unfolding state as an example.
For example, assuming that the terminal device determines that the user has an operation intention to use three atomic services (atomic service 1, atomic service 2, and atomic service 3) in a specific scenario, the terminal device determines to preferentially push the atomic service 1 and the atomic service 2 from the three atomic services, as shown in fig. 14 a, the terminal device displays a combined icon on a display screen, the combined icon including icon 1 corresponding to the atomic service 1 and icon 2 corresponding to the atomic service 2. The user clicks any position of the combined icon, the terminal device invokes the atomic service 1 and the atomic service 2, and displays the interface between the atomic service 1 and the atomic service 2 in a left-right split screen manner on the display screen, and simultaneously displays an icon 3 corresponding to the atomic service 3 on the interface, as shown in fig. 14 b. The user clicks on icon 3 and the interface jumps to the interface of atomic service 3 as shown in fig. 14 c. Alternatively, the user clicks on icon 3, and the interface of atomic service 1 or atomic service 2 may be replaced with the interface of atomic service 3 (not shown in fig. 14). Optionally, the user may further replace any sub-interface by dragging the icon 3 to any sub-interface of the left and right split screen interfaces, and the specific operation manner may refer to fig. 11 or fig. 12, which is not described herein again.
In summary, in the embodiment, when the terminal device determines to enter a specific scene, it may determine to push at least two atomic services to the user according to historical behavior data of the user in the specific scene. If the two atomic services are determined to be pushed to the user, the combined icon of the two atomic services can be directly pushed on the interface which is currently opened by the user; if it is determined that more than three atomic services are pushed to the user, the icon of the atomic service can be pushed twice, the combined icon of the two prior atomic services is pushed for the first time, and the other atomic services except the two prior atomic services are pushed for the second time.
It should be noted that there is a special case that when a user enters a specific scene, an atomic service is already opened in advance, and the atomic service opened in advance is one of two atomic services that are preferentially pushed by a terminal device when the user enters the specific scene, and at this time, the terminal device can push an icon of the other atomic service in the two atomic services to the user. Optionally, if the atomic service to be pushed includes two atomic services that are pushed preferentially and a certain atomic service that is pushed less preferentially, and the user has opened one of the two atomic services that are pushed preferentially in advance, the terminal device may push, to the user, a combined icon of the other atomic service of the two atomic services and the atomic service that is pushed less preferentially.
For example, when a user arrives at a subway station, the health code is already opened in advance, the terminal equipment determines that the user needs to open the riding code according to the historical behavior data of the user in the rail of the subway station, an icon corresponding to the riding code service can be pushed on a health code interface which is currently opened by the user, and the user can jump to the riding code interface by clicking the icon. For example, when the user arrives under the office building, the card punching interface of the office software is opened in advance, the terminal equipment determines that the user has the requirement of opening the health code and the travel card according to the historical behavior data of the user in the office fence, the combined icon of the health code service and the travel card service can be pushed on the card punching interface which is currently opened by the user, and the user can split-screen display the health code interface and the travel card interface by clicking the combined icon.
The operation process of pushing the icon by the terminal device is described below by taking the terminal device as a straight mobile phone or an interface of a folding screen mobile phone in a non-unfolded state as an example.
An alternative example, the terminal device determines, according to historical behavior data of the user in a specific scene, that the user has a need to open two atomic services, namely an atomic service 1 and an atomic service 2. Assuming that the user has opened the interface of the atomic service 1 when entering a specific scenario, the terminal device pushes the icon 2 corresponding to the atomic service 2 at the interface, as shown in fig. 15 a. The user clicks the icon 2, in one case, the terminal device jumps from the interface of the atomic service 1 to the interface of the atomic service 2, as shown in fig. 15 b; in another case, the terminal device displays the interfaces of the atomic service 1 and the atomic service 2 in a manner of split screen up and down, as shown in fig. 15 c, the interface of the atomic service 1 is displayed above the display screen of the terminal device, and the interface of the atomic service 2 is displayed below the display screen of the terminal device.
In this example, when determining two atom services that can be pushed, if detecting that the current interface is one of the atom services, the terminal device pushes an icon of another atom service on the current interface, so that a user can conveniently and quickly open an unopened atom service interface, and user experience is improved.
An alternative example, the terminal device determines that the user has a need to play three atomic services, namely an atomic service 1, an atomic service 2 and an atomic service 3, according to historical behavior data of the user in a specific scene. Assuming that the user has opened the interface of the atomic service 1 when entering a specific scenario, the terminal device pushes the combined icon of the atomic service 2 and the atomic service 3 at the interface, as shown in fig. 16 a. The user clicks the combined icon, and the terminal device displays the interfaces of the atomic service 2 and the atomic service 3 in a manner of split screens up and down, as shown in fig. 16 b, the interface of the atomic service 2 is displayed above the display screen of the terminal device, and the interface of the atomic service 3 is displayed below the display screen of the terminal device.
Optionally, the terminal device displays the interfaces of the atomic service 2 and the atomic service 3 in a manner of split screen up and down, and the interface can display an icon 1 corresponding to the atomic service 1, as shown in fig. 17 b, and the user clicks the icon 1, in one case, the interface returns to the interface of the atomic service 1 again, as shown in fig. 17 c; in another case, the interface of the atomic service 2 above the interface shown in fig. 17 b is replaced with the interface of the atomic service 1, as shown in fig. 17 d.
Optionally, the terminal device displays the interface of the atomic service 2 and the atomic service 3 in a manner of split screens, where the interface may display a return control 1801, as shown in fig. 18 b, and the user returns to the interface of the atomic service 1 again by clicking the return control 1801, as shown in fig. 18 c.
In this example, after determining three atom services that can be pushed, if the terminal device detects that the current interface is one of the atom services, pushing the combined icon of the other two atom services on the current interface, so that a user can conveniently and simultaneously open the interfaces of the unopened two atom services, and user experience is improved.
It is to be understood that the interfaces provided in the embodiments of the present application are merely examples and are not to be construed as limiting the embodiments of the present application.
Based on the above embodiments, the embodiments of the present application further provide a method for presenting an atomic service, where the method relates to an interaction process inside a terminal device. Before introducing the method, a software structure of the terminal device will be described first.
The software system of the terminal device can adopt a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture or a cloud architecture. In the embodiment of the application, a software system with a layered architecture is taken as an Android system as an example, and a software structure of terminal equipment is illustrated. Fig. 19 is a block diagram of a software structure of a terminal device applicable to the embodiment of the present application. The layered architecture of the terminal device divides the software into several layers, each layer having a distinct role and division of work. The layers communicate with each other through a software interface. In one embodiment, the Android system is divided into four layers, from top to bottom, an application layer (applications), an application framework layer (application framework), an Zhuoyun rows (Android run) and a system library, and a kernel layer (kernel), respectively.
The application layer may include a series of application packages. As shown in FIG. 19, the application layer may include context aware modules, business logic processing modules, business rendering modules, gallery, WLAN, navigation, bluetooth, and other applications.
The context awareness module is resident or operates in a low power form, with the ability to perceive an external fact or environment. When the card reminds of the service on state, the situation awareness module monitors registered matters (such as specific time, specific place or specific event, etc.), and if a user triggers one of the matters, the situation awareness module sends a notice to the service logic processing module. In addition, the context awareness module may also detect related events and acquire states of events from other applications of the application layer or the application framework layer or the kernel layer through the application program interface, such as detecting bluetooth connections, network connections, monitoring user sms, customizing timers, locations, page data, etc.
The business logic processing module is used for pushing one or more atomic services which are most likely to be opened by the user in the geofence according to the historical behavior data of the user in the geofence, and notifying the business presentation module so that the business presentation module can present icons (including combined icons) or cards.
And the service presentation module (such as YOYO proposal) is used for controlling the display or disappearance of various card type controls or capsule type controls. For example, the service presentation module may receive an icon push indication of the service logic processing module, generate a combined icon, and display the combined icon in a display screen for presentation to a user for viewing. For another example, the service rendering module may receive an indication of a drop icon for the service logic processing module, the service rendering module dropping the display of the combined icon.
It should be noted that, the context awareness module and the business logic processing module need to obtain authorization or consent of the user, so that personal information such as user location information, behavior data and the like can be obtained.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions. As shown in fig. 19, the application framework layer may include a window manager, a content provider, a view system, a resource manager, a notification manager, an activity manager, etc., which is not limited by the embodiments of the present application. Wherein the window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like, and can also be responsible for processing interface display, such as controlling the upper and lower split screens or the left and right split screen display.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc. The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications. Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
The android runtime includes a core library and virtual machines. And the android running time is responsible for scheduling and managing an android system. The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android. The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The kernel layer is a layer between hardware and software. The kernel layer at least includes display driver, wi-Fi driver, bluetooth driver, audio driver, sensor driver, etc., which is not limited in this embodiment of the present application.
As shown in fig. 19, a system library, a kernel layer, and the like below the application framework layer may be referred to as an underlying system including an underlying display system for providing a display service, for example, the underlying display system includes a display driver in the kernel layer, a surface manager in the system library, and the like.
It will be appreciated that the layers and the components contained in the layers in the software structure shown in fig. 19 do not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer layers than illustrated, and more or fewer components may be included in each layer, as the present application is not limited.
The method for presenting an atomic service provided in the embodiment of the present application will be described below with reference to specific embodiments on the basis of the structure of the terminal device shown in fig. 19. The following embodiments may be combined with each other, and some embodiments may not be repeated for the same or similar concepts or processes.
Fig. 20 is a flow chart of a method for presenting an atomic service according to an embodiment of the present application. As shown in fig. 20, the method for presenting an atomic service provided in the embodiment of the present application may include the following steps:
s2001, the context awareness module notifies the business logic processing module of entering the geofence.
The context awareness module notifies the business logic processing module of the entry into the geofence when the terminal device is detected to enter the geofence. The context awareness module needs to register the geofence in advance so as to monitor whether the terminal equipment enters the registered geofence in real time.
In one embodiment, a business logic processing module obtains geofence information for a current region from a server (which may be referred to as a cloud) and instructs a context awareness module to register a geofence for the current region. Wherein the geofence information includes geofence information for different scenes (or different sites) of the current region.
In one embodiment, the service logic processing module may obtain the geofence information of the current region from the server when any scene such as first power on, initialization, off-screen charging, etc.
In one embodiment, the business logic processing module may periodically obtain the geofence information for the current region from the server, for example, updating the geofence information for the current region every other week. In one embodiment, if the geofence information for the current region is updated, the server may push the updated geofence information to the terminal device.
The context awareness module may identify the geographic scope corresponding to the geofence by geographic location (e.g., determining the geographic location by GPS positioning, etc.), or may identify the geographic scope corresponding to the geofence by signal fingerprint within the geographic scope (e.g., base station information, wi-Fi information, bluetooth information, etc. that can be detected within the geographic scope).
The context awareness module notifies the business logic processing module of entering the geofence, and specifically comprises: the identification of the geofence is sent to the business logic processing module, so that the business logic processing module queries historical behavior data of the user at the geofence based on the identification of the geofence.
S2002, a business logic processing module determines two atomic services to be pushed according to historical behavior data of a user in a geofence.
In one embodiment, the business logic processing module obtains historical behavior data of the user at the geofence from the memory based on the identification of the geofence. Wherein the historical behavior data includes, for example, an identification of an atomic service that was used (or opened) by the user within the geofence, a time of use (or opened) of the atomic service, a sequence of use (or opened) of the atomic service, a frequency of use (or opened) of the atomic service, and the like.
In one embodiment, the two atomic services to be pushed as determined by the business logic processing module may be two atomic services (or atomic service pairs) that the user has used continuously (or opened continuously) within the geofence. Alternatively, two atomic services that are continuously used may refer to two atomic services that are continuously used for a preset period of time (e.g., for 5 minutes). For example, when a user enters a subway fence, the health code and the riding code are sequentially opened within a preset time period, and the business logic processing module determines that two atomic services to be pushed are respectively the health code service and the riding code service. For another example, when a user enters an airport fence, the health code and the travel card are opened in sequence within a preset time period, and the business logic processing module determines that two atomic services to be pushed are respectively health code service and travel card service.
In one embodiment, if there are multiple atomic service pairs that the user has used consecutively within the same geofence, the business logic processing module selects the atomic service pair with the highest frequency of use from the multiple atomic service pairs according to the frequency of use of the atomic service pairs. For example, a user has continuously used the following atomic service pairs within a certain geofence: atomic service 1- & gt atomic service 2, atomic service 3- & gt atomic service 4, atomic service 5- & gt atomic service 6, and the business logic processing module counts the using frequency of atomic service 1- & gt atomic service 2, atomic service 3- & gt atomic service 4 and atomic service 5- & gt atomic service 6 to be 10 times, 2 times and 3 times respectively, and the business logic processing module determines that the atomic service pair to be pushed is atomic service 1 and atomic service 2.
In one embodiment, if there are three or more atomic services that the user has used continuously in the same geofence, i.e. the user uses three or more atomic services continuously in a preset duration, the business logic process may first obtain a plurality of atomic service pairs according to the opening sequence according to the sequence and the interval of opening the atomic services, and then determine the atomic service pair to be pushed according to any one of the following modes:
an alternative way is: the atomic service pair with the shortest open time interval is selected from the atomic service pairs. For example, a user has turned on the following atomic services in turn within a geofence: atomic service 1- > atomic service 2- > atomic service 3- > atomic service 4, wherein the time interval for opening atomic service 1 and atomic service 2 is 1 minute, the time interval for opening atomic service 2 and atomic service 3 is 15 seconds, the time interval for opening atomic service 3 and atomic service 4 is 2 minutes, and the business logic processing module takes the atomic service 2 and atomic service 3 with the shortest open time interval as two atomic services to be pushed.
An alternative way is: the most frequently used atomic service pairs are selected from the plurality of atomic service pairs. For example, a user has continuously used the following atomic service pairs within a certain geofence: atomic service 1- & gt atomic service 2, atomic service 1- & gt atomic service 2- & gt atomic service 3, atomic service 2- & gt atomic service 4, atomic service 1- & gt atomic service 2- & gt atomic service 4, and the business logic processing module firstly determines that the atom service pairs capable of being pushed are: atomic service 1 and atomic service 2, atomic service 2 and atomic service 3, atomic service 2 and atomic service 4, and then counting the use frequency of atomic service 1- > atomic service 2, atomic service 2- > atomic service 3 and atomic service 2- > atomic service 4 respectively for 3 times, 1 time and 2 times, and determining that the atomic service pair to be pushed is atomic service 1 and atomic service 2 by the service logic processing module.
An alternative way is: and determining the atomic service pairs to be pushed according to the using frequency of the atomic service pairs and the open time interval. If there are a plurality of atomic service pairs with highest frequency of use, the atomic service pair with the shortest time interval can be further used as the atomic service pair to be pushed according to the time interval of opening the atomic service pair. If there are a plurality of atomic service pairs with the shortest open time interval, the atomic service pair with the highest use frequency can be used as the atomic service pair to be pushed according to the use frequency of the atomic service pairs.
And S2003, the business logic processing module sends the identification of the two atomic services to be pushed to the business presentation module.
And S2004, the service presentation module generates a combined icon according to the identification of the two atomic services to be pushed.
In one embodiment, the business logic processing module obtains the icon and the preset combined icon pattern of the two atomic services to be pushed from the memory (refer to fig. 7), and generates the combined icon of the two atomic services based on the icon and the preset combined icon pattern of the two atomic services.
S2005, the service presentation module displays the combined icon.
The combined icon is used for triggering the two atomic services pushed by the quick-opening business logic processing module. The display modes of the combined icons comprise the following steps: one is an arbitrary interface displayed on the terminal device in the form of a suspension control, for example, a combined icon is suspended at the right boundary of a main interface, a screen locking interface and a third party application interface of the terminal device, etc., and reference may be made to fig. 5 a, b and c; one is displayed on the main interface in the form of a card control, refer to f in fig. 5; one is a drop down floating window displayed on any interface in the form of a card control, see d and e in fig. 5.
S2006, the service presentation module detects an operation for the combined icon.
The operation for the composite icon is used to trigger a split screen display of the pushed two atomic services. The operation for the composite icon includes a click operation, a drag operation, and the like for the composite icon, and this embodiment is not limited in any way. For example, the user clicks on the combined icon, or drags the combined icon from the left boundary of the interface to the center of the interface, thereby triggering the split screen to display the interface of two atomic services corresponding to the combined icon.
S2007, the business presentation module responds to the operation for the combined icon and notifies the window manager of an interface for displaying two atomic services in a split screen mode.
S2008, the window manager displays interfaces of two atomic services in a split screen mode.
In one embodiment, the window manager obtains a physical state of the screen, and determines a split screen display mode according to the physical state of the screen. Taking a terminal device as a folding screen mobile phone as an example, the window manager can determine a split screen display mode according to the physical state of the screen, and if the physical state of the current screen is a folding state, the window manager can display interfaces of two atomic services in an up-down split screen mode; if the physical state of the current screen is an unfolding state, the window manager can display interfaces of two atomic services in a left-right split screen mode.
Based on the embodiment, when the terminal equipment determines to enter the geofence, the combined icon of the two atomic services can be pushed to the user according to the historical behavior data of the user in the geofence, so that the user can conveniently and quickly open the interface of the two atomic services, the user operation is simplified, and the user experience is improved.
Fig. 21 is a flow chart of a method for presenting an atomic service according to an embodiment of the present application. As shown in fig. 21, the method for presenting an atomic service provided in the embodiment of the present application may include the following steps:
s2101, the context awareness module informs the business logic processing module of entering the geofence.
S2102, the business logic processing module determines a first atomic service and a second atomic service to be pushed according to historical behavior data of a user in a geofence.
The implementation principle of the business logic processing module in determining the first atomic service and the second atomic service to be pushed may refer to S2002, and will not be described herein.
S2103, the context awareness module indicates to the business logic processing module that the current interface is the interface of the first atomic service.
S2104, the business logic processing module sends the identification of the second atomic service to be pushed to the business presentation module.
S2105, the service presentation module generates an icon of the second atomic service according to the identifier of the second atomic service to be pushed.
S2106, the business presentation module displays an icon of the second atomic service.
The icon of the second atomic service may be displayed in the form of a hover control over the interface of the first atomic service, e.g., the icon of the second atomic service may be displayed in the form of a hover control over the right boundary of the interface of the first atomic service.
S2107, the business presentation module detects an operation of an icon for the second atomic service.
The operation of the icon for the second atomic service is used to trigger the display of the interface for the second atomic service. The operation of the icon for the second atomic service includes a click operation, a drag operation, or the like of the icon, and this embodiment is not limited in any way. For example, the user clicks on an icon of the second atomic service or drags the icon of the second atomic service from the left boundary of the interface to the center of the interface, thereby triggering the display of the interface of the second atomic service.
S2108, the business presentation module notifies the window manager of an interface displaying the second atomic service in response to an operation of the icon for the second atomic service.
S2109, the window manager displays an interface of the second atomic service.
In one embodiment, the window manager displays the interface of the first atomic service and the interface of the second atomic service in a split screen manner, which may refer to S2008. In one embodiment, the window manager controls the interface to jump from the interface of the first atomic service to the interface of the second atomic service.
Based on the above embodiment, when the terminal device determines to enter the geofence, two atomic services to be pushed can be determined according to the historical behavior data of the user in the geofence, if it is detected that the user has opened one of the atomic services currently, the icon of the other atomic service is pushed to the user only, so that the user can conveniently and quickly open the interface of the other atomic service, and therefore user operation is simplified, and user experience is improved.
Fig. 22 is a flow chart of a method for presenting an atomic service according to an embodiment of the present application. As shown in fig. 22, the method for presenting an atomic service provided in the embodiment of the present application may include the following steps:
S2201, the context awareness module informs the business logic processing module of entering the geofence.
S2202, the business logic processing module determines two atomic services to be pushed preferentially from the three atomic services to be pushed according to historical behavior data of the user in the geofence.
In one embodiment, the business logic processing module obtains, according to historical behavior data of the user in the geofence, that the user has behavior data of using three atomic services continuously within a preset duration, and then the business logic processing module can determine the first two atomic services from the three atomic services according to the use sequence, and uses the first two atomic services as the two atomic services that are preferentially pushed. For example, when a user enters an office fence, the user knows that the user firstly opens the office every time according to the historical behavior data of the user, then opens the health code, and displays the travel card, and then the business logic processing module can push the atomic services corresponding to the first two behaviors, namely the card punching service and the health code service.
S2203, the business logic processing module sends the identifiers of the two atomic services which are pushed preferentially to the business presentation module.
S2204, the service presentation module generates a combined icon according to the identifiers of the two atomic services which are pushed preferentially.
S2205, the service presentation module displays the combined icon.
S2206, the service presentation module detects an operation for the combined icon.
S2207A, the service presentation module responds to the operation for the combined icon and reports the operation for the combined icon to the service logic processing module.
S2208, the business logic processing module sends the identification of the third atomic service to the business presentation module.
S2209A, the business presentation module displays an icon of the third atomic service.
S2207B, the business presentation module responds to the operation for the combined icon and notifies the window manager of the split screen display of the interface of the two atomic services which are preferentially pushed.
S2209B, the window manager split screen displays interfaces of two atomic services which are preferentially pushed.
The service presentation module responds to the operation for the combined icon, and on one hand, the service presentation module reports the operation for the combined icon to the service logic processing module, so that the service logic processing module can further instruct the service presentation module to display the icon of the third atomic service after pushing the combined icon of the first two atomic services; on the other hand, the business presentation module informs the window manager of the interface for displaying the first two atomic services in a split screen mode. Based on the execution process, the terminal equipment is realized to display the icon of the third atomic service pushed after the interface of the first two atomic services while the interface of the first two atomic services is displayed in a split screen mode, so that a user can conveniently and quickly open the interface of the third atomic service after opening the interface of the first two atomic services, user operation is simplified, and user experience is improved.
Based on the above-mentioned methods for presenting atomic services in several embodiments, there is a special case that when a user first enters a certain geofence, there is no historical behavior data of the user in the geofence in a terminal device, at this time, the terminal device needs to interact with a server, obtain the atomic services to be pushed from the server, and the server may push one or more atomic services.
Fig. 23 is a flow chart of a method for presenting an atomic service according to an embodiment of the present application. The method for presenting an atomic service provided in the embodiment of the present application relates to interaction between a terminal device and a server, as shown in fig. 23, the method for presenting an atomic service may include the following steps:
s2301, the terminal device detects entry into the geofence.
In one embodiment, the terminal device detects entry into a registered geofence via a context awareness module.
S2302, the terminal device determines whether the user has historical behavior data within the geofence.
If the terminal device determines that the user does not have historical behavior data within the geofence, S2303 is performed.
If the terminal device determines that the user has history behavior data within the geofence, the execution steps refer to S2002 to S2008 of fig. 20, or S2102 to S2109 of fig. 21, or S2202 to S2209 of fig. 22.
S2303, the terminal equipment reports the entry into the geofence to the server.
In one embodiment, the terminal device reports the identification of the geofence to the server, so that the server obtains historical behavior data of the user group in the geofence according to the identification of the geofence.
S2304, the server determines two atomic services to be pushed according to historical behavior data of the user group in the geofence.
In one embodiment, a server obtains historical behavior data of a user group in a geofence according to an identifier of the geofence, counts a plurality of atomic service pairs continuously used by the user group in the geofence, selects an atomic service pair with highest use frequency from a plurality of application service pairs, and determines an atomic service pair with highest push use frequency. For example, when a user enters a subway fence, the health code and the riding code are required to be sequentially opened by the user group, and then the server directly pushes the health code service and the riding code service to the user according to the historical behavior data of the user group in the subway fence.
In one embodiment, a server obtains historical behavior data of a user group in a geofence according to an identification of the geofence, and counts a plurality of groups of atomic services continuously used by the user group in the geofence, wherein each group of atomic services may comprise a plurality of atomic services, such as a user continuously uses two atomic services and a user continuously uses three atomic services. The server determines a group of atomic services with highest frequency of use from a plurality of groups of atomic services, wherein the group of atomic services with highest frequency of use may be two atomic services or three or more atomic services.
Alternatively, in one embodiment, the server determines to push three or more atomic services, and there may be several cases when pushing: if the server determines to push three atomic services, the server determines that two atomic services to be pushed in S2304 refers to: the server determines two atomic services which are pushed preferentially from the three atomic services. That is, the service may push two atomic services first and then push the third atomic service. Correspondingly, the terminal device displays the combined icon of the two atomic services that are preferentially pushed first, and then displays the icon of the third atomic service, which can refer to fig. 10. The two atomic services that are pushed preferentially may be the atomic service with the first two in the order of use in the three atomic services, or may be the two atomic services with the shortest open time interval in the three atomic services. If the server determines to push four atomic services, the server may push two atomic services first and then push another two atomic services, and accordingly, the terminal device displays the combined icon twice, that is, the terminal device displays the combined icon of the first two atomic services, and after clicking the combined icon, the user displays the combined icon of the second two atomic services, see fig. 13.
Optionally, in an embodiment, the server receives the geofence reported by the terminal device, and directly obtains, from the database, a preset atomic service to be pushed corresponding to the geofence type according to the geofence type, where the atomic service to be pushed may be one or more. For example, an atomic service to be pushed corresponding to a residential district fence is prestored in a database of a server and is a health code service. For another example, the atomic services to be pushed corresponding to the subway fence are health code service, journey card service and riding code service, and for another example, the atomic services to be pushed corresponding to the airport fence are health code service and journey card service.
S2305, the server sends the identification of the two atomic services to be pushed to the terminal device.
S2306, the terminal equipment generates a combined icon according to the identification of the two atomic services to be pushed.
And the service presentation module of the terminal equipment generates a combined icon according to the identification of the two atomic services to be pushed.
S2307, the terminal device displays the combined icon on the display screen.
The user operation and processing procedure after the terminal apparatus displays the combined icon on the display screen may refer to S2006 to S2008 of fig. 20, or S2206 to S2209 of fig. 22.
Based on the above embodiment, when the terminal device determines that the user enters the geofence, if the user does not have historical behavior data in the geofence, the terminal device obtains a pushing instruction from the server, pushes one or more atomic services with higher use frequency determined by big data analysis to the user pushing server, and facilitates the user to quickly open the one or more atomic services, thereby simplifying the user operation and improving the user experience.
Based on the above embodiments, the embodiments of the present application further provide a method for presenting an atomic service, where the method may be applied to a terminal device having a display screen. Fig. 24 is a schematic flow chart of a method for presenting an atomic service according to an embodiment of the present application. As shown in fig. 24, the presentation method of the atomic service may include the steps of:
s2401, when the terminal equipment determines to enter a specific scene, displaying a first control on a display screen.
The first control displays icons of a plurality of atomic services, wherein the plurality of atomic services are continuously used in a preset time period when a user enters a specific scene.
Illustratively, the terminal device determining to enter a particular scenario includes: the terminal device determines to perform subway fencing, office fencing, airport fencing, and the like. The first control may be a control of the composite icon 201 shown in fig. 3 a, or a control of the composite icon 206 shown in fig. 3 b, or a control of the composite icon 209 shown in fig. 3 c. Alternatively, the first control may display icons of two atomic services, for example, the composite icon 201 includes an icon 202 of a health code service and an icon 203 of a ride code service. The first control may also display icons of three or more atomic services.
S2402, responding to the operation of the first control, and displaying interfaces of a plurality of atomic services by the terminal equipment in a split screen mode.
The operation for the first control may be a click operation for the first control. Optionally, clicking any position of the first control by the user may trigger the terminal device to display a plurality of atomic services on a split screen.
The terminal equipment split screen displays interfaces of a plurality of atomic services, comprising: the terminal equipment split screen displays interfaces of two atomic services, or the terminal equipment split screen displays interfaces of three atomic services. In this case, the terminal device displays interfaces of two atomic services on the upper and lower screens, for example, the interface of the health code service and the riding code service is displayed on the terminal device screen as shown in fig. 3 b. In this case, the terminal device displays an interface of two atomic services on left and right split screens, as shown in fig. 4 b. In one case, the terminal device displays an interface of three atomic services in a split screen manner, as shown in fig. 4 c.
Optionally, the first control displays icons of a plurality of atomic services, including: the first control displays a first icon of a first atomic service and a second icon of a second atomic service; responsive to operation of the first control, the terminal device displays interfaces of a plurality of atomic services in a split screen manner, including: and responding to the operation of the first control, and the terminal equipment displays interfaces of the first atomic service and the second atomic service in a split screen mode.
The first icon of the first atomic service may be icon 1 in the combined icon 101 shown in fig. 2 a, and the second icon of the second atomic service may be icon 2 in the combined icon 101 shown in fig. 2 a. The interface of the first atomic service may be the interface of the sub-service 1 shown in fig. 2 b, and the interface of the second atomic service may be the interface of the sub-service 2 shown in fig. 2 b. That is, icon 1 on the first control indicates that the user may open sub-service 1, and icon 2 indicates that the user may open sub-service 2.
Optionally, the method further comprises: in response to an operation for the first icon, the terminal device displays an interface of the first atomic service. The first icon may be icon 1 in the combined icon shown in fig. 9 a, the interface of the first atomic service may be the interface of the sub-service 1 shown in fig. 9 b, the user clicks the icon 1, and the terminal device displays the interface of the sub-service 1 corresponding to the icon 1.
Optionally, the interface of the first atomic service further displays a first control; the method further comprises the steps of: in response to an operation on the second icon on the interface of the first atomic service, the terminal device displays the interfaces of the first atomic service and the second atomic service or displays the interfaces of the second atomic service in a split screen manner.
The interface of the first atomic service may be the interface of the sub-service 1 shown in b of fig. 9, and the first control may be a combined icon shown in b of fig. 9, where the combined icon is the same as the combined icon shown in a of fig. 9. The operation for the second icon on the interface of the first atomic service may be a click operation for the icon 2 on the interface of the sub-service 1 shown in fig. 9 b, and triggers the terminal device to display the interface of the sub-service 2 corresponding to the icon 2, where in one case, the terminal device displays the interface of the sub-service 1 and the interface of the sub-service 2 on a split screen, as shown in fig. 9 d; in this case, the terminal device only displays the interface of the sub-service 2, i.e. jumps from the interface of the sub-service 1 to the interface of the sub-service 2, as shown in fig. 9 c. Optionally, the interface of the sub-service 2 shown in fig. 9 c also displays a combined icon, i.e. the combined icon remains suspended for a certain period of time.
Optionally, a second control is further displayed on the interface of the first atomic service and the second atomic service, which are displayed on the split screen of the terminal device, and an icon of the third atomic service is displayed on the second control; the third atomic service is an atomic service used in association with the first atomic service and the second atomic service.
The interface of the first atomic service and the second atomic service displayed on the split screen of the terminal device may be an interface shown in b of fig. 10, where an interface of the sub-service 1 and an interface of the sub-service 2 are displayed on the interface, where an icon of the sub-service 1 may be an icon 1 shown in a of fig. 10, and an icon of the sub-service 2 may be an icon 2 shown in a of fig. 10. The second control may be a control of icon 3 shown in fig. 10 b, and icon 3 is an icon of sub-service 3 used in association with sub-service 1 and sub-service 2. That is, the terminal device may push the combined icon of the sub-service 1 and the sub-service 2 to the user first, and then push the single icon of the sub-service 3 used in association with the sub-service 1 and the sub-service 3 at the split screen interface of the sub-service 1 and the sub-service 2.
Optionally, the method further comprises: and responding to the operation aiming at the second control, the terminal equipment displays an interface of the third atomic service, or displays an interface of the third atomic service and the first atomic service in a split screen manner, or displays an interface of the third atomic service and the second atomic service in a split screen manner, or displays the interface of the third atomic service in a floating window form at the upper layer of the interface of the first atomic server and the second atomic service.
The interface of the first atomic service may be an interface of the sub-service 1, the interface of the second atomic service may be an interface of the sub-service 2, and the interface of the third atomic service may be an interface of the sub-service 3.
In case that the operation for the second control may be a click operation for the control of the icon 3 shown in fig. 10 b, the terminal device displays the interface of the sub-service 3 as shown in fig. 10 c, or the terminal device displays the interface of the sub-service 3 and the interface of the sub-service 2 as shown in fig. 10 d, or displays the interface of the sub-service 3 in the form of a floating window at the upper layer of the interface of the sub-service 1 and the sub-service 2 displayed in the split screen as shown in fig. 10 e.
In a case, the operation for the second control may be a drag operation for the control of the icon 3 shown in b in fig. 11, where the control of the icon 3 is directly dragged to the interface of the sub-service 2, and the terminal device replaces the interface of the sub-service 2 with the interface of the sub-service 3, that is, the terminal device displays the interface of the sub-service 1 and the interface of the sub-service 3 on a split screen, as shown in c in fig. 11.
In case that the operation for the second control includes two operations, the first operation may be a drag operation for the control of the icon 3 shown in fig. 12 b, drag the control of the icon 3 to the right boundary of the interface of the sub-service 2 shown in fig. 12 c, and the second operation may be a click operation for the control of the icon 3 shown in fig. 12 c, the terminal device replaces the interface of the sub-service 2 with the interface of the sub-service 3, that is, the terminal device displays the interface of the sub-service 1 and the interface of the sub-service 3 on a split screen, as shown in fig. 12 d.
Optionally, the method further comprises: and if the electronic equipment determines that the specific scene is entered, displaying an interface of the first atomic service on the display screen, and displaying a third control on the interface of the first atomic service, wherein the third control displays an icon of the second atomic service.
Optionally, the method further comprises: and responding to the operation of the third control, the electronic equipment displays the interface of the second atomic service, or displays the interfaces of the first atomic service and the second atomic service in a split screen manner.
Optionally, the method further comprises: and if the terminal equipment determines to enter a specific scene, displaying a first interface of one of the atomic services on the display screen, and displaying a fifth control on the display screen, wherein the fifth control displays icons of at least one atomic service except one of the atomic services.
If the terminal equipment determines that the terminal equipment enters a specific scene, the display screen displays a first interface of one of the two atomic services to be pushed, and a fifth control is displayed on the display screen, wherein the fifth control is an icon control of the other atomic service of the two atomic services to be pushed. As shown in fig. 15 a, the first interface is an interface of the sub-service 1, the user has opened the interface of the sub-service 1 when entering a specific scene, and it is assumed that two atomic services to be pushed by the terminal device are respectively the sub-service 1 and the sub-service 2, and at this time, the terminal device pushes the icon control of the sub-service 2 only at the interface of the sub-service 1, as the control of the icon 2 shown in fig. 15 a.
If the terminal equipment determines that the terminal equipment enters a specific scene, the display screen displays a first interface of one of three atomic services to be pushed, and a fifth control is displayed on the display screen, wherein the fifth control is a combined icon control of the other two atomic services of the three atomic services to be pushed. As shown in fig. 16 a, the first interface is an interface of the sub-service 1, when a user enters a specific scene, the user has opened the interface of the sub-service 1, and it is assumed that three atomic services to be pushed by the terminal device are respectively sub-service 1, sub-service 2 and sub-service 3, and at this time, the terminal device pushes a combined icon control of the sub-service 2 and the sub-service 3 at the interface of the sub-service 1, as the controls of the icon 2 and the icon 3 shown in fig. 16 a.
Optionally, the method further comprises: in response to an operation for the fifth control, the terminal device displays a second interface of at least one atomic service other than the displayed atomic service among the plurality of atomic services, or displays the first interface and the second interface in a split screen.
The operation for the fifth control may be a click operation for the fifth control. In the case that the first interface is the interface of the sub-service 1, the second interface is the interface of the sub-service 2, for the clicking operation of the control of the icon 2 shown in fig. 15 a, the terminal device displays the interface of the sub-service 2 corresponding to the icon 2, as shown in fig. 15 b, or the terminal device displays the interface of the sub-service 1 and the interface of the sub-service 2 in a split screen, as shown in fig. 15 c. In the case that the first interface is the interface of the sub-service 1, the second interface is the interface of the sub-service 2 and the sub-service 3, for the clicking operation of the combined icon control shown in fig. 16 a, the terminal device displays the interface of the sub-service 2 corresponding to the icon 2 and the interface of the sub-service 3 corresponding to the icon 3 on a split screen, as shown in fig. 16 b. In the case that the first interface is an arbitrary interface opened by the user, the second interface is an interface of the sub-service 1 and the sub-service 2, and aiming at the clicking operation of the combined icon control shown in fig. 4 a, the terminal device displays the arbitrary interface, the interface of the sub-service 1 corresponding to the icon 1 and the interface of the sub-service 2 corresponding to the icon 2 in a split screen manner.
Optionally, the method further comprises: and the terminal equipment determines a plurality of atomic services according to at least one of the use frequency, the use interval and the use sequence of the atomic services continuously used in the preset time period when the user enters the specific scene.
In one embodiment, there may be multiple groups of atomic services that are used continuously for a preset period of time when a user enters a specific scenario, where each group of atomic services may include two atomic services, or may include three or more atomic services. The terminal equipment can determine a group of atomic services with highest use frequency from a plurality of groups of atomic services according to the use frequency of the atomic services continuously used in a preset time period when a user enters a specific scene. The most frequently used atomic services may include two atomic services or three or more atomic services.
In one embodiment, there may be three or more atomic services that have been continuously used in a preset time period when the user enters the specific scenario, and the terminal device may determine, from the three or more atomic services, two atomic services that have the shortest continuously used use interval according to the use interval of the atomic services that have been continuously used in the preset time period when the user enters the specific scenario.
In one embodiment, the atomic services that have been continuously used in the preset time period when the user enters the specific scene may have three or more atomic services, and the terminal device may select the first two or the first three atomic services that are used first from the three or more atomic services according to the use sequence of the atomic services that have been continuously used in the preset time period when the user enters the specific scene.
It may be appreciated that in one embodiment, the terminal device may determine a plurality of atomic services according to a usage frequency and a usage interval of atomic services that are continuously used for a preset duration when a user enters a specific scenario. In one embodiment, the terminal device may determine a plurality of atomic services according to a usage frequency and a usage sequence of atomic services continuously used for a preset duration when a user enters a specific scenario. In one embodiment, the terminal device may determine the plurality of atomic services according to a usage interval and a usage order of atomic services continuously used for a preset period of time when the user enters a specific scenario. In one embodiment, the terminal device determines a plurality of atomic services according to a frequency of use, an interval of use, and an order of use of atomic services continuously used for a preset period of time when a user enters a specific scene.
The preset time length can be reasonably set according to actual requirements, for example, the preset time length is 5 minutes, which is not limited in the embodiment of the application.
Optionally, the method further comprises: if the terminal equipment determines that the user enters a specific scene for the first time, a push request is sent to a server; the terminal equipment receives a push response from the server, wherein the push response is used for indicating a plurality of atomic services, and the plurality of atomic services are continuously used in a preset time period when a user group enters a specific scene; and the terminal equipment displays a fourth control on the display screen, and icons of a plurality of atomic services are displayed on the fourth control.
Wherein the push request is used to instruct the terminal device to enter a specific scenario, as shown in S2303 in fig. 23, to instruct the terminal device to enter a certain geofence. Optionally, the push request includes an identification of the geofence, e.g., the push request includes an identification of the subway fence. The push response is used for indicating a plurality of atomic services to be pushed, which are determined by the server. Optionally, the push response includes the identities of the plurality of atomic services to be pushed, and the server sends the identities of the two atomic services to be pushed to the terminal device as shown in S2305 in fig. 23. The fourth control is similar to the first control, and may be, for example, a control of the combined icon 101 shown in fig. 2 a.
Optionally, the control for displaying the atomic service icon is a capsule-type control or a card-type control.
The control for displaying the atomic service icon can be a single-icon control or a combined-icon control, and the combined-icon control can display two or more icons. The single icon control may be the control shown in fig. 15 a and displayed with icon 2, the combined icon control shown in fig. 2 a and displayed with icon 1 and icon 2, and the combined icon control shown in fig. 2 a and displayed with three icons may be the control shown in fig. 1, icon 2 and icon 3 (not shown).
The capsule type control is usually displayed in a suspended state at any position of the terminal device, as shown in a, b, and c of fig. 5 or 6. The card-type controls are typically displayed in a floating window, as shown by d, e in fig. 5, or in a main interface, as shown by f in fig. 5 and d in fig. 6.
The method provided by the embodiment of the present application is described above with reference to fig. 2 to 24, and the device for performing the method provided by the embodiment of the present application is described below.
Fig. 25 is a schematic structural diagram of an atomic service rendering device provided in an embodiment of the present application, where the atomic service rendering device may be a terminal device in the embodiment of the present application, or may be a chip or a chip system in the terminal device.
As shown in fig. 25, the atomic service rendering apparatus 2500 may be used in a communication device, a circuit, a hardware component, or a chip, and the atomic service rendering apparatus 2500 includes: a display unit 2501 and a processing unit 2502. Wherein the display unit 2501 is used for supporting the step of displaying performed by the presentation device 2500 of the atomic service; the processing unit 2502 is for executing steps of information processing by the presentation device 2500 supporting an atomic service.
In one embodiment, the atomic service rendering device 2500 may also include a communication unit 2503 therein. Specifically, the communication unit is configured to execute a step of transmitting data and a step of receiving data by the presentation device 2500 supporting the atomic service. The communication unit 2503 may be an input or output interface, a pin, a circuit, or the like.
In one embodiment, the presentation device 2500 for atomic services may further include: a storage unit 2504. The processing unit 2502 and the storage unit 2504 are connected by a line. The memory unit 2504 may include one or more memories, which may be one or more devices, devices in a circuit for storing programs or data. The storage unit 2504 may exist independently and is connected to the processing unit 2502 included in the atomic service rendering device 2500 through a communication line. The memory unit 2504 may also be integrated with the processing unit 2502.
The storage unit 2504 may store computer-executed instructions of a method in a terminal device to cause the processing unit 2502 to execute the method in the above-described embodiment. The storage unit 2504 may be a register, a cache, a RAM, or the like, and the storage unit 2504 may be integrated with the processing unit 2502. The memory unit 2504 may be a read-only memory (ROM) or other type of static storage device that may store static information and instructions, and the memory unit 2504 may be separate from the processing unit 2502.
Fig. 26 is a schematic hardware structure of an electronic device according to an embodiment of the present application. As shown in fig. 26, the electronic device includes a processor 2601, a communication line 2604, and at least one communication interface (illustrated in fig. 26 by way of example as communication interface 2603).
The processor 2601 may be a general purpose central processing unit (central processing unit, CPU), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of programs in accordance with aspects of the present application.
Communication line 2604 may include circuitry to transfer information between the components described above.
The communication interface 2603 uses any transceiver-like device for communicating with other devices or communication networks, such as ethernet, wireless local area network (wireless local area networks, WLAN), etc.
Optionally, the electronic device may also include a memory 2602.
The memory 2602 may be, but is not limited to, read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, but may also be electrically erasable programmable read-only memory (EEPROM), compact disc-only memory (compact disc read-only memory) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be separate and coupled to the processor via communication line 2604. The memory may also be integrated with the processor.
The memory 2602 is used for storing computer-executable instructions for executing the embodiments of the present application, and the processor 2601 controls the execution. The processor 2601 is configured to execute computer-executable instructions stored in the memory 2602, thereby implementing the method for presenting an atomic service provided in the embodiment of the present application.
Computer-executable instructions in embodiments of the present application may also be referred to as application code, which embodiments of the present application are not particularly limited.
In a particular implementation, the processor 2601 may include one or more CPUs, such as cPU0 and CPU1 in fig. 26, as an embodiment.
In a particular implementation, as one embodiment, an electronic device may include multiple processors, such as processor 2601 and processor 2605 in fig. 26. Each of these processors may be a single-core (single-CPU) processor or may be a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In the above embodiments, the instructions stored by the memory for execution by the processor may be implemented in the form of a computer program product. The computer program product may be written in the memory in advance, or may be downloaded in the form of software and installed in the memory.
The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions in accordance with embodiments of the present application are produced in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wired (e.g., coaxial cable, fiber optic, digital subscriber line (digital subscriber line, DSL), or wireless (e.g., infrared, wireless, microwave, etc.), or semiconductor medium (e.g., solid state disk, SSD)) or the like.
Embodiments of the present application also provide a computer-readable storage medium. The methods described in the above embodiments may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. Computer readable media can include computer storage media and communication media and can include any medium that can transfer a computer program from one place to another. The storage media may be any target media that is accessible by a computer.
As one possible design, the computer-readable medium may include compact disk read-only memory (CD-ROM), RAM, ROM, EEPROM, or other optical disk memory; the computer readable medium may include disk storage or other disk storage devices. Moreover, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, digital versatile disc (digital versatile disc, DVD), floppy disk and blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
Combinations of the above should also be included within the scope of computer-readable media. The foregoing is merely illustrative embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think about variations or substitutions within the technical scope of the present invention, and the invention should be covered. Therefore, the protection scope of the invention is subject to the protection scope of the claims.