Interface display method and related apparatus
By detecting the movement speed of electronic devices and displaying cards only when the speed is low, the interference problem when electronic devices enter the POI fence is solved, improving the user experience and reducing power consumption.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2024-01-02
- Publication Date
- 2026-04-14
AI Technical Summary
When electronic devices enter the fence corresponding to a POI (Point of Interest), displaying related cards may interfere with users and affect their user experience.
By detecting the movement speed of electronic devices, cards are displayed only when the movement speed is low, reducing interference when the movement speed is high.
This reduces the display of cards when not needed by the user, improving the user experience and reducing the power consumption of electronic devices.
Smart Images

Figure CN120301968B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to interface display methods and related devices. Background Technology
[0002] A point of interest (POI) is a useful location record on a map, consisting of its address, geographic coordinates, and some additional attributes (such as name, category, rating, etc.). POIs can serve as a basis for electronic devices to provide users with location search, navigation, and other functions.
[0003] In a possible design, when an electronic device is within the fence corresponding to a Point of Interest (POI), its desktop can display a card associated with that POI. For example, taking a bus stop as an example, when the electronic device is within the fence of a bus stop, its desktop can display a card with bus-related information, such as "Please be aware of boarding," a bus pass code, bus route information for the current bus stop, and the estimated arrival time of the bus.
[0004] However, in some scenarios (e.g., passing by), electronic devices may display the card corresponding to a POI after entering the fence corresponding to that POI, which may disturb the user and result in a poor user experience. Summary of the Invention
[0005] This application provides an interface display method and related apparatus, applicable to the field of terminal technology. The electronic device can detect motion status; when the motion speed is high, it does not display cards to reduce user interference; when the motion speed is low, it displays cards to provide prompts to the user for convenience.
[0006] In a first aspect, embodiments of this application propose an interface display method. The method includes: at a first moment, an electronic device enters a first fence, the movement speed of the electronic device is a first speed, and the electronic device displays a first card corresponding to the first fence; at a second moment, the electronic device enters a second fence, the movement speed of the electronic device is a second speed, the electronic device does not display a second card corresponding to the second fence, and the second speed is greater than the first speed; the second moment is later than the first moment; from the second moment to a third moment, the electronic device remains within the second fence, and at the third moment, the movement speed of the electronic device is a third speed, the electronic device displays a second card, and the third speed is less than the second speed.
[0007] In this way, electronic devices will not push cards when the movement speed is high, reducing interference to the user.
[0008] In one possible implementation, from a second moment to a third moment, the electronic device remains continuously in the second fence, and at the third moment, the movement speed of the electronic device is a third speed. The electronic device displays a second card, including: from the second moment, the electronic device detects the movement speed of the electronic device; the electronic device detects that the third speed is less than or equal to a first threshold, and the electronic device displays a second card, where the second speed is greater than the first threshold.
[0009] This system monitors movement speed and displays a card when it's below a threshold, and hides the card when it's above the threshold, minimizing user disruption.
[0010] In one possible implementation, at a second moment, the electronic device enters the second fence, including: the sensing module of the electronic device transmits a first message to the decision-making platform of the electronic device, the first message indicating entry into the second fence; in response to the first message, the decision-making platform confirms that the motion state is a first type, the first type indicating that the motion speed of the electronic device is greater than a first threshold; the electronic device detects that a third speed is less than or equal to the first threshold, and the electronic device displays a second card, including: the sensing module transmits a second message to the decision-making platform, the second message indicating that the motion state of the electronic device is a second type; in response to the second message, the electronic device displays a second card.
[0011] In one possible implementation, the method further includes: from the third time to the fourth time, the electronic device remains in the second fence, and at the fourth time the electronic device enters the fourth fence, the electronic device does not display the second card, and the fourth fence does not correspond to the service corresponding to the second fence.
[0012] In this way, the card is not displayed when there is no business corresponding to the second fence, reducing interference to the user.
[0013] In one possible implementation, from the third time point to the fourth time point, the electronic device remains in the second fence, and at the fourth time point, the electronic device enters the fourth fence, and the electronic device does not display the second card, including: at the fourth time point, the electronic device's sensing module transmits a third message to the electronic device's decision platform, the third message being used to instruct the electronic device to enter the fourth fence; in response to the third message, the electronic device does not display the second card.
[0014] In one possible implementation, the fourth fence is a WIFI fence, where WIFI is a pre-configured network used in the home and / or a pre-configured network used in the company.
[0015] This way, the card won't be displayed at home or in the office, reducing distractions.
[0016] In one possible implementation, from the fourth time point to the fifth time point, the electronic device continuously operates between the second and fourth fences, and at the fifth time point, the electronic device exits the fourth fence and displays the second card.
[0017] When the user is away from home or work, the system can trigger recognition, display a card, and provide prompts to facilitate user operation.
[0018] In one possible implementation, from the fourth time point to the fifth time point, the electronic device continuously operates between the second fence and the fourth fence, and at the fifth time point, the electronic device exits the fourth fence and displays the second card, including: at the fifth time point, the electronic device's sensing module transmits a fourth message to the electronic device's decision-making platform, the fourth message being used to instruct the electronic device to exit the fourth fence; in response to the fourth message, the electronic device displays the second card.
[0019] In one possible implementation, the method further includes: from the third moment to the sixth moment, the electronic device remains in the second fence, and at the sixth moment, the movement speed of the electronic device is the fourth speed, the electronic device does not display the second card, and the fourth speed is greater than the second speed.
[0020] In this way, when the motion state changes, inference can be triggered without displaying the card, thus reducing interference with the user.
[0021] In one possible implementation, from the third moment to the sixth moment, the electronic device remains in the second fence, and at the sixth moment, the movement speed of the electronic device is the fourth speed. The electronic device does not display the second card, including: at the sixth moment, the electronic device's sensing module transmits a fifth message to the electronic device's decision-making platform, the fifth message indicating that the movement state of the electronic device is the first type; in response to the fifth message, the electronic device does not display the second card.
[0022] In one possible implementation, the method further includes: at a seventh moment, the electronic device exits the second fence and does not display the second card; at an eighth moment, the electronic device enters the third fence, and at the eighth moment, the movement speed of the electronic device is the fifth speed, the electronic device does not display the second card, and the fifth speed is less than the second speed; wherein, the service type corresponding to the third fence is the same as the service type corresponding to the second fence; the first time interval is greater than the preset time interval, and the first time interval is the time interval between the eighth moment and the third moment.
[0023] In this way, if a card has been triggered within a certain period of time, it doesn't need to be displayed. This reduces the disruption to the user caused by multiple displays within a short period.
[0024] In one possible implementation, at the eighth moment, the electronic device enters the second fence, and the movement speed of the electronic device at the eighth moment is the fifth speed. The electronic device does not display the second card, including: at the eighth moment, the sensing module of the electronic device transmits a sixth message to the decision-making platform of the electronic device, the sixth message being used to indicate entering the third fence; if the decision-making platform confirms that the first time interval is less than a preset time interval, the electronic device does not display the second card.
[0025] In one possible implementation, the method further includes: at the ninth moment, the electronic device exits the second fence and does not display the second card; at the tenth moment, the electronic device enters the fourth fence, and at the tenth moment, the movement speed of the electronic device is the sixth speed, and the electronic device displays the second card, where the sixth speed is less than the second speed; wherein, the business type corresponding to the fourth fence is the same as the business type corresponding to the second fence; the first distance is greater than a preset distance, and the first distance is the distance between the fourth fence and the second fence.
[0026] In this way, cards can be displayed within a relatively short distance, reducing the interference to users caused by multiple displays over a short distance.
[0027] In one possible implementation, at the tenth moment, the electronic device enters the fourth fence, and the movement speed of the electronic device at the tenth moment is the sixth speed. The electronic device displays the second card, including: at the tenth moment, the sensing module of the electronic device transmits a seventh message to the decision-making platform of the electronic device. The seventh message is used to indicate entering the fourth fence; if the decision-making platform confirms that the first distance is greater than the preset distance, the electronic device does not display the second card.
[0028] In one possible implementation, the method also includes:
[0029] At time eleven, the electronic device exits the second fence; at time twelf, the electronic device enters the fifth fence; the movement speed of the electronic device is the seventh speed, and the electronic device displays the third card, with the seventh speed being less than the second speed; from time twelfth to time thirteenth, the electronic device remains in the fifth fence, and at time thirteen, the movement speed of the electronic device is the eighth speed, the electronic device enters the sixth fence, and the electronic device displays the third card but not the second card; the services corresponding to the sixth fence are the same as those corresponding to the second fence, and the services corresponding to the sixth fence are different from those corresponding to the fifth fence, with the eighth speed being less than the second speed.
[0030] This way, when faced with similar cards, another card can be recommended first, reducing interference from multiple transportation services.
[0031] In one possible implementation, from the twelfth moment to the thirteenth moment, the electronic device remains in the fifth fence, and at the thirteenth moment, the movement speed of the electronic device is the eighth speed. The electronic device enters the sixth fence, and displays the third card but does not display the second card. This includes: at the thirteenth moment, the sensing module of the electronic device transmits the eighth message to the decision-making platform of the electronic device. The eighth message is used to indicate entering the sixth fence. If the decision-making platform confirms that the third card is displayed, the electronic device does not display the second card.
[0032] In one possible implementation, if the decision-making platform confirms that the third card is displayed, the electronic device does not display the second card, including: the intent recognition module in the decision-making platform transmits a ninth message to the intent sharing module in the electronic device, the ninth message being used to query whether the third card is displayed; in response to the ninth message, the intent sharing module transmits a tenth message to the intent recognition module, the tenth message being used to instruct the third card to be displayed.
[0033] In one possible implementation, the method further includes: at the fourteenth moment, the electronic device enters the second fence, and at the fourteenth moment, the movement speed of the electronic device is the ninth speed, and the electronic device does not display the second card, since the ninth speed is less than the second speed; for a preset duration starting from the fourteenth moment, the electronic device remains in the second fence, and the movement speed of the electronic device remains less than the second speed, and the electronic device does not display the second card; wherein, the preset duration starting from the fourteenth moment is within a preset time period; after the preset duration starting from the fourteenth moment, the electronic device displays the second card.
[0034] In this way, the display of the card is delayed for a period of time during non-commuting hours, reducing interference with the user.
[0035] In one possible implementation, the method further includes: at the fifteenth moment, the electronic device enters the second fence, and at the fifteenth moment, the movement speed of the electronic device is the tenth speed, the electronic device does not display the second card, and the tenth speed is less than the second speed; wherein, at the third moment, the electronic device detects that A is greater than or equal to M, where A is the number of days the electronic device has performed the business corresponding to the second card in the N days prior to the third moment; M is a first threshold; or, at the third moment, A is less than M, and B is greater than or equal to X, where B is the number of days the electronic device has been in the second fence for a duration greater than the second threshold in the N days prior to the third moment, and X is a third threshold; at the fifteenth moment, C is less than M, and D is less than X, where D is the number of days the electronic device has been in the second fence for a duration greater than the second threshold in the N days prior to the fifteenth moment.
[0036] This allows the system to determine whether to display a card based on user dwell time over a period of time, reducing disruption to the user experience.
[0037] In one possible implementation, the method further includes: at the sixteenth moment, the electronic device enters the second fence, and at the sixteenth moment, the movement speed of the electronic device is the eleventh speed, the electronic device does not display the second card, and the eleventh speed is less than the second speed; wherein, at the third moment, the electronic device detects that E is less than 0, where E is the number of times the electronic device displays the second card in the P days prior to the third moment, 0 is the third threshold, and P is the fourth threshold; or, at the third moment, E is greater than or equal to 0, and the electronic device detects that the number of times it enters the second card is greater than the fifth threshold; at the sixteenth moment, F is greater than or equal to 0, and the electronic device detects that the number of times it enters the second card is greater than the fifth threshold, where F is the number of times the electronic device displays the second card in the P days prior to the sixteenth moment.
[0038] This allows the system to determine whether to display a card based on the card's entry or cancellation status over a period of time, reducing disruption to the user.
[0039] In one possible implementation, the method further includes: in response to the cancellation operation of the second card, the electronic device does not display the second card; at the seventeenth moment, the electronic device enters the second fence, and at the seventeenth moment, the movement speed of the electronic device is the twelfth speed, the electronic device does not display the second card, the twelfth speed is less than the second speed, and the seventeenth moment is later than the cancellation operation; the time interval between the seventeenth moment and the cancellation operation is less than a second preset time interval.
[0040] This allows the system to determine whether to display a card based on its cancellation history over a period of time, reducing disruption to the user.
[0041] Secondly, embodiments of this application provide an interface display device, which can be an electronic device, or a chip or chip system within an electronic device. The interface display device may include a display unit and a processing unit. When the interface display device is an electronic device, the display unit may be a display screen. The display unit is used to perform display steps to enable the electronic device to implement an interface display method described in the first aspect or any possible implementation of the first aspect. When the interface display device is an electronic device, the processing unit may be a processor. The interface display device may further include a storage unit, which may be a memory. The storage unit is used to store instructions, and the processing unit executes the instructions stored in the storage unit to enable the electronic device to implement an interface display method described in the first aspect or any possible implementation of the first aspect. When the interface display device is a chip or chip system within an electronic device, the processing unit may be a processor. The processing unit executes the instructions stored in the storage unit to enable the electronic device to implement an interface display method described in the first aspect or any possible implementation of the first aspect. The storage unit can be a storage unit within the chip (e.g., a register, cache, etc.) or a storage unit located outside the chip within the electronic device (e.g., a read-only memory, random access memory, etc.).
[0042] For example, a display unit is used to display a card when the movement speed is high.
[0043] The processing unit is used to detect the speed of movement of electronic devices.
[0044] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, the memory for storing code instructions, and the processor for running the code instructions to perform the methods described in the first aspect or any possible implementation of the first aspect.
[0045] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program or instructions that, when executed on a computer, cause the computer to perform the methods described in the first aspect or any possible implementation thereof.
[0046] Fifthly, embodiments of this application provide a computer program product including a computer program, which, when run on a computer, causes the computer to perform the methods described in the first aspect or any possible implementation thereof.
[0047] Sixthly, this application provides a chip or chip system including at least one processor and a communication interface. The communication interface and the at least one processor are interconnected via a circuit. The at least one processor is used to run computer programs or instructions to perform the methods described in the first aspect or any possible implementation of the first aspect. The communication interface in the chip can be an input / output interface, pins, or circuits, etc.
[0048] In one possible implementation, the chip or chip system described above in this application further includes at least one memory storing instructions. The memory can be an internal storage unit of the chip, such as a register or cache, or it can be a storage unit of the chip itself (e.g., read-only memory, random access memory, etc.).
[0049] It should be understood that the second to sixth aspects of this application correspond to the technical solutions of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation are similar, and will not be repeated here. Attached Figure Description
[0050] Figure 1 This is a schematic diagram of an application scenario provided by an embodiment of this application;
[0051] Figure 2 A schematic diagram of the interface of an electronic device provided in an embodiment of this application;
[0052] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0053] Figure 4A This is a software structure block diagram of an electronic device provided in an embodiment of this application;
[0054] Figure 4B This is a schematic diagram of an intent-sharing interaction provided in an embodiment of this application;
[0055] Figure 5 This application provides a schematic diagram illustrating the internal module interactions involved in the POI intent triggering and recognition process.
[0056] Figure 6 A flowchart illustrating a method for displaying a bus card corresponding to a public transportation service, provided in an embodiment of this application;
[0057] Figure 7 A schematic diagram of the interface of an electronic device provided in an embodiment of this application;
[0058] Figure 8 A flowchart illustrating a method for displaying subway cards corresponding to subway services, provided in an embodiment of this application;
[0059] Figure 9 A schematic diagram of the interface of an electronic device provided in an embodiment of this application;
[0060] Figure 10 A flowchart illustrating a method for displaying store cards corresponding to store operations, provided in an embodiment of this application;
[0061] Figure 11 This is a flowchart illustrating an interface display method provided in an embodiment of this application. Detailed Implementation
[0062] To facilitate a clear description of the technical solutions in the embodiments of this application, some terms and technologies involved in the embodiments of this application will be briefly introduced below:
[0063] 1. Fence: A trigger condition. When an electronic device detects that a fence meets the trigger condition, the electronic device begins to perform specific operations or provide specific services, such as displaying, refreshing, or disabling notification messages, warning messages, or cards. In this application embodiment, fences can include various types, such as geofences and time fences.
[0064] 2. Geofencing: Used to represent location-related triggering conditions. Geofencing is a virtual fence used in location-based services (LBS) to enclose a geographic area with virtual boundaries. This virtual boundary defines a specific geographic area.
[0065] The closer the geographical area indicated by a geofence is to the location of the real scene, the more accurate the indication of the real scene. A geofence can be circular, polygonal, or irregularly shaped; this application embodiment does not limit this. In this application embodiment, a geofence is a geographical area centered on a certain location, or a geographical area containing a certain location or place. These locations or places can be companies, subway stations, users' homes, shopping malls, or schools, etc.
[0066] 3. Point of Interest (POI): This refers to a landmark, building, attraction, etc., on an electronic map. In this embodiment, POIs can mark various commercial establishments (gas stations, department stores, supermarkets, restaurants, hotels, convenience stores, hospitals, etc.), tourist attractions (parks, public toilets, etc.), historical sites, and transportation facilities (various stations, parking lots, speed cameras, speed limit signs), etc. No specific limitations are made here.
[0067] 4. Other terms
[0068] In the embodiments of this application, terms such as "first" and "second" are used to distinguish identical or similar items with substantially the same function and purpose. For example, "first chip" and "second chip" are used only to distinguish different chips and do not limit their order of execution. Those skilled in the art will understand that terms such as "first" and "second" do not limit the quantity or execution order, and that "first" and "second" do not necessarily imply that they are different.
[0069] It should be noted that, in the embodiments of this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0070] In this application embodiment, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, and c can be single or multiple.
[0071] 5. Electronic equipment
[0072] The electronic devices in this application embodiment may include handheld devices with display functions, vehicle-mounted devices, etc. For example, some electronic devices include: mobile phones, tablet computers, PDAs, laptops, mobile internet devices (MIDs), wearable devices (e.g., smartwatches, smart glasses, smart bracelets, or smart jewelry), virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, and personal digital assistants (PDAs). The embodiments of this application do not limit this to personal assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to a wireless modem, vehicle-mounted devices, terminal devices in 5G networks or terminal devices in future evolved public land mobile networks (PLMNs).
[0073] Furthermore, in this embodiment of the application, the electronic device can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection.
[0074] The electronic devices in the embodiments of this application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent, or user device, etc.
[0075] In this embodiment, the electronic device or various network devices include a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on top of the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux, Unix, Android, iOS, or Windows. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
[0076] For example, Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application. For example... Figure 1 As shown, the scenario includes: a point of interest (POI) 101, a fence 102, and an electronic device 103. The fence 102 is positioned centered on the point of interest 101. After the electronic device 103 detects that the current location is within the fence 102, it can display a card with information related to the service corresponding to the point of interest 101. This information is used to inform the user about the service associated with the point of interest.
[0077] For example, taking a mobile phone as the electronic device and a bus stop as the point of interest 101, when the electronic device 103 detects that the current location is within the fence 102, the electronic device 103 can display... Figure 2 The interface shown includes: card 201, multiple application icons, time, etc. Card 201 displays a prompt message 202. The prompt message 202 can be "Please be careful when boarding." The prompt message 202 can also be the bus route information corresponding to the bus stop, the bus boarding code, etc.
[0078] However, in some scenarios (e.g., passing by), users may not need to use a card. For example, when a user is carrying an electronic device and passing a Point of Interest (POI), the card displayed on the electronic device may interfere with the user's normal operation and reduce the user's experience of using the electronic device.
[0079] In view of this, this application provides an interface display method. After an electronic device enters a fence, its movement speed can be used to determine its activity intention, thereby controlling whether to display a card. For example, when the electronic device's movement speed is high, there is no activity intention, and the electronic device does not display a card; when the electronic device's movement speed is low, there is an activity intention, and the electronic device displays a card.
[0080] In this way, the user's needs can be determined by the movement speed of the electronic device, reducing the number of cards that accidentally pop up when the user does not need them, thus minimizing interference and improving the user experience. Furthermore, reducing the number of times cards are displayed also reduces the power consumption of the electronic device.
[0081] To better understand the embodiments of this application, the structure of the electronic device of the embodiments of this application is described below.
[0082] For example, Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 3 As shown, the electronic device may include: a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, 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, a headphone jack 170D, a sensor module 180, buttons 190, an indicator 192, a camera 193, and a display screen 194, etc.
[0083] The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, a magnetic sensor 180D, an accelerometer sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc. This embodiment does not specifically limit the specific components.
[0084] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device. In other embodiments of this application, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0085] Processor 110 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.
[0086] In this embodiment, after the electronic device enters the fence, the processor 110 analyzes some states of the electronic device (e.g., movement state, network connection state), the historical display status of the card, etc., to determine the user's activity intention. When the electronic device meets the pre-set POI intention triggering conditions and POI intention recognition conditions, the processor 110 will push information corresponding to the activity intention to the user in the form of a card displayed on the interface. This message includes a prompt message and / or the business information to be executed corresponding to the fence (e.g., a link to a bus ride code, a link to a subway ride code, a restaurant ordering link, a link to the clock-in interface corresponding to a work clock-in application, a package pickup code, etc.). The aforementioned prompt message is used to prompt the user to execute the business to be executed corresponding to the fence, and the aforementioned business information to be executed corresponding to the fence is used to facilitate the user to execute the business to be executed corresponding to the fence.
[0087] It can also be understood that the processor 110 is used to implement the steps executed in the interface display method provided in the embodiments of this application, and to store instructions and data related to the interface display method.
[0088] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The internal memory 121 can be used to store executable program code, including instructions. The internal memory 121 may include a program storage area and a data storage area. For example, the internal memory 121 can be used to store executable program code in a system upgrade method.
[0089] Electronic devices utilize GPUs, displays (194), and application processors to achieve display functions. The GPU is a microprocessor for image processing, connecting the displays (194) and the application processor.
[0090] Display screen 194 is used to display images, videos, etc. Display screen 194 includes a display panel. For example, display screen 194 can realize [something related to displaying images, videos, etc.]. Figure 2 The display of the interface shown is not limited in this embodiment.
[0091] The software systems of electronic devices can adopt layered architecture, event-driven architecture, microkernel architecture, microservice architecture, or cloud architecture, etc., which will not be elaborated here.
[0092] The following is combined Figure 4A The software architecture of the electronic device is described. For example, Figure 4A This is a software structure block diagram of an electronic device provided in an embodiment of this application.
[0093] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0094] The application layer can include a series of application packages.
[0095] like Figure 4A As shown, the application package may include: a scene configuration module, a plugin management module, a perception module, a decision-making module, and a card management module.
[0096] The scene configuration module is used to receive scene configuration information transmitted from the server (cloud) and transmit the scene configuration information to the card management module.
[0097] The plugin management module is used to parse scene configuration information to obtain one or more of the following information: POI type, POI intent triggering conditions, POI intent recognition conditions, and card display information.
[0098] POI type indicates the service corresponding to the POI, such as bus, subway, or in-store service. POI intent triggering conditions are the conditions for entering the POI intent recognition process. POI intent triggering conditions include, but are not limited to: the location of the fence, the size of the fence, and the fence precision. POI intent recognition conditions are the conditions for the specific POI intent; POI intent recognition conditions include, but are not limited to: network connection conditions, movement status conditions, and the card's historical display information. Card display information includes, but is not limited to: card shape, card size, or card form.
[0099] The plug-in management module distributes the parsed information to the corresponding modules. For example, the plug-in management module can transmit card display information to the card management module to enable card display. The plug-in management module can also transmit the POI type, POI intent triggering conditions, and POI intent recognition conditions to the decision module. Adaptively, the decision module can transmit the POI type and POI intent recognition conditions to the perception module to trigger POI intent recognition. The decision module can then perform POI intent recognition after the POI intent is triggered, based on the POI type and POI intent recognition conditions.
[0100] The perception module has the ability to perceive external facts or the environment in order to realize the state perception of the electronic device. For example, after the POI recommendation function of the electronic device is enabled, the perception module can listen for POI intent triggering conditions (e.g., specific time, specific location, specific event, movement speed, etc.) transmitted by the decision module.
[0101] When the perception module detects that a user has triggered one of the POI intent trigger conditions, it can transmit a notification to the decision module. Furthermore, the perception module can also detect relevant events and obtain event statuses from other applications at the application layer, application framework layer, system layer, or kernel layer via APIs. Examples include detecting Bluetooth connections, mobile network connections, monitoring user SMS messages, and customizing timers. Specific limitations are not detailed here.
[0102] For example, the sensing module can detect whether a user has entered a geofence. For instance, the sensing module can detect whether the electronic device has entered the area indicated by the geofence based on the Wi-Fi network detected by the electronic device, and the mapping relationship between the Wi-Fi network identifier, Wi-Fi signal strength, and the geofence. As another example, the sensing module can detect whether the electronic device has entered the area indicated by the geofence based on the searched satellite status.
[0103] The decision module is used to implement the logic for displaying and removing various cards. For example, when the decision module receives a notification from the perception module indicating that an electronic device has met the POI intent triggering condition (e.g., the electronic device enters the fence corresponding to a bus stop), it can determine the user intent corresponding to the POI based on the POI intent recognition conditions. If no POI intent is recognized, no action is taken. When a POI intent is recognized, a command is sent to the card management module to display the card. This command may carry a prompt message or a link to a third-party app or mini-program. When the user clicks on the card, they will be redirected to the third-party app or mini-program based on the link. This embodiment does not specifically limit the information carried by the command.
[0104] In this embodiment, the decision-making module may include: a trigger management module, an intent sharing module, a decision platform, an intent recognition module, and an intent decision-making module.
[0105] The trigger management module is used to register POI fences with the perception module and trigger the decision platform to perform intent recognition and intent decision-making.
[0106] In this application, the trigger management module can trigger the decision platform to perform intent recognition and intent decision-making when it detects a change in the state of the POI fence, a change in the movement state after entering the POI fence, or a change in the state of the fence corresponding to the preset area after entering the POI fence.
[0107] The decision-making platform is used to identify POI intent based on POI intent recognition conditions in order to control the display or disappearance of various cards.
[0108] In this embodiment, the decision platform can identify various types of POI intents. These intents include, but are not limited to: public transportation intent, subway intent, store intent, and attraction intent. Public transportation intent is used to predict a user's intention to take public transportation. Subway intent is used to predict a user's intention to take the subway; store intent is used to predict a user's intention to enter a store; and attraction intent is used to predict a user's intention to enter a tourist attraction.
[0109] The decision-making platform includes an intent recognition module and an intent decision-making module. The intent recognition module is used to determine whether there is a Point of Interest (POI) intent based on certain states of the electronic device (e.g., motion state, network connection state, etc.).
[0110] The intent decision module is used to determine whether there is a POI intent based on the card's historical display history, and then display the card.
[0111] The intent sharing module manages the recognition results of various intents. For example, when determining a certain type of intent, the intent recognition module can obtain the recognition results of other types of intents from the intent sharing module to determine whether to suppress that intent. For instance, when determining a public transport intent, the intent recognition module can obtain the determination result of a subway intent from the intent sharing module. If a subway intent exists on the electronic device, the public transport intent is suppressed, and the public transport card is not displayed. The public transport card can be understood as a card corresponding to public transport services, displaying corresponding prompts or pending execution information.
[0112] For example, such as Figure 4BAs shown, after entering the metro service area (corresponding to a fence) and confirming the presence of metro intent (e.g., confirming the display of a metro card), the intent decision module transmits a message indicating the presence of metro intent to the intent sharing module. After exiting the metro service area (corresponding to a fence), the intent decision module transmits a message indicating the absence of metro intent to the intent sharing module. After entering the bus service area (corresponding to a fence), the intent sharing module can be used to query whether a metro intent is present.
[0113] In this embodiment, the card management module is used to create cards and display them on the screen of an electronic device, or to remove cards from the screen. The card management module can manage the position, shape, outline, etc., of the displayed cards.
[0114] The card management module can save card display information and display the card based on that information when the electronic device has a POI intent.
[0115] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0116] like Figure 4A As shown, the application framework layer may include a view system, etc.
[0117] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0118] The Android runtime consists of core libraries and a virtual machine. The Android runtime is responsible for scheduling and managing the Android system.
[0119] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0120] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0121] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.
[0122] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0123] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0124] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0125] A 2D graphics engine is a graphics engine for 2D drawing.
[0126] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0127] It is understood that the software architecture provided in this application is only an example and does not constitute a limitation on the embodiments of this application.
[0128] The interface display method in this application embodiment will be described in detail below, in conjunction with the above system structure:
[0129] In response to the activation of the card recommendation function, the electronic device retrieves scene configuration information from the server (cloud) through the scene configuration module and transmits the scene configuration information to the plugin management module. The plugin management module parses the scene configuration information to obtain the POI type, POI intent triggering conditions, POI intent recognition conditions, and card display information.
[0130] The plug-in management module can transmit POI type, POI intent triggering conditions, and POI intent recognition conditions to the decision module. The decision module can then transmit the POI type and POI intent recognition conditions to the perception module to trigger POI intent recognition. The decision module can then perform POI intent recognition after the POI intent is triggered, based on the POI type and POI intent recognition conditions.
[0131] When the sensing module detects that the electronic device meets the POI intent triggering conditions, it transmits a message to the decision module instructing POI intent recognition to be triggered. The decision module can then perform POI intent recognition based on the POI type carried in the message. When the decision module detects that the electronic device meets the POI recognition conditions, it transmits a message to the card management module instructing card display. The card management module displays the card based on the POI type carried in the message.
[0132] The following is combined Figure 5 This section explains POI intent triggering and POI intent recognition.
[0133] For example, Figure 5 This is a schematic diagram illustrating the internal module interactions involved in the POI intent triggering and recognition process, provided as an embodiment of this application. Figure 5 As shown, the interaction flow includes:
[0134] S501. In response to the operation of enabling the POI recommendation function, the plugin management module transmits a message to the trigger management module to indicate the registration of POI intents. This message includes: POI type, POI intent fence (triggering condition), and POI intent identification conditions.
[0135] S502, The trigger management module transmits a message to the perception module to indicate the registration of POI fences. This message includes: POI intent trigger conditions.
[0136] POI fences can be geofences, time-based fences, or any type of fence; there are no specific limitations here. Geofences can be WiFi fences, cell fences, GPS fences, BeiDou fences, etc.; there are no specific limitations here.
[0137] S503. When the sensing module detects that an electronic device has entered the POI fence, it transmits a message to the triggering management module to indicate that the device has entered the POI fence. This message includes: POI type.
[0138] S504. The trigger management module transmits a message carrying the POI type to the intent recognition module.
[0139] S505. After receiving the POI type, the intent recognition module performs a judgment on the suppression condition corresponding to the POI type.
[0140] Suppression conditions include, but are not limited to: the electronic device being in a walking or stationary state, or the electronic device being located in a preset area A (e.g., home, office, etc.).
[0141] S506. When the electronic device does not meet the suppression condition, the intent prediction condition corresponding to the POI type shall be judged.
[0142] Intent prediction conditions include, but are not limited to: commuting time periods, triggering conditions within a preset time period A, non-commuting time periods, and dwell time. For details, please refer to the corresponding descriptions of intent recognition conditions below; they will not be elaborated upon here. Dwell time refers to a certain period of time spent within the fenced area, for example, staying for 10 minutes.
[0143] S507. When the electronic device meets the preset intent conditions, determine whether to display the card based on the card's historical display information. The historical display information includes, but is not limited to: the number of days the card was exposed, the card's click ratio, the number of times the card was canceled, and the cancellation duration. For details, please refer to the corresponding description of the intent recognition conditions below; it will not be elaborated upon here.
[0144] S508. If there is a POI intent, transmit the POI intent to the intent sharing module. If there is no POI intent, repeat S505-S507 above until the electronic device is detected to have exited the POI fence.
[0145] S509, the intent sharing module transmits a message to the card management module instructing the card to be displayed. This message includes: POI type. Alternatively, the card management module can display the card on the screen.
[0146] S510. When the sensing module detects that an electronic device has left the POI fence, it transmits a message to the triggering management module to indicate that the device has left the POI fence. This message includes: POI type.
[0147] S511, The trigger management module transmits a message to the intent recognition module to indicate that recognition should be stopped. Adaptively, the intent recognition module stops predicting the intent of the POI.
[0148] S512, The trigger management module transmits a message to the intent sharing module to indicate the exit from the POI intent.
[0149] S513, the intent sharing module transmits a message to the card management module instructing the card display to be cancelled. This message includes: POI type. Alternatively, the card management module can cancel the card display.
[0150] Understandably, after receiving a message indicating entry into a POI fence, the trigger management module transmits a registration message to the sensing module. This registration message is used to register for motion state monitoring and / or, the status monitoring of fences in preset areas.
[0151] When the motion state changes, the sensing module can transmit a first change message to the trigger management module. Upon receiving the change message, the trigger management module triggers steps S505-S509. The first change message is used to indicate a change in the motion state.
[0152] When the state of the fence in the preset area changes, the sensing module can transmit a second change message to the triggering management module. Upon receiving the change message, the triggering management module triggers steps S505-S509. The second change message is used to indicate the change in the state of the fence in the preset area. For example, changing from a fence for entering the preset area to a fence for exiting the preset area; or changing from a fence for exiting the preset area to a fence for entering the preset area.
[0153] The motion state can be referred to in the relevant description of the motion state below, and the preset area can be referred to in the preset area A below. No specific description is given here.
[0154] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be implemented independently or in combination with each other. The same or similar concepts or processes may not be described again in some embodiments.
[0155] In this embodiment, the services corresponding to the POI type can be: public transportation, subway, shops, tourist attractions, etc. The following explains the display and cancellation of the corresponding service cards in conjunction with specific services.
[0156] For example, Figure 6 This is a flowchart illustrating a method for displaying a bus card corresponding to a public transportation service, provided in an embodiment of this application. Figure 6 As shown, the process includes:
[0157] S601. The scene configuration module receives the scene configuration information and transmits it to the plugin management module.
[0158] This scenario configuration information is used to indicate the judgment logic corresponding to the public transportation service. For example, the logic for triggering public transportation service identification (e.g., S605-S607) and the logic for public transportation service identification (e.g., S608-S613), etc.
[0159] Scene configuration information may include: the identifier A of the public transport service, the fence A corresponding to the public transport service, and the intent recognition condition A corresponding to the public transport service.
[0160] The identifier A is used to indicate public transportation services. Identifier A can be the name of the public transportation service or the corresponding index value, etc., without specific limitations here.
[0161] Fence A includes, but is not limited to: the location of the bus stop, information about the surrounding environment of the bus stop, the scope of the fence, its precision, and its radius.
[0162] In this embodiment, fence A is used as the trigger condition for the public transportation service. Fence A can also be set with other types of trigger conditions, which are not specifically limited here.
[0163] Intent recognition condition A can be associated with one or more of the following states: movement speed, network connection status, and historical display status of the transit card.
[0164] S602, the plug-in management module parses the scene configuration information to obtain identifier A, fence A, and intent recognition condition A.
[0165] S603, the plug-in management module transmits a message to the trigger management module to indicate the registration of bus intent prediction. This message includes: identifier A, fence A, and intent recognition condition A.
[0166] S604. The trigger management module transmits a message to the decision-making platform to indicate the subscription to bus intention prediction. This message includes: identifier A, fence A, and intention recognition condition A.
[0167] The trigger management module can pass the identifier A, fence A, and intent recognition condition A to the decision platform.
[0168] S605. The decision-making platform configures and enables bus intent recognition and prediction. The decision-making platform transmits a message to the perception module to instruct it to subscribe to the fence. This message includes: fence A and identifier A.
[0169] S606. After receiving a message indicating that the electronic device has entered fence A, the sensing module begins to detect whether the electronic device has entered fence A.
[0170] S607. When the sensing module detects that an electronic device has entered fence A, it transmits a message to the decision-making platform to indicate that the device has entered fence A. This message includes: Identifier A.
[0171] In some embodiments, when the sensing module detects that an electronic device has entered fence A, it triggers the management module to transmit a message indicating entry into fence A to the decision-making platform. This message includes: Identifier A.
[0172] Adaptively, the trigger management module registers motion state monitoring with the perception module, and / or monitors the state of the fence in the preset area A.
[0173] The sensing module can transmit motion status or changes in motion status information to the trigger management module. See the corresponding description below for details. When the trigger management module detects a change in motion status, or a change in the status of the fence in preset area A, it triggers the electronic equipment to perform the following steps S608-S613 to identify the subway's intent. Preset area A can be found in the corresponding description below and will not be described here.
[0174] Understandably, the trigger management module can register motion state monitoring with the perception module. Adaptively, the trigger management module can transmit motion state information to the decision platform at a certain frequency; or the perception module can also transmit motion state change information to the trigger management module when the motion state changes. No specific limitations are made here.
[0175] Motion status information can be the speed of the electronic device or the level of motion of the electronic device. Changes in motion status information are used to indicate changes in the level of motion of the electronic device, for example, from level 1 to level 2.
[0176] In some embodiments, the electronic device can classify movement speed into levels 1, 2, 3, and 4 from high to low, based on different movement speeds. In some embodiments, the electronic device can classify movement speed into four levels from high to low: riding a vehicle, cycling, walking, and standing still. No specific limitations are made here.
[0177] S608, The decision-making platform determines whether the electronic device meets condition 1.
[0178] Condition 1 indicates that the electronic device is located in preset area A. Preset area A does not correspond to public transportation services. This excludes preset area A from the fence A, so that when the electronic device is located in preset area A, the public transportation card is not displayed, reducing interference to the user.
[0179] In some embodiments, the preset area A may include: home and / or office. This way, when the electronic device is at home or office, the transit card is not displayed, reducing disruption to the user.
[0180] In some embodiments, the decision-making platform can determine the location of a preset area A based on network connectivity. For example, the decision-making platform can obtain the Wi-Fi information of an electronic device from a sensing module. When the Wi-Fi information obtained by the decision-making platform matches a pre-set Wi-Fi information, the electronic device is located in the preset area A; when the Wi-Fi information obtained by the decision-making platform does not match the pre-set Wi-Fi information, the electronic device is not located in the preset area A. This improves the accuracy of identifying the preset area A.
[0181] The electronic device can also determine the preset area A through other means (e.g., the location of the electronic device). No specific limitations are made here.
[0182] In this embodiment, if condition 1 is met, the electronic device continues to execute S608 until it exits fence A. When condition 1 is met, the electronic device does not display the bus card corresponding to the bus. If condition 1 is not met, the electronic device executes S609.
[0183] S609. If the electronic device does not meet condition 1, the decision-making platform determines whether the electronic device meets condition 2. Condition 2 is related to the motion state of the electronic device.
[0184] In some embodiments, condition 2 can be that the movement speed of the electronic device is less than or equal to a preset value A. This way, when the movement speed of the electronic device is high, the bus card is not displayed, reducing interference with the user. The preset value A can be any value, and is not specifically limited here.
[0185] When the movement speed of the electronic device exceeds the preset value A, S609 continues to be executed until the electronic device exits fence A. When the movement speed of the electronic device exceeds the preset value A, the electronic device does not display the bus card. When the movement speed of the electronic device is less than or equal to the preset value A, the electronic device executes S610.
[0186] S610 When the movement state of the electronic device is walking or stationary, the decision-making platform determines whether the current time is a commuting period.
[0187] In this embodiment of the application, the commuting time period can be set by the user or obtained by learning user behavior through a model; no specific limitation is made here.
[0188] S611. During commuting hours, obtain the recognition results of subway intent from the intent sharing module.
[0189] If there is a subway intention, no action is taken. If there is no subway intention, the electronic device executes S613.
[0190] S612. During non-commuting hours, the decision-making platform checks whether the electronic device is within fence A after a detection period of A. The duration A can be 3 minutes, 2 minutes, or any value; no specific limitation is made here.
[0191] For example, if the decision-making platform does not receive a message indicating exit from fence A within time period A, the electronic device executes S613.
[0192] If the electronic device remains within fence A after duration A, it executes step S613. If the electronic device exits fence A within duration A, it does not display the bus card.
[0193] S613. The intent decision module determines whether the electronic device meets condition 3. Condition 3 is related to the historical display information of the bus card. The historical display information of the bus card includes, but is not limited to: the number of days the bus card was displayed within a preset time period A (also known as the exposure days), the number of times the bus card was displayed within the preset time period A, the number of times an operation to enter the bus card was detected within the preset time period A, and the time of the most recent detected operation to cancel the bus card, etc., which are not specifically limited here. The preset time period A can be within one week of the current time, within two weeks of the current time, or any length of time, which are not specifically limited here.
[0194] In one possible implementation, condition 3 is related to the time of the most recently detected cancellation operation for the transit card.
[0195] For example, taking the time interval between the most recent detected cancellation of the bus card and the current time as time interval A, the electronic device executes S614 when time interval A is greater than threshold A; when time interval A is less than or equal to threshold A, the electronic device does not perform any action. Threshold A can be 10 days, 1 week, or any value, without specific limitation here.
[0196] The most recently detected cancellation operation for the transit card can be a user's long press on the transit card, or any type of operation; no specific limitations are made here.
[0197] For example, see Figure 7 Electronic devices in Figure 7 The interface shown in Figure 'a' displays a bus card 701, and the bus card 701 displays a prompt message 702. When the electronic device detects that the user has long-pressed the bus card 701, the electronic device enters... Figure 7 The interface shown in 'c' displays a cancel control 703. When the electronic device detects that the user has clicked the cancel control 703, the electronic device enters... Figure 7 The interface shown as 'd' does not display the bus card.
[0198] In the second possible implementation, condition 3 is related to the number of days the bus card is exposed within the preset time period A, and the proportion of bus cards entering the system. The proportion of bus cards entering the system is the ratio of the number of times an operation to enter the bus card is detected within the preset time period A to the number of times the bus card is displayed within the preset time period A.
[0199] For example, when the number of exposure days is less than threshold B, the electronic device executes S614. When the number of exposure days within a preset time period A is greater than or equal to threshold B, and the proportion entering the bus card is less than proportion A, the electronic device does not perform any processing. When the number of exposure days is greater than or equal to threshold B, and the proportion entering the bus card is greater than or equal to proportion A, the electronic device executes S614. Threshold B can be 5 days, 7 days, or any value, without specific limitation here. Proportion A can be 0.4, 0.5, or any value, without specific limitation here.
[0200] In some embodiments, condition 3 is also related to the number of suppression days A and the suppression time. The number of suppression days A can be 10 days, 7 days, or any value, and is not specifically limited here.
[0201] For example, before executing S613, if the number of days the electronic device is exposed within a preset time period A is greater than or equal to the threshold B, and the proportion of the bus card entering the device is less than the proportion A, the electronic device records the current time as the suppression time.
[0202] When the time interval between executing S613 and the suppression time is less than the suppression period A, the electronic device does not perform any processing. When the time interval between executing S613 and the suppression time is less than the suppression period A, the electronic device makes a judgment based on the number of exposure days of the bus card within the preset time period A and the proportion of bus cards entering the system. This reduces the display of bus cards and minimizes interference with the user. Furthermore, the bus card can be displayed after a certain period to provide bus notifications.
[0203] In the third possible implementation, condition 3 is related to whether the electronic device has displayed the bus card within a preset time period A.
[0204] The preset duration A can be 30 minutes, 10 minutes, or any value; there is no specific limitation here.
[0205] This reduces the repeated display of bus cards and minimizes disruption to users.
[0206] The electronic device can implement S613 in any of the above possible implementations, and the electronic device can also implement S613 in any of the above possible implementations.
[0207] For example, taking possible implementation method one and possible implementation method two as examples, condition 3 is related to the time of the most recently detected cancellation operation on the bus card, the number of days the bus card was exposed within the preset time period A, and the proportion of bus cards entering the bus card.
[0208] For example, when the time interval A is greater than the threshold A, the electronic device executes S614.
[0209] When time interval A is less than or equal to threshold A, and the number of exposure days is less than threshold B, the electronic device executes S614. When time interval A is less than or equal to threshold A, the number of exposure days within the preset time period A is greater than or equal to threshold B, and the proportion of cards entering the public transport card is less than proportion A, the electronic device does not perform any processing. When time interval A is less than or equal to threshold A, the number of exposure days is greater than or equal to threshold B, and the proportion of cards entering the public transport card is greater than or equal to proportion A, the electronic device executes S614.
[0210] S614. The decision-making platform transmits a message to the plug-in management module to indicate the triggering of the bus intention. The message includes: Identifier A.
[0211] S615, the plug-in management module transmits a message to the bus card management module to instruct the display of the bus card. This message includes: identifier A. The message may also include: bus ride code link, bus route information, bus arrival time information, etc.
[0212] For example, the message used to instruct the public transport card to be displayed may include a link to application A. Application A is related to public transport services. For example, application A may be a map application or a payment application, etc. The map application could be, for example, Amap (Gaode Maps). Applications, Baidu Maps Applications, Tencent Maps Applications, Tencent Mobility Applications, etc.; payment applications can include Alipay. Applications, Wallets Applications, etc.
[0213] S616, The bus card management module displays bus cards. Bus cards include: informational messages and / or controls corresponding to bus services.
[0214] The prompt message can be "Please take the bus." Controls corresponding to bus services include, but are not limited to: controls for displaying bus QR codes, controls for displaying bus route information, and controls for displaying real-time bus information. No specific limitations are specified here.
[0215] For example, see Figure 7 Electronic devices in Figure 7 The interface shown in Figure 'a' displays a bus card 701, and the bus card 701 displays a prompt message 702. When the electronic device detects that the user clicks on the bus card 701, the electronic device enters... Figure 7 The interface shown in b is the one that displays the bus ride code.
[0216] S617. The sensing module detects that the electronic device has exited the bus fence and transmits a message to the decision-making platform to indicate that it has exited the bus fence.
[0217] The perception module can trigger the management module to transmit a message to the decision-making platform instructing the user to exit the bus fence. Adaptively, the management module can trigger the user to stop monitoring the movement status and / or the status of the fence corresponding to preset area A.
[0218] S618, The decision-making platform transmits a message to the plug-in management module to indicate the bus's intention to exit.
[0219] S619, The plug-in management module transmits a message to the bus card management module to indicate whether to cancel the display of the bus card.
[0220] S620, the bus card management module disables the display of bus cards. As an adaptation, electronic devices do not display bus cards.
[0221] S621, Monitoring the cessation of the decision-making platform's operation status.
[0222] In some embodiments, the management module is triggered to stop monitoring the motion state.
[0223] In this way, after entering fence A, the electronic device can confirm the display of the bus card based on factors such as movement speed and network connection status, provide users with bus service prompts, and facilitate users' bus travel.
[0224] Based on the above S613, the decision-making platform and / or trigger management module also registers a fence for the preset area A.
[0225] Taking the preset area A, which includes home and company, as an example, the decision-making platform also registers home fences and / or company fences.
[0226] Home fences can be Wi-Fi fences, geofences, or any type of fence; company fences can be Wi-Fi fences, geofences, or any type of fence. No specific limitations are specified here.
[0227] S622, The decision-making platform registers home fences and / or company fences with the perception module.
[0228] In some embodiments, the trigger management module registers home fences and / or company fences with the sensing module.
[0229] S623. When the sensing module detects that an electronic device has entered a home fence or company fence, it transmits a message to the intent recognition module to indicate that the home fence or company fence has been triggered.
[0230] In some embodiments, when the sensing module detects that an electronic device has entered a home fence or company fence, it transmits a message to the trigger management module instructing the home fence or company fence to be triggered. The trigger management module then transmits a message to the intent recognition module instructing intent recognition to be performed. The intent recognition module performs intent recognition according to S608-S613 described above.
[0231] S624. The decision-making platform transmits a message to the plug-in management module to indicate the bus's intention to exit.
[0232] S625, the plug-in management module transmits a message to the bus card management module to indicate whether to cancel the display of the bus card.
[0233] S626, The bus card management module cancels the display of bus cards.
[0234] For example, see Figure 7 Electronic devices in Figure 7 The interface shown in Figure 'a' displays bus card 701, and bus card 701 displays prompt information 702. When the electronic device detects that it has exited fence A, the electronic device enters... Figure 7 The interface shown as 'd' does not display the bus card.
[0235] In this way, the electronic device can cancel the display of the bus card after exiting fence A, reducing interference to the user.
[0236] The above embodiments illustrate the process of displaying and canceling bus cards. The following will describe this process in conjunction with... Figure 8 and Figure 9 The process for displaying and canceling cards related to subway services is explained.
[0237] For example, Figure 8 This is a flowchart illustrating a method for displaying subway cards corresponding to subway services, provided as an embodiment of this application. Figure 8 As shown, the process includes:
[0238] S801. The scene configuration module receives the scene configuration information and transmits it to the plugin management module.
[0239] This scenario configuration information is used to indicate the judgment logic corresponding to the subway service. For example, the logic for triggering subway service identification (e.g., S805-S807) and the logic for subway service identification (e.g., S808-S813), etc.
[0240] Scene configuration information may include: the identifier B of the subway service, the fence B corresponding to the subway service, and the intent recognition conditions B corresponding to the subway service.
[0241] The identifier B is used to indicate subway services. Identifier B can be the name of the subway service, or the index value corresponding to the subway service, etc., without specific limitations here.
[0242] Fence B includes, but is not limited to: the location of the subway station, information about the surrounding environment of the subway station, the scope of the fence, its precision, and the radius of the fence.
[0243] In this embodiment, fence B is used as the trigger condition for the subway service. Fence B can also be set with other types of trigger conditions, which are not specifically limited here.
[0244] Intent recognition condition B can be associated with one or more of the following states: movement speed, network connection status, historical display status of subway cards, etc.
[0245] S802, the plug-in management module parses the scene configuration information to obtain identifier B, fence B, and intent recognition condition B.
[0246] S803, the plug-in management module transmits a message to the trigger management module to indicate the registered metro intent prediction. This message includes: identifier B, fence B, and intent recognition condition B.
[0247] S804. The trigger management module transmits a message to the decision-making platform to indicate the intention to subscribe to subway prediction. This message includes: identifier B, fence B, and intention identification condition B.
[0248] The trigger management module can pass the identifier B, fence B, and intent recognition condition B through to the decision platform.
[0249] S805. The decision-making platform configures and enables subway intent recognition and prediction. The decision-making platform transmits a message to the perception module to instruct it to subscribe to the fence. This message includes: fence B and identifier B.
[0250] S806. After receiving a message indicating that the electronic device has entered fence B, the sensing module begins to detect whether the electronic device has entered fence B.
[0251] S807. When the sensing module detects that an electronic device has entered fence B, it transmits a message to the decision-making platform to indicate that the device has entered fence B. This message includes: Identifier B.
[0252] In some embodiments, when the sensing module detects that an electronic device has entered fence B, it triggers the management module to transmit a message indicating entry into fence B to the decision-making platform. This message includes: identifier B.
[0253] Adaptively, the trigger management module registers motion state monitoring with the sensing module, and / or monitors the state of the fence in preset area B. Preset area B can be referred to in the corresponding description below, and will not be described here.
[0254] The sensing module can transmit motion status or changes in motion status information to the trigger management module. See the corresponding description below for details. When the trigger management module detects a change in motion status, or a change in the status of the fence in preset area B, it triggers the electronic equipment to perform the following steps S808-S813 to identify the subway's intent.
[0255] Understandably, the trigger management module can register motion state monitoring with the perception module. Adaptively, the trigger management module can transmit motion state information to the decision platform at a certain frequency; or the perception module can also transmit motion state change information to the trigger management module when the motion state changes. No specific limitations are made here.
[0256] Information on motion status and changes in motion status can be found in the above descriptions, and will not be repeated here.
[0257] S808, The decision-making platform determines whether the electronic device meets condition 4.
[0258] Condition 4 indicates that the electronic device is located in preset area B. Preset area B does not correspond to subway services. This excludes preset area B from the fence, so that when the electronic device is located in preset area B, the subway card is not displayed, reducing interference with the user.
[0259] In some embodiments, the preset area B may include: home and / or office. This way, when the electronic device is at home or office, the subway card is not displayed, reducing disruption to the user.
[0260] In some embodiments, the decision-making platform can determine the location of a preset area B based on network connectivity. For example, the decision-making platform can obtain the Wi-Fi information of an electronic device from a sensing module. When the Wi-Fi information obtained by the decision-making platform matches a pre-set Wi-Fi information, the electronic device is located in the preset area B; when the Wi-Fi information obtained by the decision-making platform does not match the pre-set Wi-Fi information, the electronic device is not located in the preset area B. This improves the accuracy of determining the location of the preset area A.
[0261] The electronic device can also determine the preset area B through other means (e.g., the location of the electronic device). No specific limitations are made here.
[0262] In this embodiment, if condition 4 is met, the electronic device continues to execute S808 until it exits fence B. When condition 4 is met, the electronic device does not display the subway card corresponding to the subway line. If condition 4 is not met, the electronic device executes S809.
[0263] S809. If the electronic device does not meet condition 4, the decision-making platform determines whether the electronic device meets condition 2. Condition 2 is related to the motion state of the electronic device.
[0264] Understandably, the decision-making platform can register motion state monitoring with the perception module. Adaptively, the perception module can transmit motion state information to the decision-making platform at a certain frequency; or the perception module can also transmit motion state change information to the decision-making platform when the motion state changes. No specific limitations are made here.
[0265] Information on motion status and changes in motion status can be found in the above descriptions, and will not be repeated here.
[0266] In some embodiments, condition 2 can be that the movement speed of the electronic device is less than or equal to a preset value A. This way, when the movement speed of the electronic device is high, the subway card is not displayed, reducing interference with the user.
[0267] When the movement speed of the electronic device exceeds the preset value A, no action is taken, and the corresponding subway card is not displayed. When the movement speed of the electronic device is less than or equal to the preset value A, the electronic device executes S810.
[0268] S810 When the electronic device is in a moving or stationary state, the decision-making platform determines whether the current time is within the commuting period. The commuting period can be referred to the corresponding explanation above, and will not be repeated here.
[0269] S811. During commuting hours, obtain the recognition results of bus intent from the intent sharing module.
[0270] When there is a public transport intention, no action is taken. When there is no public transport intention, the electronic device executes S813. In some embodiments, the electronic device may also not execute S811.
[0271] S812. During non-commuting hours, the decision-making platform checks whether the electronic device is within fence B after a detection period of B. The duration B can be 3 minutes, 2 minutes, or any value; no specific limitation is made here.
[0272] For example, if the decision-making platform does not receive a message indicating exit from fence B within time period B, the electronic device executes S813.
[0273] If the electronic device remains within fence B after duration B, it executes step S813. If the electronic device exits fence B within duration B, it does not display the subway card.
[0274] S813. The decision-making platform determines whether the electronic device meets condition 5. Condition 5 is related to the historical display information of the subway card. The historical display information of the subway card includes, but is not limited to: the number of days the subway card was displayed within the preset time period B (also known as the exposure days), the number of times the subway card was displayed within the preset time period B, the number of times an operation to enter the subway card was detected within the preset time period B, and the time of the most recent detected operation to cancel the subway card, etc., which are not specifically limited here.
[0275] The preset time period B can be within one week of the current time, within two weeks of the current time, or any length of time; no specific limitation is made here.
[0276] In one possible implementation, condition 5 is related to the time of the most recently detected cancellation operation for the metro card.
[0277] For example, taking the time interval between the most recent detected cancellation of the metro card and the current time as time interval B, the electronic device executes S814 when time interval B is greater than threshold C; when time interval B is less than or equal to threshold C, the electronic device does not perform any action. Threshold C can be 10 days, 1 week, or any value, without specific limitation here.
[0278] The most recently detected cancellation operation for the metro card can be a user's long press on the metro card, or any type of operation; no specific limitations are made here.
[0279] For example, see Figure 9 Electronic devices in Figure 9 The interface shown in Figure 'a' displays subway card 901, and subway card 901 displays prompt information 902. When the electronic device detects that the user has long-pressed subway card 901, the electronic device enters... Figure 9 The interface shown in 'c' displays a cancel control 903. When the electronic device detects that the user has clicked the cancel control 903, the electronic device enters... Figure 9 The interface shown as 'd' in the diagram does not display the subway card.
[0280] In the second possible implementation, condition 5 is related to the number of days the subway card is exposed within the preset time period B, and the proportion of subway cards entering the system. The proportion of subway cards entering the system is the ratio of the number of times an operation to enter the subway card is detected within the preset time period B to the number of times the subway card is displayed within the preset time period B.
[0281] For example, when the number of exposure days is less than the threshold D, the electronic device executes S814. When the number of exposure days within the preset time period B is greater than or equal to the threshold D, and the proportion of subway cards entering the system is less than the proportion B, the electronic device does not perform any processing. When the number of exposure days is greater than or equal to the threshold D, and the proportion of subway cards entering the system is greater than or equal to the proportion B, the electronic device executes S814. The threshold D can be 5 days, 7 days, or any value, without specific limitation here. The proportion B can be 0.4, 0.5, or any value, without specific limitation here.
[0282] In some embodiments, condition 5 is also related to the number of suppression days B and the suppression time. The number of suppression days B can be 10 days, 7 days, or any value, and is not specifically limited here.
[0283] For example, before executing S813, if the number of days the electronic device is exposed within a preset time period B is greater than or equal to the threshold D, and the proportion of subway cards entering the subway is less than the proportion B, the electronic device records the current time as the suppression time.
[0284] When the time interval between executing S813 and the suppression time is less than the suppression period B, the electronic device does not perform any processing. When the time interval between executing S813 and the suppression time is less than the suppression period B, the electronic device makes a judgment based on the number of exposure days of subway cards within the preset time period B and the proportion of subway cards entering the system. This reduces the display of subway cards and minimizes interference with the user. Furthermore, subway cards can be displayed after a certain period to provide subway notifications.
[0285] In the third possible implementation, condition 5 is related to whether the electronic device has displayed the subway card within a preset time period B.
[0286] The preset duration B for electronic devices can be 30 minutes, 10 minutes, or any value; no specific limitation is made here.
[0287] This reduces the repeated display of subway cards and minimizes disruption to users.
[0288] The electronic device can implement S813 in any of the above possible implementations, and the electronic device can also implement S813 in any of the above possible implementations.
[0289] For example, taking possible implementation method one and possible implementation method two as examples, condition 5 is related to the time of the most recently detected cancellation operation for the metro card, the number of days the metro card was exposed within the preset time period B, and the proportion of metro cards entering the metro card.
[0290] For example, when the time interval B is greater than the threshold C, the electronic device executes S814.
[0291] When time interval B is less than or equal to threshold C, and the number of exposure days is less than threshold D, the electronic device executes S814. When time interval B is less than or equal to threshold C, the number of exposure days within the preset time period B is greater than or equal to threshold C, and the proportion of subway cards entering the system is less than proportion B, the electronic device does not perform any processing. When time interval B is less than or equal to threshold C, the number of exposure days is greater than or equal to threshold D, and the proportion of subway cards entering the system is greater than or equal to proportion B, the electronic device executes S814.
[0292] S814. The decision-making platform transmits a message to the plug-in management module to indicate the triggering of the metro intention. The message includes: identifier B.
[0293] S815, the plug-in management module transmits a message to the metro card management module to instruct the display of the metro card. This message includes: identifier B. The message may also include: metro ride code link, metro route information, metro arrival time information, etc.
[0294] For example, the message used to instruct the display of the subway card may include a link to application B. Application B is related to the subway service. For example, application B could be a map application or a payment application, etc. The map application could be, for example, Amap (Gaode Maps). Applications, Baidu Maps Applications, Tencent Maps Applications, Tencent Mobility Applications, etc.; payment applications can include Alipay. Applications, Wallets Applications, etc.
[0295] S816, The subway card management module displays subway cards. Subway cards include: informational messages and / or controls corresponding to subway services.
[0296] The prompt message can be "Please take the subway." Controls corresponding to subway services include, but are not limited to: controls for displaying subway ride codes, controls for displaying subway route information, and controls for displaying real-time subway information. No specific limitations are specified here.
[0297] For example, see Figure 9 Electronic devices in Figure 9 The interface shown in Figure 'a' displays subway card 901, and subway card 901 displays prompt information 902. When the electronic device detects that the user clicks on subway card 901, the electronic device enters... Figure 9 The interface shown in b is the subway ride code.
[0298] S817, the sensing module detects that the electronic device has exited the subway fence and transmits a message to the decision-making platform to indicate that it has exited the subway fence.
[0299] S818, The decision-making platform transmits a message to the plug-in management module to indicate the subway's intention to exit.
[0300] S819, the plug-in management module transmits a message to the metro card management module to indicate whether to cancel the display of the metro card.
[0301] S820, the subway card management module cancels the display of subway cards.
[0302] S821, Monitoring the cessation of the decision-making platform's operation status.
[0303] In some embodiments, the management module is triggered to stop listening to the motion state.
[0304] In this way, after entering fence B, the electronic device can confirm the display of the public transport card based on factors such as movement speed and network connection status, provide users with subway service prompts, and facilitate users' subway travel.
[0305] Based on the above S813, the decision-making platform also registers a fence for the preset area B.
[0306] Taking the preset area A, which includes home and company, as an example, the decision-making platform and / or trigger management module also registers home fences and / or company fences.
[0307] Home fences can be Wi-Fi fences, geofences, or any type of fence; company fences can be Wi-Fi fences, geofences, or any type of fence. No specific limitations are specified here.
[0308] S822, The decision-making platform registers home fences and / or company fences with the perception module.
[0309] In some embodiments, the trigger management module registers home fences and / or company fences with the sensing module.
[0310] S823. When the sensing module detects that an electronic device has entered a home fence or company fence, it transmits a message to the identification module to indicate whether the home fence or company fence has been triggered.
[0311] In some embodiments, when the sensing module detects that an electronic device has entered a home fence or company fence, it transmits a message to the trigger management module instructing the home fence or company fence to be triggered. The trigger management module then transmits a message to the intent recognition module instructing intent recognition to be performed. The intent recognition module performs intent recognition according to the steps S808-S813 described above.
[0312] S824. The decision-making platform transmits a message to the plug-in management module to indicate the subway's intention to exit.
[0313] S825, the plug-in management module transmits a message to the metro card management module to indicate whether to cancel the display of the metro card.
[0314] S826, The subway card management module cancels the display of subway cards.
[0315] For example, see Figure 9 Electronic devices in Figure 9 The interface shown in Figure 'a' displays subway card 901, and subway card 901 displays prompt message 902. When the electronic device detects that it has exited fence B, the electronic device enters... Figure 9 The interface shown as 'd' in the diagram does not display the subway card.
[0316] In this way, the display of the metro card can be canceled after the electronic device exits fence B, reducing interference with the user.
[0317] For example, Figure 10 This is a flowchart illustrating a method for displaying store cards corresponding to store operations, provided in an embodiment of this application. Figure 10 As shown, the process includes:
[0318] S1001. The scene configuration module receives the scene configuration information and transmits it to the plugin management module.
[0319] This scenario configuration information is used to indicate the judgment logic corresponding to the store business. For example, the logic for triggering store business identification (e.g., S1005-S1007) and the logic for store business identification (e.g., S1008-S1011), etc.
[0320] Scene configuration information may include: the identifier C of the store business, the fence C corresponding to the store business, and the intent recognition conditions C corresponding to the store business.
[0321] The identifier C is used to indicate the store's business. Identifier C can be the name of the store's business, or the index value corresponding to the store's business, etc., without specific limitations here.
[0322] Fence C includes, but is not limited to: the location of the store, information about the surrounding environment of the store, the scope of the fence, its precision, and the radius of the fence.
[0323] In this embodiment, fence C is used as the trigger condition for the store business. Fence C can also be set with other types of trigger conditions, which are not specifically limited here.
[0324] The intent recognition condition C can be related to one or more of the following states: movement speed, network connection status, and the historical display status of store cards.
[0325] S1002, the plug-in management module parses the scene configuration information to obtain the identifier C, fence C, and intent recognition condition C.
[0326] S1003, The plug-in management module transmits a message to the trigger management module to indicate the intention prediction of the registered store. This message includes: identifier C, fence C, and intention recognition condition C.
[0327] S1004. The trigger management module transmits a message to the decision platform to instruct the subscription store's intent prediction. This message includes: identifier C, fence C, and intent identification condition C.
[0328] The trigger management module can pass the identifier C, fence C, and intent recognition condition C to the decision platform.
[0329] S1005. The decision-making platform configures and enables store intent recognition and prediction. The decision-making platform transmits a message to the perception module to instruct the subscription of the fence. This message includes: fence C and identifier C.
[0330] S1006. After receiving a message indicating that the electronic device has entered the fence C, the sensing module begins to detect whether the electronic device has entered the fence C.
[0331] S1007. When the sensing module detects that an electronic device has entered fence C, it transmits a message to the decision-making platform to indicate that the device has entered fence C. This message includes: identifier C.
[0332] In some embodiments, when the sensing module detects that an electronic device has entered fence C, it triggers the management module to transmit a message indicating entry into fence C to the decision-making platform. This message includes an identifier, C.
[0333] Adaptively, the trigger management module registers motion state monitoring with the perception module, and / or monitors the state of the fence in the preset area C.
[0334] The sensing module can transmit motion status or changes in motion status information to the trigger management module. See the corresponding description below for details. When the trigger management module detects a change in motion status, or a change in the status of the fence in preset area C, it triggers the electronic equipment to perform the following steps S1008-S1011 to identify the subway's intent. Preset area C can be found in the corresponding description below and will not be described here.
[0335] Understandably, the trigger management module can register motion state monitoring with the perception module. Adaptively, the trigger management module can transmit motion state information to the decision platform at a certain frequency; or the perception module can also transmit motion state change information to the trigger management module when the motion state changes. No specific limitations are made here.
[0336] Information on motion status and changes in motion status can be found in the above descriptions, and will not be repeated here.
[0337] S1008, The decision-making platform determines whether the electronic device meets condition 6.
[0338] Condition 6 indicates that the electronic device is located in preset area C. Preset area C does not correspond to any store business. This excludes preset area C from the fence C, so that when the electronic device is located in preset area C, no store card is displayed, reducing interference to the user.
[0339] In some embodiments, the preset area C may include: home and / or office. This way, when the electronic device is at home or office, store cards are not displayed, reducing disruption to the user.
[0340] In some embodiments, the decision-making platform can determine the preset area C based on network connectivity. For example, the decision-making platform can obtain the Wi-Fi information of the electronic device from the sensing module. When the Wi-Fi information obtained by the decision-making platform matches the pre-set Wi-Fi information, the electronic device is located in the preset area C; when the Wi-Fi information obtained by the decision-making platform does not match the pre-set Wi-Fi information, the electronic device is not located in the preset area C. This improves the accuracy of determining the preset area C.
[0341] The electronic device can also determine the preset area C through other means (e.g., the location of the electronic device). No specific limitations are made here.
[0342] In this embodiment, if condition 6 is met, the electronic device continues to execute S1008 until it exits fence C. When condition 6 is met, the electronic device does not display the store card corresponding to the store. If condition 6 is not met, the electronic device executes S1009.
[0343] S1009. If the electronic device does not meet condition 6, the decision-making platform determines whether the electronic device meets condition 2. Condition 2 is related to the motion state of the electronic device.
[0344] Understandably, the decision-making platform can register motion state monitoring with the perception module. Adaptively, the perception module can transmit motion state information to the decision-making platform at a certain frequency; or the perception module can also transmit motion state change information to the decision-making platform when the motion state changes. No specific limitations are made here.
[0345] The motion status information and changes in motion status can be referred to the corresponding descriptions above, and will not be repeated here. In some embodiments, condition 2 can be that the movement speed of the electronic device is less than or equal to a preset value A. In this way, when the movement speed of the electronic device is high, the store card is not displayed, reducing interference to the user.
[0346] When the movement speed of the electronic device is greater than the preset value A, no action is taken, and the corresponding store card is not displayed. When the movement speed of the electronic device is less than or equal to the preset value A, the electronic device executes S1010.
[0347] S1010. When the electronic device is in a walking or stationary state, the decision-making platform determines whether the electronic device meets condition 7. Condition 7 is related to the store's historical dwell time.
[0348] Condition 7 can be related to the number of days spent in the store and the number of times the customer stays within the preset time period C. The preset time period C can be within one week of the current time, within two weeks of the current time, or any length of time; there are no specific restrictions here.
[0349] The number of days a person enters the store within the preset time period C is greater than or equal to the threshold E; or, the number of days a person enters the store within the preset time period C is less than the threshold E, and the number of times they stay in the store is greater than the threshold G. The threshold E can be 10 days, 1 week, or any value, without specific limitations here. The threshold G can be 10 times, 4 times, or any value, without specific limitations here.
[0350] S1011. Does the electronic device meet condition 8? Condition 8 is related to the historical display information of the store card. The historical display information of the store card includes, but is not limited to: the number of days the store card was displayed within a preset time period D (also known as the exposure days), the number of times the store card was displayed within the preset time period D, the number of times an operation to enter the store card was detected within the preset time period D, and the time of the most recent detected operation to cancel the store card, etc., which are not specifically limited here. The preset time period D can be within one week of the current time, within two weeks of the current time, or any length of time, which are not specifically limited here.
[0351] In one possible implementation, condition 8 is related to the time of the most recently detected cancellation operation for the store card.
[0352] For example, taking the time interval C between the most recent detected cancellation of a store card and the current time as the time interval A, the electronic device executes S1014 when the time interval C is greater than the threshold H; when the time interval A is less than or equal to the threshold H, the electronic device does not perform any action. The threshold H can be 5 days, 7 days, or any value, and is not specifically limited here.
[0353] In the second possible implementation, condition 8 is related to the number of days the store card is exposed within the preset time period D, and the proportion of customers entering the store card. The proportion of customers entering the store card is the ratio of the number of times an operation to enter the store card is detected within the preset time period D to the number of times the store card is displayed within the preset time period D.
[0354] For example, when the number of exposure days is less than threshold I, the electronic device executes S1014. When the number of exposure days within a preset time period D is greater than or equal to threshold I, and the proportion of cards entering the store is less than proportion C, the electronic device does not perform any processing. When the number of exposure days is greater than or equal to threshold I, and the proportion of cards entering the store is greater than or equal to proportion C, the electronic device executes S1014. Threshold I can be 5 days, 7 days, or any value, without specific limitation here. Proportion C can be 0.4, 0.5, or any value, without specific limitation here.
[0355] In some embodiments, condition 8 is also related to the number of suppression days C and the suppression time.
[0356] For example, before executing S1011, if the number of exposure days of the electronic device within the preset time period D is greater than or equal to the threshold I, and the proportion of entering the store card is less than the proportion C, the electronic device records the current time as the suppression time.
[0357] When the time interval between executing S1011 and the suppression time is less than the suppression days C, the electronic device does not perform any processing. When the time interval between executing S1011 and the suppression time is less than the suppression days C, the electronic device makes a judgment based on the number of exposure days of the store card within the preset time period D and the proportion of store cards entering the system. This reduces the display of store cards and minimizes interference with the user. Furthermore, store cards can be displayed after a certain period to provide store notifications.
[0358] In the third possible implementation, condition 8 is related to whether the electronic device has displayed a store card within a preset time period C.
[0359] The preset duration C can be 30 minutes, 10 minutes, or any value; there is no specific limitation here.
[0360] This reduces the repeated display of store cards and minimizes disruption to users.
[0361] The electronic device can implement S1011 in any of the above possible implementations, and the electronic device can also implement S1011 in any of the above possible implementations.
[0362] For example, taking possible implementation method one and possible implementation method two as examples, condition 8 is related to the time of the most recently detected cancellation operation against the store card, the number of exposure days of the store card within the preset time period D, and the proportion of people entering the store card.
[0363] For example, when the time interval C is greater than the threshold A, the electronic device executes S1012.
[0364] When the time interval C is less than or equal to the threshold H, and the number of exposure days is less than the threshold B, the electronic device executes S1012. When the time interval C is less than or equal to the threshold H, the number of exposure days within the preset time period C is greater than or equal to the threshold I, and the proportion of cards entering the store is less than the proportion C, the electronic device does not perform any processing. When the time interval C is less than or equal to the threshold H, the number of exposure days is greater than or equal to the threshold I, and the proportion of cards entering the store is greater than or equal to the proportion C, the electronic device executes S1012.
[0365] S1012, The decision platform transmits a message to the plug-in management module to indicate the store's intent to be triggered. The message includes: identifier C.
[0366] S1013, The plug-in management module transmits a message to the store card management module to instruct the display of store cards. This message includes: identifier C. The message may also include: a store mini-program link, store route information, store arrival time information, etc.
[0367] For example, the message used to instruct the store card to be displayed may include a link to application C. Application C is related to the store's business. For example, application C may be a social application or a payment application, etc. A social application could be WeChat. Applications, etc.; payment applications can include Alipay. Applications, Wallets Applications, etc.
[0368] S1014, The store card management module displays store cards. Store cards include: prompts and / or controls corresponding to store operations.
[0369] The prompt message can be "Please take the ride to the store." Controls corresponding to the store's services include, but are not limited to: controls for displaying the store's mini-program, controls for displaying store route information, and controls for displaying the real-time store information. No specific limitations are set here.
[0370] S1015, The sensing module detects that the electronic device has exited the store fence and transmits a message to the decision-making platform to instruct it to exit the store fence.
[0371] S1016. The decision-making platform transmits a message to the plug-in management module to indicate the store's intention to exit.
[0372] S1017, The plug-in management module transmits a message to the store card management module to instruct the cancellation of the store card display.
[0373] S1018, The store card management module cancels the display of store cards.
[0374] S1019, Monitoring the cessation of the decision-making platform's operation status.
[0375] In some embodiments, the management module is triggered to stop monitoring the motion state.
[0376] In this way, after entering fence C, the electronic device can confirm the display of the bus card based on factors such as movement speed and network connection status, and provide users with information about store services, thus making things more convenient for them.
[0377] Based on the above S1011, the decision-making platform and / or trigger management module also registers a fence for the preset area C.
[0378] Taking the preset area A, which includes home and company, as an example, the decision-making platform also registers home fences and / or company fences.
[0379] Home fences can be Wi-Fi fences, geofences, or any type of fence; company fences can be Wi-Fi fences, geofences, or any type of fence. No specific limitations are specified here.
[0380] S1020, The decision-making platform registers home fences and / or company fences with the perception module.
[0381] In some embodiments, the trigger management module registers home fences and / or company fences with the sensing module.
[0382] S1021. When the sensing module detects that an electronic device has entered a home fence or company fence, it transmits a message to the identification module to indicate whether the home fence or company fence has been triggered.
[0383] In some embodiments, when the sensing module detects that an electronic device has entered a home fence or company fence, it transmits a message to the trigger management module instructing the home fence or company fence to be triggered. The trigger management module then transmits a message to the intent recognition module instructing intent recognition to be performed. The intent recognition module performs intent recognition according to the steps S1008-S1011 described above.
[0384] S1022, The decision-making platform transmits a message to the plug-in management module to indicate the store's intention to exit.
[0385] S1023, The plug-in management module transmits a message to the store card management module to indicate whether to cancel the display of the store card.
[0386] S1024. The store card management module cancels the display of store cards.
[0387] In this way, once the electronic device exits fence C, the display of the store card can be canceled, reducing interference with the user.
[0388] For example, Figure 11 This is a flowchart illustrating an interface display method provided in an embodiment of this application. Figure 11As shown, the method includes:
[0389] S1101. At the first moment, the electronic device enters the first fence, the movement speed of the electronic device is the first speed, and the electronic device displays the first card corresponding to the first fence.
[0390] The first speed can be any speed; there are no specific limitations here. The first fence can be a fence corresponding to any service (any POI). Services can be: public transportation services, subway services, shopping services, tourist attraction services, etc. Corresponding POIs can be bus stops, subway stations, shops, tourist attractions, etc. The first card can be a card corresponding to the service; there are no specific limitations here. The first card is used to display the service's corresponding prompts, pending execution information, etc.; there are no specific limitations here. The first card can correspond to the aforementioned public transportation card, subway card, and shop card. The first fence can be any type of fence, such as a geographic fence, a time fence, etc.; there are no specific limitations here.
[0391] S1102. At the second moment, the electronic device enters the second fence, the movement speed of the electronic device is the second speed, the electronic device does not display the second card corresponding to the second fence, the second speed is greater than the first speed; the second moment is later than the first moment.
[0392] The second speed can be any speed; no specific limitation is made here. The second fence can be a fence corresponding to any service (any POI). Services can be: public transportation services, subway services, shopping services, tourist attraction services, etc. The corresponding POIs can be bus stops, subway stations, shops, tourist attractions, etc. The first card can be a card corresponding to the service; no specific limitation is made here. The second card is used to display the corresponding prompts, pending execution information, etc.; no specific limitation is made here. The second card can correspond to the aforementioned public transportation card, subway card, and shop card. The second fence can be any type of fence, such as a geographic fence or a time fence; no specific limitation is made here.
[0393] S1103. From the second moment to the third moment, the electronic device remains in the second fence, and at the third moment, the movement speed of the electronic device is the third speed. The electronic device displays the second card, and the third speed is less than the second speed.
[0394] The third speed can be any speed; no specific restrictions are made here.
[0395] In this way, electronic devices will not push cards when the movement speed is high, reducing interference to the user.
[0396] In one possible implementation, from a second moment to a third moment, the electronic device remains continuously in the second fence, and at the third moment, the movement speed of the electronic device is a third speed. The electronic device displays a second card, including: from the second moment, the electronic device detects the movement speed of the electronic device; the electronic device detects that the third speed is less than or equal to a first threshold, and the electronic device displays a second card, where the second speed is greater than the first threshold.
[0397] In this way, electronic devices can monitor movement speed and display a card when it is below a threshold, and not display a card when it is above the threshold, thus reducing interference with the user.
[0398] In one possible implementation, at a second moment, the electronic device enters the second fence, including: the sensing module of the electronic device transmits a first message to the decision-making platform of the electronic device, the first message indicating entry into the second fence; in response to the first message, the decision-making platform confirms that the motion state is a first type, the first type indicating that the motion speed of the electronic device is greater than a first threshold; the electronic device detects that a third speed is less than or equal to the first threshold, and the electronic device displays a second card, including: the sensing module transmits a second message to the decision-making platform, the second message indicating that the motion state of the electronic device is a second type; in response to the second message, the electronic device displays a second card.
[0399] The first type differs from the second type. The first type can include activities such as riding in a vehicle or cycling. The second type can include activities such as standing still or walking.
[0400] In one possible implementation, the method further includes: from the third time to the fourth time, the electronic device remains in the second fence, and at the fourth time the electronic device enters the fourth fence, the electronic device does not display the second card, and the fourth fence does not correspond to the service corresponding to the second fence.
[0401] The fourth fence can correspond to the fence of the preset area A, the fence of the preset area B, or the fence of the preset area C. No specific limitation is made here.
[0402] In this way, the card is not displayed when there is no business corresponding to the second fence, reducing interference to the user.
[0403] In one possible implementation, from the third time point to the fourth time point, the electronic device remains in the second fence, and at the fourth time point, the electronic device enters the fourth fence, and the electronic device does not display the second card, including: at the fourth time point, the electronic device's sensing module transmits a third message to the electronic device's decision platform, the third message being used to instruct the electronic device to enter the fourth fence; in response to the third message, the electronic device does not display the second card.
[0404] The fourth fence can be any type of fence, such as a geographic fence, a time fence, etc.
[0405] In one possible implementation, the fourth fence is a WIFI fence, where WIFI is a pre-configured network used in the home and / or a pre-configured network used in the company.
[0406] This way, the card won't be displayed at home or in the office, reducing distractions.
[0407] In one possible implementation, from the fourth time point to the fifth time point, the electronic device continuously operates between the second and fourth fences, and at the fifth time point, the electronic device exits the fourth fence and displays the second card.
[0408] Electronic devices can monitor the fourth fence and trigger intent recognition when the fence status changes (e.g., from entering to exiting, or from exiting to entering) to confirm whether to display a card. Recognition can be triggered when the user is away from home or work, displaying the card and providing prompts for easier operation.
[0409] In one possible implementation, from the fourth time point to the fifth time point, the electronic device continuously operates between the second fence and the fourth fence, and at the fifth time point, the electronic device exits the fourth fence and displays the second card, including: at the fifth time point, the electronic device's sensing module transmits a fourth message to the electronic device's decision-making platform, the fourth message being used to instruct the electronic device to exit the fourth fence; in response to the fourth message, the electronic device displays the second card.
[0410] In one possible implementation, the method further includes: from the third moment to the sixth moment, the electronic device remains in the second fence, and at the sixth moment, the movement speed of the electronic device is the fourth speed, the electronic device does not display the second card, and the fourth speed is greater than the second speed.
[0411] The fourth speed can be any speed; no specific restrictions are made here.
[0412] In this way, when the movement state changes, intent recognition can be triggered to determine whether to display the card. When the movement speed is high, the card is not displayed to reduce interference with the user.
[0413] In one possible implementation, from the third moment to the sixth moment, the electronic device remains in the second fence, and at the sixth moment, the movement speed of the electronic device is the fourth speed. The electronic device does not display the second card, including: at the sixth moment, the electronic device's sensing module transmits a fifth message to the electronic device's decision-making platform, the fifth message indicating that the movement state of the electronic device is the first type; in response to the fifth message, the electronic device does not display the second card.
[0414] In one possible implementation, the method further includes: at a seventh moment, the electronic device exits the second fence and does not display the second card; at an eighth moment, the electronic device enters the third fence, and at the eighth moment, the movement speed of the electronic device is the fifth speed, the electronic device does not display the second card, and the fifth speed is less than the second speed; wherein, the service type corresponding to the third fence is the same as the service type corresponding to the second fence; the first time interval is greater than the preset time interval, and the first time interval is the time interval between the eighth moment and the third moment.
[0415] The fifth speed can be any speed; no specific limitation is made here. For example, the service type can be bus, subway, shop, etc.; no specific limitation is made here. The preset time interval can be 15 minutes, 10 minutes, or any duration; no specific limitation is made here.
[0416] In this way, cards of the same type that have been triggered within a certain period of time will not be displayed. This reduces the disruption to the user caused by multiple displays within a short period of time.
[0417] In one possible implementation, at the eighth moment, the electronic device enters the second fence, and the movement speed of the electronic device at the eighth moment is the fifth speed. The electronic device does not display the second card, including: at the eighth moment, the sensing module of the electronic device transmits a sixth message to the decision-making platform of the electronic device, the sixth message being used to indicate entering the third fence; if the decision-making platform confirms that the first time interval is less than a preset time interval, the electronic device does not display the second card.
[0418] In one possible implementation, the method further includes: at the ninth moment, the electronic device exits the second fence and does not display the second card; at the tenth moment, the electronic device enters the fourth fence, and at the tenth moment, the movement speed of the electronic device is the sixth speed, and the electronic device displays the second card, where the sixth speed is less than the second speed; wherein, the business type corresponding to the fourth fence is the same as the business type corresponding to the second fence; the first distance is greater than a preset distance, and the first distance is the distance between the fourth fence and the second fence.
[0419] The sixth speed can be any speed; there are no specific limitations here. The preset distance can be 1 kilometer, 2 kilometers, or any other value; there are no specific limitations here.
[0420] In this way, cards can be displayed within a relatively short distance, reducing the interference to users caused by multiple displays over a short distance.
[0421] In one possible implementation, at the tenth moment, the electronic device enters the fourth fence, and the movement speed of the electronic device at the tenth moment is the sixth speed. The electronic device displays the second card, including: at the tenth moment, the sensing module of the electronic device transmits a seventh message to the decision-making platform of the electronic device. The seventh message is used to indicate entering the fourth fence; if the decision-making platform confirms that the first distance is greater than the preset distance, the electronic device does not display the second card.
[0422] In one possible implementation, the method further includes: at the eleventh moment, the electronic device exits the second fence; at the twelfth moment, the electronic device enters the fifth fence; the movement speed of the electronic device is the seventh speed, and the electronic device displays the third card, the seventh speed being less than the second speed; from the twelfth moment to the thirteenth moment, the electronic device remains in the fifth fence, and at the thirteenth moment, the movement speed of the electronic device is the eighth speed, the electronic device enters the sixth fence, and the electronic device displays the third card but does not display the second card; the service corresponding to the sixth fence is the same as the service corresponding to the second fence, the service corresponding to the sixth fence is different from the service corresponding to the fifth fence, and the eighth speed is less than the second speed.
[0423] The seventh speed can be any speed; no specific limitation is made here. Similarly, the eighth speed can be any speed; no specific limitation is made here. For example, the service corresponding to the fifth fence could be a subway service, and the service corresponding to the fifth fence could be a bus service.
[0424] This way, when faced with cards of the same type, one card can be recommended first, reducing interference from multiple services of the same type.
[0425] In one possible implementation, from the twelfth moment to the thirteenth moment, the electronic device remains in the fifth fence, and at the thirteenth moment, the movement speed of the electronic device is the eighth speed. The electronic device enters the sixth fence, and displays the third card but does not display the second card. This includes: at the thirteenth moment, the sensing module of the electronic device transmits the eighth message to the decision-making platform of the electronic device. The eighth message is used to indicate entering the sixth fence. If the decision-making platform confirms that the third card is displayed, the electronic device does not display the second card.
[0426] In one possible implementation, if the decision-making platform confirms that the third card is displayed, the electronic device does not display the second card, including: the intent recognition module in the decision-making platform transmits a ninth message to the intent sharing module in the electronic device, the ninth message being used to query whether the third card is displayed; in response to the ninth message, the intent sharing module transmits a tenth message to the intent recognition module, the tenth message being used to instruct the third card to be displayed.
[0427] The third card can correspond to subway services, and the tenth message can be used to indicate subway intent. No specific limitations are made here.
[0428] In one possible implementation, the method further includes: at the fourteenth moment, the electronic device enters the second fence, and at the fourteenth moment, the movement speed of the electronic device is the ninth speed, and the electronic device does not display the second card, since the ninth speed is less than the second speed; for a preset duration starting from the fourteenth moment, the electronic device remains in the second fence, and the movement speed of the electronic device remains less than the second speed, and the electronic device does not display the second card; wherein, the preset duration starting from the fourteenth moment is within a preset time period; after the preset duration starting from the fourteenth moment, the electronic device displays the second card.
[0429] The preset time period can be from 10:00 to 11:00, or from 3:00 to 4:00, or any time period; there are no specific limitations here.
[0430] The ninth speed can be any speed; no specific limitation is made here. This way, during non-commuting hours, the card display is delayed for a period of time, reducing user disruption.
[0431] In one possible implementation, the method further includes: at the fifteenth moment, the electronic device enters the second fence, and at the fifteenth moment, the movement speed of the electronic device is the tenth speed, the electronic device does not display the second card, and the tenth speed is less than the second speed; wherein, at the third moment, the electronic device detects that A is greater than or equal to M, where A is the number of days the electronic device has performed the business corresponding to the second card in the N days prior to the third moment; M is a first threshold; or, at the third moment, A is less than M, and B is greater than or equal to X, where B is the number of days the electronic device has been in the second fence for a duration greater than the second threshold in the N days prior to the third moment, and X is a third threshold; at the fifteenth moment, C is less than M, and D is less than X, where D is the number of days the electronic device has been in the second fence for a duration greater than the second threshold in the N days prior to the fifteenth moment.
[0432] Specifically, refer to condition 7 above; no specific limitations are specified here. A can be 5 days, 7 days, or any value; no specific limitations are specified here. M can be 10 days, 15 days, or any value; no specific limitations are specified here. B can be 3 days, 5 days, or any value; no specific limitations are specified here. The second preset value can be 10 minutes, 5 minutes, or any duration; no specific limitations are specified here. C can be 6 days, 8 days, or any value; no specific limitations are specified here.
[0433] The tenth speed can be any speed; there are no specific limitations here. This allows us to determine whether to display a card based on the user's dwell time over a period of time, reducing user interference.
[0434] In one possible implementation, the method further includes: at the sixteenth moment, the electronic device enters the second fence, and at the sixteenth moment, the movement speed of the electronic device is the eleventh speed, the electronic device does not display the second card, and the eleventh speed is less than the second speed; wherein, at the third moment, the electronic device detects that E is less than 0, where E is the number of times the electronic device displays the second card in the P days prior to the third moment, 0 is the third threshold, and P is the fourth threshold; or, at the third moment, E is greater than or equal to 0, and the electronic device detects that the number of times it enters the second card is greater than the fifth threshold; at the sixteenth moment, F is greater than or equal to 0, and the electronic device detects that the number of times it enters the second card is greater than the fifth threshold, where F is the number of times the electronic device displays the second card in the P days prior to the sixteenth moment.
[0435] The third threshold can be 10 days, 15 days, or any value; no specific limitation is made here. The fourth threshold can be 7 days, 8 days, or any value, and the fifth threshold can be 5 days, 7 days, or any value. For specific details, refer to conditions 8, 3, and 5 above.
[0436] The eleventh speed can be any speed; no specific limit is set here. This allows the system to determine whether to display a card based on the card entry and exit events over a period of time, reducing user disruption.
[0437] In one possible implementation, the method further includes: in response to the cancellation operation of the second card, the electronic device does not display the second card; at the seventeenth moment, the electronic device enters the second fence, and at the seventeenth moment, the movement speed of the electronic device is the twelfth speed, the electronic device does not display the second card, the twelfth speed is less than the second speed, and the seventeenth moment is later than the cancellation operation; the time interval between the seventeenth moment and the cancellation operation is less than a second preset time interval.
[0438] The cancellation operation can be either a user dragging and dropping a card to cancel, or a user clicking the cancellation control; there is no specific limitation here.
[0439] This allows the system to determine whether to display a card based on its cancellation history over a period of time, reducing disruption to the user.
[0440] It should be noted that the module names involved in the embodiments of this application can all be defined as other names, as long as they can achieve the function of each module, and no specific restrictions are placed on the module names.
[0441] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0442] The interface display method of the embodiments of this application has been described above. The apparatus for executing the above method provided in the embodiments of this application is described below. Those skilled in the art will understand that the methods and apparatus can be combined with and referenced by each other, and the related apparatus provided in the embodiments of this application can execute the steps in the above method.
[0443] The interface display method provided in this application can be applied to electronic devices with communication functions. Electronic devices include terminal devices, and the specific device form of the terminal device can be referred to the above-mentioned descriptions, which will not be repeated here.
[0444] This application provides an electronic device, which includes one or more processors and a memory; the memory is coupled to one or more processors and is used to store computer program code, the computer program code including computer instructions, and the one or more processors call the computer instructions to cause the electronic device to perform the above-described method.
[0445] This application provides a chip. The chip includes a processor, which is used to call a computer program in memory to execute the technical solutions in the above embodiments. Its implementation principle and technical effects are similar to those in the related embodiments described above, and will not be repeated here.
[0446] This application provides a chip or chip system including at least one processor and a communication interface. The communication interface and the at least one processor are interconnected via a circuit. The at least one processor is used to run computer programs or instructions to perform the above-described method. The communication interface in the chip can be an input / output interface, pins, or circuits, etc.
[0447] This application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, it implements the methods described above. The methods described in the above embodiments can be implemented wholly or partially by software, hardware, firmware, or any combination thereof. If implemented in software, the functionality can be stored as one or more instructions or code on or transmitted over the computer-readable medium. The computer-readable medium can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium accessible by a computer.
[0448] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage or other magnetic storage devices, or any other medium targeted to carry or to store the required program code in the form of instructions or data structures, and accessible by a computer. Furthermore, any connection is appropriately referred to as a computer-readable medium. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. As used herein, disks and optical discs include optical discs, laser discs, optical discs, Digital Versatile Discs (DVDs), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs optically reproduce data using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0449] This application provides a computer program product, which includes a computer program that, when run, causes a computer to perform the above-described method.
[0450] This application describes embodiments of methods, apparatus (systems), and computer program products according to embodiments of this application with reference to flowchart illustrations and / or block diagrams. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable device to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing device, generate instructions for implementing the flowchart illustrations. Figure 1One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0451] The above specific embodiments further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solution of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for displaying an interface, characterized in that, include: At the first moment, the electronic device enters the first fence, the movement speed of the electronic device is the first speed, and the electronic device displays the first card corresponding to the first fence; At the second moment, the electronic device enters the second fence, the movement speed of the electronic device is the second speed, the electronic device does not display the second card corresponding to the second fence, and the second speed is greater than the first speed; The second moment is later than the first moment; From the second moment to the third moment, the electronic device remains within the second fence, and at the third moment, the movement speed of the electronic device is a third speed, and the electronic device displays the second card, the third speed being less than the second speed.
2. The method according to claim 1, characterized in that, From the second moment to the third moment, the electronic device remains within the second fence, and at the third moment, the movement speed of the electronic device is a third speed. The electronic device displays the second card, including: From the second moment onwards, the electronic device detects the speed of movement of the electronic device; When the electronic device detects that the third speed is less than or equal to the first threshold, the electronic device displays the second card, where the second speed is greater than the first threshold.
3. The method according to claim 2, characterized in that, At the second moment, the electronic device enters the second fence, including: The sensing module of the electronic device transmits a first message to the decision-making platform of the electronic device, the first message being used to indicate entry into the second fence; In response to the first message, the decision platform confirms that the motion state is of the first type, which indicates that the motion speed of the electronic device is greater than the first threshold. When the electronic device detects that the third speed is less than or equal to the first threshold, the electronic device displays the second card, including: The sensing module transmits a second message to the decision-making platform, the second message indicating that the motion state of the electronic device is a second type; In response to the second message, the electronic device displays the second card.
4. The method according to any one of claims 1-3, characterized in that, The method further includes: From the third time point to the fourth time point, the electronic device remains within the second fence, and at the fourth time point, the electronic device enters the fourth fence. The electronic device does not display the second card, and the fourth fence does not correspond to any service corresponding to the second fence.
5. The method according to claim 4, characterized in that, From the third time point to the fourth time point, the electronic device remains within the second fence, and at the fourth time point, the electronic device enters the fourth fence, and the electronic device does not display the second card, including: At the fourth moment, the electronic device's sensing module transmits a third message to the electronic device's decision-making platform, the third message being used to instruct the electronic device to enter the fourth fence; In response to the third message, the electronic device does not display the second card.
6. The method according to claim 4 or 5, characterized in that, The fourth fence is a WIFI fence, where the WIFI is a pre-configured network used in homes and / or a pre-configured network used in companies.
7. The method according to any one of claims 4-6, characterized in that, From the fourth moment to the fifth moment, the electronic device remains within the second fence and the fourth fence, and at the fifth moment, the electronic device exits the fourth fence and displays the second card.
8. The method according to claim 7, characterized in that, From the fourth time point to the fifth time point, the electronic device remains within the second fence and the fourth fence, and at the fifth time point, the electronic device exits the fourth fence, displaying the second card, including: At the fifth moment, the electronic device's sensing module transmits a fourth message to the electronic device's decision-making platform, the fourth message being used to instruct the electronic device to exit the fourth fence; In response to the fourth message, the electronic device displays the second card.
9. The method according to any one of claims 1-8, characterized in that, The method further includes: From the third moment to the sixth moment, the electronic device remains within the second fence, and at the sixth moment, the movement speed of the electronic device is the fourth speed, the electronic device does not display the second card, and the fourth speed is greater than the second speed.
10. The method according to claim 9, characterized in that, From the third moment to the sixth moment, the electronic device remains within the second fence, and at the sixth moment, the movement speed of the electronic device is the fourth speed, and the electronic device does not display the second card, including: At the sixth moment, the electronic device's sensing module transmits a fifth message to the electronic device's decision-making platform, the fifth message indicating that the electronic device's motion state is of the first type; In response to the fifth message, the electronic device does not display the second card.
11. The method according to any one of claims 1-10, characterized in that, The method further includes: At the seventh moment, the electronic device exits the second fence, and the electronic device no longer displays the second card; At the eighth moment, the electronic device enters the third fence, and at the eighth moment, the movement speed of the electronic device is the fifth speed. The electronic device does not display the second card, and the fifth speed is less than the second speed. The business type corresponding to the third fence is the same as the business type corresponding to the second fence; the first time interval is greater than the preset time interval, and the first time interval is the time interval between the eighth time and the third time.
12. The method according to claim 11, characterized in that, At the eighth moment, the electronic device enters the second fence, and at the eighth moment, the movement speed of the electronic device is the fifth speed. The electronic device does not display the second card, including: At the eighth moment, the sensing module of the electronic device transmits a sixth message to the decision-making platform of the electronic device, the sixth message being used to indicate entry into the third fence; If the decision-making platform confirms that the first time interval is less than a preset time interval, the electronic device will not display the second card.
13. The method according to any one of claims 1-12, characterized in that, The method further includes: At the ninth moment, the electronic device exits the second fence, and the electronic device no longer displays the second card; At the tenth moment, the electronic device enters the fourth fence, and at the tenth moment, the movement speed of the electronic device is the sixth speed. The electronic device displays the second card, and the sixth speed is less than the second speed. The business type corresponding to the fourth fence is the same as the business type corresponding to the second fence; the first distance is greater than the preset distance, and the first distance is the distance between the fourth fence and the second fence.
14. The method according to claim 13, characterized in that, At the tenth moment, the electronic device enters the fourth fence, and at the tenth moment, the movement speed of the electronic device is the sixth speed. The electronic device displays the second card, including: At the tenth moment, the sensing module of the electronic device transmits a seventh message to the decision-making platform of the electronic device, the seventh message being used to indicate entry into the fourth fence; If the decision-making platform confirms that the first distance is greater than the preset distance, the electronic device will not display the second card.
15. The method according to any one of claims 1-14, characterized in that, The method further includes: At the eleventh moment, the electronic device exits the second fence; At the twelfth moment, the electronic device enters the fifth fence; the movement speed of the electronic device is the seventh speed, the electronic device displays the third card, and the seventh speed is less than the second speed; From the twelfth moment to the thirteenth moment, the electronic device remains in the fifth fence, and at the thirteenth moment, the movement speed of the electronic device is the eighth speed. The electronic device enters the sixth fence, displays the third card, and does not display the second card. The service corresponding to the sixth fence is the same as the service corresponding to the second fence, and the service corresponding to the sixth fence is different from the service corresponding to the fifth fence. The eighth speed is less than the second speed.
16. The method according to claim 15, characterized in that, From the twelfth moment to the thirteenth moment, the electronic device remains within the fifth fence, and at the thirteenth moment, the movement speed of the electronic device is the eighth speed. The electronic device then enters the sixth fence, displays the third card, and does not display the second card, including: At the thirteenth moment, the sensing module of the electronic device transmits an eighth message to the decision-making platform of the electronic device, the eighth message being used to indicate entry into the sixth fence; If the decision-making platform confirms the display of the third card, the electronic device will not display the second card.
17. The method according to claim 16, characterized in that, When the decision-making platform confirms the display of the third card, the electronic device does not display the second card, including: The intent recognition module in the decision-making platform transmits a ninth message to the intent sharing module in the electronic device. The ninth message is used to query whether the third card is displayed. In response to the ninth message, the intent sharing module transmits a tenth message to the intent recognition module, the tenth message being used to instruct the third card to be displayed.
18. The method according to any one of claims 1-17, characterized in that, The method further includes: At the fourteenth moment, the electronic device enters the second fence, and at the fourteenth moment, the movement speed of the electronic device is the ninth speed. The electronic device does not display the second card, and the ninth speed is less than the second speed. For a preset duration starting from the fourteenth moment, the electronic device remains within the second fence, and the movement speed of the electronic device remains less than the second speed, and the electronic device does not display the second card; wherein, the preset duration starting from the fourteenth moment is within a preset time period; After a preset time period starting from the fourteenth moment, the electronic device displays the second card.
19. The method according to any one of claims 1-18, characterized in that, The method further includes: At the fifteenth moment, the electronic device enters the second fence, and at the fifteenth moment, the movement speed of the electronic device is the tenth speed. The electronic device does not display the second card, and the tenth speed is less than the second speed. Wherein, at the third moment, the electronic device detects that A is greater than or equal to M, where A is the number of days the electronic device performed the business corresponding to the second card within the N days prior to the third moment; and M is the first threshold. Alternatively, at the third time point, A is less than M, and B is greater than or equal to X, where B is the number of days during which the electronic device entered the second fence for a duration greater than the second threshold within N days prior to the third time point, and X is the third threshold. At the fifteenth moment, C is less than M and D is less than X, where C is the number of days the electronic device performed the business corresponding to the second card within the N days prior to the fifteenth moment, and D is the number of days the electronic device entered the second fence for a duration greater than the second threshold within the N days prior to the fifteenth moment.
20. The method according to any one of claims 1-19, characterized in that, The method further includes: At the sixteenth moment, the electronic device enters the second fence, and at the sixteenth moment, the movement speed of the electronic device is the eleventh speed. The electronic device does not display the second card, and the eleventh speed is less than the second speed. Wherein, at the third time point, the electronic device detects that E is less than 0, where E is the number of times the electronic device displays the second card in the P days prior to the third time point, 0 is a third threshold, and P is a fourth threshold; Alternatively, at the third moment, E is greater than or equal to O, and the electronic device detects that the number of times the second card is entered is greater than the fifth threshold. At the sixteenth moment, F is greater than or equal to O, and the electronic device detects that the number of times it enters the second card is greater than the fifth threshold, where F is the number of times the electronic device displays the second card in the P days prior to the sixteenth moment.
21. The method according to any one of claims 1-20, characterized in that, The method further includes: in response to the cancellation operation of the second card, the electronic device does not display the second card; At the seventeenth moment, the electronic device enters the second fence, and at the seventeenth moment, the movement speed of the electronic device is the twelfth speed. The electronic device does not display the second card. The twelfth speed is less than the second speed. The seventeenth moment is later than the cancellation operation. The time interval between the seventeenth moment and the cancellation operation is less than the second preset time interval.
22. An electronic device, characterized in that, The electronic device includes: one or more processors and memory; The memory is coupled to the one or more processors, the memory being used to store computer program code, the computer program code including computer instructions, the one or more processors invoking the computer instructions to cause the electronic device to perform the method as described in any one of claims 1 to 21.
23. A chip system, characterized in that, The chip system is applied to an electronic device, the chip system including one or more processors, the one or more processors being used to invoke computer instructions to cause the electronic device to perform the method as described in any one of claims 1 to 21.
24. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes computer instructions that, when executed on an electronic device, cause the electronic device to perform the method as described in any one of claims 1 to 21.
25. A computer program product, characterized in that, The computer program product includes computer program code that, when run on an electronic device, causes the electronic device to perform the method as described in any one of claims 1 to 21.
Citation Information
Patent Citations
Geographic fence use method and electronic equipment
CN114928809A
Message notification method and electronic device
WO2021042881A1